Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => A vile artifact that saps the life force of anything it touches.
[Art] => ReplaceableTextures\CommandButtons\BTNCripple.blp
[abilList] => Array
(
)
[Name] => Gauntlet of Desecration
)
[settings] => Array
(
[balanceTip] => Array
(
)
[goldcost] => 200
[author] => Moppy
[authorDisplay] => |c006969FFMoppy|r
[version] => 1.0
[rarity] => rare
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Attack
[code] => local Tower t = itm.getCarrier()
if t.calcChance(0.15 * t.getBaseAttackspeed()) then
call moppy_decrepify_item_debuff.apply(t, Event.getTarget(), 1)
endif
[values] => Array
(
[explain] => On attack, there is a |cffFFFF8015%|r attack speed adjusted chance to increasingly slow the target by |cffFFFF805%|r every second for |cffFFFF805|r seconds.
[visible] => true
[goldcost] => 200
[name] => Decrepify
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType moppy_decrepify_item_debuff
endglobals
function moppy_decrepify_item_slow takes Buff b returns nothing
call b.setPower(b.getPower() + 1)
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
local Modifier m = Modifier.create()
set moppy_decrepify_item_debuff = BuffType.create (5, 0, false)
call m.addModification(MOD_MOVESPEED, 0.0, -0.005)
call moppy_decrepify_item_debuff.setBuffModifier(m)
call moppy_decrepify_item_debuff.setBuffIcon('@@0@@')
call moppy_decrepify_item_debuff.addPeriodicEvent(EventHandler.moppy_decrepify_item_slow, 1.0)
endfunction
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BNab
[oeValues] => Array
(
[EditorName] => Decrepify
[Buffubertip] => Getting increasingly slowed.
[TargetArt] => Abilities\Spells\Undead\Cripple\CrippleTarget.mdl
[Bufftip] => Decrepify
[Buffart] => ReplaceableTextures\CommandButtons\BTNCripple.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)