Template:Se: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 3: Line 3:


{{#vardefine: type |
{{#vardefine: type |
     {{#switch:{{#var:type_arg}}|pb=Party Buff|aob=Ally Only Buff|pd=Party Debuff|aod=Ally Only Debuff|sb=Self Buff|sd=Self Debuff|eb=Enemy Buff|ed=Enemy Debuff|#default=Self Buff}}
     {{#if: {{{3|{{{type|}}}}}}
}}
        |{{#switch:{{#var:type_arg}}|pb=Party Buff|aob=Ally Only Buff|pd=Party Debuff|aod=Ally Only Debuff|sb=Self Buff|sd=Self Debuff|eb=Enemy Buff|ed=Enemy Debuff|#default=Self Buff}}
 
        |{{#switch: {{{2|{{{name|}}}}}}|Freeze|Burn|Faint|Condemnation|Power Faint|Poison|Wound|Flattened|Ice|Confusion|Bleed|Lethargy|Mana Pollution|Groggy=Enemy Debuff|#default=Self Buff }}
{{#if: {{{3|{{{type|}}}}}}
    ||{{#vardefine: type |
        {{#switch: {{{2|{{{name|}}}}}}|Freeze|Burn|Faint|Condemnation|Power Faint|Poison|Wound|Flattened|Ice|Confusion|Bleed|Lethargy|Mana Pollution|Groggy=Enemy Debuff|#default=Self Buff }}
     }}
     }}
}}
}}