Annoyed Tree v1
200
ID:
520
Family ID:
Author:
Boekie
Rarity:
uncommon
Element:
nature
Attack Type:
Physical
Attack Range:
950
Attack CD:
1.4
Damage:
142-161
Status:
Approved

Description:

An angry tree that has a chance to throw a big rock at its target.
Rock Throw
30% chance to throw a rock towards the attacked unit. On impact it deals 150 spell damage in a 300 AoE. 

Level Bonus:
+0.6% chance
+5 damage
Download

Toggle Triggers

Header

    globals
        //@export
        ProjectileType boekie_tree_rock
    endglobals    
   
    function RockHit takes Projectile p, Unit t returns nothing
        call p.doSpellDamagePBAoE(p.userReal,100.0,0.0)
        call DestroyEffect( AddSpecialEffect("Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl", p.x, p.y ) )
    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 boekie_tree_rock = ProjectileType.createInterpolate( "Abilities\\Weapons\\RockBoltMissile\\RockBoltMissile.mdl",750.00 )
        call boekie_tree_rock.setEventOnInterpolationFinished(ProjectileTargetEvent.RockHit)
    endfunction

On Attack

ONATTACK_chance: 0.30 ONATTACK_chanceLevelAdd: 0.006
function onAttack takes Tower tower returns nothing
    set Projectile.createLinearInterpolationFromUnitToUnit(boekie_tree_rock,tower,1.5+tower.getLevel()*0.05, tower.calcSpellCritNoBonus(),tower,Event.getTarget(),0.25,true).userReal = 300.0
endfunction
Angry Tree v1
800
ID:
521
Family ID:
Author:
Boekie
Rarity:
uncommon
Element:
nature
Attack Type:
Physical
Attack Range:
950
Attack CD:
1.4
Damage:
574-593
Status:
Approved

Description:

An angry tree that has a chance to throw a big rock at its target.
Rock Throw
30% chance to throw a rock towards the attacked unit. On impact it deals 600 spell damage in a 350 AoE. 

Level Bonus:
+0.6% chance
+20 damage
Download

Toggle Triggers

Header

    globals
        //@import
        ProjectileType boekie_tree_rock
    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 Attack

ONATTACK_chance: 0.30 ONATTACK_chanceLevelAdd: 0.006
function onAttack takes Tower tower returns nothing
    set Projectile.createLinearInterpolationFromUnitToUnit(boekie_tree_rock,tower,6.0+tower.getLevel()*0.20, tower.calcSpellCritNoBonus(),tower,Event.getTarget(),0.25,true).userReal = 350.0
endfunction
Enraged Tree v1
1600
ID:
522
Family ID:
Author:
Boekie
Rarity:
uncommon
Element:
nature
Attack Type:
Physical
Attack Range:
950
Attack CD:
1.4
Damage:
1096-1115
Status:
Approved

Description:

An angry tree that has a chance to throw a big rock at its target.
Rock Throw
30% chance to throw a rock towards the attacked unit. On impact it deals 1200 spell damage in a 400 AoE. 

Level Bonus:
+0.6% chance
+40 damage
Download

Toggle Triggers

Header

    globals
        //@import
        ProjectileType boekie_tree_rock
    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 Attack

ONATTACK_chance: 0.30 ONATTACK_chanceLevelAdd: 0.006
function onAttack takes Tower tower returns nothing
    set Projectile.createLinearInterpolationFromUnitToUnit(boekie_tree_rock,tower,12.0+tower.getLevel()*0.40, tower.calcSpellCritNoBonus(),tower,Event.getTarget(),0.25,true).userReal = 400.0
endfunction
Mad Tree v1
2600
ID:
523
Family ID:
Author:
Boekie
Rarity:
uncommon
Element:
nature
Attack Type:
Physical
Attack Range:
950
Attack CD:
1.4
Damage:
1702-1721
Status:
Approved

Description:

An angry tree that has a chance to throw a big rock at its target.
Rock Throw
30% chance to throw a rock towards the attacked unit. On impact it deals 1950 spell damage in a 450 AoE. 

Level Bonus:
+0.6% chance
+65 damage
Download

Toggle Triggers

Header

    globals
        //@import
        ProjectileType boekie_tree_rock
    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 Attack

ONATTACK_chance: 0.30 ONATTACK_chanceLevelAdd: 0.006
function onAttack takes Tower tower returns nothing
    set Projectile.createLinearInterpolationFromUnitToUnit(boekie_tree_rock,tower,19.5+tower.getLevel()*0.65, tower.calcSpellCritNoBonus(),tower,Event.getTarget(),0.25,true).userReal = 450
endfunction