Small Ice Mine v1
150
ID:
28
Family ID:
Author:
Velex
Rarity:
uncommon
Element:
ice
Attack Type:
Elemental
Attack Range:
700
Attack CD:
2
Damage:
280-281
Status:
Approved

Description:

Tower with a chance to cast an ice nova.
Ice Nova
Damaged targets have a 20% chance to get blasted by an ice nova, dealing 150 damage and slowing units in 250 range by 7.5% for 2 seconds. Has a 30% bonus chance to crit. 

Level Bonus:
+0.4% chance 
+7.5 damage
Download

Toggle Triggers

Header

globals 
//@export
BuffType Maj_iceNovaSlow
endglobals
//The init function
private function init takes nothing returns nothing
local Modifier m = Modifier.create()

set Maj_iceNovaSlow = BuffType.create(0,0,false)
call m.addModification(MOD_MOVESPEED,0,-0.001)
call Maj_iceNovaSlow.setBuffModifier(m)
call Maj_iceNovaSlow.setBuffIcon('@@0@@')
endfunction

On Damage

ONDAMAGE_chance: .2 ONDAMAGE_chanceLevelAdd: 0.004
function onDamage takes Tower tower returns nothing
local Unit targ = Event.getTarget()
local Iterate it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_TYPE_CREEPS,targ,250)
local Unit next

loop
    set next = it.next()
    exitwhen next == 0
    call Maj_iceNovaSlow.applyCustomTimed(tower, next, 75, 2.0)
endloop

call tower.doSpellDamageAoEUnit(targ,250,150+(tower.getLevel()*7.5),tower.calcSpellCrit(0.3,0.0),0)
call SFXAtUnit("Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl", targ.getUnit())
endfunction
Ice Mine v1
500
ID:
29
Family ID:
Author:
Velex
Rarity:
uncommon
Element:
ice
Attack Type:
Elemental
Attack Range:
700
Attack CD:
2
Damage:
921-922
Status:
Approved

Description:

Tower with a chance to cast an ice nova.
Ice Nova
Damaged targets have a 20% chance to get blasted by an ice nova, dealing 500 damage and slowing units in 300 range by 9% for 3 seconds. Has a 30% bonus chance to crit. 

Level Bonus:
+0.4% chance 
+25 damage
Download

Toggle Triggers

Header

globals 
//@import
BuffType Maj_iceNovaSlow
endglobals
//The init function
private function init takes nothing returns nothing
endfunction

On Damage

ONDAMAGE_chance: .2 ONDAMAGE_chanceLevelAdd: 0.004
function onDamage takes Tower tower returns nothing
local Unit targ = Event.getTarget()
local Iterate it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_TYPE_CREEPS,targ,300)
local Unit next

loop
    set next = it.next()
    exitwhen next == 0
    call Maj_iceNovaSlow.applyCustomTimed(tower, next, 90, 3.0)
endloop

call tower.doSpellDamageAoEUnit(targ,300,500+(tower.getLevel()*25),tower.calcSpellCrit(0.3,0.0),0)
call SFXAtUnit("Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl", targ.getUnit())
endfunction
Deep Ice Mine v1
1250
ID:
30
Family ID:
Author:
Velex
Rarity:
uncommon
Element:
ice
Attack Type:
Elemental
Attack Range:
700
Attack CD:
2
Damage:
2269-2270
Status:
Approved

Description:

Tower with a chance to cast an ice nova.
Ice Nova
Damaged targets have a 20% chance to get blasted by an ice nova, dealing 1250 damage and slowing units in 350 range by 11% for 4 seconds. Has a 30% bonus chance to crit. 

Level Bonus:
+0.4% chance 
+62.5 damage
Download

Toggle Triggers

Header

globals 
//@import
BuffType Maj_iceNovaSlow
endglobals
//The init function
private function init takes nothing returns nothing
endfunction

On Damage

ONDAMAGE_chance: .2 ONDAMAGE_chanceLevelAdd: 0.004
function onDamage takes Tower tower returns nothing
local Unit targ = Event.getTarget()
local Iterate it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_TYPE_CREEPS,targ,350)
local Unit next

loop
    set next = it.next()
    exitwhen next == 0
    call Maj_iceNovaSlow.applyCustomTimed(tower, next, 110, 4.0)
endloop

call tower.doSpellDamageAoEUnit(targ,350,1250+(tower.getLevel()*62.5),tower.calcSpellCrit(0.3,0.0),0)
call SFXAtUnit("Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl", targ.getUnit())
endfunction
Bottomless Ice Mine v1
2500
ID:
58
Family ID:
Author:
Velex
Rarity:
uncommon
Element:
ice
Attack Type:
Elemental
Attack Range:
700
Attack CD:
2
Damage:
4472-4473
Status:
Approved

Description:

Tower with a chance to cast an ice nova.
Ice Nova
Damaged targets have a 20% chance to get blasted by an ice nova, dealing 2500 damage and slowing units in 400 range by 14% for 5 seconds. Has a 30% bonus chance to crit. 

Level Bonus:
+0.4% chance 
+125 damage
Download

Toggle Triggers

Header

globals 
//@import
BuffType Maj_iceNovaSlow
endglobals
//The init function
private function init takes nothing returns nothing
endfunction

On Damage

ONDAMAGE_chance: .2 ONDAMAGE_chanceLevelAdd: 0.004
function onDamage takes Tower tower returns nothing
local Unit targ = Event.getTarget()
local Iterate it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_TYPE_CREEPS,targ,400)
local Unit next

loop
    set next = it.next()
    exitwhen next == 0
    call Maj_iceNovaSlow.applyCustomTimed(tower, next, 140, 5.0)
endloop

call tower.doSpellDamageAoEUnit(targ,400,2500+(tower.getLevel()*125),tower.calcSpellCrit(0.3,0.0),0)
call SFXAtUnit("Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl", targ.getUnit())
endfunction