Difference between revisions of "Template:Formulas/doc"

From Wildermyth Wiki
Line 26: Line 26:
}}
}}


[[Category:Template]]
<includeonly>[[Category:Template]]</includeonly>

Revision as of 10:35, 29 December 2021

This is a documentation subpage for Template:Formulas.

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
}}