Template:Boss: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><infobox>
<includeonly><infobox>
<title source="title">
<title>
<default>{{PAGENAME}}</default>
<default>{{PAGENAME}}</default>
</title>
</title>
Line 10: Line 10:
     </image>
     </image>
     <group name="NormalStats">
     <group name="NormalStats">
         <header>Stats</header>
         <header>Boss Stats</header>
<data source="1health">
<data source="1health">
<label>Health</label>
<label>Health</label>
Line 16: Line 16:
</data>
</data>
         <data source="def1">
         <data source="def1">
<label>Accuracy 5%</label>
<label>5% Accuracy</label>
             <format>{{Numdisplay|{{#expr: {{{def1}}}*0.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def1}}}*0.5}}}}</format>
</data>
</data>
         <data source="def1">
         <data source="def1">
<label>Accuracy 100%</label>
<label>100% Accuracy</label>
             <format>{{Numdisplay|{{#expr: {{{def1}}}*1.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def1}}}*1.5}}}}</format>
</data>
</data>
Line 27: Line 27:
             <format>{{Numdisplay|{{{1exp | }}}}}</format>
             <format>{{Numdisplay|{{{1exp | }}}}}</format>
</data>
</data>
         <header>Attacks</header>
         <header>Boss Attacks</header>
         <data source="NormalDamages">
         <data source="NormalDamages">
             <format>{{#invoke:Loops|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NormalDamages|}}}}}</format>
             <format>{{#invoke:Loops|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NormalDamages|}}}}}</format>
Line 33: Line 33:
     </group>
     </group>
     <group name="NormalCard">
     <group name="NormalCard">
         <header>Card Bonus</header>
         <header>Card Info</header>
<data source="hascard">
<label>Card</label>
<format>[[File:{{PAGENAME}} Card.png|24px]] [[{{PAGENAME}} Card]]</format>
</data>
<data source="hascard">
<data source="hascard">
<label>Effect</label>
<label>Effect</label>
Line 57: Line 61:
     </image>
     </image>
     <group name="ChaoticStats">
     <group name="ChaoticStats">
         <header>Stats</header>
         <header>Boss Stats</header>
<data source="2health">
<data source="2health">
<label>Health</label>
<label>Health</label>
Line 63: Line 67:
</data>
</data>
         <data source="def2">
         <data source="def2">
<label>Accuracy 5%</label>
<label>5% Accuracy</label>
             <format>{{Numdisplay|{{#expr: {{{def2}}}*0.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def2}}}*0.5}}}}</format>
</data>
</data>
         <data source="def2">
         <data source="def2">
<label>Accuracy 100%</label>
<label>100% Accuracy</label>
             <format>{{Numdisplay|{{#expr: {{{def2}}}*1.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def2}}}*1.5}}}}</format>
</data>
</data>
Line 80: Line 84:
     </group>
     </group>
     <group name="ChaoticCard">
     <group name="ChaoticCard">
         <header>Card Bonus</header>
         <header>Card Info</header>
<data source="hascard">
<label>Card</label>
<format>[[File:Chaotic {{{nameOverride|{{PAGENAME}}}}} Card.png|24px]] [[Chaotic {{{nameOverride|{{PAGENAME}}}}} Card]]</format>
</data>
<data source="hascard">
<data source="hascard">
<label>Effect</label>
<label>Effect</label>
Line 104: Line 112:
     </image>
     </image>
     <group name="NightmareStats">
     <group name="NightmareStats">
         <header>Stats</header>
         <header>Boss Stats</header>
<data source="3health">
<data source="3health">
<label>Health</label>
<label>Health</label>
Line 110: Line 118:
</data>
</data>
         <data source="def3">
         <data source="def3">
<label>Accuracy 5%</label>
<label>5% Accuracy</label>
             <format>{{Numdisplay|{{#expr: {{{def3}}}*0.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def3}}}*0.5}}}}</format>
</data>
</data>
         <data source="def3">
         <data source="def3">
<label>Accuracy 100%</label>
<label>100% Accuracy</label>
             <format>{{Numdisplay|{{#expr: {{{def3}}}*1.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def3}}}*1.5}}}}</format>
</data>
</data>
Line 127: Line 135:
     </group>
     </group>
     <group name="NightmareCard">
     <group name="NightmareCard">
         <header>Card Bonus</header>
         <header>Card Info</header>
<data source="hascard">
<label>Card</label>
<format>[[File:{{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card.png|24px]] [[{{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card]]</format>
</data>
<data source="hascard">
<data source="hascard">
<label>Effect</label>
<label>Effect</label>

Revision as of 17:28, 8 February 2023

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)
}}