Shrapnel Ammunition v1
300
lvl: 14

ID:

257

Author:

cedi

Rarity:

uncommon

Status:

Approved

Description:

Used to increase the damage against lua armor.

Latest Upload Comment:

Restored from 1.10
Shrapnel Munition
Increases the damage against creeps with the armor type lua by 25%.
Download

Toggle Triggers

On Damage

ONDAMAGE_chance: 1.0 goldcost: 300 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Item itm returns nothing
    local Creep T = Event.getTarget()
    local Tower U = itm.getCarrier()
    if T.getArmorType() == ARMOR_LUA then
        set Event.damage = Event.damage * 1.25
        call SFXOnUnit( "Abilities\\Weapons\\FlyingMachine\\FlyingMachineImpact.mdl", T.getUnit(), "chest" )
    endif
endfunction