Medallion of Opulence v1
250
lvl: 7

ID:

122

Author:

Chronos

Rarity:

rare

Status:

Approved

Description:

This medallion allows its wearer to imbue his strikes with gold.

Latest Upload Comment:

Restored from 1.10
Greed Is Good
On attack there is a 20% attackspeed adjusted chance to deal 10% of your current gold as spelldamage to the target.
Download

Toggle Triggers

On Attack

goldcost: 250 ONATTACK_chance: 1.0 ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Item itm returns nothing
    local Tower tower = itm.getCarrier()
    local real speed = tower.getBaseAttackspeed()
    local real gold
    if tower.calcChance(0.2 * speed) == true then
        call tower.doSpellDamage(Event.getTarget(), GetPlayerState(tower.getOwner().getThePlayer(), PLAYER_STATE_RESOURCE_GOLD) * (0.10),tower.calcSpellCritNoBonus())
    endif
endfunction