Template:BTD6 zone: Difference between revisions

damage modifier support
Added multipliers for BAD and Bosses
 
(7 intermediate revisions by 3 users not shown)
Line 9: Line 9:
-->{{#if:{{{zomgMultiplier|}}}{{{zomgMultiplier after|}}}|<tr><th>ZOMG multiplier</th><td>×{{{zomgMultiplier|0}}} {{#if:{{{zomgMultiplier after|}}}|→ ×{{{zomgMultiplier after|}}}}}</td></tr>}}<!--
-->{{#if:{{{zomgMultiplier|}}}{{{zomgMultiplier after|}}}|<tr><th>ZOMG multiplier</th><td>×{{{zomgMultiplier|0}}} {{#if:{{{zomgMultiplier after|}}}|→ ×{{{zomgMultiplier after|}}}}}</td></tr>}}<!--
-->{{#if:{{{ddtMultiplier|}}}{{{ddtMultiplier after|}}}|<tr><th>DDT multiplier</th><td>×{{{ddtMultiplier|0}}} {{#if:{{{ddtMultiplier after|}}}|→ ×{{{ddtMultiplier after|}}}}}</td></tr>}}<!--
-->{{#if:{{{ddtMultiplier|}}}{{{ddtMultiplier after|}}}|<tr><th>DDT multiplier</th><td>×{{{ddtMultiplier|0}}} {{#if:{{{ddtMultiplier after|}}}|→ ×{{{ddtMultiplier after|}}}}}</td></tr>}}<!--
-->{{#if:{{{badMultiplier|}}}{{{badMultiplier after|}}}|<tr><th>BAD multiplier</th><td>×{{{badMultiplier|0}}} {{#if:{{{badMultiplier after|}}}|→ ×{{{badMultiplier after|}}}}}</td></tr>}}<!--
-->{{#if:{{{bossMultiplier|}}}{{{bossMultiplier after|}}}|<tr><th>Boss multiplier</th><td>×{{{bossMultiplier|0}}} {{#if:{{{bossMultiplier after|}}}|→ ×{{{bossMultiplier after|}}}}}</td></tr>}}<!--
-->{{#if:{{{chance|}}}{{{chance after|}}}|<tr><th>Chance</th><td>{{#expr:{{{chance|0}}} * 100}}% {{#if:{{{chance after|}}}|→ {{#expr:{{{chance after|}}} * 100}}%}}</td></tr>}}<!--
-->{{#if:{{{chance|}}}{{{chance after|}}}|<tr><th>Chance</th><td>{{#expr:{{{chance|0}}} * 100}}% {{#if:{{{chance after|}}}|→ {{#expr:{{{chance after|}}} * 100}}%}}</td></tr>}}<!--


Line 35: Line 38:
DAMAGE TYPE
DAMAGE TYPE


-->{{#if:{{{immuneBloonProperties|}}}{{{immuneBloonProperties after|}}}|<tr><th>[[Damage type]]</th><td>{{#switch:{{{immuneBloonProperties}}}
-->{{#if:{{{immuneBloonProperties|}}}{{{immuneBloonProperties after|}}}|<tr><th>[[Damage type]]</th><td>{{BTD6 dt|{{{immuneBloonProperties}}}}} {{#if:{{{immuneBloonProperties after|}}}|→ {{BTD6 dt|{{{immuneBloonProperties after}}}}}}}</td></tr>}}<!--
|0=<abbr class="explain" title="Can pop any Bloon type">Normal (or Acid)</abbr>
 
|1=<abbr class="explain" title="Cannot pop Lead">Shatter</abbr>
-->{{#if:{{{multiplier|}}}{{{multiplier after|}}}|<tr><th>Multiplier</th><td>×{{{multiplier|0}}} {{#if:{{{multiplier after|}}}|→ ×{{{multiplier after|}}}}}</td></tr>}}<!--
|2=<abbr class="explain" title="Cannot pop Black">Explosion</abbr>
-->{{#if:{{{multiplierForBlack|}}}{{{multiplierForBlack after|}}}|<tr><th>Multiplier for Black</th><td>×{{{multiplierForBlack|0}}} {{#if:{{{multiplierForBlack after|}}}|→ ×{{{multiplierForBlack after|}}}}}</td></tr>}}<!--
|4=<abbr class="explain" title="Cannot pop White">Glacier</abbr>
-->{{#if:{{{multiplierForZebra|}}}{{{multiplierForZebra after|}}}|<tr><th>Multiplier for Zebra</th><td>×{{{multiplierForZebra|0}}} {{#if:{{{multiplierForZebra after|}}}|→ ×{{{multiplierForZebra after|}}}}}</td></tr>}}<!--
|5=<abbr class="explain" title="Cannot pop Lead or White">Cold</abbr>
-->{{#if:{{{multiplierForLead|}}}{{{multiplierForLead after|}}}|<tr><th>Multiplier for Lead</th><td>×{{{multiplierForLead|0}}} {{#if:{{{multiplierForLead after|}}}|→ ×{{{multiplierForLead after|}}}}}</td></tr>}}<!--
|8=<abbr class="explain" title="Cannot pop Purple">Plasma (or Fire)</abbr>
-->{{#if:{{{multiplierForCeramic|}}}{{{multiplierForCeramic after|}}}|<tr><th>Multiplier for Ceramic</th><td>×{{{multiplierForCeramic|0}}} {{#if:{{{multiplierForCeramic after|}}}|→ ×{{{multiplierForCeramic after|}}}}}</td></tr>}}<!--
|9=<abbr class="explain" title="Cannot pop Lead or Purple">Energy</abbr>
-->{{#if:{{{multiplierForMoabs|}}}{{{multiplierForMoabs after|}}}|<tr><th>Multiplier for MOAB-Class</th><td>×{{{multiplierForMoabs|0}}} {{#if:{{{multiplierForMoabs after|}}}|→ ×{{{multiplierForMoabs after|}}}}}</td></tr>}}<!--
|12=<abbr class="explain" title="Cannot pop White or Purple">Frigid</abbr>
-->{{#if:{{{multiplierForMoab|}}}{{{multiplierForMoab after|}}}|<tr><th>Multiplier for MOABs</th><td>×{{{multiplierForMoab|0}}} {{#if:{{{multiplierForMoab after|}}}|→ ×{{{multiplierForMoab after|}}}}}</td></tr>}}<!--
|17=<abbr class="explain" title="Cannot pop Lead or frozen">Sharp</abbr>
-->{{#if:{{{multiplierForBfb|}}}{{{multiplierForBfb after|}}}|<tr><th>Multiplier for BFBs</th><td>×{{{multiplierForBfb|0}}} {{#if:{{{multiplierForBfb after|}}}|→ ×{{{multiplierForBfb after|}}}}}</td></tr>}}<!--
|???}} {{#if:{{{immuneBloonProperties after|}}}|→ {{#switch:{{{immuneBloonProperties after}}}
-->{{#if:{{{multiplierForZomg|}}}{{{multiplierForZomg after|}}}|<tr><th>Multiplier for ZOMGs</th><td>×{{{multiplierForZomg|0}}} {{#if:{{{multiplierForZomg after|}}}|→ ×{{{multiplierForZomg after|}}}}}</td></tr>}}<!--
|0=<abbr class="explain" title="Can pop any Bloon type">Normal (or Acid)</abbr>
-->{{#if:{{{multiplierForDdt|}}}{{{multiplierForDdt after|}}}|<tr><th>Multiplier for DDTs</th><td>×{{{multiplierForDdt|0}}} {{#if:{{{multiplierForDdt after|}}}|→ ×{{{multiplierForDdt after|}}}}}</td></tr>}}<!--
|1=<abbr class="explain" title="Cannot pop Lead">Shatter</abbr>
-->{{#if:{{{multiplierForBad|}}}{{{multiplierForBad after|}}}|<tr><th>Multiplier for BADs</th><td>×{{{multiplierForBad|0}}} {{#if:{{{multiplierForBad after|}}}|→ ×{{{multiplierForBad after|}}}}}</td></tr>}}<!--
|2=<abbr class="explain" title="Cannot pop Black">Explosion</abbr>
 
|4=<abbr class="explain" title="Cannot pop White">Glacier</abbr>
-->{{#if:{{{interval|}}}{{{interval after|}}}|<tr><th>Interval</th><td>{{{interval|0}}}s {{#if:{{{interval after|}}}|→ {{{interval after|}}}s}}</td></tr>}}<!--
|5=<abbr class="explain" title="Cannot pop Lead or White">Cold</abbr>
-->{{#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|}}}|<tr><th>Filters</th><td><ul><!--
|8=<abbr class="explain" title="Cannot pop Purple">Plasma (or Fire)</abbr>
-->{{#if:{{{filterBloonsToWithinAngle|}}}|<li>Targeting angle: {{{filterBloonsToWithinAngle|}}} deg {{#if:{{{filterBloonsToWithinAngle after|}}}|→ {{{filterBloonsToWithinAngle after|}}} deg}}</li>}}<!--
|9=<abbr class="explain" title="Cannot pop Lead or Purple">Energy</abbr>
-->{{#if:{{{filterBloonIfDamageType|}}}|<li>Ignores {{{filterBloonIfDamageType|}}} if its damage type cannot damage it</li>}}<!--
|12=<abbr class="explain" title="Cannot pop White or Purple">Frigid</abbr>
-->{{#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>}}<!--
|17=<abbr class="explain" title="Cannot pop Lead or frozen">Sharp</abbr>
-->{{#if:{{{filterOutOffscreen|}}}|<li>Cannot affect off-screen Bloons</li>}}<!--
|???}}}}</td></tr>}}<!--
-->{{#ifeq:{{{filterOutOffscreen after|0}}}||<li>Can now affect off-screen Bloons</li>}}<!--
-->{{#if:{{{interval|}}}{{{interval after|}}}|<tr><th>Interval</th><td>{{{interval|0}}}s {{#if:{{{interval after|}}}|{{{interval after|}}}s}}</td></tr>}}</table><!--
-->{{#if:{{{filterInBaseTowerId|}}}|<li>Only targets these towers: {{{filterInBaseTowerId|}}}</li>}}<!--
--></td></tr></table><noinclude>[[Category:Stat templates]][[Category:BTD6 templates]]</noinclude>
-->{{#if:{{{filterInBaseTowerId after|}}}|<li>Now only targets these towers: {{{filterInBaseTowerId after|}}}</li>}}<!--
-->{{#if:{{{filterInSets|}}}|<li>Only targets these categories: {{{filterInSets|}}}</li>}}<!--
-->{{#if:{{{filterInSets after|}}}|<li>Now only targets these categories: {{{filterInSets after|}}}</li>}}<!--
-->{{#if:{{{filterInvisible|}}}|<li>{{#ifeq:{{{filterInvisible after|0}}}||Can now affect Camo|Cannot affect Camo}}</li>}}<!--
-->{{#if:{{{filterOutMoabs|}}}|<li>{{#ifeq:{{{filterOutMoabs after|0}}}||Can now affect MOAB-Class|Cannot affect MOAB-Class}}</li>}}<!--
-->{{#if:{{{filterOutCeramic|}}}|<li>{{#ifeq:{{{filterOutCeramic after|0}}}||Can now affect Ceramic|Cannot affect Ceramic}}</li>}}<!--
-->{{#if:{{{filterOutBfb|}}}|<li>Cannot affect BFBs</li>}}<!--
-->{{#ifeq:{{{filterOutBfb after|0}}}||<li>Can now affect BFBs</li>}}<!--
-->{{#if:{{{filterOutZomg|}}}|<li>Cannot affect ZOMGs</li>}}<!--
-->{{#ifeq:{{{filterOutZomg after|0}}}||<li>Can now affect ZOMGs</li>}}<!--
-->{{#if:{{{filterOutDdt|}}}|<li>Cannot affect DDTs</li>}}<!--
-->{{#ifeq:{{{filterOutDdt after|0}}}||<li>Can now affect DDTs</li>}}<!--
-->{{#if:{{{filterOutBad|}}}|<li>Cannot affect BADs</li>}}<!--
-->{{#ifeq:{{{filterOutBad after|0}}}||<li>Can now affect BADs</li>}}<!--
-->{{#if:{{{filterOutBoss|}}}|<li>Cannot affect bosses</li>}}<!--
-->{{#ifeq:{{{filterOutBoss after|0}}}||<li>Can now affect bosses</li>}}<!--
-->{{#if:{{{filterOutRock|}}}|<li>Cannot affect Dreadrock</li>}}<!--
-->{{#ifeq:{{{filterOutRock after|0}}}||<li>Can now affect Dreadrock</li>}}<!--
-->{{#if:{{{filterOutMiniboss|}}}|<li>Cannot affect Lych-souls</li>}}<!--
-->{{#ifeq:{{{filterOutMiniboss after|0}}}||<li>Can now affect Lych-souls</li>}}<!--
-->{{#if:{{{filterOutNonLead|}}}|<li>Can only affect Lead</li>}}<!--
-->{{#ifeq:{{{filterOutNonLead after|0}}}||<li>Can now affect non-Lead</li>}}<!--
-->{{#if:{{{filterOutNonCamo|}}}|<li>Can only affect Camo</li>}}<!--
-->{{#ifeq:{{{filterOutNonCamo after|0}}}||<li>Can now affect non-Camo</li>}}<!--
-->{{#if:{{{filterOutNonMoabs|}}}|<li>Can only affect MOAB-Class</li>}}<!--
-->{{#ifeq:{{{filterOutNonMoabs after|0}}}||<li>Can now affect non-MOAB-Class</li>}}<!--
-->{{#if:{{{filterGlueLevel|}}}{{{filterGlueLevel after|}}}|<li>Ignores Bloons with glue level: {{{filterGlueLevel|}}}+ {{#if:{{{filterGlueLevel after|}}}|→ {{{filterGlueLevel after|}}}+}}</li>}}<!--
-->{{#if:{{{filterMutatedTarget|}}}|<li>Cannot affect Bloons with {{{filterMutatedTarget|}}}</li>}}<!--
-->{{#ifeq:{{{filterMutatedTarget after|0}}}||<li>{{#if:{{{filterMutatedTarget|}}}|Now cannot affect Bloons with {{{filterMutatedTarget after|}}}|Can now affect Bloons with {{{filterMutatedTarget|}}}}}</li>}}<!--
-->{{#if:{{{filterOutReactorDamage|}}}|<li>Cannot affect Bloons with radiation</li>}}<!--
-->{{#ifeq:{{{filterOutReactorDamage after|0}}}||<li>Can now affect Bloons with radiation</li>}}<!--
-->{{#if:{{{filterOutReactorDamageParagon|}}}|<li>Cannot affect Bloons with Nautic Siege Core radiation</li>}}<!--
-->{{#ifeq:{{{filterOutReactorDamageParagon after|0}}}||<li>Can now affect Bloons with Nautic Siege Core radiation</li>}}<!--
--></ul></td></tr>}}}}</table><!--
--></td></tr></table><noinclude>[[Category:BTD6 templates]][[Category:Stat templates]]</noinclude>