Charged Disk v1
50
lvl: 0

ID:

159

Author:

drol

Rarity:

uncommon

Status:

Approved

Description:

The disk emits a blueish light.

Latest Upload Comment:

Restored from 1.10
Power Supply
The carrier deals 8% of its goldcost as spelldamage per attack. This amount is attackspeed adjusted.

Level Bonus:
+0.1% goldcost as spelldamage
Download

Toggle Triggers

On Damage

ONDAMAGE_chance: 1.0 goldcost: 50 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Item itm returns nothing
    
    local Tower twr = itm.getCarrier()
    
    if Event.isMainTarget() then
        call twr.doSpellDamage(Event.getTarget(),(0.08 + 0.001*twr.getLevel())*twr.getGoldcost()*twr.getBaseAttackspeed(),twr.calcSpellCritNoBonus())
    endif
endfunction