Cursed Claw v1
800
lvl: 31

ID:

10

Author:

Boekie

Rarity:

rare

Status:

Approved

Description:

This cursed artifact slows attacked creeps.

Latest Upload Comment:

Restored from 1.10
Cripple
This artifact slows the attacked creep by 10% for 5 seconds.

Level Bonus:
+0.4% slow
Download

Toggle Triggers

Header

goldcost: 0
    globals
    BuffType boekie_claw_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,-0.001) 
    set boekie_claw_slow = BuffType.create(0,0,false) // apply custom timed  
    call boekie_claw_slow.setBuffIcon('@@0@@') 
    call boekie_claw_slow.setBuffModifier(m) 
    call boekie_claw_slow.setStackingGroup("boekieClawSlow") 
    endfunction

On Attack

goldcost: 800 ONATTACK_chance: 1.0 ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Item itm returns nothing
local Tower tower = itm.getCarrier()

call boekie_claw_slow.applyCustomTimed(tower,Event.getTarget(),100+tower.getLevel()*4,5) 
endfunction