Jungle Stalker's Doll v1
500
lvl: 12

ID:

149

Author:

poussix

Rarity:

unique

Status:

Approved

Description:

This doll is empowered with voodoo spells, be careful!

Latest Upload Comment:

Restored from 1.10
Bloodthirst
When the carrier kills a unit it becomes enraged for 3 seconds. While enraged, it has 20% bonus attackspeed. Cannot retrigger while active!

Level Bonus:
+0.4% attackspeed
Specials:
+2.5% crit chance (+0.1%/lvl)
Download

Toggle Triggers

Header

goldcost: 0
    globals
    
    BuffType poussix_rageitem_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.004)  
    set poussix_rageitem_buff = BuffType.create(0.0,0.0,true) //0.0 time since I will apply it custom timed  
    call poussix_rageitem_buff.setBuffModifier(m)  
    call poussix_rageitem_buff.setBuffIcon('@@0@@')  
    call poussix_rageitem_buff.setStackingGroup("poussix_rageitem") 
    
    endfunction

On Kill

goldcost: 239
function onKill takes Item itm returns nothing
local Tower tower = itm.getCarrier()

if tower.getBuffOfGroup("poussix_rageitem") == 0 then  

call SFXAtUnit("Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl",Event.getTarget().getUnit())
call poussix_rageitem_buff.applyCustomTimed(tower,tower,tower.getLevel(),3.0) 

endif
endfunction