Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Blaster Staff
[Art] => ReplaceableTextures\CommandButtons\BTNWandOfManaSteal.blp
[Ubertip] => A gift from the owner of a castle.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => cedi
[authorDisplay] => cedi
[balanceTip] => Array
(
)
[rarity] => uncommon
[goldcost] => 60
[version] => 1.0
)
[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, 60.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\\DruidoftheTalonMissile\\DruidoftheTalonMissile.mdl", 4.00, 1400.00 )
call PT.enableHoming( Collision, 0.00 )
endfunction
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[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
(
[visible] => true
[PERIODIC_period] => 1.00
[name] => Blasting Attack
[goldcost] => 60
[explain] => The staff launches a magical missile each second which deals |cffFFFF8060|r spelldamage. The staff has a range of |cffFFFF801000|r.
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)