Magic Link v1
500
lvl: 26
ID:
265
Author:
MasterCassim
Rarity:
uncommon
Status:
Approved

Description:

This item can be used to transfer experience to other towers.
Transfer Experience
Transfers a flat 30 experience from this tower to another one.

AC_TYPE_ALWAYS_BUFF
60s cooldown
Download

Toggle Triggers

Autocast

caster_art: Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl icon: ReplaceableTextures\CommandButtons\BTNHealingWave.blp AUTOCAST_cooldown: 60 AUTOCAST_numBuffsBeforeIdle: 1 goldcost: 500 AUTOCAST_isExtended: true AUTOCAST_autocastType: AC_TYPE_ALWAYS_BUFF AUTOCAST_manacost: 0 AUTOCAST_range: 1200 AUTOCAST_buffType: 0 AUTOCAST_targetSelf: false AUTOCAST_targetType: TARGET_TYPE_TOWERS target_art: AUTOCAST_autoRange: 1200
    if itm.getCarrier().getExp() > 0.0 then
        call Event.getTarget().addExpFlat(itm.getCarrier().removeExpFlat(30))
    endif
Scroll of Strength v1
500
lvl: 18
ID:
272
Author:
Boekie
Rarity:
rare
Status:
Approved

Description:

Strength Boost
Upon activation, towers in 350 range receive 10% bonus base damage for 4 seconds. Costs 1 charge.

AC_TYPE_OFFENSIVE_IMMEDIATE
4s cooldown
Recharge
Regenerates 3 charges every 40 seconds up to a maximum of 10 charges.
Download

Toggle Triggers

Autocast

AUTOCAST_cooldown: 4 AUTOCAST_autoRange: 1000 AUTOCAST_manacost: 0 goldcost: 500 AUTOCAST_range: 0 AUTOCAST_targetType: 0 AUTOCAST_numBuffsBeforeIdle: 0 caster_art: target_art: AUTOCAST_autocastType: AC_TYPE_OFFENSIVE_IMMEDIATE AUTOCAST_buffType: 0 AUTOCAST_isExtended: false AUTOCAST_targetSelf: true
local Tower tower=itm.getCarrier()
local integer lvl = tower.getLevel()
local Iterate it
local Unit next
if itm.userInt > 0  then
    set it = Iterate.overUnitsInRangeOfCaster(tower, TARGET_TOWERS, 350)
    loop
            set next = it.next()
            call boekie_scroll_damage.applyCustomTimed(tower,next,lvl*2,4.0)
            exitwhen next == 0
    endloop
    set itm.userInt=itm.userInt-1    
endif
    
    call itm.setCharges(itm.userInt)  
    call TriggerSleepAction(0.1)  
    call itm.setCharges(itm.userInt) 
    

Header

goldcost: 0
    globals
    BuffType boekie_scroll_damage
    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_DAMAGE_BASE_PERC,0.1,0) 
    set boekie_scroll_damage = BuffType.create(0.0,0.0,true) //0.0 time since I will apply it custom timed 
    call boekie_scroll_damage.setBuffModifier(m)  
    call boekie_scroll_damage.setBuffIcon('@@0@@')  
    endfunction

On Item Creation

goldcost: 0
function onCreate takes Item itm returns nothing
    call itm.setCharges(10)
    //The item will use the userInt for charges, cause charges are bugged.
    set itm.userInt=10
endfunction

Periodic

goldcost: 0 PERIODIC_period: 40
function periodic takes Item itm returns nothing
set itm.userInt = itm.userInt + 3
if itm.userInt >= 11 then
set itm.userInt = 10
endif   
   
call itm.setCharges(itm.userInt)  
call TriggerSleepAction(0.1)  
call itm.setCharges(itm.userInt) 
endfunction
Scroll of Speed v1
500
lvl: 18
ID:
273
Author:
Boekie
Rarity:
rare
Status:
Approved

Description:

Speed Boost
Upon activation, towers in 350 range receive 10% bonus attackspeed for 4 seconds. Costs 1 charge.

AC_TYPE_OFFENSIVE_IMMEDIATE
4s cooldown
Recharge
Regenerates 3 charges every 40 seconds up to a maximum of 10 charges.
Download

Toggle Triggers

Autocast

AUTOCAST_cooldown: 4 AUTOCAST_autoRange: 1000 AUTOCAST_manacost: 0 goldcost: 500 AUTOCAST_range: 0 AUTOCAST_targetType: 0 AUTOCAST_numBuffsBeforeIdle: 0 caster_art: target_art: AUTOCAST_autocastType: AC_TYPE_OFFENSIVE_IMMEDIATE AUTOCAST_buffType: 0 AUTOCAST_isExtended: false AUTOCAST_targetSelf: true
local Tower tower=itm.getCarrier()
local integer lvl = tower.getLevel()
local Iterate it
local Unit next
if itm.userInt > 0  then
    set it = Iterate.overUnitsInRangeOfCaster(tower, TARGET_TOWERS, 350)
    loop
            set next = it.next()
            call boekie_scroll_speed.applyCustomTimed(tower,next,lvl*2,4.0)
            exitwhen next == 0
    endloop
    set itm.userInt=itm.userInt-1    
endif
    
    call itm.setCharges(itm.userInt)  
    call TriggerSleepAction(0.1)  
    call itm.setCharges(itm.userInt) 
    

Header

goldcost: 0
    globals
    BuffType boekie_scroll_speed
    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_ATTACKSPEED,0.10,0.0) 
    set boekie_scroll_speed = BuffType.create(0.0,0.0,true) //0.0 time since I will apply it custom timed 
    call boekie_scroll_speed.setBuffModifier(m)  
    call boekie_scroll_speed.setBuffIcon('@@0@@')   
    endfunction

On Item Creation

goldcost: 0
function onCreate takes Item itm returns nothing
    call itm.setCharges(10)
    //The item will use the userInt for charges, cause charges are bugged.
    set itm.userInt=10
endfunction

Periodic

goldcost: 0 PERIODIC_period: 40
function periodic takes Item itm returns nothing
    set itm.userInt = itm.userInt + 3
    if itm.userInt >= 11 then
    set itm.userInt = 10
    endif   
       
    call itm.setCharges(itm.userInt)  
    call TriggerSleepAction(0.1)  
    call itm.setCharges(itm.userInt) 
endfunction
Helm of Insanity v1
500
lvl: 12
ID:
285
Author:
Boekie
Rarity:
unique
Status:
Approved

Description:

Gives enormous strength but exhausts the user.
Insane Strength
When this item is activated the next 12 attacks will deal 200% damage but the user becomes exhausted. When the user is exhausted it deals only 50% damage on the next 16 attacks.

AC_TYPE_NOAC_IMMEDIATE
120s cooldown
Download

Toggle Triggers

Autocast

caster_art: AUTOCAST_cooldown: 120 AUTOCAST_numBuffsBeforeIdle: 0 goldcost: 500 AUTOCAST_isExtended: false AUTOCAST_autocastType: AC_TYPE_NOAC_IMMEDIATE AUTOCAST_manacost: 0 AUTOCAST_range: 0 AUTOCAST_buffType: 0 AUTOCAST_targetSelf: true AUTOCAST_targetType: 0 target_art: AUTOCAST_autoRange: 0
set itm.userInt = 0

On Damage

ONDAMAGE_chance: 1.0 goldcost: 0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Item itm returns nothing
    local Tower tower = itm.getCarrier()
    
    if itm.userInt >= 12 and itm.userInt < 28 then
    
        set Event.damage=Event.damage*0.5 

        if Event.isMainTarget() then
            call tower.getOwner().displaySmallFloatingText("Exhausted!",tower,255, 150, 0,30)
            set itm.userInt = itm.userInt + 1
        endif

    endif


    if itm.userInt < 12 then
    
        set Event.damage=Event.damage*2 

        if Event.isMainTarget() then
            call tower.getOwner().displaySmallFloatingText("Insane!",tower,255, 150, 0,30)
            set itm.userInt = itm.userInt + 1
        endif
        
    endif

    
endfunction

On Item Creation

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

On Item Drop

goldcost: 0
function onDrop takes Item itm returns nothing
set itm.userInt = 50
endfunction
Magic Branch v1
517
lvl: 37
ID:
36
Author:
Boekie
Rarity:
common
Status:
Approved

Description:

This tree branch was cut from a magic tree.
Specials:
+5% attackspeed
+15% spell damage
Download
Mini Sheep v1
517
lvl: 37
ID:
37
Author:
Boekie
Rarity:
common
Status:
Approved

Description:

This sheep is hexed by a wizard, it's so small that you can put it in your pocket.
Specials:
+25% dmg to nature
+12.5% trigger chances
Download
Sparkling Staff v1
517
lvl: 27
ID:
204
Author:
Majildian
Rarity:
uncommon
Status:
Approved

Description:

This staff contains so much magical power that the air around it sparkles.
Specials:
+25% spell damage
Download