Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Mini Furbolg
[Art] => ReplaceableTextures\CommandButtons\BTNFurbolgElder.blp
[Ubertip] => Every kid wants one.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => cedi
[authorDisplay] => cedi
[balanceTip] => Array
(
)
[rarity] => unique
[goldcost] => 875
[version] => 1.0
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => 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
[values] => Array
(
[visible] => true
[name] => Rampage
[goldcost] => 875
[explain] => On each attack the carrier has a |cffFFFF8014%|r attack speed adjusted chance to go into a rampage increasing its attack speed by |cffFFFF8025%|r, multicrit count by |cffFFFF801|r, crit damage by |cffFFFF80x0.40|r and crit chance by |cffFFFF805%|r for |cffFFFF804|r seconds. Can't retrigger during the buff.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.08|r seconds duration|n|cffFFFF80+0.4%|r attack speed
)
)
[1] => Array
(
[name] => On Attack
[code] => 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
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHfs
[oeValues] => Array
(
[Targetattach1] => hand,right
[Bufftip] => Rampage
[Targetattach] => hand,left
[Buffubertip] => This tower has increased attack speed and multicrit count.
[Targetattachcount] => 2
[Buffart] => ReplaceableTextures\CommandButtons\BTNFurbolgElder.blp
[TargetArt] => Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl
[EditorName] => Rampage
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)