Template:InfoEnemy: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
Kiokurashi (talk | contribs) mNo edit summary |
||
Line 19: | Line 19: | ||
### Cargo Store ### | ### Cargo Store ### | ||
--><includeonly> | --><includeonly>{{#cargo_query:table=DefenseList|fields=DefenseVal,CrystalDefense|where=AttackVal="{{{attack|1}}}"|template=DefenseScaling/data}}{{#ifeq:{{#sub:{{PAGENAME}}|0|7}}|Crystal|| | ||
{{#cargo_store:_table=Enemies | {{#cargo_store:_table=Enemies | ||
|Image={{PAGENAME}} Idle.gif | |Image={{PAGENAME}} Idle.gif | ||
Line 67: | Line 67: | ||
<data source="defence"> | <data source="defence"> | ||
<label>5% Accuracy</label> | <label>5% Accuracy</label> | ||
<format>{{#expr: ceil({{{defence}}}*0.5)}}</format> | <format>{{Numdisplay|{{#expr: ceil({{{defence}}}*0.5)}}}}</format> | ||
</data> | </data> | ||
<data source="defence"> | <data source="defence"> | ||
<label>100% Accuracy</label> | <label>100% Accuracy</label> | ||
<format>{{#expr: ceil({{{defence}}}*1.5)}}</format> | <format>{{Numdisplay|{{#expr: ceil({{{defence}}}*1.5)}}}}</format> | ||
</data> | </data> | ||
<data source="exp"> | <data source="exp"> | ||
Line 79: | Line 79: | ||
<data source="defence0"> | <data source="defence0"> | ||
<label>Def for 0</label> | <label>Def for 0</label> | ||
<default>{{#var: | <default>{{Numdisplay|{{#var:NDef0}}}}</default> | ||
</data> | </data> | ||
<data source="respawn" layout="default"> | <data source="respawn" layout="default"> | ||
Line 106: | Line 106: | ||
<data source="crystalname"> | <data source="crystalname"> | ||
<label>5% Accuracy</label> | <label>5% Accuracy</label> | ||
<format>{{#expr:{{{defence}}}*0.5*2.5}}</format> | <format>{{Numdisplay|{{#expr:{{{defence}}}*0.5*2.5}}}}</format> | ||
</data> | </data> | ||
<data source="crystalname"> | <data source="crystalname"> | ||
<label>100% Accuracy</label> | <label>100% Accuracy</label> | ||
<format>{{#expr:{{{defence}}}*1.5*2.5}}</format> | <format>{{Numdisplay|{{#expr:{{{defence}}}*1.5*2.5}}}}</format> | ||
</data> | </data> | ||
<data source="crystalname"> | <data source="crystalname"> | ||
<label>Experience</label> | <label>Experience</label> | ||
<format>{{Numdisplay|{{#expr:{{{exp}}}*30}}}}</format> | <format>{{Numdisplay|{{#expr:{{{exp}}}*30}}}}</format> | ||
</data> | |||
<data source="defence0"> | |||
<label>Def for 0</label> | |||
<default>{{Numdisplay|{{#var:CDef0}}}}</default> | |||
</data> | </data> | ||
<data source="crystalname" layout="default"> | <data source="crystalname" layout="default"> |
Revision as of 03:48, 2 March 2023
This template defines the table "Enemies". View table.
Usage: {{InfoEnemy |attack=example |health=example |speed=example |defence=example (this defines the accuracy values required) |defence0=example (How much defence is needed to not take damage) |exp=example |world=example |area=example |area2=example (optional) |area3=example (optional) |crystal=yes (if you want to show the stats for the crystal enemy in the area |crystalname=example (e.g. Crystal Carrot for blunder hills) |prevenemy=example (previous monster for navigation) |nextenemy=example (next monster for navigation) |notes=example (optional) }}