Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Bonk's Face
[Art] => ReplaceableTextures\CommandButtons\BTNTaunt.blp
[Ubertip] => So heavy it is nearly impossible to move this giant rock.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => drol
[authorDisplay] => |cffcc6600drol|r
[balanceTip] => |n|cffFFFF00+25% |rdmg to masses
[rarity] => unique
[goldcost] => 800
[version] => 1.0
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_DMG_TO_MASS
[base] => 0.25
[add] => 0
)
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => local Unit creep = Event.getTarget()
local unit creepUnit = creep.getUnit()
local Unit twr = itm.getCarrier()
local Effect targetEffect
if creep.getBuffOfGroup( "stun" ) > 0 then
call twr.doSpellDamageAoEUnit(creep,250,(twr.getCurrentAttackDamageWithBonus())*0.2,twr.calcSpellCritNoBonus(),0)
set targetEffect = Effect.createScaled("Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl", GetUnitX(creepUnit), GetUnitY(creepUnit), 0.0, 0, 2.0)
call targetEffect.setLifetime(3.0)
endif
set creepUnit = null
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[visible] => true
[name] => Crush
[goldcost] => 733
[ONDAMAGE_chanceLevelAdd] => 0.0
[explain] => Whenever the carrier damages a stunned creep it deals |cffFFFF8020%|r of its current attack damage as spelldamage in |cffFFFF80250|r AoE around its target.
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)