Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => A gift from the owner of what was once a castle.
[Art] => ReplaceableTextures\CommandButtons\BTNWandSkull.blp
[abilList] => Array
(
)
[Name] => Annihilator Staff
)
[settings] => Array
(
[balanceTip] => Array
(
)
[goldcost] => 2160
[author] => Ashbringer
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[rarity] => unique
)
[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\\Weapons\\BansheeMissile\\BansheeMissile.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
local integer count = 0
loop
set T = I.nextRandom()
exitwhen T == 0 or count == 3
call Projectile.createFromUnitToUnit( PT, U, 1.00, U.calcSpellCritNoBonus(), U, T, true, false, false )
set count = count + 1
endloop
if T != 0 then
call I.destroy()
endif
[values] => Array
(
[explain] => Every second, launch magical missiles at up to |cffFFFF803|r random enemies within |cffFFFF801000|r range, dealing |cffFFFF80600|r spell damage each.
[visible] => true
[goldcost] => 2160
[PERIODIC_period] => 1.00
[name] => Annihilating Salvo
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)