El Bastardo v1
1604
lvl: 67
ID:
270
Author:
cedi
Rarity:
rare
Status:
Approved

Description:

The legendary El Bastardo! ( w00t wc3 and Gothic 3 ? )
Specials:
+10% dmg to bosses (+1%/lvl)
+5% dmg to undead (+1%/lvl)
+15% dmg to orcs (+2%/lvl)
+15% damage (+1%/lvl)
Download
Frog Pipe v1
1650
lvl: 48
ID:
198
Author:
Deemzul
Rarity:
unique
Status:
Approved

Description:

A pipe with a sound that frogs cannot resist.
Frog Piper
Has a 20% chance on attack to summon 4 frogs that deal 100% attack damage when they hit an enemy.

Frogs cannot hit air.
Download

Toggle Triggers

Header

goldcost: 1650
    globals
    //@export
    ProjectileType deem_FrogPT
    endglobals
    
    function deem_FrogAttack takes Tower tower, Unit target, integer temp returns nothing
        local Projectile p 
        local real x = tower.getX()
        local real y = tower.getY()
        local real angle
        local real homerange = 190
        
        set angle = Atan2(target.getY() - y, target.getX() - x)
        set p = Projectile.create(deem_FrogPT, tower, 0.00, 0, x + GetRandomInt(-40,40), y + GetRandomInt(-40,40), 5.00, angle * bj_RADTODEG + temp)
        call p.setCollisionParameters(homerange,TARGET_CREEPS)
        set p.userInt = temp
        set p.userReal = tower.getCurrentAttackDamageWithBonus()
        set p.userReal2 = tower.calcAttackMulticrit(0,0,0)
    endfunction
    
    
    function deem_FrogCollision takes Projectile p, Unit target returns nothing
         local Tower tower = p.getCaster()
         call tower.doAttackDamage(target,p.userReal,p.userReal2)
    endfunction
    
    
    function deem_FrogPeriodic takes Projectile p returns nothing
            set p.userInt = p.userInt * -1
            set p.speed = 500
            set p.direction = p.direction + p.userInt
    endfunction
    
    
    function deem_FrogHome takes Projectile p, Unit target returns nothing
          local Tower tower = p.getCaster()
          if target.getSize() != SIZE_AIR then
          set p.speed = 500
          call p.setCollisionEnabled(false)
          call p.setHomingTarget(target)
          set p.accelerate = 8
          call p.color(95,200,255,255)
          call p.disablePeriodic()
          set p.remainingLifetime = 3.00
          endif
    endfunction
    

    private function init takes nothing returns nothing
         set deem_FrogPT = ProjectileType.createRanged("units\\critters\\Frog\\Frog.mdl", 3700.0, 500.0) 
         call deem_FrogPT.enableCollision( deem_FrogHome, 0.00, TARGET_CREEPS, false )
         call deem_FrogPT.enableHoming(deem_FrogCollision, 0 )
         call deem_FrogPT.enablePeriodic(deem_FrogPeriodic,0.60)
         call deem_FrogPT.setAcceleration(-36)
         call deem_FrogPT.disableExplodeOnHit()
    endfunction

On Attack

goldcost: 0 ONATTACK_chance: 0.2 ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Item itm returns nothing
    local Unit target = Event.getTarget()
    if target.getSize() != SIZE_AIR then
        call deem_FrogAttack(itm.getCarrier(),target,GetRandomInt(-40,-20))
        call deem_FrogAttack(itm.getCarrier(),target,GetRandomInt(-20,-0))
        call deem_FrogAttack(itm.getCarrier(),target,GetRandomInt(0,20))
        call deem_FrogAttack(itm.getCarrier(),target,GetRandomInt(20,40))
    endif
endfunction
Phoenix Egg v1
1656
lvl: 69
ID:
32
Author:
drol
Rarity:
rare
Status:
Approved

Description:

Still burning hot!
Specials:
+20% spell damage
+40% buff duration
Download
Elite Sharp Shooter v1
1656
lvl: 69
ID:
154
Author:
SternBogen
Rarity:
rare
Status:
Approved

Description:

Take your time to make a deadly Elite Sharp Shot!
Specials:
-35% attackspeed
+5% crit chance
+x0.5 crit damage
+2x multicrit
Download
Enchanted Gear v1
1656
lvl: 69
ID:
237
Author:
Boekie
Rarity:
rare
Status:
Approved

Description:

An old, enchanted gear that increases speed and trigger chances.
Specials:
+20% attackspeed
+10% trigger chances
Download
Pendant of Mana Supremacy v1
1672
lvl: 49
ID:
216
Author:
cedi
Rarity:
unique
Status:
Approved

Description:

Even if this item isn't really valuable it is still very rare.
Specials:
Specials:
-38% attackspeed (+1%/lvl)
+100% mana regen (+1%/lvl)
Magical Greed
When the carrier of this item casts a spell it has a 20% chance to replenish 15% of it's mana. This ability has 10 seconds cooldown.

Level Bonus:
+0.6% mana replenish
Download

Toggle Triggers

On Item Creation

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

On Spell Cast

goldcost: 1500
function onSpellCast takes Item itm returns nothing
    local Tower T = itm.getCarrier()
    local unit t = T.getUnit()
    
    if not ( Event.getAutocastType().getManacost() > 0.45 ) then
        //No cheating
        return
    endif
    
    if itm.userInt / 25 + 10.0 <= Game.getGameTime() / 25 then
    
        if T.calcChance( 0.2 ) then
            call SetUnitState( t, UNIT_STATE_MANA, GetUnitState( t, UNIT_STATE_MANA ) + GetUnitState( t, UNIT_STATE_MAX_MANA ) * ( 0.15 + T.getLevel() * 0.006 ) )
            call DestroyEffect( AddSpecialEffect( "Abilities\\Spells\\Undead\\ReplenishMana\\ReplenishManaCasterOverhead.mdl", GetUnitX( t ), GetUnitY( t ) ) )
            set itm.userInt = Game.getGameTime()
        endif
    endif
    set t = null
endfunction
Scepter of the Lunar Light v1
1708
lvl: 71
ID:
49
Author:
drol
Rarity:
rare
Status:
Approved

Description:

Faintly glows in the dark.
Specials:
+50% dmg to magical
+12% spell crit chance
Download