Haunted Rubble v1
34
ID:
166
Family ID:
Author:
KublaiKhan1/Velex
Rarity:
common
Element:
darkness
Attack Type:
Essence
Attack Range:
900
Attack CD:
2
Damage:
61-62
Status:
Approved

Description:

Tower with a chance to slow the movement speed of a unit on attacks.
Atrophy
When this tower attacks a creep it has a 15% (10% for bosses) chance to slow it by  15% for 5 seconds.

Level Bonus:
+0.15% (0.1% for bosses) chance
Download

Toggle Triggers

Header

  globals 
    //@export
    BuffType velex_slow
  endglobals
//The init function
private function init takes nothing returns nothing
    local Modifier slow=Modifier.create() 
  call slow.addModification(MOD_MOVESPEED,0,-0.001) 
  set velex_slow=BuffType.create(0,0,false) // apply custom timed  
  call velex_slow.setBuffIcon('@@0@@')
  call velex_slow.setBuffModifier(slow) 
  call velex_slow.setStackingGroup("velex_slow1") 
endfunction

On Attack

ONATTACK_chance: 1 ONATTACK_chanceLevelAdd: 0
function onAttack takes Tower tower returns nothing
        local Unit creep = Event.getTarget() 
        local integer size = creep.getSize()
        local boolean calc
        
        if size == SIZE_BOSS then 
            set calc=tower.calcChance((.15+tower.getLevel()*0.0015)*2/3)
        else
            set calc=tower.calcChance(.15+tower.getLevel()*0.0015)
        endif
        if(calc==true) then
                call velex_slow.applyCustomTimed(tower,Event.getTarget(),R2I(0.15*1000),5)
        endif
        
    
endfunction
Haunted Debris v1
204
ID:
271
Family ID:
Author:
Velex
Rarity:
common
Element:
darkness
Attack Type:
Essence
Attack Range:
900
Attack CD:
2
Damage:
368-369
Status:
Approved

Description:

Tower with a chance to slow the movement speed of a unit on attacks.
Atrophy
When this tower attacks a creep it has a 12% (8% for bosses) chance to slow it by  18% for 5 seconds.

Level Bonus:
+0.12% (0.08% for bosses) chance
Download

Toggle Triggers

Header

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

On Attack

ONATTACK_chance: 1 ONATTACK_chanceLevelAdd: 0
function onAttack takes Tower tower returns nothing
        local Unit creep = Event.getTarget() 
        local integer size = creep.getSize()
        local boolean calc
        
        if size == SIZE_BOSS then 
            set calc=tower.calcChance((.12+tower.getLevel()*0.0012)*2/3)
        else
            set calc=tower.calcChance(.12+tower.getLevel()*0.0012)
        endif
        if(calc==true) then
                call velex_slow.applyCustomTimed(tower,Event.getTarget(),R2I(0.18*1000),5)
        endif
        
    
endfunction
Haunted Ruins v1
566
ID:
270
Family ID:
Author:
Velex
Rarity:
common
Element:
darkness
Attack Type:
Essence
Attack Range:
900
Attack CD:
2
Damage:
1020-1021
Status:
Approved

Description:

Tower with a chance to slow the movement speed of a unit on attacks.
Atrophy
When this tower attacks a creep it has a 14% (9.33% for bosses) chance to slow it by  21% for 5 seconds.

Level Bonus:
+0.14% (0.09% for bosses) chance
Download

Toggle Triggers

Header

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

On Attack

ONATTACK_chance: 1 ONATTACK_chanceLevelAdd: 0
function onAttack takes Tower tower returns nothing
        local Unit creep = Event.getTarget() 
        local integer size = creep.getSize()
        local boolean calc
        
        if size == SIZE_BOSS then 
            set calc=tower.calcChance((.14+tower.getLevel()*0.0014)*2/3)
        else
            set calc=tower.calcChance(.14+tower.getLevel()*0.0014)
        endif
        if(calc==true) then
                call velex_slow.applyCustomTimed(tower,Event.getTarget(),R2I(0.21*1000),5)
        endif
        
    
endfunction
Haunted Silo v1
1350
ID:
269
Family ID:
Author:
Velex
Rarity:
common
Element:
darkness
Attack Type:
Essence
Attack Range:
900
Attack CD:
2
Damage:
2433-2434
Status:
Approved

Description:

Tower with a chance to slow the movement speed of a unit on attacks.
Atrophy
When this tower attacks a creep it has a 16% (10.67% for bosses) chance to slow it by  24% for 5 seconds.

Level Bonus:
+0.16% (0.11% for bosses) chance
Download

Toggle Triggers

Header

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

On Attack

ONATTACK_chance: 1 ONATTACK_chanceLevelAdd: 0
function onAttack takes Tower tower returns nothing
        local Unit creep = Event.getTarget() 
        local integer size = creep.getSize()
        local boolean calc
        
        if size == SIZE_BOSS then 
            set calc=tower.calcChance((.16+tower.getLevel()*0.0016)*2/3)
        else
            set calc=tower.calcChance(.16+tower.getLevel()*0.0016)
        endif
        if(calc==true) then
                call velex_slow.applyCustomTimed(tower,Event.getTarget(),R2I(0.24*1000),5)
        endif
        
    
endfunction
Haunted Soul Mill v1
2200
ID:
268
Family ID:
Author:
Velex
Rarity:
common
Element:
darkness
Attack Type:
Essence
Attack Range:
900
Attack CD:
2
Damage:
3966-3967
Status:
Approved

Description:

Tower with a chance to slow the movement speed of a unit on attacks.
Atrophy
When this tower attacks a creep it has a 18% (12% for bosses) chance to slow it by  27% for 5 seconds.

Level Bonus:
+0.18% (0.12% for bosses) chance
Download

Toggle Triggers

Header

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

On Attack

ONATTACK_chance: 1 ONATTACK_chanceLevelAdd: 0
function onAttack takes Tower tower returns nothing
        local Unit creep = Event.getTarget() 
        local integer size = creep.getSize()
        local boolean calc
        
        if size == SIZE_BOSS then 
            set calc=tower.calcChance((.18+tower.getLevel()*0.0018)*2/3)
        else
            set calc=tower.calcChance(.18+tower.getLevel()*0.0018)
        endif
        if(calc==true) then
                call velex_slow.applyCustomTimed(tower,Event.getTarget(),R2I(0.27*1000),5)
        endif
        
    
endfunction