Star Gazer v1
160
ID:
53
Family ID:
Author:
i_mOck_death
Rarity:
uncommon
Element:
astral
Attack Type:
Energy
Attack Range:
875
Attack CD:
1.55
Damage:
127-127
Abil. Factor:
.475
Status:
Approved

Description:

Uncommon astral tower that deals spell damage equal to its attack every time the tower attacks.

Latest Upload Comment:

Restored from 1.10
Magic Split
This tower deals an additional amount of spell damage to its target equal to 100% of its attack damage. If the creep is immune this damage is dealt as energy damage equal to 80% of its attack damage not affected by level bonus. 

Level Bonus:
 +1% damage
Download

Toggle Triggers

On Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
    local Unit creep = Event.getTarget()
    if creep.isImmune() then
        call tower.doAttackDamage(creep,tower.getCurrentAttackDamageWithBonus()*(.8),tower.calcAttackMulticrit(0.0,0.0,0))
    else
        call tower.doSpellDamage(creep,tower.getCurrentAttackDamageWithBonus()*(1+.01*tower.getLevel()),tower.calcSpellCritNoBonus())
    endif
endfunction