Blaster Staff v1 60
lvl: 0
|
ID: 218
Author: cedi
Rarity: uncommon
Status: Approved
|
Blasting Attack
The staff launches a magical missile each second which deals 60 spelldamage. The staff has a range of 1000. |
Download
Toggle Triggers Header
goldcost: 0
globals
ProjectileType PT
endglobals
function Collision takes Projectile P, Unit targ returns nothing
call P.getCaster().doSpellDamage( targ, 60.00, P.getCaster().calcSpellCritNoBonus() )
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 PT = ProjectileType.create( "Abilities\\Weapons\\DruidoftheTalonMissile\\DruidoftheTalonMissile.mdl", 4.00, 1400.00 )
call PT.enableHoming( Collision, 0.00 )
endfunction
Periodic
PERIODIC_period: 1.00
goldcost: 60
function periodic takes Item itm returns nothing
local Unit U = itm.getCarrier()
local Iterate I = Iterate.overUnitsInRangeOfUnit( U, TARGET_CREEPS, U, 1000.00 )
local Unit T = I.next()
if T != 0 then
call Projectile.createFromUnitToUnit( PT, U, 1.00, U.calcSpellCritNoBonus(), U, T, true, false, false )
call I.destroy()
endif
endfunction
|
Golden Trident v2 60
lvl: 0
|
ID: 249
Author: Boekie
Rarity: unique
Status: Approved
|
Description: Whenever this magical trident makes a devastating hit it creates some gold.
Golden Hit
Grants 2 gold for each multicrit on a critical attack. Gold gain is base attack speed adjusted and scales with bounty received.
|
Download
Toggle Triggers Header
goldcost: 0
globals
MultiboardValues MB
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
set MB = MultiboardValues.create( 0 )
call MB.setKey( 1, "Golden Trident" )
endfunction
On Attack
ONATTACK_chance: 1.0
ONATTACK_chanceLevelAdd: 0.0
goldcost: 60
function onAttack takes Item itm returns nothing
local Tower tower = itm.getCarrier()
local real goldBonus = 2.0
if tower.getNumberOfCrits() > 0 then
set goldBonus = goldBonus * tower.getNumberOfCrits() * tower.getBaseAttackspeed() * tower.getProp_BountyReceived()
call tower.getOwner().giveGold(goldBonus, tower.getUnit(), true, true)
set itm.userReal = itm.userReal + goldBonus
endif
endfunction
On Item Creation
goldcost: 0
function onCreate takes Item itm returns nothing
set itm.userReal = 0.00
endfunction
On Tower Details
goldcost: 0
function onTowerDetails takes Item itm returns MultiboardValues
call MB.setValue( 0, formatFloat( itm.userReal, 1 ) )
return MB
endfunction
|
Ancient Inscribed Bark v3 63
lvl: 0
|
ID: 84
Author: drol
Rarity: uncommon
Status: Approved
|
Description: Increases the tower's damage against magical.
Specials:
+5 dps +20% dmg to magical |
Download
|
Blessed Holy Scepter v2 63
lvl: 0
|
ID: 85
Author: drol
Rarity: uncommon
Status: Approved
|
Description: Increases the tower's damage against undead.
Specials:
+5 dps +20% dmg to undead |
Download
|
Blunderbuss Rifle v2 63
lvl: 0
|
ID: 86
Author: drol
Rarity: uncommon
Status: Approved
|
Description: Increases the tower's damage against human creeps.
Specials:
+5 dps +20% dmg to humanoids |
Download
|
Thick Tree Branch v2 63
lvl: 0
|
ID: 87
Author: drol
Rarity: uncommon
Status: Approved
|
Description: Increases the tower's damage against orcs.
Specials:
+5 dps +20% dmg to orcs |
Download
|
Undead Spiked Claws v2 63
lvl: 0
|
ID: 88
Author: drol
Rarity: uncommon
Status: Approved
|
Description: Increases the tower's damage against nature.
Specials:
+5 dps +20% dmg to nature |
Download
|
Description: