Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => Armor merely delays the inevitable.
[Art] => ReplaceableTextures\CommandButtons\BTNGauntletsOfOgrePower.blp
[abilList] => Array
(
)
[Name] => Platecrusher Gauntlets
)
[settings] => Array
(
[balanceTip] => |n|cffFFFF80Specials:|r|n|cffFFFF00+40% |rdamage|n|cffFFFF00+5%|r crit chance
[goldcost] => 2700
[author] => Moppy
[authorDisplay] => |c006969FFMoppy|r
[version] => 1.0
[rarity] => unique
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_DAMAGE_ADD_PERC
[base] => 0.4
[add] => 0
)
[1] => Array
(
[id] => MOD_ATK_CRIT_CHANCE
[base] => 0.05
[add] => 0
)
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => local Tower t = itm.getCarrier()
local Creep c = Event.getTarget()
local real ignoreArmor = 0.15 + (t.getLevel() * 0.006)
local real damageBase = Event.damage
local real sDmg = Event.damage
local real temp
set temp = 1 - c.getCurrentArmorDamageReduction()
if temp > 0 then
set damageBase = damageBase / temp
endif
if sDmg < damageBase then
set Event.damage = damageBase * ignoreArmor + sDmg * (1 - ignoreArmor)
endif
[values] => Array
(
[explain] => The tower's attacks ignore |cffFFFF8015%|r of the target's armor on hit.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r armor ignored
[ONDAMAGE_chance] => 1.0
[visible] => true
[goldcost] => 422
[name] => Piercing Blow
[ONDAMAGE_chanceLevelAdd] => 0.0
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)