Template:BTD6 attack: Difference between revisions

Fixed for acid
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 6: Line 6:
-->{{#ifexpr:{{{burstInterval|1000}}} < 999 or {{{burstInterval after|1000}}} < 999|<tr><th>Burst interval</th><td>{{formatnum:{{{burstInterval|0}}}}}s {{#if:{{{burstInterval after|}}}|→ {{formatnum:{{{burstInterval after|0}}}}}s}}</td></tr>}}<!--
-->{{#ifexpr:{{{burstInterval|1000}}} < 999 or {{{burstInterval after|1000}}} < 999|<tr><th>Burst interval</th><td>{{formatnum:{{{burstInterval|0}}}}}s {{#if:{{{burstInterval after|}}}|→ {{formatnum:{{{burstInterval after|0}}}}}s}}</td></tr>}}<!--
-->{{#ifexpr:{{{rate|1000}}} < 999 or {{{rate after|1000}}} < 999|<tr><th>[[Attack cooldown|Cooldown]]</th><td>{{formatnum:{{{rate|0}}}}}s {{#if:{{{rate after|}}}|→ {{formatnum:{{{rate after|0}}}}}s}}</td></tr>}}<!--
-->{{#ifexpr:{{{rate|1000}}} < 999 or {{{rate after|1000}}} < 999|<tr><th>[[Attack cooldown|Cooldown]]</th><td>{{formatnum:{{{rate|0}}}}}s {{#if:{{{rate after|}}}|→ {{formatnum:{{{rate after|0}}}}}s}}</td></tr>}}<!--
-->{{#ifexpr:{{{rateMin|1000}}} < 999 or {{{rateMin after|1000}}} < 999|<tr><th>Min. cooldown</th><td>{{formatnum:{{{rateMin|0}}}}}s {{#if:{{{rateMin after|}}}|→ {{formatnum:{{{rateMin after|0}}}}}s}}</td></tr>}}<!--
-->{{#if:{{{eject|}}}{{{eject after|}}}|<tr><th>Offset (X, Y, Z)</th><td><div style="display:inline-block">{{{eject|0.0, 0.0, 0.0}}} {{#if:{{{eject after|}}}|<br><div style="text-align:center">↓</div>{{{eject after|}}}}}</div></td></tr>}}<!--
-->{{#if:{{{eject|}}}{{{eject after|}}}|<tr><th>Offset (X, Y, Z)</th><td><div style="display:inline-block">{{{eject|0.0, 0.0, 0.0}}} {{#if:{{{eject after|}}}|<br><div style="text-align:center">↓</div>{{{eject after|}}}}}</div></td></tr>}}<!--
-->{{#if:{{{randomAngleMinOffset|}}}|<tr><th>Random angle offset</th><td>{{{randomAngleMinOffset}}}° to {{{randomAngleMaxOffset}}}°</td></tr>}}<!--
-->{{#if:{{{randomAngleMinOffset|}}}|<tr><th>Random angle offset</th><td>{{{randomAngleMinOffset}}}° to {{{randomAngleMaxOffset}}}°</td></tr>}}<!--
Line 11: Line 12:
-->{{#if:{{{targetTypes|}}}{{{targetTypes after|}}}|<tr><th>[[Targeting option|Targeting]]</th><td>{{{targetTypes|}}} {{#if:{{{targetTypes after|}}}|→ {{{targetTypes after|}}}}}</td></tr>}}<!--
-->{{#if:{{{targetTypes|}}}{{{targetTypes after|}}}|<tr><th>[[Targeting option|Targeting]]</th><td>{{{targetTypes|}}} {{#if:{{{targetTypes after|}}}|→ {{{targetTypes after|}}}}}</td></tr>}}<!--
-->{{#ifexpr:{{{range|0}}} > 0 or {{{range after|0}}} > 0|<tr><th>[[Range|Targeting range]]</th><td>{{#ifexpr:{{{range|0}}} <= 900|{{formatnum:{{{range|0}}}}}|∞}} units {{#if:{{{range after|}}}|→ {{#ifexpr:{{{range after|0}}} <= 900|{{formatnum:{{{range after|0}}}}}|∞}} units}}</td></tr>}}<!--
-->{{#ifexpr:{{{range|0}}} > 0 or {{{range after|0}}} > 0|<tr><th>[[Range|Targeting range]]</th><td>{{#ifexpr:{{{range|0}}} <= 900|{{formatnum:{{{range|0}}}}}|∞}} units {{#if:{{{range after|}}}|→ {{#ifexpr:{{{range after|0}}} <= 900|{{formatnum:{{{range after|0}}}}}|∞}} units}}</td></tr>}}<!--
-->{{#ifexpr:{{{rangeMinimum|0}}} > 0 or {{{rangeMinimum after|0}}} > 0|<tr><th>Minimum targeting range</th><td>{{#ifexpr:{{{rangeMinimum|0}}} <= 900|{{formatnum:{{{rangeMinimum|0}}}}}|∞}} units {{#if:{{{rangeMinimum after|}}}|→ {{#ifexpr:{{{rangeMinimum after|0}}} <= 900|{{formatnum:{{{rangeMinimum after|0}}}}}|∞}} units}}</td></tr>}}<!--
-->{{#if:{{{rotateRate|}}}{{{rotateRate after|}}}|<tr><th>Rotation speed</th><td>{{#ifeq:{{{rotateRate|0}}}|99999 deg/s|∞|{{{rotateRate|0}}}}} {{#if:{{{rotateRate after|}}}|→ {{#ifeq:{{{rotateRate after|0}}}|99999 deg/s|∞|{{{rotateRate after|0}}}}}}}</td></tr>}}<!--
-->{{#if:{{{rotateRate|}}}{{{rotateRate after|}}}|<tr><th>Rotation speed</th><td>{{#ifeq:{{{rotateRate|0}}}|99999 deg/s|∞|{{{rotateRate|0}}}}} {{#if:{{{rotateRate after|}}}|→ {{#ifeq:{{{rotateRate after|0}}}|99999 deg/s|∞|{{{rotateRate after|0}}}}}}}</td></tr>}}<!--


Line 39: Line 41:
-->{{#if:{{{initialDamage|}}}{{{initialDamage after|}}}|<tr><th>Scratch damage</th><td>{{formatnum:{{{initialDamage|0}}}}} {{#if:{{{initialDamage after|}}}|→ {{formatnum:{{{initialDamage after|}}}}}}}</td></tr>}}<!--
-->{{#if:{{{initialDamage|}}}{{{initialDamage after|}}}|<tr><th>Scratch damage</th><td>{{formatnum:{{{initialDamage|0}}}}} {{#if:{{{initialDamage after|}}}|→ {{formatnum:{{{initialDamage after|}}}}}}}</td></tr>}}<!--
-->{{#if:{{{initialDamageImmuneBloonProperties|}}}{{{initialDamageImmuneBloonProperties after|}}}|<tr><th>Scratch damage type</th><td>{{#switch:{{{initialDamageImmuneBloonProperties}}}
-->{{#if:{{{initialDamageImmuneBloonProperties|}}}{{{initialDamageImmuneBloonProperties after|}}}|<tr><th>Scratch damage type</th><td>{{#switch:{{{initialDamageImmuneBloonProperties}}}
|0=<abbr class="explain" title="Can damage any Bloon type">Normal (or Acid)</abbr>
|0=<abbr class="explain" title="Can damage any Bloon type">Normal</abbr>
|1=<abbr class="explain" title="Cannot damage Lead">Shatter</abbr>
|1=<abbr class="explain" title="Cannot damage Lead">Shatter</abbr>
|2=<abbr class="explain" title="Cannot damage Black">Explosion</abbr>
|2=<abbr class="explain" title="Cannot damage Black">Explosion</abbr>
Line 51: Line 53:
|73=<abbr class="explain" title="Cannot damage Lead, Purple or Glass">Energy</abbr>
|73=<abbr class="explain" title="Cannot damage Lead, Purple or Glass">Energy</abbr>
|???}} {{#if:{{{initialDamageImmuneBloonProperties after|}}}|→ {{#switch:{{{initialDamageImmuneBloonProperties after}}}
|???}} {{#if:{{{initialDamageImmuneBloonProperties after|}}}|→ {{#switch:{{{initialDamageImmuneBloonProperties after}}}
|0=<abbr class="explain" title="Can damage any Bloon type">Normal (or Acid)</abbr>
|0=<abbr class="explain" title="Can damage any Bloon type">Normal</abbr>
|1=<abbr class="explain" title="Cannot damage Lead">Shatter</abbr>
|1=<abbr class="explain" title="Cannot damage Lead">Shatter</abbr>
|2=<abbr class="explain" title="Cannot damage Black">Explosion</abbr>
|2=<abbr class="explain" title="Cannot damage Black">Explosion</abbr>
Line 65: Line 67:
-->{{#if:{{{grapplingDamage|}}}{{{grapplingDamage after|}}}|<tr><th>Grappling damage</th><td>{{formatnum:{{{grapplingDamage|0}}}}} {{#if:{{{grapplingDamage after|}}}|→ {{formatnum:{{{grapplingDamage after|}}}}}}}</td></tr>}}<!--
-->{{#if:{{{grapplingDamage|}}}{{{grapplingDamage after|}}}|<tr><th>Grappling damage</th><td>{{formatnum:{{{grapplingDamage|0}}}}} {{#if:{{{grapplingDamage after|}}}|→ {{formatnum:{{{grapplingDamage after|}}}}}}}</td></tr>}}<!--
-->{{#if:{{{grapplingDamageImmuneBloonProperties|}}}{{{grapplingDamageImmuneBloonProperties after|}}}|<tr><th>Grappling damage type</th><td>{{#switch:{{{grapplingDamageImmuneBloonProperties}}}
-->{{#if:{{{grapplingDamageImmuneBloonProperties|}}}{{{grapplingDamageImmuneBloonProperties after|}}}|<tr><th>Grappling damage type</th><td>{{#switch:{{{grapplingDamageImmuneBloonProperties}}}
|0=<abbr class="explain" title="Can damage any Bloon type">Normal (or Acid)</abbr>
|0=<abbr class="explain" title="Can damage any Bloon type">Normal</abbr>
|1=<abbr class="explain" title="Cannot damage Lead">Shatter</abbr>
|1=<abbr class="explain" title="Cannot damage Lead">Shatter</abbr>
|2=<abbr class="explain" title="Cannot damage Black">Explosion</abbr>
|2=<abbr class="explain" title="Cannot damage Black">Explosion</abbr>
Line 77: Line 79:
|73=<abbr class="explain" title="Cannot damage Lead, Purple or Glass">Energy</abbr>
|73=<abbr class="explain" title="Cannot damage Lead, Purple or Glass">Energy</abbr>
|???}} {{#if:{{{grapplingDamageImmuneBloonProperties after|}}}|→ {{#switch:{{{grapplingDamageImmuneBloonProperties after}}}
|???}} {{#if:{{{grapplingDamageImmuneBloonProperties after|}}}|→ {{#switch:{{{grapplingDamageImmuneBloonProperties after}}}
|0=<abbr class="explain" title="Can damage any Bloon type">Normal (or Acid)</abbr>
|0=<abbr class="explain" title="Can damage any Bloon type">Normal</abbr>
|1=<abbr class="explain" title="Cannot damage Lead">Shatter</abbr>
|1=<abbr class="explain" title="Cannot damage Lead">Shatter</abbr>
|2=<abbr class="explain" title="Cannot damage Black">Explosion</abbr>
|2=<abbr class="explain" title="Cannot damage Black">Explosion</abbr>
Line 94: Line 96:
FILTERS
FILTERS


-->{{#if:{{{fireWithoutTarget|}}}{{{fireWithoutTarget after|}}}||{{#if:{{{filterBloonsToWithinAngle|}}}{{{filterBloonIfDamageType after|}}}{{{filterOutOffscreen|}}}{{{filterOutOffscreen after|}}}{{{filterInBaseTowerId|}}}{{{filterInBaseTowerId after|}}}{{{filterInSets|}}}{{{filterInSets after|}}}{{{filterInvisible|}}}{{{filterInvisible after|}}}{{{filterOutMoabs|}}}{{{filterOutMoabs after|}}}{{{filterOutCeramic|}}}{{{filterOutCeramic after|}}}{{{filterOutBfb|}}}{{{filterOutBfb after|}}}{{{filterOutZomg|}}}{{{filterOutZomg after|}}}{{{filterOutDdt|}}}{{{filterOutDdt after|}}}{{{filterOutBad|}}}{{{filterOutBad after|}}}{{{filterOutBoss|}}}{{{filterOutBoss after|}}}{{{filterOutMiniboss|}}}{{{filterOutMiniboss after|}}}{{{filterOutNonLead|}}}{{{filterOutNonLead after|}}}{{{filterOutNonCamo|}}}{{{filterOutNonCamo after|}}}{{{filterOutNonMoabs|}}}{{{filterOutNonMoabs after|}}}{{{filterGlueLevel|}}}{{{filterGlueLevel after|}}}{{{filterMutatedTarget|}}}{{{filterMutatedTarget after|}}}{{{filterOutReactorDamage|}}}{{{filterOutReactorDamage after|}}}{{{filterOutReactorDamageParagon|}}}{{{filterOutReactorDamageParagon after|}}}{{{filterOutFrozen|}}}{{{filterOutFrozen after|}}}|<tr><th>Filters</th><td><ul><!--
-->{{#if:{{{fireWithoutTarget|}}}{{{fireWithoutTarget after|}}}||{{#if:{{{filterBloonsToWithinAngle|}}}{{{filterBloonIfDamageType after|}}}{{{filterOutOffscreen|}}}{{{filterOutOffscreen after|}}}{{{filterInBaseTowerId|}}}{{{filterInBaseTowerId after|}}}{{{filterInSets|}}}{{{filterInSets after|}}}{{{filterInvisible|}}}{{{filterInvisible after|}}}{{{filterOutMoabs|}}}{{{filterOutMoabs after|}}}{{{filterOutCeramic|}}}{{{filterOutCeramic after|}}}{{{filterOutBfb|}}}{{{filterOutBfb after|}}}{{{filterOutZomg|}}}{{{filterOutZomg after|}}}{{{filterOutDdt|}}}{{{filterOutDdt after|}}}{{{filterOutBad|}}}{{{filterOutBad after|}}}{{{filterOutBoss|}}}{{{filterOutBoss after|}}}{{{filterOutMiniboss|}}}{{{filterOutMiniboss after|}}}{{{filterOutNonLead|}}}{{{filterOutNonLead after|}}}{{{filterOutNonCamo|}}}{{{filterOutNonCamo after|}}}{{{filterOutNonMoabs|}}}{{{filterOutNonMoabs after|}}}{{{filterGlueLevel|}}}{{{filterGlueLevel after|}}}{{{filterMutatedTarget|}}}{{{filterMutatedTarget after|}}}{{{filterOutReactorDamage|}}}{{{filterOutReactorDamage after|}}}{{{filterOutReactorDamageParagon|}}}{{{filterOutReactorDamageParagon after|}}}{{{filterOutFrozen|}}}{{{filterOutFrozen after|}}}{{{filterIfAttackHasTarget|}}}|<tr><th>Filters</th><td><ul><!--
-->{{#if:{{{filterBloonsToWithinAngle|}}}|<li>Targeting angle: {{{filterBloonsToWithinAngle|}}} deg {{#if:{{{filterBloonsToWithinAngle after|}}}|→ {{{filterBloonsToWithinAngle after|}}} deg}}</li>}}<!--
-->{{#if:{{{filterBloonsToWithinAngle|}}}|<li>Targeting angle: {{{filterBloonsToWithinAngle|}}} deg {{#if:{{{filterBloonsToWithinAngle after|}}}|→ {{{filterBloonsToWithinAngle after|}}} deg}}</li>}}<!--
-->{{#if:{{{filterIfAttackHasTarget|}}}|<li>Cannot target Bloons that the alternate attack can target</li>}}<!--
-->{{#if:{{{filterBloonIfDamageType|}}}|<li>Ignores {{{filterBloonIfDamageType|}}} if its damage type cannot damage it</li>}}<!--
-->{{#if:{{{filterBloonIfDamageType|}}}|<li>Ignores {{{filterBloonIfDamageType|}}} if its damage type cannot damage it</li>}}<!--
-->{{#ifeq:{{{filterBloonIfDamageType after|0}}}||<li>{{#if:{{{filterBloonIfDamageType|}}}|Now ignores {{{filterMutatedTarget after|}}} if its damage type cannot damage it|Can now hit Bloons with {{{filterBloonIfDamageType|}}} even if its damage type cannot damage it}}</li>}}<!--
-->{{#ifeq:{{{filterBloonIfDamageType after|0}}}||<li>{{#if:{{{filterBloonIfDamageType|}}}|Now ignores {{{filterMutatedTarget after|}}} if its damage type cannot damage it|Can now hit Bloons with {{{filterBloonIfDamageType|}}} even if its damage type cannot damage it}}</li>}}<!--