Small Quarry v1
775
ID:
127
Family ID:
Author:
drol
Rarity:
common
Element:
iron
Attack Type:
Decay
Attack Range:
900
Attack CD:
1.85
Damage:
1417-1488
Status:
Approved

Description:

Sometimes even the most fruitless places still have some treasure left.
Specials:
+20% bounty collected (+0.7%/lvl)
Download
Quillboar Thornweaver v1
800
ID:
48
Family ID:
Author:
SirCoqaLot.
Rarity:
rare
Element:
nature
Attack Type:
Physical
Attack Range:
800
Attack CD:
0.9
Damage:
379-398
Mana:
100
Mana regen:
1
Status:
Unapproved

Description:

Advanced Nature tower that is able to release a spray of thorns from it's back.
Quillspray
This tower deals 30% of its attack damage as physical damage to every unit in 800 range around it. A creep hit by a Quillspray receives 11% more damage than it did from the previous Quillspray, if hit again within 1.5 seconds. This effect stacks up to 40 times.

Hint: Save mana to amplify the effect of this ability.

Level Bonus:
+0.2% base damage
5% chance to doublecast Quillsprays at level 15
3% chance to triplecast Quillsprays at level 25

AC_TYPE_OFFENSIVE_IMMEDIATE
 5, 800 range, 0.2s cooldown
Occasional Quillspray
On attack this tower has a 12% chance to trigger a Quillspray. 

Hint: This Quillspray costs no mana. 

Level Bonus:
+0.15% chance
Download

Toggle Triggers

Autocast

AUTOCAST_cooldown: 0.2 AUTOCAST_autoRange: 700 AUTOCAST_manacost: 5 AUTOCAST_range: 800 AUTOCAST_targetType: 0 AUTOCAST_numBuffsBeforeIdle: 0 caster_art: target_art: AUTOCAST_autocastType: AC_TYPE_OFFENSIVE_IMMEDIATE AUTOCAST_buffType: 0 AUTOCAST_isExtended: true AUTOCAST_targetSelf: true
private function onAutocast takes Tower tower returns nothing
    local integer level = tower.getLevel()
    call quillspray(tower,1350)
    if level == 25 then 
        if tower.calcChance(0.03) then
            call quillspray(tower,1500)
            call quillspray(tower,1700)
         elseif tower.calcChance(0.05) then
            call quillspray(tower,1500)
        endif
    elseif level > 15 then
        if tower.calcChance(0.05) then
            call quillspray(tower,1500)
        endif
    endif
endfunction

Header

    globals
    //@export
    ProjectileType sir_boar_proj
    //@export
    BuffType sir_boar_debuff
    endglobals
    
    //@export
    function quillspray takes Tower tower, real speed returns nothing
    local Iterate i
    local Unit u
    local Projectile p
    set i = Iterate.overUnitsInRangeOfCaster(tower,TARGET_TYPE_CREEPS,800)
    
    loop
        set u = i.next()
        exitwhen u == 0 
        set p = Projectile.createFromUnitToUnit(sir_boar_proj,tower,1.0,1.0,tower,u,true,false,false)
        call p.setScale(0.7)
        set p.speed = speed
    endloop
    endfunction
    
    private function sir_boar_hit takes Projectile p , Unit creep returns nothing
        local Tower tower = p.getCaster()
        local integer buffLevel = IMinBJ(creep.getBuffOfType(sir_boar_debuff).getLevel(),40)
        call tower.doAttackDamage(creep,(0.3+tower.getLevel()*0.002)*tower.getCurrentAttackDamageWithBonus()*Pow(1.11,I2R(buffLevel)),tower.calcAttackMulticrit(0,0,0))
        call sir_boar_debuff.applyAdvanced(tower,creep,buffLevel+1,0,1.5)
    endfunction
    
    
    //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
    set sir_boar_debuff = BuffType.create(0,0,false)
    call sir_boar_debuff.setBuffIcon('@@0@@')
    set sir_boar_proj = ProjectileType.create("Abilities\\Weapons\\QuillSprayMissile\\QuillSprayMissile.mdl",2,1300)
    call sir_boar_proj.enableHoming(ProjectileTargetEvent.sir_boar_hit,0)
    endfunction

On Attack

ONATTACK_chance: 0.12 ONATTACK_chanceLevelAdd: 0.0015
function onAttack takes Tower tower returns nothing
    local integer level = tower.getLevel()
    call quillspray(tower,1350)
    if level == 25 then 
        if tower.calcChance(0.03) then
            call quillspray(tower,1500)
            call quillspray(tower,1700)
        elseif tower.calcChance(0.05) then
            call quillspray(tower,1500)
        endif
    elseif level > 15 then
        if tower.calcChance(0.05) then
            call quillspray(tower,1500)
        endif
    endif
endfunction
Yellowskin Skink v1
850
ID:
256
Family ID:
Author:
cedi
Rarity:
uncommon
Element:
nature
Attack Type:
Decay
Attack Range:
800
Attack CD:
1
Damage:
326-346
Status:
Approved

Description:

It likes to hug people.
Poisonous Skin - Aura
This and any towers in 200 range gain a poisonous attack. The poison deals 30 spell damage per second for 5 seconds. The effect stacks and is attack speed and range adjusted.

Level Bonus:
+1.2 spell damage per second
Download

Toggle Triggers

Header

            globals
        //@import
        BuffType cedi_skinkA //Aura
        //@import
        BuffType cedi_skinkB //Buff
    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 Tower Creation

function onCreate takes Tower tower returns nothing
            
set tower.userReal = 30.0
    set tower.userReal2 = 1.2
        
endfunction

Tower Aura

AURA_powerAdd: 1 AURA_auraEffect: cedi_skinkA AURA_levelAdd: 1 AURA_power: 0 AURA_targetType: TARGET_TYPE_TOWERS AURA_targetSelf: true AURA_level: 0 AURA_auraRange: 200
            
        
Chilled Spire v1
800
ID:
304
Family ID:
Author:
SirCoqaLot.
Rarity:
rare
Element:
ice
Attack Type:
Elemental
Attack Range:
1100
Attack CD:
1.4
Damage:
801-801
Status:
Approved

Description:

Advanced frost tower that will freeze attacked creeps, stunning them and reducing their health regeneration.
Cold
This tower has a 20% chance on attack to freeze the attacked creep and reduce its health regeneration by 20%. The freeze lasts for 1 second and cannot be reapplied on already frozen units. Chance to proc, health regeneration reduction and freeze duration are halved for bosses. Does not affect immune creeps. 

Level Bonus:
+0.4% chance
+0.05 seconds duration
-0.6% hp regen
Download

Toggle Triggers

Header

    globals
    //@export
    BuffType sirFrost
    endglobals
    
    private function pauseAnim takes Buff b returns nothing
        call SetUnitTimeScale(b.getBuffedUnit().getUnit(),0)
    endfunction
    
    private function unPauseAnim takes Buff b returns nothing
        call SetUnitTimeScale(b.getBuffedUnit().getUnit(),1.0)
    endfunction
    
    //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 regdown = Modifier.create()
        set sirFrost = BuffType.createDuplicate(cb_stun,-1,0,false)
        call sirFrost.setBuffIcon('@@0@@')
        call sirFrost.addEventOnCreate(pauseAnim)
        call sirFrost.addEventOnCleanup(unPauseAnim)
        // call sirFrost.addEventOnCleanup(regup)
        // call sirFrost.addEventOnCreate(regdown)
        call regdown.addModification(MOD_HP_REGEN_PERC, -(20)/100.0, -(0.6/100.0) )
        call sirFrost.setBuffModifier(regdown)
        
    endfunction

On Damage

ONDAMAGE_chance: 0.20 ONDAMAGE_chanceLevelAdd: 0.004
function onDamage takes Tower tower returns nothing
    local Creep creep = Event.getTarget()
    local integer lvl = tower.getLevel()
    local real scalar = 1.0
    if creep.getSize() >= SIZE_BOSS then
        set scalar = 0.5
    endif
    
    if GetRandomReal(0,1) < scalar and not creep.isImmune() and creep.getBuffOfType(sirFrost) == 0 then
        call sirFrost.applyCustomTimed(tower,creep,R2I(lvl * scalar),(1+lvl*0.05) * scalar )
        call SFXAtUnit("Abilities\\Spells\\Undead\\FreezingBreath\\FreezingBreathTargetArt.mdl",creep.getUnit())
    endif
    // call SFXAtUnit("Abilities\\Spells\\Undead\\FreezingBreath\\FreezingBreathTargetArt.mdl",creep.getUnit())
endfunction
Fiery Rock Formation v1
800
ID:
451
Family ID:
Author:
geX
Rarity:
common
Element:
fire
Attack Type:
Elemental
Attack Range:
900
Attack CD:
1.2
Damage:
775-904
Status:
Approved

Description:

Basic tower with low splash damage
Specials:
Splash attack:
   180 AoE: 25% damage
Download
Weapon Heap v2
800
ID:
463
Family ID:
Author:
geX
Rarity:
common
Element:
iron
Attack Type:
Physical
Attack Range:
1000
Attack CD:
2.5
Damage:
1908-2208
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.8%/lvl)
-20% item quality (-0.8%/lvl)
Download
Shrubfield v1
800
ID:
511
Family ID:
Author:
gex
Rarity:
common
Element:
nature
Attack Type:
Physical
Attack Range:
920
Attack CD:
0.9
Damage:
552-552
Status:
Approved

Description:

Common nature tower with an increased critical strike chance and damage.
Specials:
7% crit chance (+0.5%/lvl)
x1.7 crit damage (+x0.05/lvl)
Download