Template:Boss: Difference between revisions
From IdleOn MMO Wiki
Tag: Undo |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>< | <includeonly><infobox> | ||
< | <title source="title"> | ||
<default>{{PAGENAME}}</default> | |||
</title> | |||
< | <panel> | ||
< | <section> | ||
< | <label>Normal</label> | ||
< | <image source="image"> | ||
< | <default>[[File:{{PAGENAME}} (boss).png]]</default> | ||
< | </image> | ||
< | <group name="NormalStats"> | ||
< | <header>Stats</header> | ||
< | <data source="1health"> | ||
< | <label>Health</label> | ||
< | <format>{{Numdisplay|{{{1health | }}}}}</format> | ||
</ | </data> | ||
< | <data source="def1"> | ||
< | <label>Accuracy 5%</label> | ||
{{#invoke:Loops| | <format>{{Numdisplay|{{#expr: {{{def1}}}*0.5}}}}</format> | ||
</ | </data> | ||
<data source="def1"> | |||
<label>Accuracy 100%</label> | |||
<format>{{Numdisplay|{{#expr: {{{def1}}}*1.5}}}}</format> | |||
</data> | |||
| | <data source="1exp"> | ||
| | <label>Experience</label> | ||
<format>{{Numdisplay|{{{1exp | }}}}}</format> | |||
</data> | |||
{{ | <header>Attacks</header> | ||
<data source="NormalDamages"> | |||
< | <format>{{#invoke:Loops|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NormalDamages|}}}}}</format> | ||
</data> | |||
</group> | |||
<group name="NormalCard"> | |||
<header>Card Bonus</header> | |||
<data source="hascard"> | |||
<label>Effect</label> | |||
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title={{PAGENAME}} Card|count=1|mode=inline|format=,}}</format> | |||
</data> | |||
< | <data source="hascard"> | ||
< | <format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:bonus:bonus:bonus:bonus:bonus|title={{PAGENAME}} Card|count=1|mode = userformat|table = class="pi-horizontal-group",-, Base, [[File:Star1.png|class=CardStar|link=]], [[File:Star2.png|class=CardStar|link=]], [[File:Star3.png|class=CardStar|link=]], [[File:Star4.png|class=CardStar|link=]]|tablerow=%%, <!-- Star1 -->²{#expr:%% * 2}², <!-- Star2 -->²{#expr:%% * 3}², <!-- Star3 -->²{#expr:%% * 4}², <!-- Star4 -->²{#expr:%% * 5}²}}</format> | ||
< | </data> | ||
<data source="hascard"> | |||
<label>Category</label> | |||
{ | <format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:category|title={{PAGENAME}} Card|count=1|mode=inline|format=,}}</format> | ||
</ | </data> | ||
<data source="hascard"> | |||
| | <label>Dropchance</label> | ||
<format>{{Chancedisplay|{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:dropchance|title={{PAGENAME}} Card|count=1|mode=inline|format=,}}}}</format> | |||
</data> | |||
</group> | |||
</section> | |||
<section> | |||
<label>Chaotic</label> | |||
{{ | <image source="image"> | ||
<default>[[File:{{PAGENAME}} (Chaotic boss).png]]</default> | |||
< | </image> | ||
< | <group name="ChaoticStats"> | ||
< | <header>Stats</header> | ||
<data source="2health"> | |||
< | <label>Health</label> | ||
< | <format>{{Numdisplay|{{{2health | }}}}}</format> | ||
< | </data> | ||
< | <data source="def2"> | ||
< | <label>Accuracy 5%</label> | ||
<format>{{Numdisplay|{{#expr: {{{def2}}}*0.5}}}}</format> | |||
< | </data> | ||
</ | <data source="def2"> | ||
< | <label>Accuracy 100%</label> | ||
< | <format>{{Numdisplay|{{#expr: {{{def2}}}*1.5}}}}</format> | ||
{{#invoke:Loops| | </data> | ||
</ | <data source="2exp"> | ||
<label>Experience</label> | |||
<format>{{Numdisplay|{{{2exp | }}}}}</format> | |||
</data> | |||
| | <header>Attacks</header> | ||
<data source="ChaoticDamages"> | |||
| | <format>{{#invoke:Loops|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{ChaoticDamages|}}}}}</format> | ||
| | </data> | ||
</group> | |||
< | <group name="ChaoticCard"> | ||
< | <header>Card Bonus</header> | ||
<data source="hascard"> | |||
<label>Effect</label> | |||
< | <format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title=Chaotic {{PAGENAME}} Card|count=1|mode=inline|format=,}}</format> | ||
</data> | |||
</ | <data source="hascard"> | ||
</ | <format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:bonus:bonus:bonus:bonus:bonus|title=Chaotic {{PAGENAME}} Card|count=1|mode = userformat|table = class="pi-horizontal-group",-, Base, [[File:Star1.png|class=CardStar|link=]], [[File:Star2.png|class=CardStar|link=]], [[File:Star3.png|class=CardStar|link=]], [[File:Star4.png|class=CardStar|link=]]|tablerow=%%, <!-- Star1 -->²{#expr:%% * 2}², <!-- Star2 -->²{#expr:%% * 3}², <!-- Star3 -->²{#expr:%% * 4}², <!-- Star4 -->²{#expr:%% * 5}²}}</format> | ||
</data> | |||
<data source="hascard"> | |||
<label>Category</label> | |||
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:category|title=Chaotic {{PAGENAME}} Card|count=1|mode=inline|format=,}}</format> | |||
</data> | |||
<data source="hascard"> | |||
<label>Dropchance</label> | |||
<format>{{Chancedisplay|{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:dropchance|title=Chaotic {{PAGENAME}} Card|count=1|mode=inline|format=,}}}}</format> | |||
</data> | |||
</group> | |||
</section> | |||
<section> | |||
<label>{{{3rdName|Nightmare}}}</label> | |||
<image source="image"> | |||
<default>[[File:{{PAGENAME}} (Nightmare boss).png]]</default> | |||
</image> | |||
<group name="NightmareStats"> | |||
<header>Stats</header> | |||
<data source="3health"> | |||
<label>Health</label> | |||
<format>{{Numdisplay|{{{3health | }}}}}</format> | |||
</data> | |||
<data source="def3"> | |||
<label>Accuracy 5%</label> | |||
<format>{{Numdisplay|{{#expr: {{{def3}}}*0.5}}}}</format> | |||
</data> | |||
<data source="def3"> | |||
<label>Accuracy 100%</label> | |||
<format>{{Numdisplay|{{#expr: {{{def3}}}*1.5}}}}</format> | |||
</data> | |||
<data source="3exp"> | |||
<label>Experience</label> | |||
<format>{{Numdisplay|{{{3exp | }}}}}</format> | |||
</data> | |||
<header>Attacks</header> | |||
<data source="NightmareDamages"> | |||
<format>{{#invoke:Loops|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NightmareDamages|}}}}}</format> | |||
</data> | |||
</group> | |||
<group name="NightmareCard"> | |||
<header>Card Bonus</header> | |||
<data source="hascard"> | |||
<label>Effect</label> | |||
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title={{{3rdName|Nightmare}}} {{PAGENAME}} Card|count=1|mode=inline|format=,}}</format> | |||
</data> | |||
<data source="hascard"> | |||
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:bonus:bonus:bonus:bonus:bonus|title={{{3rdName|Nightmare}}} {{PAGENAME}} Card|count=1|mode = userformat|table = class="pi-horizontal-group",-, Base, [[File:Star1.png|class=CardStar|link=]], [[File:Star2.png|class=CardStar|link=]], [[File:Star3.png|class=CardStar|link=]], [[File:Star4.png|class=CardStar|link=]]|tablerow=%%, <!-- Star1 -->²{#expr:%% * 2}², <!-- Star2 -->²{#expr:%% * 3}², <!-- Star3 -->²{#expr:%% * 4}², <!-- Star4 -->²{#expr:%% * 5}²}}</format> | |||
</data> | |||
<data source="hascard"> | |||
<label>Category</label> | |||
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:category|title={{{3rdName|Nightmare}}} {{PAGENAME}} Card|count=1|mode=inline|format=,}}</format> | |||
</data> | |||
<data source="hascard"> | |||
<label>Dropchance</label> | |||
<format>{{Chancedisplay|{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:dropchance|title={{{3rdName|Nightmare}}} {{PAGENAME}} Card|count=1|mode=inline|format=,}}}}</format> | |||
</data> | |||
</group> | |||
</section> | |||
</panel> | |||
<group name="Location"> | |||
<header>Location</header> | |||
<data source="world"> | |||
<label>World</label> | |||
</data> | |||
<data source="area"> | |||
<label>Area</label> | |||
</data> | |||
</group> | |||
</infobox>{{#if:{{{prevenemy|}}}{{{nextenemy|}}}|{{EnemyNavigation|{{{prevenemy|}}}|{{{nextenemy|}}}}}}}[[Category:World Bosses]]</includeonly><noinclude> | |||
<pre> | <pre> | ||
Usage: | Usage: |
Revision as of 03:53, 2 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) }}