Sword of Reckoning v1
400
lvl: 13
ID:
203
Author:
drol
Rarity:
rare
Status:
Approved

Description:

Increases the damage nearby towers deal to undead creeps.
Holy Wrath - Aura
Grants 12% bonus damage against undead to all towers within 200 range.

Level Bonus:
+0.24% damage
Download

Toggle Triggers

Header

goldcost: 0
    globals
    
    BuffType undead_aura
    
    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()  
    set undead_aura = BuffType.createAuraEffectType(true)  
    call m.addModification(MOD_DMG_TO_UNDEAD,0.12,0.0024)  
    call undead_aura.setBuffModifier(m)  
    call undead_aura.setStackingGroup("undead_aura")  
    call undead_aura.setBuffIcon('@@0@@') 
    
    
    
    endfunction

Tower Aura

AURA_levelAdd: 1 AURA_targetType: TARGET_TYPE_TOWERS AURA_auraRange: 200 AURA_powerAdd: 1 AURA_targetSelf: true goldcost: 400 AURA_auraEffect: undead_aura AURA_power: 0 AURA_level: 0
Sword of Decay v1
400
lvl: 13
ID:
205
Author:
drol
Rarity:
rare
Status:
Approved

Description:

Increases the damage nearby towers deal to nature creeps.
Rot - Aura
Grants 12% bonus damage against nature to all towers within 200 range.

Level Bonus:
+0.24% damage
Download

Toggle Triggers

Header

goldcost: 0
    globals
    
    BuffType nature_aura
    
    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()  
    set nature_aura = BuffType.createAuraEffectType(true)  
    call m.addModification(MOD_DMG_TO_NATURE,0.12,0.0024)  
    call nature_aura.setBuffModifier(m)  
    call nature_aura.setStackingGroup("nature_aura")  
    call nature_aura.setBuffIcon('@@0@@') 
    
    
    
    endfunction

Tower Aura

AURA_levelAdd: 1 AURA_targetType: TARGET_TYPE_TOWERS AURA_auraRange: 200 AURA_powerAdd: 1 AURA_targetSelf: true goldcost: 400 AURA_auraEffect: nature_aura AURA_power: 0 AURA_level: 0
Nermind's Eye v1
400
lvl: 20
ID:
220
Author:
cedi
Rarity:
uncommon
Status:
Approved

Description:

The all seeing eye of Nermind.
Specials:

Nermind's Eye
Reveals invisible enemies in 750 range.
Nermind's Eye:
Reveals invisible enemies in 750 range.
Download

Toggle Triggers

Header

goldcost: 400
    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
Faithful Staff v1
400
lvl: 8
ID:
281
Author:
Boekie
Rarity:
unique
Status:
Approved

Description:

Grants experience when a spell is cast on a friendly tower.
Reward the Faithful
Whenever the carrier of this item casts a spell on a friendly tower both towers gain 1 experience.
Download

Toggle Triggers

On Spell Cast

goldcost: 400
function onSpellCast takes Item itm returns nothing
local Unit tower = itm.getCarrier()
local Unit targetUnit = Event.getTarget()

if targetUnit.isATower() == true then
call targetUnit.addExp(1)
call tower.addExp(1)
endif
endfunction
Magic Vial v1
402
lvl: 20
ID:
63
Author:
boekie
Rarity:
uncommon
Status:
Approved

Description:

This vial contains a magic potion that enhances other spells.
Specials:
+10% mana regen (+0.4%/lvl)
+10% buff duration (+0.4%/lvl)
Download
Shiny Emerald v1
406
lvl: 20
ID:
145
Author:
poussix
Rarity:
uncommon
Status:
Approved

Description:

Helps the carrier concentrate.
Specials:
-10% attackspeed
+5% spell damage (+1%/lvl)
+5% trigger chances (+1%/lvl)
Download
Dark Matter Trident v1
410
lvl: 9
ID:
178
Author:
cedi
Rarity:
unique
Status:
Approved

Description:

Made from a mysterious material.
Drain Physical Energy
Whenever the carrier of this item hits a creep, the carrier gains 2% attackspeed and the creep is slowed by 2%. Both effects are attackspeed adjusted, last 5 seconds and stack up to 20 times.

Level Bonus:
+0.1 second duration
Download

Toggle Triggers

Header

goldcost: 410
    globals
        BuffType neg
        BuffType pos
    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.0, -0.0002 )
        
        set neg = BuffType.create( 2.5, 0.0, false )
        call neg.setBuffIcon( '@@0@@' )
        call neg.setBuffModifier( m )
        
        set m = Modifier.create()
        call m.addModification( MOD_ATTACKSPEED, 0.0, 0.0002 )
        
        set pos = BuffType.create( 2.5, 0.0, true )
        call pos.setBuffIcon( '@@1@@' )
        call pos.setBuffModifier( m )
    endfunction

On Damage

ONDAMAGE_chance: 1.0 goldcost: 0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Item itm returns nothing
    local Buff B
    local Tower T
    local Creep C
    local integer levelAdd
    local real dur
    if Event.isMainTarget() then
        set T = itm.getCarrier()
        set C = Event.getTarget()
        set levelAdd = R2I(100.0 * T.getCurrentAttackspeed())
        set dur = 5 + 0.1 * T.getLevel()
        
        set B = T.getBuffOfType(pos)
        if B != 0 then
            call pos.applyCustomTimed(T, T, IMinBJ(levelAdd + B.getLevel(), 2000), dur)
        else
            call pos.applyCustomTimed(T, T, levelAdd, dur)
        endif
        
        set B = C.getBuffOfType(neg)
        if B != 0 then
            call neg.applyCustomTimed(T, C, IMinBJ(levelAdd + B.getLevel(), 2000), dur)
        else
            call neg.applyCustomTimed(T, C, levelAdd, dur)
        endif
    endif
endfunction