Frozen Well v1
1600
ID:
100
Family ID:
Author:
Boekie
Rarity:
unique
Element:
ice
Attack Type:
Energy
Attack Range:
925
Attack CD:
2
Damage:
1261-1261
Status:
Approved

Description:

This frozen well emits an enormous amount of cold.
Specials:
Splash attack:
   150 AoE: 100% damage
   625 AoE: 20% damage
Freezing Mist
When this tower damages a creep it will be slowed by 15% for 10 seconds.

Level Bonus:
+0.4% slow
Flowing Frost - Aura
Increases the buff duration of towers in 500 range by 25%.

Level Bonus:
+0.4% buff duration
Download

Toggle Triggers

Header

    globals
    BuffType boekie_buff_aura 
    BuffType boekie_freezingMist 
    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 m = Modifier.create() 
    local Modifier slow=Modifier.create()
    
    set boekie_buff_aura = BuffType.createAuraEffectType(true) 
    call m.addModification(MOD_BUFF_DURATION,0.25,0.004) // apply custom  
    call boekie_buff_aura.setBuffModifier(m) 
    call boekie_buff_aura.setStackingGroup("boekie_buff_aura") 
    call boekie_buff_aura.setBuffIcon('@@0@@') 
    
     
    call slow.addModification(MOD_MOVESPEED,0,-0.001) 
    set boekie_freezingMist=BuffType.create(0,0,false)  
    call boekie_freezingMist.setBuffIcon('@@1@@')  
    call boekie_freezingMist.setBuffModifier(slow)  
    call boekie_freezingMist.setStackingGroup("boekie_freezingMist") 
    endfunction

On Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
call boekie_freezingMist.applyCustomTimed(tower,Event.getTarget(), 150+(tower.getLevel()*4), 10) 
endfunction

Tower Aura

AURA_auraEffect: boekie_buff_aura AURA_power: 0 AURA_level: 0 AURA_auraRange: 500 AURA_targetType: TARGET_TYPE_TOWERS AURA_levelAdd: 1 AURA_powerAdd: 1 AURA_targetSelf: true