Igloo v1
700
ID:
77
Family ID:
Author:
Boekie
Rarity:
rare
Element:
ice
Attack Type:
Energy
Attack Range:
1000
Attack CD:
2.5
Damage:
696-696
Status:
Approved

Description:

This igloo emits an extreme amount of cold, slowing and stunning creeps around it.
Specials:
-50% dmg to masses
Extreme Cold
Creeps that come within 900 AoE of this tower will be affected by extreme cold, suffering 700 spelldamage, and becoming slowed by 20% for 4 seconds. When the slow expires they will get stunned for 0.4 seconds.

Level Bonus:
+35 damage 
+0.4% slow
Download

Toggle Triggers

Header

    globals
        //@export  
        BuffType boekie_igloo_buff 
    endglobals
    
    function boekie_igloo_end takes Buff b returns nothing
        call cb_stun.applyOnlyTimed(b.getCaster(),b.getBuffedUnit(),b.userReal) 
    endfunction 
    
    //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 boekie_igloo_buff = BuffType.create(0,0,false) // apply custom timed  
        call boekie_igloo_buff.setBuffIcon('@@0@@') 
        call boekie_igloo_buff.setBuffModifier(slow)
        call boekie_igloo_buff.setEventOnExpire(EventHandler.boekie_igloo_end)
    endfunction

On Unit Comes In Range

UNITINRANGE_targetType: TARGET_TYPE_CREEPS UNITINRANGE_range: 900
function onUnitInRange takes Tower tower returns nothing
    local Unit creep = Event.getTarget() 
    local integer lvl = tower.getLevel()

    call tower.doSpellDamage(creep,700.0+(lvl*35.0),tower.calcSpellCritNoBonus()) 
    set boekie_igloo_buff.applyCustomTimed(tower,creep,200+lvl*4,4).userReal = 0.4

    call Effect.createScaled("Abilities\\Spells\\Undead\\FrostArmor\\FrostArmorDamage.mdl", creep.getX(), creep.getY(), 30.0, 0, 2.0).destroy()
endfunction
Frozen Igloo v1
1500
ID:
78
Family ID:
Author:
Boekie
Rarity:
rare
Element:
ice
Attack Type:
Energy
Attack Range:
1000
Attack CD:
2.5
Damage:
1492-1492
Status:
Approved

Description:

This igloo emits an extreme amount of cold, slowing and stunning creeps around it.
Specials:
-50% dmg to masses
Extreme Cold
Creeps that come within 900 AoE of this tower will be affected by extreme cold, suffering 1500 spelldamage, and becoming slowed by 25% for 4 seconds. When the slow expires they will get stunned for 0.8 seconds.

Level Bonus:
+75 damage 
+0.4% slow
Download

Toggle Triggers

Header

    globals
        //@import
        BuffType boekie_igloo_buff
    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
    endfunction

On Unit Comes In Range

UNITINRANGE_targetType: TARGET_TYPE_CREEPS UNITINRANGE_range: 900
function onUnitInRange takes Tower tower returns nothing
    local Unit creep = Event.getTarget() 
    local integer lvl = tower.getLevel()

    call tower.doSpellDamage(creep,1500.0+(lvl*75.0),tower.calcSpellCritNoBonus()) 
    set boekie_igloo_buff.applyCustomTimed(tower,creep,250+lvl*4,4).userReal = 0.8

    call Effect.createScaled("Abilities\\Spells\\Undead\\FrostArmor\\FrostArmorDamage.mdl", creep.getX(), creep.getY(), 30.0, 0, 1.5).destroy()
endfunction
Deep Frozen Igloo v1
2800
ID:
79
Family ID:
Author:
Boekie
Rarity:
rare
Element:
ice
Attack Type:
Energy
Attack Range:
1000
Attack CD:
2.5
Damage:
2785-2785
Status:
Approved

Description:

This igloo emits an extreme amount of cold, slowing and stunning creeps around it.
Specials:
-50% dmg to masses
Extreme Cold
Creeps that come within 900 AoE of this tower will be affected by extreme cold, suffering 2800 spelldamage, and becoming slowed by 30% for 4 seconds. When the slow expires they will get stunned for 1.2 seconds.

Level Bonus:
+140 damage 
+0.4% slow
Download

Toggle Triggers

Header

    globals
    //@import  
    BuffType boekie_igloo_buff
    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
    endfunction

On Unit Comes In Range

UNITINRANGE_targetType: TARGET_TYPE_CREEPS UNITINRANGE_range: 900
function onUnitInRange takes Tower tower returns nothing
    local Unit creep = Event.getTarget() 
    local integer lvl = tower.getLevel()

    call tower.doSpellDamage(creep,2800.0+(lvl*140.0),tower.calcSpellCritNoBonus()) 
    set boekie_igloo_buff.applyCustomTimed(tower,creep,300+lvl*4,4).userReal = 1.2

    call Effect.createScaled("Abilities\\Spells\\Undead\\FrostArmor\\FrostArmorDamage.mdl", creep.getX(), creep.getY(), 30.0, 0, 1.5).destroy()
endfunction