Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 400
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1500
[file] => buildings\orc\TrollBurrow\TrollBurrow.mdl
[atkType1] => siege
[modelScale] => 0.8
[weapTp1] => missile
[acquire] => 800
[rangeN1] => 700
[upgrades] => Array
(
)
[cool1] => 3
[Ubertip] => A burrow with elite Peons inside, which will try to break through every armor.
[abilList] => Array
(
)
[launchZ] => 48
[Name] => Reinforced Burrow
[Missileart] => abilities\weapons\huntermissile\huntermissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNTrollBurrow.blp
[buildingShadow] => ShadowTrollBurrow
[unitSound] => TrollBurrow
[sides1] => 1
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 1545
[bldtm] => 1
)
[settings] => Array
(
[author] => tolleder
[element] => iron
[authorDisplay] => tolleder
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => uncommon
[version] => 1.0
[abil_factor] => 0.89
)
[effects] => Array
(
[0] => Array
(
[x] => -1.13582
[y] => 1.4623
[z] => 0
[scale] => 0.85
[rot] => 0
[file] => Abilities\Spells\Orc\SpikeBarrier\SpikeBarrier.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -19.6725
[y] => -14.7154
[z] => 0
[scale] => 0.9
[rot] => 3.92699
[file] => Doodads\Barrens\Props\CentaurTotem\CentaurTotem2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => local real curRatio=0.2+0.008*tower.getLevel()
local real sDmg=Event.damage
local real damageBase=Event.damage
local Creep target=Event.getTarget()
local real temp = AttackType.PHYSICAL.getDamageAgainst(target.getArmorType())
if temp > 0. and temp < 1. then //ignoring armor type "resistance" not weakness :P
set damageBase = damageBase / temp
endif
set temp = (1 - target.getCurrentArmorDamageReduction())
if temp > 0. then
set damageBase = damageBase / temp
endif
if sDmg < damageBase then
set Event.damage=damageBase*curRatio+sDmg*(1.-curRatio)
endif
//The engine calculates critical strike extra damage ***AFTER*** the onDamage event, so there is no need to care about it in this trigger.
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[icon] => ReplaceableTextures\CommandButtons\BTNVorpalBlades.blp
[visible] => true
[name] => Piercing Shot
[short_explain] => A part of the attack damage cannot be reduced by armor resistances.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => |cffFFFF8020%|r of this tower's attack damage cannot be reduced by armor resistances.|n|n|cffFF8000Level Bonus:|r|n+|cffFFFF800.8%|r damage ratio
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)