Difference between revisions of "Template:Item temporal energize"

From Tales of Maj'Eyal
Jump to: navigation, search
 
Line 1: Line 1:
<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to gain 10% of a turn (3/turn limit)</onlyinclude></includeonly>
+
<includeonly><onlyinclude>({{{2}}}-{{#expr:{{{2}}}+{{{1}}}}})% chance to <span style="font-weight: bold; color: #B0C4DE;">gain 10% of a turn</span> (3/turn limit)</onlyinclude></includeonly>
  
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 18:10, 4 November 2019


This template is used to show an item's temporal energize effects. In lua file you will see, for example:

[DamageType.ITEM_TEMPORAL_ENERGIZE] = resolvers.mbonus_material(13, 10)

Translating it to wiki format as

{{item temporal energize|13|10}}

to produce the follwing text:
(10-23)% chance to gain 10% of a turn (3/turn limit)