Editing User:SerpentofSet

Jump to navigation Jump to search
Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 2: Line 2:
<div class="mw-collapsible">I am bad at the game so I edit the wiki</div>
<div class="mw-collapsible">I am bad at the game so I edit the wiki</div>


<div style="margin-left: 2em;">
{| class="infobox" style="border-left:solid 5px #2F2F2F;border-right:solid 5px #2F2F2F;border-top:solid 2px #2F2F2F;border-bottom:solid 0px #2F2F2F; font-family: 'PT Serif','Palatino','FreeSerif','Liberation Serif', serif;padding:0px;border-radius: 13px;color: #FFEFD7;width: 270px; background-color: #2F2F2F; font-weight: bold"
! colspan="2" style="color: #FFEFD7; background-color: #2F2F2F; font-size: 25px; font-family: 'PT Serif','Palatino','FreeSerif','Liberation Serif', serif; font-weight: bold; text-shadow: 1.2px 2px 3px black, 1.2px 1.2px 0.1px #A69885;border-bottom: none" |
<div style="display: flex; justify-content: space-between">
<div style="width: 50px;"></div>
<div class="infobox-hero-name" style="margin-top:4px;font-family:'Forevs Demo', 'PT Serif','Palatino',serif;';">Abrams</div>
<div style="padding-left: 10px;">[[Image:Abrams_MM.png|frameless|center|35px]]</div></div>
|-
! colspan="2"style="margin:auto;text-align:center;border:none;" |<div style="overflow:hidden;border-radius: 15px;background-image: linear-gradient(#A69885, #72695A);padding:0px; background-color:#a79986;text-align:center;max-width:190px;height: auto;margin:auto;box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);">[[File:Abrams card.png|190px]]</div>
|-
! Charges into close combat
|-
! Voice Actor: IDK
|-
! Release Date: A while ago
|-
! Last Updated: Like, something
|-
!
{| class="wikitable mw-collapsible" style="width:100%"
|+ Stats
!
|-
! Hidden? || 100 </div>
|}
|-
|}
</div>
==How to Debug in Scribunto==
==How to Debug in Scribunto==
<code><nowiki>{{#invoke:Test|a|sep=;|b}}</nowiki></code>
<code><nowiki>{{#invoke:Test|a|sep=;|b}}</nowiki></code>
Line 26: Line 54:
         # sustained has delta time of infinity
         # sustained has delta time of infinity
         # meaning, sustained takes into account time-to-empty clip and reload time
         # meaning, sustained takes into account time-to-empty clip and reload time
         # All reload actions have ReloadDelay played first,
         # All reload actions have ReloadDelay played first,
         # but typically only single bullet reloads have a non-zero delay
         # but typically only single bullet reloads have a non-zero delay
Line 33: Line 62:
         # ClipSize of 10,
         # ClipSize of 10,
         # =time to reload 1 bullet is 1.5s, time to reload 10 bullets is 10.5s
         # =time to reload 1 bullet is 1.5s, time to reload 10 bullets is 10.5s
         # BurstInterShotInterval represents time between shots in a burst
         # BurstInterShotInterval represents time between shots in a burst
         # Abbreivated dictionary for easier access
         # Abbreivated dictionary for easier access
         d = dps_stats.copy()
         d = dps_stats.copy()
         cycle_time = 1 / d['RoundsPerSecond']
         cycle_time = 1 / d['RoundsPerSecond']
         total_cycle_time = cycle_time + d['BulletsPerBurst'] * d['BurstInterShotInterval']
         total_cycle_time = cycle_time + d['BulletsPerBurst'] * d['BurstInterShotInterval']
         if type == 'burst':
         if type == 'burst':
             return (
             return (
                 d['BulletDamage'] * d['BulletsPerShot'] * d['BulletsPerBurst'] / (total_cycle_time)
                 d['BulletDamage'] * d['BulletsPerShot'] * d['BulletsPerBurst'] / (total_cycle_time)
             )
             )
         elif type == 'sustained':
         elif type == 'sustained':
             if d['ReloadSingle']:
             if d['ReloadSingle']:
Line 55: Line 89:
             damage_from_clip = d['BulletDamage'] * d['BulletsPerShot'] * d['ClipSize']
             damage_from_clip = d['BulletDamage'] * d['BulletsPerShot'] * d['ClipSize']
             return damage_from_clip / (time_to_empty_clip + time_to_reload)
             return damage_from_clip / (time_to_empty_clip + time_to_reload)
         else:
         else:
===Input for JS?===
===Input for JS?===
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Deadlock:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)