Difference between revisions of "Template:Item effect"
Jump to navigation
Jump to search
Freedom4556 (talk | contribs) m |
Freedom4556 (talk | contribs) m |
||
Line 14: | Line 14: | ||
| exp = | | exp = | ||
| reduced durability loss = | | reduced durability loss = | ||
| desynthesis skill gain = | |||
| #default = {{ucfirst:{{{1|}}}}} | | #default = {{ucfirst:{{{1|}}}}} | ||
}}{{#switch:{{lc:{{{1|}}}}}<!-- Effect value --> | }}{{#switch:{{lc:{{{1|}}}}}<!-- Effect value --> |
Revision as of 05:06, 5 July 2022
No effect name provided.
Description
{{item effect|<effect>|percent=|max=|value=}}
Parameters
- Unnamed parameter 1
- Item effect. Accepts: restore hp, restore mp, restore gp, spell speed, skill speed, critical hit, magic defense, direct hit rate, cp, gp, reduced durability loss, desynthesis skill gain.
- percent
- Effect percent.
- max
- Effect max value.
- value
- Effect's constant value (not a percent). If using value, do not use percent or max.
Example
{{Item effect|restore hp|percent=24%|max=1920}}
Restores up to 24% of HP (1920 points max).
{{Item effect|restore gp|value=350}}
Restores 350 GP.
{{Item effect|exp|percent=30%}}
Increases EXP earned by 30%.
{{Item effect|reduced durability loss|value=30}}
Reduced Durability Loss +30