Template:BTD6 effect: Difference between revisions
Need this for druidgon stats Tag: Reverted |
m it can be negative |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
-->{{#ifexpr:{{{maxDamage|0}}} > 0 or {{{maxDamage after|0}}} > 0|<tr><th>Max damage</th><td>{{{maxDamage|1}}} {{#if:{{{maxDamage after|}}}|→ {{{maxDamage after|}}}}}</td></tr>}}<!-- | -->{{#ifexpr:{{{maxDamage|0}}} > 0 or {{{maxDamage after|0}}} > 0|<tr><th>Max damage</th><td>{{{maxDamage|1}}} {{#if:{{{maxDamage after|}}}|→ {{{maxDamage after|}}}}}</td></tr>}}<!-- | ||
-->{{#if:{{{damageModifier|}}}{{{damageModifier after|}}}|<tr><th>Damage to all Bloons</th><td>+{{{damageModifier|0}}} {{#if:{{{damageModifier after|}}}|→ +{{{damageModifier after|}}}}}</td></tr>}}<!-- | -->{{#if:{{{damageModifier|}}}{{{damageModifier after|}}}|<tr><th>Damage to all Bloons</th><td>+{{{damageModifier|0}}} {{#if:{{{damageModifier after|}}}|→ +{{{damageModifier after|}}}}}</td></tr>}}<!-- | ||
-->{{#if:{{{damageModifierForLead|}}}{{{damageModifierForLead after|}}}|<tr><th>Damage to Lead</th><td>+{{{damageModifierForLead|0}}} {{#if:{{{damageModifierForLead after|}}}|→ +{{{damageModifierForLead after|}}}}}</td></tr>}}<!-- | -->{{#if:{{{damageModifierForLead|}}}{{{damageModifierForLead after|}}}|<tr><th>Damage to Lead</th><td>+{{{damageModifierForLead|0}}} {{#if:{{{damageModifierForLead after|}}}|→ +{{{damageModifierForLead after|}}}}}</td></tr>}}<!-- | ||
-->{{#if:{{{damageModifierForLeadOrDdt|}}}{{{damageModifierForLeadOrDdt after|}}}|<tr><th>Damage to Lead or DDTs</th><td>+{{{damageModifierForLeadOrDdt|0}}} {{#if:{{{damageModifierForLeadOrDdt after|}}}|→ +{{{damageModifierForLeadOrDdt after|}}}}}</td></tr>}}<!-- | -->{{#if:{{{damageModifierForLeadOrDdt|}}}{{{damageModifierForLeadOrDdt after|}}}|<tr><th>Damage to Lead or DDTs</th><td>+{{{damageModifierForLeadOrDdt|0}}} {{#if:{{{damageModifierForLeadOrDdt after|}}}|→ +{{{damageModifierForLeadOrDdt after|}}}}}</td></tr>}}<!-- | ||
| Line 95: | Line 94: | ||
-->{{#if:{{{cooldown|}}}{{{cooldown after|}}}|<tr><th>Cooldown</th><td>{{{cooldown|0}}}s {{#if:{{{cooldown after|}}}|→ {{{cooldown after|}}}s}}</td></tr>}}<!-- | -->{{#if:{{{cooldown|}}}{{{cooldown after|}}}|<tr><th>Cooldown</th><td>{{{cooldown|0}}}s {{#if:{{{cooldown after|}}}|→ {{{cooldown after|}}}s}}</td></tr>}}<!-- | ||
-->{{#ifexpr:{{{chance|0}}}>0 or {{{chance after|0}}}>0|<tr><th>Chance</th><td>{{#expr:{{{chance|0}}}*100}}% {{#if:{{{chance after|}}}|→ {{#expr:{{{chance after|}}}*100}}%}}</td></tr>}}<!-- | -->{{#ifexpr:{{{chance|0}}}>0 or {{{chance after|0}}}>0|<tr><th>Chance</th><td>{{#expr:{{{chance|0}}}*100}}% {{#if:{{{chance after|}}}|→ {{#expr:{{{chance after|}}}*100}}%}}</td></tr>}}<!-- | ||
-->{{#ifexpr:{{{pierceCost|0}}} <> 0 or {{{pierceCost after|0}}} <> 0|<tr><th>[[Pierce]] consumption</th><td>{{{pierceCost|0}}} {{#if:{{{pierceCost after|}}}|→ {{{pierceCost after|}}}}}</td></tr>}}<!-- | |||
-->{{#if:{{{distanceMin|}}}{{{distanceMin after|}}}|<tr><th>Min distance</th><td>{{{distanceMin|0}}} units {{#if:{{{distanceMin after|}}}|→ {{{distanceMin after|}}}s}}</td></tr>}}<!-- | -->{{#if:{{{distanceMin|}}}{{{distanceMin after|}}}|<tr><th>Min distance</th><td>{{{distanceMin|0}}} units {{#if:{{{distanceMin after|}}}|→ {{{distanceMin after|}}}s}}</td></tr>}}<!-- | ||
-->{{#if:{{{distanceMax|}}}{{{distanceMax after|}}}|<tr><th>Max distance</th><td>{{{distanceMax|0}}} units {{#if:{{{distanceMax after|}}}|→ {{{distanceMax after|}}}s}}</td></tr>}}<!-- | -->{{#if:{{{distanceMax|}}}{{{distanceMax after|}}}|<tr><th>Max distance</th><td>{{{distanceMax|0}}} units {{#if:{{{distanceMax after|}}}|→ {{{distanceMax after|}}}s}}</td></tr>}}<!-- | ||