Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Spiderling
[Art] => ReplaceableTextures\CommandButtons\BTNSpiderling.blp
[Ubertip] => A small but poisonous critter.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => Boekie
[authorDisplay] => |cff00CD00Boekie|r
[balanceTip] => Array
(
)
[rarity] => rare
[goldcost] => 50
[version] => 1.0
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType boekie_spiderling_slow
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_MOVESPEED,-0.05,0)
set boekie_spiderling_slow = BuffType.create(4,0,false)
call boekie_spiderling_slow.setBuffIcon('@@0@@')
call boekie_spiderling_slow.setBuffModifier(m)
call boekie_spiderling_slow.setStackingGroup("boekieSpiderlingSlow")
endfunction
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[1] => Array
(
[name] => On Attack
[code] => local Tower tower = itm.getCarrier()
local real speed = tower.getBaseAttackspeed()
if tower.calcChance(0.25*speed) == true then
call boekie_spiderling_slow.apply(tower,Event.getTarget(),1)
endif
[values] => Array
(
[visible] => true
[name] => Spiderling Poison
[goldcost] => 50
[explain] => When the carrier of this item attacks there is a |cffFFFF8025%|r attackspeed adjusted chance that the attacked creep is slowed by |cffFFFF805%|r for |cffFFFF804|r seconds.
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bpoi
[oeValues] => Array
(
[Bufftip] => Spiderling Poison
[Buffubertip] => This unit is poisoned by a spiderling.
[EditorSuffix] => Array
(
)
[Buffart] => ReplaceableTextures\CommandButtons\BTNSpiderling.blp
[EditorName] => Spiderling Poison
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)