Mini Furbolg v1 875
lvl: 24
|
ID: 240
Author: cedi
Rarity: unique
Status: Approved
|
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:
Latest Upload Comment: