Template:InfoEnemy: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Blackwolfe
No edit summary
Line 18: Line 18:
     <th class="subheader" colspan="2">Fighting</th>
     <th class="subheader" colspan="2">Fighting</th>
     </tr>
     </tr>
     <th>Accuracy 5%</th>
     {{#if: {{{defence|}}}|<th>Accuracy 5%</th>
     <td>{{#expr:{{{defence}}}*0.5}}</td>
     <td>{{#expr:{{{defence}}}*0.5}}</td>
     </tr>
     </tr>}}
     <th>Accuracy 100%</th>
     {{#if: {{{defence|}}}|<th>Accuracy 100%</th>
     <td>{{#expr:{{{defence}}}*1.5}}</td>
     <td>{{#expr:{{{defence}}}*1.5}}</td>
     </tr>
     </tr>}}
     <th>Defence for 0</th>
     <th>Defence for 0</th>
     <td>{{{defence0}}}</td>
     <td>{{{defence0}}}</td>

Revision as of 01:22, 8 December 2020


Usage:
{{InfoEnemy
|attack=example
|health=example
|speed=example
|defence=example (this defines the accuracy values required)
|defence0=How much defence is needed to not take damage.
|exp=example
|world=example
|area=example
}}