Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Wand of Mana Zap
[Art] => ReplaceableTextures\CommandButtons\BTNWandOfNeutralization.blp
[Ubertip] => 'Then there was like this massive purple zap, and all my mana was gone!' - a creep
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => drol
[authorDisplay] => |cffcc6600drol|r
[balanceTip] => Array
(
)
[rarity] => rare
[goldcost] => 700
[version] => 1.0
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => local Tower tower = itm.getCarrier()
local Creep creep = Event.getTarget()
local Lightning l
if Event.isMainTarget() then
if creep.subtractMana((16 + 0.6 * tower.getLevel() * tower.getBaseAttackspeed()) * (55 / Pow(tower.getRange(), 0.6)), true) > 0. then
set l = Lightning.createFromUnitToUnit("MFPB",tower,creep)
call l.setColor(100,0,255,255)
call l.setLifetime(0.1)
call SFXOnUnit("Abilities\\Spells\\Human\\Feedback\\ArcaneTowerAttack.mdl", creep.getUnit(), "origin")
endif
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[visible] => true
[name] => Mana Zap
[goldcost] => 700
[ONDAMAGE_chanceLevelAdd] => 0.0
[explain] => The carrier's attacks zap away |cffFFFF8016|r mana from their target. Amount zapped is adjusted by attack speed and range.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6|r mana
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)