Overcharge Shot v1 800
lvl: 21
|
ID: 215
Author: cedi
Rarity: unique
Status: Approved
|
Overcharge Shot
This tower's attack continues for 350 units through the main target, dealing 35% of the tower's attack damage to any creep in its path. Level Bonus: +0.6% damage |
Download
Toggle Triggers Header
goldcost: 0
globals
ProjectileType PT
endglobals
function PT_Hit takes Projectile P, Unit U returns nothing
local Tower T
if U.getUID() != P.userInt then
//Not the original target
set T = P.getCaster()
call T.doAttackDamage( U, P.userReal, T.calcAttackMulticrit( 0, 0, 0 ) )
endif
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.createRanged( "Abilities\\Spells\\Other\\Incinerate\\FireLordDeathExplode.mdl", 350.00, 1000.00 )
call PT.enableCollision( PT_Hit, 75.0, TARGET_CREEPS, false )
endfunction
On Damage
ONDAMAGE_chance: 1.0
goldcost: 800
ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Item itm returns nothing
local real angle
local Creep C
local Tower T
local Projectile P
if Event.isMainTarget() then
set T = itm.getCarrier()
set C = Event.getTarget()
set angle = bj_RADTODEG * Atan2( C.getY() - T.getY(), C.getX() - T.getX() )
set P = Projectile.createFromUnit( PT, T, C, angle, 1.0, 1.0 )
set P.userInt = C.getUID()
set P.userReal = T.getCurrentAttackDamageWithBonus() * ( 0.35 + 0.006 * T.getLevel() )
endif
endfunction
|
Troll Voodoo Mask v1 831
lvl: 62
|
ID: 107
Author: Neotopia
Rarity: common
Status: Approved
|
Description: Still contains the magic of the medicine man who once carried this mask.
Specials:
+30% mana +30% mana regen |
Download
|
Golden Decoration v1 851
lvl: 23
|
ID: 61
Author: Boekie
Rarity: unique
Status: Approved
|
Description: This decoration is so expensive that it is only used by kings.
Specials:
+10% bounty collected (+0.4%/lvl)
Rich
Whilst carried by a tower, this item increases the interest rate of the player by [0.4 x carrier's goldcost / 2500]%.
|
Download
Toggle Triggers Header
goldcost: 0
globals
MultiboardValues InterestBonusMB
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 InterestBonusMB = MultiboardValues.create(1)
call InterestBonusMB.setKey(0,"Interest Bonus")
endfunction
On Item Creation
goldcost: 0
function onCreate takes Item itm returns nothing
set itm.userReal = 0
endfunction
On Item Drop
goldcost: 0
function onDrop takes Item itm returns nothing
call itm.getOwner().modifyInterestRate(-itm.userReal)
endfunction
On Item Pickup
goldcost: 750
function onPickup takes Item itm returns nothing
local Tower tower = itm.getCarrier()
set itm.userReal = 0.004 * (tower.getGoldcost() / 2500.0)
call itm.getOwner().modifyInterestRate(itm.userReal)
endfunction
On Tower Details
goldcost: 0
function onTowerDetails takes Item itm returns MultiboardValues
call InterestBonusMB.setValue(0, formatPercent(itm.userReal, 3))
return InterestBonusMB
endfunction
|
Wizard Staff v1 873
lvl: 49
|
ID: 6
Author: Boekie
Rarity: uncommon
Status: Approved
|
Description: This magical staff increases the mana capacity of the tower.
Specials:
+50% mana (+1%/lvl) |
Download
|
Flaming Arrow v1 873
lvl: 49
|
ID: 55
Author: Boekie
Rarity: uncommon
Status: Approved
|
Description: This flaming arrow boosts the user's damage.
Specials:
+10% attackspeed (+0.5%/lvl) +x0.1 crit damage |
Download
|
Hermit Staff v1 873
lvl: 49
|
ID: 235
Author: ShyGnome
Rarity: uncommon
Status: Approved
|
Description: A basic staff that strengthens the presence of supportive spells.
Specials:
+12.5% mana regen +33% buff duration |
Download
|
Mini Furbolg v1 875
lvl: 24
|
ID: 240
Author: cedi
Rarity: unique
Status: Approved
|
Description: Every kid wants one.
Rampage
On each attack the carrier has a 14% attack speed adjusted chance to go into a rampage increasing its attack speed by 25%, multicrit count by 1, crit damage by x0.40 and crit chance by 5% for 4 seconds. Can't retrigger during the buff. Level Bonus: +0.08 seconds duration +0.4% attack speed |
Download
Toggle Triggers Header
goldcost: 875
globals
BuffType BT
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_MULTICRIT_COUNT, 1.00, 0.00 )
call m.addModification( MOD_ATTACKSPEED, 0.25, 0.004 )
call m.addModification( MOD_ATK_CRIT_CHANCE, 0.05, 0.00 )
call m.addModification( MOD_ATK_CRIT_DAMAGE, 0.40, 0.00 )
set BT = BuffType.create( 4.00, 0.08, true )
call BT.setBuffIcon( '@@0@@' )
call BT.setBuffModifier( m )
endfunction
On Attack
goldcost: 0
ONATTACK_chance: 1.0
ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Item itm returns nothing
local Tower tower = itm.getCarrier()
if not ( tower.getBuffOfType( BT ) != 0 ) and tower.calcChance(0.14*tower.getBaseAttackspeed()) then
call BT.apply( tower, tower, tower.getLevel() )
endif
endfunction
|
Description: