Template:Boss: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Kiokurashi
No edit summary
Line 13: Line 13:
|-
|-
! Health
! Health
| {{{1health | }}}
| {{Numdisplay|{{{1health | }}}}}
|-
|-
! Accuracy 5%
! Accuracy 5%
| {{#if: {{{def1|}}} | {{#expr: {{{def1}}}*0.5}} | }}
| {{Numdisplay|{{#if: {{{def1|}}} | {{#expr: {{{def1}}}*0.5}} | }}}}
|-
|-
! Accuracy 100%
! Accuracy 100%
| {{#if: {{{def1|}}} | {{#expr: {{{def1}}}*1.5}} | }}
| {{Numdisplay|{{#if: {{{def1|}}} | {{#expr: {{{def1}}}*1.5}} | }}}}
|-
|-
! Experience
! Experience
| {{{1exp | }}}
| {{Numdisplay|{{{1exp | }}}}}
|-
|-
! colspan="2" class="SubHeader" | Attacks
! colspan="2" class="SubHeader" | Attacks
Line 31: Line 31:
{{!}}-
{{!}}-
! {{#explode:{{{AttackList|}}}|,|{{#var:i}}}}
! {{#explode:{{{AttackList|}}}|,|{{#var:i}}}}
{{!}} {{#explode:{{{NormalDamages|}}}|,|{{#var:i}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
{{!}} {{Numdisplay|{{#explode:{{{NormalDamages|}}}|,|{{#var:i}}}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
}}
}}
|-
|-
Line 55: Line 55:
|-
|-
! Health
! Health
| {{{2health | }}}
| {{Numdisplay|{{{2health | }}}}}
|-
|-
! Accuracy 5%
! Accuracy 5%
| {{#if: {{{def2|}}} | {{#expr: {{{def2}}}*0.5}} | }}
| {{Numdisplay|{{#if: {{{def2|}}} | {{#expr: {{{def2}}}*0.5}} | }}}}
|-
|-
! Accuracy 100%
! Accuracy 100%
| {{#if: {{{def2|}}} | {{#expr: {{{def2}}}*1.5}} | }}
| {{Numdisplay|{{#if: {{{def2|}}} | {{#expr: {{{def2}}}*1.5}} | }}}}
|-
|-
! Experience
! Experience
| {{{2exp | }}}
| {{Numdisplay|{{{2exp | }}}}}
|-
|-
! colspan="2" class="SubHeader" | Attacks
! colspan="2" class="SubHeader" | Attacks
Line 73: Line 73:
{{!}}-
{{!}}-
! {{#explode:{{{AttackList|}}}|,|{{#var:i}}}}
! {{#explode:{{{AttackList|}}}|,|{{#var:i}}}}
{{!}} {{#explode:{{{ChaoticDamages|}}}|,|{{#var:i}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
{{!}} {{Numdisplay|{{#explode:{{{ChaoticDamages|}}}|,|{{#var:i}}}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
}}
}}
|-
|-
Line 97: Line 97:
|-
|-
! Health
! Health
| {{{3health | }}}
| {{Numdisplay|{{{3health | }}}}}
|-
|-
! Accuracy 5%
! Accuracy 5%
| {{#if: {{{def3|}}} | {{#expr: {{{def3}}}*0.5}} | }}
| {{Numdisplay|{{#if: {{{def3|}}} | {{#expr: {{{def3}}}*0.5}} | }}}}
|-
|-
! Accuracy 100%
! Accuracy 100%
| {{#if: {{{def3|}}} | {{#expr: {{{def3}}}*0.5}} | }}
| {{Numdisplay|{{#if: {{{def3|}}} | {{#expr: {{{def3}}}*0.5}} | }}}}
|-
|-
! Experience
! Experience
| {{{3exp | }}}
| {{Numdisplay|{{{3exp | }}}}}
|-
|-
! colspan="2" class="SubHeader" | Attacks
! colspan="2" class="SubHeader" | Attacks
Line 115: Line 115:
{{!}}-
{{!}}-
! {{#explode:{{{AttackList|}}}|,|{{#var:i}}}}
! {{#explode:{{{AttackList|}}}|,|{{#var:i}}}}
{{!}} {{#explode:{{{NightmareDamages|}}}|,|{{#var:i}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
{{!}} {{Numdisplay|{{#explode:{{{NightmareDamages|}}}|,|{{#var:i}}}}}} {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
}}
}}
|-
|-

Revision as of 04:48, 4 June 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
|AttackList=<attack name 1>, <attack name 2>, <attack name 3>..etc
|NormalDamages=<attack 1 dmg>, <attack 2 dmg>.. etc for the normal version of the boss
|ChaoticDamages=<attack 1 dmg>, <attack 2 dmg>.. etc for the chaotic version of the boss
|NightmareDamages=<attack 1 dmg>, <attack 2 dmg>.. etc for the nightmare version of the boss
}}