Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => A gift from the owner of two big castles.
[Art] => ReplaceableTextures\CommandButtons\BTNWandOfShadowSight.blp
[abilList] => Array
(
)
[Name] => Eradicator Staff
)
[settings] => Array
(
[balanceTip] => Array
(
)
[goldcost] => 1440
[author] => Ashbringer
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[rarity] => rare
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
ProjectileType PT
endglobals
function Collision takes Projectile P, Unit targ returns nothing
call P.getCaster().doSpellDamage( targ, 600.00, P.getCaster().calcSpellCritNoBonus() )
endfunction
//Do not remove or rename this function!
//Put your initialization tasks here, this function will be called on map init
private function init takes nothing returns nothing
set PT = ProjectileType.create( "Abilities\\Spells\\NightElf\\shadowstrike\\ShadowStrikeMissile.mdl", 4.00, 1400.00 )
call PT.enableHoming( Collision, 0.00 )
endfunction
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
[1] => Array
(
[name] => Periodic
[code] => local Unit U = itm.getCarrier()
local Iterate I = Iterate.overUnitsInRangeOfUnit( U, TARGET_CREEPS, U, 1000.00 )
local Unit T = I.nextRandom()
if T != 0 then
call Projectile.createFromUnitToUnit( PT, U, 1.00, U.calcSpellCritNoBonus(), U, T, true, false, false )
set T = I.nextRandom()
if T != 0 then
call Projectile.createFromUnitToUnit( PT, U, 1.00, U.calcSpellCritNoBonus(), U, T, true, false, false )
call I.destroy()
endif
endif
[values] => Array
(
[explain] => Every second, launch magical missiles at |cffFFFF802|r random enemies within |cffFFFF801000|r range, dealing |cffFFFF80600|r spell damage each.
[visible] => true
[goldcost] => 1440
[PERIODIC_period] => 1.00
[name] => Eradicating Barrage
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)