Template:Boss: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 12: Line 12:
         <header>Boss Stats</header>
         <header>Boss Stats</header>
<data source="1health">
<data source="1health">
<label>Health</label>
<label>{{Icons|HP Icon|18|text=Health}}</label>
             <format>{{Numdisplay|{{{1health | }}}}}</format>
             <format>{{Numdisplay|{{{1health | }}}}}</format>
</data>
</data>
Line 20: Line 20:
</data>
</data>
         <data source="def1">
         <data source="def1">
<label>5% Accuracy</label>
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
             <format>{{Numdisplay|{{#expr: {{{def1}}}*0.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def1}}}*0.5}}}}</format>
</data>
</data>
Line 29: Line 29:
         </group>
         </group>
         <group name="NormalAttacks">
         <group name="NormalAttacks">
         <header>Attacks</header>
         <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
         <data source="NormalDamages">
         <data source="NormalDamages">
             <format>{{#invoke:Loops|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NormalDamages|}}}}}</format>
             <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NormalDamages|}}}}}</format>
         </data>
         </data>
     </group>
     </group>
Line 65: Line 65:
         <header>Chaotic Boss Stats</header>
         <header>Chaotic Boss Stats</header>
<data source="2health">
<data source="2health">
<label>Health</label>
<label>{{Icons|HP Icon|18|text=Health}}</label>
             <format>{{Numdisplay|{{{2health | }}}}}</format>
             <format>{{Numdisplay|{{{2health | }}}}}</format>
</data>
</data>
Line 73: Line 73:
</data>
</data>
         <data source="def2">
         <data source="def2">
<label>5% Accuracy</label>
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
             <format>{{Numdisplay|{{#expr: {{{def2}}}*0.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def2}}}*0.5}}}}</format>
</data>
</data>
Line 82: Line 82:
         </group>
         </group>
         <group name="ChaoticAttacks">
         <group name="ChaoticAttacks">
         <header>Attacks</header>
         <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
         <data source="ChaoticDamages">
         <data source="ChaoticDamages">
             <format>{{#invoke:Loops|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{ChaoticDamages|}}}}}</format>
             <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{ChaoticDamages|}}}}}</format>
         </data>
         </data>
     </group>
     </group>
Line 118: Line 118:
         <header>{{{3rdName|Nightmare}}} Boss Stats</header>
         <header>{{{3rdName|Nightmare}}} Boss Stats</header>
<data source="3health">
<data source="3health">
<label>Health</label>
<label>{{Icons|HP Icon|18|text=Health}}</label>
             <format>{{Numdisplay|{{{3health | }}}}}</format>
             <format>{{Numdisplay|{{{3health | }}}}}</format>
</data>
</data>
Line 126: Line 126:
</data>
</data>
         <data source="def3">
         <data source="def3">
<label>5% Accuracy</label>
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
             <format>{{Numdisplay|{{#expr: {{{def3}}}*0.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def3}}}*0.5}}}}</format>
</data>
</data>
Line 135: Line 135:
         </group>
         </group>
         <group name="NightmareAttacks">
         <group name="NightmareAttacks">
         <header>Attacks</header>
         <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
         <data source="NightmareDamages">
         <data source="NightmareDamages">
             <format>{{#invoke:Loops|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NightmareDamages|}}}}}</format>
             <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NightmareDamages|}}}}}</format>
         </data>
         </data>
     </group>
     </group>
Line 171: Line 171:
     <data source="area">
     <data source="area">
<label>Area</label>
<label>Area</label>
             <format>[[Worlds#{{{area|}}}|{{{area|}}}]]</format>
             <format>{{Area|{{{area|}}}}}</format>
</data>
</data>
     </group>
     </group>
</infobox>{{#if:{{{prevenemy|}}}{{{nextenemy|}}}|{{EnemyNavigation|{{{prevenemy|}}}|{{{nextenemy|}}}}}}}[[Category:World Bosses]]</includeonly><noinclude>
</infobox>{{#invoke:EnemyNav|BuildNav|Type=Boss|Enemy={{PAGENAME}}}}[[Category:World Bosses]]</includeonly><noinclude>
<pre>
<pre>
Usage:
Usage:

Latest revision as of 08:17, 27 July 2024

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
|prevenemy=example (previous monster for navigation)
|nextenemy=example (next monster for navigation)
}}