Jump to content

Ammo: Difference between revisions

From Deadlock Wiki
m this might be better for proper float behavior actually
add math
Line 1: Line 1:
[[File:Clip size icon.png|64px|left]] '''Ammo''' is a stat that dictates the maximum number of bullets that can be stored and fired from a weapon. As the weapon is fired, the number of available bullets decreases from the maximum to zero, at which point no more bullets can be fired. Weapons can be reloaded to regain bullets up to the maximum.<div style="clear:left"></div>
[[File:Clip size icon.png|64px|left]]
'''Ammo''' is a stat that dictates the maximum number of bullets that can be stored and fired from a weapon. As the weapon is fired, the number of available bullets decreases from the maximum to zero, at which point no more bullets can be fired. Weapons can be reloaded to regain bullets up to the maximum.
{{Clear}}
 
== Math ==
The formula for clip size increase is: <math>x_f = \left\lceil (x_i + \sum^n \text{BonusClipSize}) * (1 + \sum^n \text{BonusClipSizePercent} + \sum^n \text{Golden Statues}) \right\rceil</math>
 
== Sources of ammo ==
== Sources of ammo ==
A permanent Ammo buff can be obtained from [[Gold Urn]]s.{{Navbox|title=Items|titlestyle=background-color:#ffefd7;text-align:center;|list1={{ItemBox|item_name = Basic Magazine}}
A permanent Ammo buff can be obtained from [[Gold Urn]]s.{{Navbox|title=Items|titlestyle=background-color:#ffefd7;text-align:center;|list1={{ItemBox|item_name = Basic Magazine}}

Revision as of 06:40, 5 October 2024

Ammo is a stat that dictates the maximum number of bullets that can be stored and fired from a weapon. As the weapon is fired, the number of available bullets decreases from the maximum to zero, at which point no more bullets can be fired. Weapons can be reloaded to regain bullets up to the maximum.

Math

The formula for clip size increase is: xf=(xi+nBonusClipSize)*(1+nBonusClipSizePercent+nGolden Statues)

Sources of ammo

A permanent Ammo buff can be obtained from Gold Urns.