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}}
{{#while:
| {{#if: {{#explode:{{#var:AttackList}}|,|{{#var:i}}}} | true }}
| <nowiki />
{{!}}-
! {{#explode:{{#var:AttackList}}|,|{{#var:i}}}}
{{!}} {{#explode:{{#var:NormalDamages}}|,|{{#var:i}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
}}
|-
|-
! {{{attack1}}}
| {{{1dmg1 | }}}
|-
! {{{attack2}}}
| {{{1dmg2 | }}}
|-
! {{{attack3}}}
| {{{1dmg3 | }}}
|-
! {{{attack4}}}
| {{{1dmg4 | }}}
|-
! {{{attack5}}}
| {{{1dmg5 | }}}
|-
! {{{attack6}}}
| {{{1dmg6 | }}}
|-
! {{{attack7}}}
| {{{1dmg7 | }}}
|-
{{#if:{{{attack8|}}}|! {{{attack8}}}
{{!}} {{{1dmg8}}}
{{!}}- }}
{{#ifeq: {{{hascard}}} | yes | {{#dpl:  
{{#ifeq: {{{hascard}}} | yes | {{#dpl:  
|namespace=
|namespace=
Line 77: Line 61:
|-
|-
! colspan="2" class="SubHeader" | Attacks
! colspan="2" class="SubHeader" | Attacks
{{#vardefine:i|0}}
{{#while:
| {{#if: {{#explode:{{#var:AttackList}}|,|{{#var:i}}}} | true }}
| <nowiki />
{{!}}-
! {{#explode:{{#var:AttackList}}|,|{{#var:i}}}}
{{!}} {{#explode:{{#var:ChaoticDamages}}|,|{{#var:i}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
}}
|-
|-
! {{{attack1}}}
| {{{2dmg1 | }}}
|-
! {{{attack2}}}
| {{{2dmg2 | }}}
|-
! {{{attack3}}}
| {{{2dmg3 | }}}
|-
! {{{attack4}}}
| {{{2dmg4 | }}}
|-
! {{{attack5}}}
| {{{2dmg5 | }}}
|-
! {{{attack6}}}
| {{{2dmg6 | }}}
|-
! {{{attack7}}}
| {{{2dmg7 | }}}
|-
{{#if:{{{attack8|}}}|! {{{attack8}}}
{{!}} {{{2dmg8 |?}}}
{{!}}- }}
{{#ifeq: {{{hascard}}} | yes | {{#dpl:  
{{#ifeq: {{{hascard}}} | yes | {{#dpl:  
|namespace=
|namespace=
Line 130: Line 98:
|-
|-
! colspan="2" class="SubHeader" | Attacks
! colspan="2" class="SubHeader" | Attacks
{{#vardefine:i|0}}
{{#while:
| {{#if: {{#explode:{{#var:AttackList}}|,|{{#var:i}}}} | true }}
| <nowiki />
{{!}}-
! {{#explode:{{#var:AttackList}}|,|{{#var:i}}}}
{{!}} {{#explode:{{#var:NightmareDamages}}|,|{{#var:i}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
}}
|-
|-
! {{{attack1}}}
| {{{3dmg1 | }}}
|-
! {{{attack2}}}
| {{{3dmg2 | }}}
|-
! {{{attack3}}}
| {{{3dmg3 | }}}
|-
! {{{attack4}}}
| {{{3dmg4 | }}}
|-
! {{{attack5}}}
| {{{3dmg5 | }}}
|-
! {{{attack6}}}
| {{{3dmg6 | }}}
|-
! {{{attack7}}}
| {{{3dmg7 | }}}
|-
{{#if:{{{attack8|}}}|! {{{attack8}}}
{{!}} {{{3dmg8 |?}}}
{{!}}- }}
{{#ifeq: {{{hascard}}}|yes|{{#dpl:  
{{#ifeq: {{{hascard}}}|yes|{{#dpl:  
|namespace=
|namespace=

Revision as of 22:33, 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
}}