Template:Random confusion
From Tales of Maj'Eyal
Revision as of 19:25, 12 November 2016 by WangHW (Talk | contribs) (Created page with "<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance of confusion</onlyinclude></includeonly> Category:Templates This template is used to show an item's...")
This template is used to show an item's random confusion effects. In lua file you will see, for example:
[DamageType.RANDOM_CONFUSION] = resolvers.mbonus_material(8, 4)
Convert it to wiki format as
{{random confusion|8|4}}
to produce the follwing text:
(4-12)% chance of confusion