Template:Formulas/doc
From Wildermyth Wiki
< Template:Formulas
Revision as of 16:51, 21 September 2021 by FeralKitty (talk | contribs) (Change from subpage to damage parameter)
Usage
This template displays the formulas for an ability.
The Infobox uses the following parameters:
- damage
- (Mathematical) damage equation
- note
- Optional note(s) about the targets
Example
{{Formulas
| damage = Damage: floor(max(1,(self.PHYSICAL_DAMAGE_BONUS+self.POTENCY)))+(2*self.warriorDeck_broadswipes_upgrade)<br>Range: max(1.6,weapon.weaponMaxRange)+self.BONUS_RANGE
| note = Blah blah blah
}}
| Formulas |
Damage: floor(max(1,(self.PHYSICAL_DAMAGE_BONUS+self.POTENCY)))+(2*self.warriorDeck_broadswipes_upgrade) |
| Note: Blah blah blahSee Formulas Guide for help with math functions. |