Difference between revisions of "Template:E"

From Tales of Maj'Eyal
Jump to: navigation, search
(template for an item's individual effects)
 
m
Line 13: Line 13:
 
| physical = {{physical}}
 
| physical = {{physical}}
 
| temporal = {{temporal}}
 
| temporal = {{temporal}}
| ?? }}  
+
| ?? }} +({{{4}}}-{{#expr:{{{4}}}+{{{3}}}}})%
+({{{4}}}-{{#expr:{{{4}}}+{{{3}}}}})%
+
 
| ??
 
| ??
 
}}</onlyinclude></includeonly>
 
}}</onlyinclude></includeonly>

Revision as of 14:40, 13 November 2016


This template is designed to specify individual effects from a single item ego, to ensure consistency, intuitive conversion, and keep the wording in line with their in-game description.

For example, the LUA code for an ego's fire resistance effects is

resists={[DamageType.FIRE] = resolvers.mbonus_material(15, 15)

Convert it with this template as

{{e|resist|fire|15|15}}

To produces the following text:

??