Staff of Essence v1
2200
lvl: 66

ID:

193

Author:

cedi

Rarity:

unique

Status:

Approved

Description:

100%, not a bit more.

Latest Upload Comment:

Restored from 1.10
Essence Attack
The carrier of this item deals 100% damage against all armor types.
Download

Toggle Triggers

On Damage

ONDAMAGE_chance: 1.0 goldcost: 2200 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Item itm returns nothing
    local Tower T = itm.getCarrier()
    local AttackType AT = T.getAttackType()
    local Creep C = Event.getTarget()
    local real r = AT.getDamageAgainst( C.getArmorType() )
    
    if Event.isSpellDamage() == false then
        set Event.damage = Event.damage / r
    endif
endfunction