The Frozen Wyrm v1
2600
|
ID: 444
Family ID:
Author: MasterCassim
Rarity: unique
Element: ice
Attack Type: Elemental
Attack Range: 850
Attack CD: 2.75
Damage: 4921-4930
Abil. Factor: 0.6
Status: Approved
|
Specials:
Splash attack:
550 AoE: 20% damage
Freezing Breath
Each creep damaged by this tower's attacks has a 25% chance to get slowed by 27% for 4 seconds and a 5% chance to get stunned for 1.5 seconds. Level Bonus: +1% chance to slow +0.2% chance to stun +0.2% slow +0.24s slow |
Download
Toggle Triggers Header globals
BuffType cassimSlow2
BuffType cassimStun
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()
local Modifier mo = Modifier.create()
set cassimStun=BuffType.create(0,0,false) // apply custom timed
call cassimStun.setBuffIcon('@@1@@')
call slow.addModification(MOD_MOVESPEED,0,-0.001)
set cassimSlow2=BuffType.create(0,0,false) // apply custom timed
call cassimSlow2.setBuffIcon('@@0@@')
call cassimSlow2.setBuffModifier(slow)
call cassimSlow2.setStackingGroup("frost_slow2")
endfunction
On Damage
ONDAMAGE_chance: 1.0
ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
local integer lvl = tower.getLevel()
local Creep target = Event.getTarget()
local integer slow = R2I((0.27+lvl*0.002)*1000)
local integer dur = R2I(4+lvl*0.24)
if tower.calcChance(0.25+lvl*0.01) then
call cassimSlow2.applyCustomTimed(tower,target,slow,dur)
endif
if tower.calcChance(0.05+lvl*0.002) then
call cassimStun.applyOnlyTimed(tower,target,1.5)
call cb_stun.applyOnlyTimed(tower,target,1.5)
endif
endfunction
|
Description:
Latest Upload Comment: