Frosty Rock v1
100
ID:
684
Family ID:
Author:
SirCoqaLot.
Rarity:
uncommon
Element:
ice
Attack Type:
Energy
Attack Range:
760
Attack CD:
2.3
Damage:
237-237
Status:
Approved

Description:

Iced formation radiating blistering cold.
Glacial Wrath
Attacks of this tower slow the attacked creep by 7% for 3 seconds. Each attack has a 2% to deal 100 spelldamage and stun the target for 0.8 seconds. The chance to stun the target is increased by 2% per attack and resets after a target is stunned.

Level Bonus:
+2 spelldamage 
+0.35% slow
Download

Toggle Triggers

Header

    globals
    //@export
    BuffType sir_frost_glacier
    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()
        set  sir_frost_glacier = BuffType.create(0,0,false)
        call sir_frost_glacier.setBuffIcon('@@0@@')
        call m.addModification(MOD_MOVESPEED,0,-0.001)
        call sir_frost_glacier.setBuffModifier(m)
    endfunction

On Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
    local Creep creep = Event.getTarget()
            
    call sir_frost_glacier.applyCustomTimed(tower,creep,70*(1+tower.getLevel()/20),3)
    call tower.getOwner().displayFloatingTextX(I2S(R2I(tower.userInt))+"% Chance",tower,50,150,255,255,0.05,2,3) 
   
    
        if tower.calcChance(tower.userInt*0.01) == true and not Event.getTarget().isImmune() then
            call cb_stun.applyOnlyTimed(tower,Event.getTarget(),0.8)
            call tower.doSpellDamage(creep,100*(1+tower.getLevel()*0.02),tower.calcSpellCritNoBonus())
            set tower.userInt = 2
        else 
            set tower.userInt = tower.userInt +2
        endif        
endfunction

On Tower Creation

function onCreate takes Tower tower returns nothing
set tower.userInt = 2
endfunction
Frozen Rock v1
520
ID:
685
Family ID:
Author:
SirCoqaLot.
Rarity:
uncommon
Element:
ice
Attack Type:
Energy
Attack Range:
760
Attack CD:
2.3
Damage:
1156-1156
Status:
Approved

Description:

Uncommon tower, which will slow the creeps it attacks. Each attack will increase the chance to stun a target.
Glacial Wrath
Attacks of this tower slow the attacked creep by 10% for 3 seconds. Each attack has a 3% to deal 520 spelldamage and stun the target for 0.9 seconds. The chance to stun the target is increased by 3% per attack and resets after a target is stunned.

Level Bonus:
+10.4 spelldamage 
+0.5% slow
Download

Toggle Triggers

Header

    globals
    //@import
    BuffType sir_frost_glacier
    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 Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
    local Creep creep = Event.getTarget()
            
    call sir_frost_glacier.applyCustomTimed(tower,creep,100*(1+tower.getLevel()/20),3)
    call tower.getOwner().displayFloatingTextX(I2S(R2I(tower.userInt))+"% Chance",tower,50,150,255,255,0.05,2,3) 
   
    
        if tower.calcChance(tower.userInt*0.01) == true and not Event.getTarget().isImmune() then
            call cb_stun.applyOnlyTimed(tower,Event.getTarget(),0.9)
            call tower.doSpellDamage(creep,520*(1+tower.getLevel()*0.02),tower.calcSpellCritNoBonus())
            set tower.userInt = 3
        else 
            set tower.userInt = tower.userInt +3
        endif        
endfunction

On Tower Creation

function onCreate takes Tower tower returns nothing
set tower.userInt = 3
endfunction
Glacier Tongue v1
1300
ID:
686
Family ID:
Author:
SirCoqaLot.
Rarity:
uncommon
Element:
ice
Attack Type:
Energy
Attack Range:
760
Attack CD:
2.3
Damage:
2698-2698
Status:
Approved

Description:

Iced formation radiating blistering cold.
Glacial Wrath
Attacks of this tower slow the attacked creep by 13% for 3 seconds. Each attack has a 4% to deal 1300 spelldamage and stun the target for 1.0 seconds. The chance to stun the target is increased by 4% per attack and resets after a target is stunned.

Level Bonus:
+26.0 spelldamage 
+0.65% slow
Download

Toggle Triggers

Header

    globals
    //@import
    BuffType sir_frost_glacier
    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 Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
    local Creep creep = Event.getTarget()
            
    call sir_frost_glacier.applyCustomTimed(tower,creep,130*(1+tower.getLevel()/20),3)
    call tower.getOwner().displayFloatingTextX(I2S(R2I(tower.userInt))+"% Chance",tower,50,150,255,255,0.05,2,3) 
   
    
        if tower.calcChance(tower.userInt*0.01) == true and not Event.getTarget().isImmune() then
            call cb_stun.applyOnlyTimed(tower,Event.getTarget(),1.0)
            call tower.doSpellDamage(creep,1300*(1+tower.getLevel()*0.02),tower.calcSpellCritNoBonus())
            set tower.userInt = 4
        else 
            set tower.userInt = tower.userInt +4
        endif        
endfunction

On Tower Creation

function onCreate takes Tower tower returns nothing
set tower.userInt = 4
endfunction
Glacier v1
2150
ID:
330
Family ID:
Author:
SirCoqaLot.
Rarity:
uncommon
Element:
ice
Attack Type:
Energy
Attack Range:
760
Attack CD:
2.3
Damage:
4144-4144
Status:
Approved

Description:

Iced formation radiating blistering cold.
Glacial Wrath
Attacks of this tower slow the attacked creep by 16% for 3 seconds. Each attack has a 5% to deal 2150 spelldamage and stun the target for 1.1 seconds. The chance to stun the target is increased by 5% per attack and resets after a target is stunned.

Level Bonus:
+43 spelldamage 
+0.8% slow
Download

Toggle Triggers

Header

    globals
    //@import
    BuffType sir_frost_glacier
    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 Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
    local Creep creep = Event.getTarget()
            
    call sir_frost_glacier.applyCustomTimed(tower,creep,160*(1+tower.getLevel()/20),3)
    call tower.getOwner().displayFloatingTextX(I2S(R2I(tower.userInt))+"% Chance",tower,50,150,255,255,0.05,2,3) 
   
    
        if tower.calcChance(tower.userInt*0.01) == true then
            call cb_stun.applyOnlyTimed(tower,Event.getTarget(),1.1)
            call tower.doSpellDamage(creep,2150*(1+tower.getLevel()*0.02),tower.calcSpellCritNoBonus())
            set tower.userInt = 5
        else
            set tower.userInt = tower.userInt +5
        endif        
endfunction

On Tower Creation

function onCreate takes Tower tower returns nothing
set tower.userInt = 5
endfunction