Difference between revisions of "Template:Relic"

From Fallen Sword Wiki
Jump to: navigation, search
Line 12: Line 12:
  
 
==Fully Empowered Relic Bonuses==
 
==Fully Empowered Relic Bonuses==
{{#ifeq: {{{attack|0}}} | 0 || * +10% [[Attack]]<br />}}{{#ifeq: {{{defense|0}}} | 0 || * +10% [[Defense]]<br />}}{{#ifeq: {{{armor|0}}} | 0 || * +10% [[Armor]]<br />}}{{#ifeq: {{{hp|0}}} | 0 || * +10% [[HP]]<br />}}{{#ifeq: {{{damage|0}}} | 0 || * +10% [[Damage]]<br />}}{{#ifeq: {{{stamina|0}}} | 0 || * +{{#expr: {{{stamina}}}+100}} [[Stamina]]<br />}}{{#ifeq: {{{stamina-gain|0}}} | 0 || * +{{#expr: {{{stamina-gain}}}*2}} [[Stamina Gain]]<br />}}{{#ifeq: {{{gold-gain|0}}} | 0 || * +{{#expr: {{{gold-gain}}}*2}} [[Gold Gain]]<br />}}{{#ifeq: {{{xp-gain|0}}} | 0 || * +{{#expr: {{{xp-gain}}}*2}} [[XP Gain]]<br />}}{{#ifeq: {{{piercing-strike|0}}} | 0 || * +{{#expr: {{{piercing-strike}}}+50}} [[Piercing Strike]]<br />}}{{#ifeq: {{{reinforced-armor|0}}} | 0 || * +{{#expr: {{{reinforced-armor}}}+50}} [[Reinforced Armor]]<br />}}{{#ifeq: {{{thievery|0}}} | 0 || * +{{#expr: {{{thievery}}}+50}} [[Thievery]]<br />}}{{#ifeq: {{{critical-hit|0}}} | 0 || * +{{#expr: {{{critical-hit}}}+50}} [[Critical Hit]]<br />}}{{#ifeq: {{{holy|0}}} | 0 || * +{{#expr: {{{holy}}}+50}} [[Holy]]<br />}}{{#ifeq: {{{breaker|0}}} | 0 || * +{{#expr: {{{breaker}}}+50}} [[Breaker]]<br />}}{{#ifeq: {{{nullify|0}}} | 0 || * +{{#expr: {{{nullify}}}+50}} [[Nullify]]<br />}}{{#ifeq: {{{banishment|0}}} | 0 || * +{{#expr: {{{banishment}}}+50}} [[Banishment]]<br />}}{{#ifeq: {{{protection|0}}} | 0 || * +{{#expr: {{{protection}}}+50}} [[Protection]]<br />}}{{#ifeq: {{{oceanic|0}}} | 0 || * +{{#expr: {{{oceanic}}}+50}} [[Oceanic]]<br />}}{{#ifeq: {{{master-thief|0}}} | 0 || * +{{#expr: {{{master-thief}}}+50}} [[Master Thief]]<br />}}{{#ifeq: {{{protect-gold|0}}} | 0 || * +{{#expr: {{{protect-gold}}}+50}} [[Protect Gold]]<br />}}{{#ifeq: {{{dodge|0}}} | 0 || * +{{#expr: {{{dodge}}}+50}} [[Dodge]]<br />}}{{#ifeq: {{{disarm|0}}} | 0 || * +{{#expr: {{{disarm}}}+50}} [[Disarm]]<br />}}{{#ifeq: {{{master-blacksmith|0}}} | 0 || * +{{#expr: {{{master-blacksmith}}}+50}} [[Master Blacksmith]]<br />}}{{#ifeq: {{{elite-hunter|0}}} | 0 || * +{{#expr: {{{elite-hunter}}}+50}} [[Elite Hunter]]<br />}}{{#ifeq: {{{sustain|0}}} | 0 || * +{{#expr: {{{sustain}}}+50}} [[Sustain]]<br />}}{{#ifeq: {{{master-crafter|0}}} | 0 || * +{{#expr: {{{master-crafter}}}+50}} [[Master Crafter]]<br />}}{{#ifeq: {{{fury-caster|0}}} | 0 || * +{{#expr: {{{fury-caster}}}+50}} [[Fury Caster]]<br />}}{{#ifeq: {{{greenskin-slayer|0}}} | 0 || * +{{#expr: {{{greenskin-slayer}}}+50}} [[Greenskin Slayer]]<br />}}{{#ifeq: {{{beast-slayer|0}}} | 0 || * +{{#expr: {{{beast-slayer}}}+50}} [[Beast Slayer]]<br />}}{{#ifeq: {{{duelist|0}}} | 0 || * +{{#expr: {{{duelist}}}+50}} [[Duelist]]<br />}}{{#ifeq: {{{glory-seeker|0}}} | 0 || * +{{#expr: {{{glory-seeker}}}+50}} [[Glory Seeker]]<br />}}{{#ifeq: {{{first-strike|0}}} | 0 || * +{{#expr: {{{first-strike}}}+50}} [[First Strike]]<br />}}{{#ifeq: {{{hypnotize|0}}} | 0 || * +{{#expr: {{{hypnotize}}}+50}} [[Hypnotize]]<br />}}{{#ifeq: {{{master-inventor|0}}} | 0 || * +{{#expr: {{{master-inventor}}}+50}} [[Master Inventor]]<br />}}
+
{{#ifeq: {{{attack|0}}} | 0 || * +{{#expr: {{{attack}}}*5}}% [[Attack]]<br />}}{{#ifeq: {{{defense|0}}} | 0 || * +{{#expr: {{{defense}}}*5}}% [[Defense]]<br />}}{{#ifeq: {{{armor|0}}} | 0 || * +{{#expr: {{{armor}}}*5}}% [[Armor]]<br />}}{{#ifeq: {{{hp|0}}} | 0 || * +{{#expr: {{{hp}}}*5}}% [[HP]]<br />}}{{#ifeq: {{{damage|0}}} | 0 || * +{{#expr: {{{damage}}}*5}}% [[Damage]]<br />}}{{#ifeq: {{{stamina|0}}} | 0 || * +{{#expr: {{{stamina}}}+100}} [[Stamina]]<br />}}{{#ifeq: {{{stamina-gain|0}}} | 0 || * +{{#expr: {{{stamina-gain}}}*2}} [[Stamina Gain]]<br />}}{{#ifeq: {{{gold-gain|0}}} | 0 || * +{{#expr: {{{gold-gain}}}*2}} [[Gold Gain]]<br />}}{{#ifeq: {{{xp-gain|0}}} | 0 || * +{{#expr: {{{xp-gain}}}*2}} [[XP Gain]]<br />}}{{#ifeq: {{{piercing-strike|0}}} | 0 || * +{{#expr: ({{{piercing-strike}}} >= 20) * 100 + {{{piercing-strike}}} * 5 * ({{{piercing-strike}}} < 20)}} [[Piercing Strike]]<br />}}{{#ifeq: {{{reinforced-armor|0}}} | 0 || * +{{#expr: ({{{reinforced-armor}}} >= 20) * 100 + {{{reinforced-armor}}} * 5 * ({{{reinforced-armor}}} < 20)}} [[Reinforced Armor]]<br />}}{{#ifeq: {{{thievery|0}}} | 0 || * +{{#expr: ({{{thievery}}} >= 20) * 100 + {{{thievery}}} * 5 * ({{{thievery}}} < 20)}} [[Thievery]]<br />}}{{#ifeq: {{{critical-hit|0}}} | 0 || * +{{#expr: ({{{critical-hit}}} >= 20) * 100 + {{{critical-hit}}} * 5 * ({{{critical-hit}}} < 20)}} [[Critical Hit]]<br />}}{{#ifeq: {{{holy|0}}} | 0 || * +{{#expr: ({{{holy}}} >= 20) * 100 + {{{holy}}} * 5 * ({{{holy}}} < 20)}} [[Holy]]<br />}}{{#ifeq: {{{breaker|0}}} | 0 || * +{{#expr: ({{{breaker}}} >= 20) * 100 + {{{breaker}}} * 5 * ({{{breaker}}} < 20)}} [[Breaker]]<br />}}{{#ifeq: {{{nullify|0}}} | 0 || * +{{#expr: ({{{nullify}}} >= 20) * 100 + {{{nullify}}} * 5 * ({{{nullify}}} < 20)}} [[Nullify]]<br />}}{{#ifeq: {{{banishment|0}}} | 0 || * +{{#expr: ({{{banishment}}} >= 20) * 100 + {{{banishment}}} * 5 * ({{{banishment}}} < 20)}} [[Banishment]]<br />}}{{#ifeq: {{{protection|0}}} | 0 || * +{{#expr: ({{{protection}}} >= 20) * 100 + {{{protection}}} * 5 * ({{{protection}}} < 20)}} [[Protection]]<br />}}{{#ifeq: {{{oceanic|0}}} | 0 || * +{{#expr: ({{{oceanic}}} >= 20) * 100 + {{{oceanic}}} * 5 * ({{{oceanic}}} < 20)}} [[Oceanic]]<br />}}{{#ifeq: {{{master-thief|0}}} | 0 || * +{{#expr: ({{{master-thief}}} >= 20) * 100 + {{{master-thief}}} * 5 * ({{{master-thief}}} < 20)}} [[Master Thief]]<br />}}{{#ifeq: {{{protect-gold|0}}} | 0 || * +{{#expr: ({{{protect-gold}}} >= 20) * 100 + {{{protect-gold}}} * 5 * ({{{protect-gold}}} < 20)}} [[Protect Gold]]<br />}}{{#ifeq: {{{dodge|0}}} | 0 || * +{{#expr: ({{{dodge}}} >= 20) * 100 + {{{dodge}}} * 5 * ({{{dodge}}} < 20)}} [[Dodge]]<br />}}{{#ifeq: {{{disarm|0}}} | 0 || * +{{#expr: ({{{disarm}}} >= 20) * 100 + {{{disarm}}} * 5 * ({{{disarm}}} < 20)}} [[Disarm]]<br />}}{{#ifeq: {{{master-blacksmith|0}}} | 0 || * +{{#expr: ({{{master-blacksmith}}} >= 20) * 100 + {{{master-blacksmith}}} * 5 * ({{{master-blacksmith}}} < 20)}} [[Master Blacksmith]]<br />}}{{#ifeq: {{{elite-hunter|0}}} | 0 || * +{{#expr: ({{{elite-hunter}}} >= 20) * 100 + {{{elite-hunter}}} * 5 * ({{{elite-hunter}}} < 20)}} [[Elite Hunter]]<br />}}{{#ifeq: {{{sustain|0}}} | 0 || * +{{#expr: ({{{sustain}}} >= 20) * 100 + {{{sustain}}} * 5 * ({{{sustain}}} < 20)}} [[Sustain]]<br />}}{{#ifeq: {{{master-crafter|0}}} | 0 || * +{{#expr: ({{{master-crafter}}} >= 20) * 100 + {{{master-crafter}}} * 5 * ({{{master-crafter}}} < 20)}} [[Master Crafter]]<br />}}{{#ifeq: {{{fury-caster|0}}} | 0 || * +{{#expr: ({{{fury-caster}}} >= 20) * 100 + {{{fury-caster}}} * 5 * ({{{fury-caster}}} < 20)}} [[Fury Caster]]<br />}}{{#ifeq: {{{greenskin-slayer|0}}} | 0 || * +{{#expr: ({{{greenskin-slayer}}} >= 20) * 100 + {{{greenskin-slayer}}} * 5 * ({{{greenskin-slayer}}} < 20)}} [[Greenskin Slayer]]<br />}}{{#ifeq: {{{beast-slayer|0}}} | 0 || * +{{#expr: ({{{beast-slayer}}} >= 20) * 100 + {{{beast-slayer}}} * 5 * ({{{beast-slayer}}} < 20)}} [[Beast Slayer]]<br />}}{{#ifeq: {{{duelist|0}}} | 0 || * +{{#expr: ({{{duelist}}} >= 20) * 100 + {{{duelist}}} * 5 * ({{{duelist}}} < 20)}} [[Duelist]]<br />}}{{#ifeq: {{{glory-seeker|0}}} | 0 || * +{{#expr: ({{{glory-seeker}}} >= 20) * 100 + {{{glory-seeker}}} * 5 * ({{{glory-seeker}}} < 20)}} [[Glory Seeker]]<br />}}{{#ifeq: {{{first-strike|0}}} | 0 || * +{{#expr: ({{{first-strike}}} >= 20) * 100 + {{{first-strike}}} * 5 * ({{{first-strike}}} < 20)}} [[First Strike]]<br />}}{{#ifeq: {{{hypnotize|0}}} | 0 || * +{{#expr: ({{{hypnotize}}} >= 20) * 100 + {{{hypnotize}}} * 5 * ({{{hypnotize}}} < 20)}} [[Hypnotize]]<br />}}{{#ifeq: {{{master-inventor|0}}} | 0 || * +{{#expr: ({{{master-inventor}}} >= 20) * 100 + {{{master-inventor}}} * 5 * ({{{master-inventor}}} < 20)}} [[Master Inventor]]<br />}}
  
 
__NOEDITSECTION__
 
__NOEDITSECTION__

Revision as of 17:26, 10 January 2013

Do not edit this page!

If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.

Editing this page may cause the template to stop working properly for other pages currently using this template.

This template allows easy adding of relics. To use, copy the following code to the relic's page and fill in the blanks. Remove anything that is extra. Please only add the base stats for the relic, NOT the fully empowered ones. The template will automatically calculate those.

{{Relic
|image=
|area=
|coords=
|attack=
|defense=
|armor=
|hp=
|damage=
|stamina=
|stamina-gain=
|gold-gain=
|xp-gain=
|piercing-strike=
|reinforced-armor=
|thievery=
|critical-hit=
|holy=
|breaker=
|nullify=
|banishment=
|protection=
|oceanic=
|master-thief=
|protect-gold=
|dodge=
|disarm=
|master-blacksmith=
|elite-hunter=
|sustain=
|master-crafter=
|fury-caster=
|greenskin-slayer=
|beast-slayer=
|duelist=
|glory-seeker=
|first-strike=
|hypnotize=
|master-inventor=
}}