Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => A gift from the owner of a bigger castle.
[Art] => ReplaceableTextures\CommandButtons\BTNStaffOfSilence.blp
[abilList] => Array
(
)
[Name] => Obliterator Staff
)
[settings] => Array
(
[balanceTip] => Array
(
)
[goldcost] => 720
[author] => Ashbringer
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[rarity] => uncommon
)
[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\\AncestralGuardianMissile\\AncestralGuardianMissile.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.next()
if T != 0 then
call Projectile.createFromUnitToUnit( PT, U, 1.00, U.calcSpellCritNoBonus(), U, T, true, false, false )
call I.destroy()
endif
[values] => Array
(
[explain] => The staff launches a magical missile each second which deals |cffFFFF80600|r spelldamage. The staff has a range of |cffFFFF801000|r.
[visible] => true
[goldcost] => 720
[PERIODIC_period] => 1.00
[name] => Obliterating Attack
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)