Icy Skulls v1
35
ID:
442
Family ID:
Author:
MasterCassim
Rarity:
common
Element:
ice
Attack Type:
Elemental
Attack Range:
700
Attack CD:
1.5
Damage:
53-58
Status:
Approved

Description:

Chills creeps to the bone.
Icy Touch
Slows attacked units by 7.5% for 3 seconds.

Level Bonus:
+0.1 seconds duration
+0.3% slow
Download

Toggle Triggers

Header

    globals
      //@export
      BuffType cassimSlow 
    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 cassimSlow=BuffType.create(0,0,false)  // apply custom timed
      call cassimSlow.setBuffIcon('@@0@@')
      call cassimSlow.setBuffModifier(slow)
    endfunction

On Damage

ONDAMAGE_chance: 1.00 ONDAMAGE_chanceLevelAdd: 0
function onDamage takes Tower tower returns nothing
    local integer lvl = tower.getLevel()
    local integer slow = R2I((0.075+lvl*0.003)*1000)  // same code here 4 all towers
    local integer dur = R2I(3+lvl*0.1)
    
    call cassimSlow.applyCustomTimed(tower,Event.getTarget(),slow,dur) 
endfunction
Icy Bones v1
375
ID:
425
Family ID:
Author:
MasterCassim
Rarity:
common
Element:
ice
Attack Type:
Elemental
Attack Range:
700
Attack CD:
1.5
Damage:
589-594
Status:
Approved

Description:

Chills creeps to the bone.
Icy Touch
Slows attacked units by 10% for 4 seconds.

Level Bonus:
+0.2 seconds duration
+0.4% slow
Download

Toggle Triggers

Header

    globals
      //@import
      BuffType cassimSlow 
    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.00 ONDAMAGE_chanceLevelAdd: 0
function onDamage takes Tower tower returns nothing
    local integer lvl = tower.getLevel()
    local integer slow = R2I((0.1+lvl*0.004)*1000)  // same code here 4 all towers
    local integer dur = R2I(4+lvl*0.2)
    
    call cassimSlow.applyCustomTimed(tower,Event.getTarget(),slow,dur) 
endfunction
Icy Skeleton v1
1250
ID:
441
Family ID:
Author:
MasterCassim
Rarity:
common
Element:
ice
Attack Type:
Elemental
Attack Range:
700
Attack CD:
1.5
Damage:
1967-1972
Status:
Approved

Description:

Chills creeps to the bone.
Icy Touch
Slows attacked units by 12.5% for 5 seconds.

Level Bonus:
+0.3 seconds duration
+0.5% slow
Download

Toggle Triggers

Header

    globals
      //@import
      BuffType cassimSlow 
    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.00 ONDAMAGE_chanceLevelAdd: 0
function onDamage takes Tower tower returns nothing
    local integer lvl = tower.getLevel()
    local integer slow = R2I((0.125+lvl*0.005)*1000)  // same code here 4 all towers
    local integer dur = R2I(5+lvl*0.3)
    
    call cassimSlow.applyCustomTimed(tower,Event.getTarget(),slow,dur) 
endfunction
Icy Boneyard v1
2225
ID:
443
Family ID:
Author:
MasterCassim
Rarity:
common
Element:
ice
Attack Type:
Elemental
Attack Range:
700
Attack CD:
1.5
Damage:
3503-3508
Status:
Approved

Description:

Chills creeps to the bone.
Icy Touch
Slows attacked units by 15% for 6 seconds.

Level Bonus:
+0.4 seconds duration
+0.6% slow
Download

Toggle Triggers

Header

    globals
      //@import
      BuffType cassimSlow 
    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.00 ONDAMAGE_chanceLevelAdd: 0
function onDamage takes Tower tower returns nothing
    local integer lvl = tower.getLevel()
    local integer slow = R2I((0.15+lvl*0.006)*1000)  // same code here 4 all towers
    local integer dur = R2I(6+lvl*0.4)
    
    call cassimSlow.applyCustomTimed(tower,Event.getTarget(),slow,dur) 
endfunction

On Tower Creation

function onCreate takes Tower tower returns nothing
  call SetUnitTimeScalePercent( tower.getUnit(), 0.00 )
endfunction