Difference between revisions of "Template:Relic2"

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

Revision as of 17:12, 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=
}}