Difference between revisions of "Template:Item effect"
Jump to navigation
Jump to search
m |
m |
||
Line 3: | Line 3: | ||
| restore hp = | | restore hp = | ||
| spell speed = Spell Speed | | spell speed = Spell Speed | ||
| skill speed = Skill Speed | |||
| critical hit = Critical Hit | | critical hit = Critical Hit | ||
| magic defense = Magic Defense | | magic defense = Magic Defense | ||
| direct hit rate = Direct Hit Rate | | direct hit rate = Direct Hit Rate | ||
| #default = {{ucfirst:{{{1|}}}}} | | #default = {{ucfirst:{{{1|}}}}} | ||
}}{{#switch:{{lc:{{{1|}}}}}<!-- Effect value --> | }}{{#switch:{{lc:{{{1|}}}}}<!-- Effect value --> | ||
| restore hp = Restores up to {{{percent|}}}% of HP{{#if:{{{max|}}}| ({{{max}}} points max)}}. | | restore hp = Restores up to {{{percent|}}}% of HP{{#if:{{{max|}}}| ({{{max}}} points max)}}. | ||
| spell speed | critical hit | magic defense | direct hit rate | vitality | piety | mind | intelligence | strength | dexterity | tenacity = +{{#if:{{{value|}}}|{{{value}}}}}{{#if:{{{percent|}}}|{{{percent}}}%}}{{#if:{{{max|}}}| (Max {{{max}}})}} | | spell speed | skill speed | critical hit | magic defense | direct hit rate | vitality | piety | mind | intelligence | strength | dexterity | tenacity = +{{#if:{{{value|}}}|{{{value}}}}}{{#if:{{{percent|}}}|{{{percent}}}%}}{{#if:{{{max|}}}| (Max {{{max}}})}} | ||
| #default = {{{value|}}} | | #default = {{{value|}}} | ||
}}|''No effect name provided.''}}</p></onlyinclude><noinclude> | }}|''No effect name provided.''}}</p></onlyinclude><noinclude> |
Revision as of 06:26, 13 July 2017
No effect name provided.
Description
{{item effect|<effect>|percent=|max=}}
Parameters
- Unnamed parameter 1
- Item effect. Accepts: restore hp. (types under construction).
- percent
- Effect percent.
- max
- Effect max value.
Example
{{Item effect|restore hp|percent=24|max=1920}}
Restores up to 24% of HP (1920 points max).