Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => Emits an elegant glow.
[Art] => ReplaceableTextures\CommandButtons\BTNMoon_Staff_Grace_Of_Air_Totem.blp
[abilList] => Array
(
)
[Name] => Staff of Grace
)
[settings] => Array
(
[balanceTip] => Array
(
)
[goldcost] => 850
[author] => Ashbringer
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[rarity] => rare
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType ashbringer_grace_buff
endglobals
//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
local Modifier mod
set ashbringer_grace_buff = BuffType.create(6, 0, true)
call ashbringer_grace_buff.setBuffIcon('@@0@@')
set mod = Modifier.create()
call mod.addModification(MOD_ATTACKSPEED, 0.15, 0.006)
call ashbringer_grace_buff.setBuffModifier(mod)
endfunction
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
[1] => Array
(
[name] => On Spell Cast
[code] => local Tower tower = itm.getCarrier()
local Unit target = Event.getTarget()
call ashbringer_grace_buff.apply(tower, tower, tower.getLevel())
if target.isATower() and tower != target then
call ashbringer_grace_buff.apply(tower, target, tower.getLevel())
call tower.addExp(1.0)
call target.addExp(1.0)
endif
[values] => Array
(
[explain] => Upon casting a spell, the tower gains |cffFFFF8015%|r attack speed for |cffFFFF806|r seconds. If the spell targets another tower, that tower will also gain Grace and both towers will gain |cffFFFF801|r experience.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r attack speed
[visible] => true
[goldcost] => 850
[name] => Grace
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BNab
[oeValues] => Array
(
[Targetattach] => origin
[EditorName] => Grace
[Buffubertip] => Increased attack speed.
[TargetArt] => Abilities\Spells\Other\Tornado\Tornado_Target.mdl
[Bufftip] => Grace
[Buffart] => ReplaceableTextures\CommandButtons\BTNMoon_Staff_Grace_Of_Air_Totem.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)