Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Magic Conductor
[Art] => ReplaceableTextures\CommandButtons\BTNAbsorbMagic.blp
[Ubertip] => This item is able to transform magic powers into a speed bonus.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => Boekie
[authorDisplay] => |cff00CD00Boekie|r
[balanceTip] => Array
(
)
[rarity] => unique
[goldcost] => 300
[version] => 1.0
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Spell Target
[code] => local Tower tower = itm.getCarrier()
local integer lvl = tower.getLevel()
call boekie_magicConductor_buff.applyCustomTimed(tower,tower,lvl,10.0)
[values] => Array
(
[visible] => true
[name] => Conduct Magic
[goldcost] => 300
[explain] => Whenever the carrier of this item is targeted by a spell it gains +|cffFFFF8020%|r attackspeed for |cffFFFF8010|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.5%|r attackspeed
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType boekie_magicConductor_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 m = Modifier.create()
call m.addModification(MOD_ATTACKSPEED,0.20,0.005)
set boekie_magicConductor_buff = BuffType.create(0.0,0.0,true) //0.0 time since I will apply it custom timed
call boekie_magicConductor_buff.setBuffModifier(m)
call boekie_magicConductor_buff.setBuffIcon('@@0@@')
call boekie_magicConductor_buff.setStackingGroup("boekie_magicConductor")
endfunction
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BOae
[oeValues] => Array
(
[Bufftip] => Magic Conductor
[Buffubertip] => This tower is hit by a spell and has increased attackspeed.
[Buffart] => ReplaceableTextures\CommandButtons\BTNAbsorbMagic.blp
[TargetArt] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
[EditorName] => Magic Conductor
[race] => other
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)