Tree Branch v1
36
lvl: 0
ID:
169
Author:
Boekie
Rarity:
common
Status:
Approved

Description:

Increases the tower's damage against orcs.
Specials:
+15% dmg to orcs
Download
Undead Claws v1
36
lvl: 0
ID:
177
Author:
Boekie
Rarity:
common
Status:
Approved

Description:

Increases the tower ' s damage against nature.
Specials:
+15% dmg to nature
Download
Sniper v1
36
lvl: 0
ID:
185
Author:
Boekie
Rarity:
common
Status:
Approved

Description:

Increases the tower's damage against bosses.
Specials:
+15% dmg to bosses
Download
Spiderling v1
50
lvl: 0
ID:
105
Author:
Boekie
Rarity:
rare
Status:
Approved

Description:

A small but poisonous critter.
Spiderling Poison
When the carrier of this item attacks there is a 25% attackspeed adjusted chance that the attacked creep is slowed by 5% for 4 seconds.
Download

Toggle Triggers

Header

goldcost: 0
    globals
        BuffType boekie_spiderling_slow 
    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_MOVESPEED,-0.05,0) 
        set boekie_spiderling_slow = BuffType.create(4,0,false)
        call boekie_spiderling_slow.setBuffIcon('@@0@@') 
        call boekie_spiderling_slow.setBuffModifier(m) 
        call boekie_spiderling_slow.setStackingGroup("boekieSpiderlingSlow")  
        
    endfunction

On Attack

goldcost: 50 ONATTACK_chance: 1.0 ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Item itm returns nothing
local Tower  tower = itm.getCarrier() 
local real  speed = tower.getBaseAttackspeed()  

    if tower.calcChance(0.25*speed) == true then  
       call boekie_spiderling_slow.apply(tower,Event.getTarget(),1)    
    endif 
    
endfunction
Charged Disk v1
50
lvl: 0
ID:
159
Author:
drol
Rarity:
uncommon
Status:
Approved

Description:

The disk emits a blueish light.
Power Supply
The carrier deals 8% of its goldcost as spelldamage per attack. This amount is attackspeed adjusted.

Level Bonus:
+0.1% goldcost as spelldamage
Download

Toggle Triggers

On Damage

ONDAMAGE_chance: 1.0 goldcost: 50 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Item itm returns nothing
    
    local Tower twr = itm.getCarrier()
    
    if Event.isMainTarget() then
        call twr.doSpellDamage(Event.getTarget(),(0.08 + 0.001*twr.getLevel())*twr.getGoldcost()*twr.getBaseAttackspeed(),twr.calcSpellCritNoBonus())
    endif
endfunction
Soul Extractor v2
50
lvl: 0
ID:
268
Author:
Boekie
Rarity:
unique
Status:
Approved

Description:

This item extracts souls from dead enemies and uses them to stun enemies.
Stunning Souls
Gains 2 charges on kill. Spends 1 charge on damage to stun for 1.5 seconds.
Download

Toggle Triggers

On Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0 goldcost: 50
function onDamage takes Item itm returns nothing
            
    local Unit target = Event.getTarget() 
    if itm.userInt > 0 then 
        call cb_stun.applyOnlyTimed(itm.getCarrier(),target,1.5) 
        set itm.userInt = itm.userInt -1 
        call itm.setCharges(itm.userInt)
    endif
        
endfunction

On Item Pickup

goldcost: 0
function onPickup  takes Item itm returns nothing
            
    set itm.userInt = 0
        
endfunction

On Kill

goldcost: 0
function onKill takes Item itm returns nothing
            
    set itm.userInt = itm.userInt +2
    call itm.setCharges(itm.userInt)
        
endfunction
Portable Tombstone v1
50
lvl: 0
ID:
274
Author:
Boekie
Rarity:
unique
Status:
Approved

Description:

A dark artefact from a graveyard seldom spoken of.
Curse of the Grave
This item has a 0.25% attackspeed adjusted chance on attack to kill a non boss, non champion target immediately.

Level Bonus:
+0.01% chance
Download

Toggle Triggers

Header

goldcost: 0
    globals
        MultiboardValues boekie_tombstonejibs
    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
    set boekie_tombstonejibs = MultiboardValues.create(1)
    call boekie_tombstonejibs.setKey(0,"Tombstone Kills")
    endfunction

On Attack

goldcost: 50 ONATTACK_chance: 1.0 ONATTACK_chanceLevelAdd: 0.0005
function onAttack takes Item itm returns nothing
    local Tower tower = itm.getCarrier()
    local Unit creep = Event.getTarget()
      
    if creep.getSize() < SIZE_CHAMPION and tower.calcChance((0.0025+(tower.getLevel()*0.0001)) * tower.getBaseAttackspeed()) then 
        call tower.killInstantly(creep)
        call SFXAtUnit("Abilities\\Spells\\Undead\\DeathCoil\\DeathCoilSpecialArt.mdl",creep.getUnit())
        set itm.userInt = itm.userInt + 1
    endif 
endfunction

On Item Creation

goldcost: 0
function onCreate takes Item itm returns nothing
    set itm.userInt = 0 //number of innocent creeps slaughtered mercilessly.
endfunction

On Tower Details

goldcost: 0
function onTowerDetails takes Item itm returns MultiboardValues
    call boekie_tombstonejibs.setValue(0,I2S(itm.userInt))
    return boekie_tombstonejibs
endfunction