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
Small Fire Sprayer v1
35
ID:
17
Family ID:
Author:
Cyony
Rarity:
common
Element:
fire
Attack Type:
Elemental
Attack Range:
750
Attack CD:
0.5
Damage:
21-21
Status:
Approved

Description:

A small, high rate of fire tower
Specials:
+3% attackspeed/lvl
Spray and Pray
Each attack of this tower has a 33% chance to miss the target.

Level Bonus: 
-0.8% miss chance
Download

Toggle Triggers

On Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
    if tower.calcBadChance(0.33-0.008*tower.getLevel()) then
        set Event.damage = 0
        call tower.getOwner().displayFloatingTextX("Miss",tower,255, 0, 0,255,0.05,0.0,2.0)
    endif
endfunction
Astral Lantern v1
35
ID:
117
Family ID:
Author:
Velex
Rarity:
common
Element:
astral
Attack Type:
Magic
Attack Range:
750
Attack CD:
2.2
Damage:
90-95
Status:
Approved

Description:

Tower that deals additional damage to invisible units.
Light in the Dark
Deals 15% additional damage to invisible creeps.

Level Bonus:
+0.6% damage
Download

Toggle Triggers

On Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
    
    if Event.getTarget().isInvisible() then
        set Event.damage = Event.damage * ( 1.15 + 0.006 * tower.getLevel() )
    endif
    
endfunction
Ruined Sun Pedestal v1
35
ID:
363
Family ID:
Author:
geX
Rarity:
common
Element:
astral
Attack Type:
Energy
Attack Range:
1200
Attack CD:
2
Damage:
43-47
Status:
Approved

Description:

Basic Tower with a weak bouncing attack and bonus damage to undead enemies.
Specials:
Bounce attack:
   3 targets
   -50% damage per bounce
+20% dmg to undead (+2%/lvl)
Download
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
Trash Heap v4
35
ID:
458
Family ID:
Author:
geX
Rarity:
common
Element:
iron
Attack Type:
Physical
Attack Range:
1000
Attack CD:
2.5
Damage:
86-96
Status:
Approved

Description:

Basic Tower with an increased chance to find items and some bonus damage against bosses.
Specials:
+10% dmg to bosses (+0.6%/lvl)
+20% item chance (+0.5%/lvl)
-20% item quality (-0.5%/lvl)
Download
Mossy Acid Sprayer v1
40
ID:
161
Family ID:
Author:
cedi
Rarity:
common
Element:
iron
Attack Type:
Decay
Attack Range:
800
Attack CD:
1
Damage:
11-31
Status:
Approved

Description:

Careful, corrosive.
Specials:
Bounce attack:
   3 targets
   -15% damage per bounce
Acid Coating
Decreases the armor of damaged units by 0.6 for 3 seconds.

Level Bonus:
+0.024 armor reduction
+0.12 seconds
Download

Toggle Triggers

Header

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

On Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
    call cedi_acidarmor.applyCustomTimed( tower, Event.getTarget(), 600 + tower.getLevel() * 24, 3.0 + 0.12 * tower.getLevel() )
endfunction