Priest Figurine v1
250
lvl: 4

ID:

103

Author:

Boekie

Rarity:

unique

Status:

Approved

Description:

This small figurine shines bright on damaged creeps. They will grant more experience.

Latest Upload Comment:

Restored from 1.10
Enlighten
Whenever the carrier of this item damages a creep there is a 20% attackspeed adjusted chance that the damaged creep grants 5% more experience. This modification is permanent and it stacks.
Download

Toggle Triggers

On Damage

ONDAMAGE_chance: 1.0 goldcost: 250 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Item itm returns nothing
local Tower tower = itm.getCarrier()
local real speed = tower.getBaseAttackspeed()

    if Event.isMainTarget() == true  and tower.calcChance(0.2*speed) == true then
        call Event.getTarget().modifyProperty(MOD_EXP_GRANTED,  0.05)
    endif
        
        
endfunction