Sewer Connection v1
200
|
ID: 654
Family ID:
Author: D1000
Rarity: uncommon
Element: iron
Attack Type: Essence
Attack Range: 800
Attack CD: 1.2
Damage: 163-163
Abil. Factor: 0.624
Status: Approved
|
Specials:
-60% dmg to undead +60% dmg to nature (+2%/lvl)
Toxic Vapor
On attack, has a 30% chance to apply a buff that deals 200 spell damage per second that lasts for 10 seconds. Level Bonus: +8 damage per second. |
Download
Toggle Triggers Header globals
//@export
BuffType D1000_Toxic_vapor
endglobals
function D1000_Toxic_Damage takes Buff b returns nothing
call b.getCaster().doSpellDamage(b.getBuffedUnit(),b.getLevel()/10,b.getCaster().calcSpellCritNoBonus())
endfunction
private function init takes nothing returns nothing
set D1000_Toxic_vapor = BuffType.create(10,0,false)
call D1000_Toxic_vapor.setBuffIcon('@@0@@')
call D1000_Toxic_vapor.addPeriodicEvent(EventHandler.D1000_Toxic_Damage,1)
endfunction
On Attack
ONATTACK_chance: 0.30
ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Tower tower returns nothing
call D1000_Toxic_vapor.apply(tower,Event.getTarget(),R2I(tower.getLevel()*80+2000))
endfunction
|
Description:
Latest Upload Comment: