Template:Boss: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Kiokurashi
No edit summary
Line 24: Line 24:
|-
|-
! colspan="2" class="SubHeader" | Attacks
! colspan="2" class="SubHeader" | Attacks
|-
{{#vardefine:i|0}}
{{#vardefine:i|0}}
{{#while:
{{#while:
| {{#if: {{#explode:{{#var:AttackList}}|,|{{#var:i}}}} | true }}
| {{#if: {{#explode:{{{AttackList|}}}|,|{{#var:i}}}} | true }}
| <nowiki />
| <nowiki />
{{!}}-
{{!}}-
! {{#explode:{{#var:AttackList}}|,|{{#var:i}}}}
! {{#explode:{{{AttackList|}}}|,|{{#var:i}}}}
{{!}} {{#explode:{{#var:NormalDamages}}|,|{{#var:i}}}} {{#vardefineecho:i|{{#expr:{{#var:i}}+1}}}}
{{!}} {{#explode:{{{NormalDamages|}}}|,|{{#var:i}}}} {{#vardefineecho:i|{{#expr:{{#var:i}}+1}}}}
}}
}}
|-
|-
Line 64: Line 63:
{{#vardefine:i|0}}
{{#vardefine:i|0}}
{{#while:
{{#while:
| {{#if: {{#explode:{{#var:AttackList}}|,|{{#var:i}}}} | true }}
| {{#if: {{#explode:{{{AttackList|}}}|,|{{#var:i}}}} | true }}
| <nowiki />
| <nowiki />
{{!}}-
{{!}}-
! {{#explode:{{#var:AttackList}}|,|{{#var:i}}}}
! {{#explode:{{{AttackList|}}}|,|{{#var:i}}}}
{{!}} {{#explode:{{#var:ChaoticDamages}}|,|{{#var:i}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
{{!}} {{#explode:{{{ChaoticDamages|}}}|,|{{#var:i}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
}}
}}
|-
|-
Line 101: Line 100:
{{#vardefine:i|0}}
{{#vardefine:i|0}}
{{#while:
{{#while:
| {{#if: {{#explode:{{#var:AttackList}}|,|{{#var:i}}}} | true }}
| {{#if: {{#explode:{{{AttackList|}}}|,|{{#var:i}}}} | true }}
| <nowiki />
| <nowiki />
{{!}}-
{{!}}-
! {{#explode:{{#var:AttackList}}|,|{{#var:i}}}}
! {{#explode:{{{AttackList|}}}|,|{{#var:i}}}}
{{!}} {{#explode:{{#var:NightmareDamages}}|,|{{#var:i}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
{{!}} {{#explode:{{{NightmareDamages|}}}|,|{{#var:i}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
}}
}}
|-
|-

Revision as of 22:40, 23 April 2021

Usage:
Attack1-7 is for the name of the attack. The first number of health, exp, accurary and dmg defined the difficulty. 1 for normal. 2 for chaotic, 3 for nightmare. 
{{boss
|1health=example
|2health=example
|3health=example
|1exp=example
|2exp=example
|3exp=example
|def1=example
|def2=example
|def3=example
|attack1=example
|attack2=example
|attack3=example
|attack4=example
|attack5=example
|attack6=example
|attack7=example
|1dmg1=example
|2dmg1=example
|3dmg1=example
|1dmg2=example
|2dmg2=example
|3dmg2=example
|1dmg3=example
|2dmg3=example
|3dmg3=example
|1dmg4=example
|2dmg4=example
|3dmg4=example
|1dmg5=example
|2dmg5=example
|3dmg5=example
|1dmg6=example
|2dmg6=example
|3dmg6=example
|1dmg7=example
|2dmg7=example
|3dmg7=example
}}