Broken Fire Pit v1
70
|
ID: 555
Family ID:
Author: Boekie
Rarity: common
Element: fire
Attack Type: Decay
Attack Range: 800
Attack CD: 0.9
Damage: 57-57
Abil. Factor: 0.92
Status: Approved
|
Specials:
2x multicrit
Hot Coals
Whenever this tower kills a creep it gains 15% bonus crit chance for 7.5 seconds. Level Bonus: +0.05 sec duration +0.3% crit chance |
Download
Toggle Triggers Header globals
//@export
BuffType boekie_coals_buff
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_ATK_CRIT_CHANCE,0.15,0.001)
set boekie_coals_buff = BuffType.create(0.0,0.0,true) //0.0 time since I will apply it custom timed
call boekie_coals_buff.setBuffModifier(m)
call boekie_coals_buff.setBuffIcon('@@0@@')
call boekie_coals_buff.setStackingGroup("boekie_coals")
endfunction
On Kill function onKill takes Tower tower returns nothing
local integer lvl = tower.getLevel()
call boekie_coals_buff.applyCustomTimed(tower,tower,lvl*3,7.5+0.05*lvl)
endfunction
|
Description:
Latest Upload Comment: