Skull Trophy v2
147
lvl: 7
ID:
163
Author:
drol
Rarity:
common
Status:
Approved

Description:

Gained upon victory over an enemy.
Specials:
+100dps
Download
Wanted List v1
148
lvl: 5
ID:
144
Author:
Lapsus
Rarity:
uncommon
Status:
Approved

Description:

Helps the carrier make extra coin from kills.
Headhunt
Gives 2 additional gold for every creep the carrier kills.
Download

Toggle Triggers

On Kill

goldcost: 148
function onKill takes Item itm returns nothing
local Tower tower = itm.getCarrier()

 call itm.getCarrier().getOwner().giveGold( 2,tower.getUnit(), true, true)
  
endfunction
Backpack v1
150
lvl: 0
ID:
9
Author:
Boekie
Rarity:
unique
Status:
Approved

Description:

Sometimes a useful item is found in this backpack.
Search For Item
Every 150 seconds the next kill will drop an item for sure.

AC_TYPE_ALWAYS_IMMEDIATE
150s cooldown
Download

Toggle Triggers

Autocast

caster_art: AUTOCAST_cooldown: 150 AUTOCAST_numBuffsBeforeIdle: 0 goldcost: 150 AUTOCAST_isExtended: false AUTOCAST_autocastType: AC_TYPE_ALWAYS_IMMEDIATE AUTOCAST_manacost: 0 AUTOCAST_range: 0 AUTOCAST_buffType: 0 AUTOCAST_targetSelf: true AUTOCAST_targetType: 0 target_art: AUTOCAST_autoRange: 0
    local Unit tower = itm.getCarrier()
    set boekie_backpackBuff.applyOnlyTimed(tower, tower, 1000).userInt = itm

Header

goldcost: 0
    globals
        BuffType boekie_backpackBuff
        MultiboardValues boekie_backpackMB
    endglobals
    
    function backpackKill takes Buff B returns nothing
        local Tower tower = B.getBuffedUnit() 
        local Creep creep = Event.getTarget()
        local Item  itm   = B.userInt
     
        call creep.dropItem(tower,false) 
        call tower.getOwner().displaySmallFloatingText("Backpacked!",tower,255, 165, 0,30) 
        set itm.userInt = itm.userInt + 1
        call B.removeBuff()
    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_backpackBuff = BuffType.create(0, 0, true)
        call boekie_backpackBuff.setBuffIcon('@@0@@')
        call boekie_backpackBuff.addEventOnKill(backpackKill)
        set boekie_backpackMB = MultiboardValues.create(1)
        call boekie_backpackMB.setKey(0,"Items Backpacked")
    endfunction

On Item Creation

goldcost: 0
function onCreate takes Item itm returns nothing
set itm.userInt = 0 //Total items found
endfunction

On Tower Details

goldcost: 0
function onTowerDetails takes Item itm returns MultiboardValues
    call boekie_backpackMB.setValue(0, I2S(itm.userInt))
    return boekie_backpackMB
endfunction
Magic Hammer v1
150
lvl: 2
ID:
50
Author:
F12ight
Rarity:
rare
Status:
Approved

Description:

The magical hammer radiates power.
Magic Weapon
Every 5th spell is a critical hit.
Download

Toggle Triggers

On Item Pickup

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

On Spell Cast

goldcost: 150
function onSpellCast takes Item itm returns nothing
    set itm.userInt = itm.userInt +1
    if itm.userInt >= 5 then
        call itm.getCarrier().addSpellCrit()
        set itm.userInt = 0
    endif
endfunction
Purifying Gloves v1
150
lvl: 2
ID:
120
Author:
drol
Rarity:
rare
Status:
Approved

Description:

Mends every wound, hurts every villain.
Purify
Grants the carrier a 12.5% attackspeed adjusted chance on attack to cast a purifying beam of magic. Deals 250 spelldamage on the first target and bounces to 2 other targets. Each bounce reduces the damage by 25%. Undead and Orc creeps also get stunned for 0.5 seconds when hit by this beam.
Download

Toggle Triggers

Header

goldcost: 0
    globals
        Cast drol_chainCast
    endglobals
    
    function drol_chainStun takes DummyUnit d returns nothing
    
        local Unit creep = Event.getTarget()
        
        if creep.getCategory() == 0 or creep.getCategory() == 3 then
            call cb_stun.applyOnlyTimed(d.getCaster(),Event.getTarget(),0.5)
        endif
    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 drol_chainCast = Cast.create('@@0@@',"chainlightning",5.0)
        call drol_chainCast.setDamageEvent(drol_chainStun)
    
    endfunction

On Attack

goldcost: 150 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.125 * speed) then
    call drol_chainCast.targetCastFromCaster(tower, Event.getTarget(),1,tower.calcSpellCritNoBonus())
    endif
endfunction
Mystical Shell v1
150
lvl: 5
ID:
125
Author:
drol
Rarity:
uncommon
Status:
Approved

Description:

You can hear the entire ocean when holding it next to your ear.
Resonance
Grants the carrier a 10% attackspeed adjusted chance to debuff the attacked target, increasing all spelldamage dealt to it by 15% for 5 seconds.
Download

Toggle Triggers

Header

goldcost: 0
    globals
    
        BuffType drol_spellDmgRecieved
    
    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_SPELL_DAMAGE_RECEIVED,0.15,0)  
         
        set drol_spellDmgRecieved = BuffType.create(5,0,false)
        call drol_spellDmgRecieved.setBuffIcon('@@0@@')
        
        call drol_spellDmgRecieved.setBuffModifier(m) 
    
    endfunction

On Attack

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

    if tower.calcChance(0.10 * tower.getBaseAttackspeed()) then
        call drol_spellDmgRecieved.apply(tower, Event.getTarget(),tower.getLevel())
    endif
endfunction
Quicktrigger Blade v1
150
lvl: 5
ID:
259
Author:
Velex
Rarity:
uncommon
Status:
Approved

Description:

Can be drawn in a second, but doesn't carry much of a punch.
Specials:
Specials:
+15% attackspeed
-15% damage
-15% spell damage
Download

Toggle Triggers

Header

goldcost: 150
    globals
    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