Chameleon Glaive v1
1100
lvl: 31
ID:
284
Author:
Boekie
Rarity:
unique
Status:
Approved

Description:

This glaive is able to mimic every kind of weapon.
Launch Glaive
The carrier has a 40% chance on attack to fire an extra projectile that deals the same amount of damage as a normal attack. Can crit.

Level Bonus:
+0.4% chance
Download

Toggle Triggers

Header

goldcost: 0
    globals
        ProjectileType boekie_multiGun
    endglobals
    
    public function hit takes Projectile p, Unit creep returns nothing 
        local Tower tower = p.getCaster() 
        call tower.doAttackDamage(creep, tower.getCurrentAttackDamageWithBonus(), tower.calcAttackMulticrit(0, 0, 0)) 
    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_multiGun = ProjectileType.create("Abilities\\Weapons\\GlaiveMissile\\GlaiveMissile.mdl", 4, 1000) 
        call boekie_multiGun.enableHoming(ProjectileTargetEvent.hit, 0) 
    endfunction

On Attack

goldcost: 1100 ONATTACK_chance: 0.40 ONATTACK_chanceLevelAdd: 0.004
function onAttack takes Item itm returns nothing
    local Tower tower = itm.getCarrier()
    local Unit creep = Event.getTarget()
    local Projectile p 
        
    set p = Projectile.createFromUnitToUnit(boekie_multiGun,tower,1,0,tower,creep,true,false,false)            
    call p.setScale(0.75)     
endfunction
Jewels of the Moon v1
1132
lvl: 32
ID:
62
Author:
drol
Rarity:
unique
Status:
Approved

Description:

Once granted by the Moon to her servants, these jewels help whoever uses them for a good purpose.
Specials:
+20% trigger chances
Celestial Wisdom
Grants the wielder 2 experience every 15 seconds. The amount of experience is increased by 2 at night.
Download

Toggle Triggers

Periodic

PERIODIC_period: 15 goldcost: 500
function periodic takes Item itm returns nothing
    
    local real night = GetFloatGameState(GAME_STATE_TIME_OF_DAY)
    local Effect targetEffect 
    local Unit tower = itm.getCarrier()
    
    set targetEffect = Effect.createScaled("Abilities\\Spells\\Human\\DispelMagic\\DispelMagicTarget.mdl", tower.getX(), tower.getY(), 0, 0, 0.8) 
    call targetEffect.setLifetime(2.0)
    
    if night >= 18.00 or night < 6.00 then
    call tower.addExp(4.0)
    else
    call tower.addExp(2.0)
    endif 
endfunction
Ancient Figurine v1
1161
lvl: 67
ID:
41
Author:
drol
Rarity:
uncommon
Status:
Approved

Description:

This figurine was found in the ruins of a city located in the jungle.
Specials:
+25% mana
+50% mana regen
Download
Claws of Ursus v1
1161
lvl: 47
ID:
76
Author:
drol
Rarity:
rare
Status:
Approved

Description:

These claws are said to be of Ursus himself, still containing a part of his power.
Specials:
+25% damage
+25% mana
Download
Polarisator v1
1161
lvl: 67
ID:
102
Author:
cedi
Rarity:
uncommon
Status:
Approved

Description:

Uh, this thing is able to make things magnetic.
Specials:
+10% crit chance
Download
Chameleons Soul v1
1161
lvl: 47
ID:
247
Author:
Boekie
Rarity:
rare
Status:
Approved

Description:

This soul adapts itself to its user.
Transform
+100% experience for Astral
+45% spelldamage for Darkness
+10% crit chance for Nature
+40% damage for Fire
+50% buff duration for Ice
+25% attackspeed for Storm
+30% item chance for Iron
Download

Toggle Triggers

On Item Drop

goldcost: 0
function onDrop takes Item itm returns nothing
    local Tower  tower = itm.getCarrier() 
    
    if tower.getElement() == 0 then 
        call tower.modifyProperty(MOD_EXP_RECEIVED, -1.00) 
    elseif tower.getElement() == 1 then 
        call tower.modifyProperty(MOD_SPELL_DAMAGE_DEALT, -0.45) 
    elseif tower.getElement() == 2 then 
        call tower.modifyProperty(MOD_ATK_CRIT_CHANCE, -0.10) 
    elseif tower.getElement() == 3 then 
        call tower.modifyProperty(MOD_DAMAGE_ADD_PERC, -0.40) 
    elseif tower.getElement() == 4 then 
        call tower.modifyProperty(MOD_BUFF_DURATION, -0.50) 
    elseif tower.getElement() == 5 then 
        call tower.modifyProperty(MOD_ATTACKSPEED, -0.25)
    elseif tower.getElement() == 6 then 
        call tower.modifyProperty(MOD_ITEM_CHANCE_ON_KILL, -0.30) 
    endif 
    
endfunction

On Item Pickup

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

    if tower.getElement() == 0 then 
        call tower.modifyProperty(MOD_EXP_RECEIVED, 1.00) 
    elseif tower.getElement() == 1 then 
        call tower.modifyProperty(MOD_SPELL_DAMAGE_DEALT, 0.45) 
    elseif tower.getElement() == 2 then 
        call tower.modifyProperty(MOD_ATK_CRIT_CHANCE, 0.10) 
    elseif tower.getElement() == 3 then 
        call tower.modifyProperty(MOD_DAMAGE_ADD_PERC, 0.40) 
    elseif tower.getElement() == 4 then 
        call tower.modifyProperty(MOD_BUFF_DURATION, 0.50) 
    elseif tower.getElement() == 5 then 
        call tower.modifyProperty(MOD_ATTACKSPEED, 0.25)
    elseif tower.getElement() == 6 then 
        call tower.modifyProperty(MOD_ITEM_CHANCE_ON_KILL, 0.30) 
    endif 
endfunction
Grand Seal of Pickiness v1
1176
lvl: 68
ID:
136
Author:
Glowackos
Rarity:
uncommon
Status:
Approved

Description:

Worn only by the wealthiest of landlords.
Specials:
-35% item chance
+75% item quality (+1%/lvl)
Download