Commander v1 612
lvl: 23
|
ID: 161
Author: SternBogen
Rarity: rare
Status: Approved
|
Attack!
Every attack there is a 2% attackspeed adjusted chance to issue an attack order. When this happens, all towers in 350 range gain +50% attack speed for 4 seconds. Level Bonus: +0.01% chance +0.1 seconds duration |
Download
Toggle Triggers Header
goldcost: 0
globals
BuffType stern_Commander_Attack
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 stern_Commander_Attack = BuffType.create(4.00, 0.1, true)
call stern_Commander_Attack.setBuffModifier(m)
call stern_Commander_Attack.setStackingGroup( "stern_Commander_Attack" )
call m.addModification(MOD_ATTACKSPEED,0.50,0)
// call m.addModification(MOD_DAMAGE_BASE_PERC,0.10,0)
call stern_Commander_Attack.setBuffIcon( '@@0@@' )
endfunction
On Attack
goldcost: 612
ONATTACK_chance: 1.0
ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Item itm returns nothing
local Tower tower = itm.getCarrier()
local Iterate in_range
local Tower nxt
local Playor spieler = tower.getOwner()
local real speed = tower.getBaseAttackspeed()
if tower.calcChance(speed * (0.02 + 0.001 * tower.getLevel())) then
call spieler.displayFloatingText("Attack!", tower, 255, 0, 0)
call SFXOnUnit("Abilities\\Spells\\NightElf\\BattleRoar\\RoarCaster.mdl",tower.getUnit(),"origin")
set in_range = Iterate.overUnitsInRangeOfCaster(tower,TARGET_TOWERS,350)
loop
set nxt = in_range.next()
exitwhen nxt == 0
call stern_Commander_Attack.applyCustomTimed(tower,nxt,tower.getLevel(), 4 + 0.2 * tower.getLevel())
endloop
endif
// method displayFloatingText takes string whichText, Unit whichUnit, integer red, integer green, integer blue returns nothing
endfunction
|
Zombie Head v1 613
lvl: 33
|
ID: 52
Author: Boekie
Rarity: uncommon
Status: Approved
|
Description: This evil zombie head gives the user enormous powers but it decreases the user's sight.
Specials:
+75% damage (+1%/lvl) -50% item chance |
Download
|
Battle Suit v1 617
lvl: 33
|
ID: 51
Author: Boekie
Rarity: uncommon
Status: Approved
|
Description: This battle suit improves combat skills. It becomes stronger when the user becomes stronger.
Specials:
+0.6% attackspeed/lvl +1% damage/lvl |
Download
|
Tooth Trophy v2 623
lvl: 45
|
ID: 164
Author: drol
Rarity: common
Status: Approved
|
Description: Serving as proof of merit, this item displays the courage of the owner.
Specials:
+450dps
|
Download
|
Combat Gloves v1 624
lvl: 34
|
ID: 20
Author: Boekie
Rarity: uncommon
Status: Approved
|
Description: These gloves are used by the most famous human warriors.
Specials:
+40% dmg to undead (+0.8%/lvl) +40% dmg to orcs (+0.8%/lvl) |
Download
|
Sign of Energy Infusion v1 630
lvl: 24
|
ID: 156
Author: cedi
Rarity: rare
Status: Approved
|
Description: This sign is able to infuse attacks with regeneration.
Infuse with Regeneration
Every 5th time the carrier of this item deals damage, the damage is increased by its percentual mana regeneration.
|
Download
Toggle Triggers On Damage
ONDAMAGE_chance: 1.0
goldcost: 630
ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Item itm returns nothing
local Tower C = itm.getCarrier()
local real regen = 2.0 + C.getProp_ManaRegPercBonus()
set itm.userInt = itm.userInt + 1
if itm.userInt >= 5 then
set Event.damage = Event.damage * regen
set itm.userInt = 0
call C.getOwner().displaySmallFloatingText( I2S( R2I( Event.damage ) ), C, 255, 0, 255, 40.0 )
endif
endfunction
On Item Creation
goldcost: 0
function onCreate takes Item itm returns nothing
set itm.userInt = 0
endfunction
|
Claws of Attack v1 632
lvl: 46
|
ID: 2
Author: Boekie
Rarity: common
Status: Approved
|
Description: Increases attackdamage
Specials:
+25% damage
|
Download
|
Description: