Template:CountSpellValues: Difference between revisions

From Wizardia Community Wiki

Content added Content deleted
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{Affinity}}}|Body
<nowiki>
{{#if:{{{Affinity}}}=Body
|{{#ifeq:{{{Versus}}}|Body
|{{#if:{{{Versus}}}=Body
|{{formatnum:{{{Value}}}|R}}
|{{{Value}}}
|{{#ifeq:{{{Versus}}}|Soul
|{{#if:{{{Versus}}}=Soul
|{{#expr: {{formatnum:{{{Value}}}|R}}*1.2 }}
|{{#expr: {{formatnum:{{{Value}}}|R}}*1.2 }}
|{{#expr: {{formatnum:{{{Value}}}|R}}*0.8 }}
|{{#ifeq:{{{Versus}}}|Mind
|}}
|{{#if:{{{Affinity}}}=Soul
|{{#if:{{{Versus}}}=Soul
|{{{Value}}}
|{{#if:{{{Versus}}}=Mind
|{{#expr: {{formatnum:{{{Value}}}|R}}*1.2 }}
|{{#expr: {{formatnum:{{{Value}}}|R}}*0.8 }}
|{{#expr: {{formatnum:{{{Value}}}|R}}*0.8 }}
|}}
|}}
|{{#if:{{{Versus}}}=Mind
}}
|{{{Value}}}
}}
|{{#if:{{{Versus}}}=Body
|{{#ifeq:{{{Affinity}}}|Soul
|{{#ifeq:{{{Versus}}}|Soul
|{{formatnum:{{{Value}}}|R}}
|{{#ifeq:{{{Versus}}}|Mind
|{{#expr: {{formatnum:{{{Value}}}|R}}*1.2 }}
|{{#expr: {{formatnum:{{{Value}}}|R}}*1.2 }}
|{{#expr: {{formatnum:{{{Value}}}|R}}*0.8 }}
|{{#ifeq:{{{Versus}}}|Body
|{{#expr: {{formatnum:{{{Value}}}|R}}*0.8 }}
|}}
}}
}}
|{{#ifeq:{{{Affinity}}}|Mind
|{{#ifeq:{{{Versus}}}|Mind
|{{formatnum:{{{Value}}}|R}}
|{{#ifeq:{{{Versus}}}|Body
|{{#expr: {{formatnum:{{{Value}}}|R}}*1.2 }}
|{{#ifeq:{{{Versus}}}|Soul
|{{#expr: {{formatnum:{{{Value}}}|R}}*0.8 }}
|}}
}}
}}
|}}
|}}
|}}
}}
}}
</nowiki>

Latest revision as of 21:43, 29 October 2022

Cookies help us deliver our services. By using our services, you agree to our use of cookies.