Cold Obelisk v1
400
ID:
539
Family ID:
Author:
Boekie
Rarity:
uncommon
Element:
ice
Attack Type:
Elemental
Attack Range:
600
Attack CD:
2.1
Damage:
681-681
Abil. Factor:
0.58
Status:
Approved

Description:

A frightfully blue column of solid ice, worshipped by cold blooded folk.

Latest Upload Comment:

Restored from 1.10
Specials:
Splash attack:
   140 AoE: 35% damage
+45% dmg to masses (+2%/lvl)
Absolute Zero
The Obelisk slows creeps it damages by 18% for 4 seconds.

Level Bonus:
+0.4% slow
Download

Toggle Triggers

Header

    globals
        //@export
        BuffType mcSlow
    endglobals
    
    //Do not remove or rename this function!
    //Put your initialization tasks here, this function will be called on map init
    private function init takes nothing returns nothing
        local Modifier slow=Modifier.create()  
        call slow.addModification(MOD_MOVESPEED,0,-0.001)  
        set mcSlow=BuffType.create(0,0,false)
        call mcSlow.setBuffIcon('@@0@@')
        call mcSlow.setBuffModifier(slow)
    endfunction

On Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
    local integer s = R2I((18+tower.getLevel()*0.4)*10)
    
    call mcSlow.applyCustomTimed(tower,Event.getTarget(), s, 4) 
endfunction