Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Glaive of Surpreme Follow Up
[Art] => ReplaceableTextures\CommandButtons\BTNUpgradeMoonGlaive.blp
[Ubertip] => Never ever be frustrated again because there is just no follow up damage.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => cedi
[authorDisplay] => cedi
[balanceTip] => Array
(
)
[rarity] => unique
[goldcost] => 2100
[version] => 1.0
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType BT
endglobals
function attack takes Buff B returns nothing
local Tower t = B.getBuffedUnit()
if B.userInt == 0 then
call t.addModifiedAttackCrit( 0.00, 0.5 + t.getLevel() / 100.0 )
call B.removeBuff()
else
set B.userInt = 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
local Modifier mod = Modifier.create()
call mod.addModification( MOD_ATTACKSPEED, 3.0, 0.04 )
set BT = BuffType.create( 30.0, 0.0, true )
call BT.setBuffIcon( '@@0@@' )
call BT.setBuffModifier( mod )
call BT.addEventOnAttack( attack, 1.0, 0.0 )
endfunction
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[1] => Array
(
[name] => On Attack
[code] => local Buff B = BT.apply( itm.getCarrier(), itm.getCarrier(), itm.getCarrier().getLevel() )
set B.userInt = 1
[values] => Array
(
[visible] => true
[name] => Follow Up
[goldcost] => 2100
[explain] => Whenever this tower attacks it has a |cffFFFF8010%|r chance to gain |cffFFFF80300%|r attackspeed until next attack. The next attack will crit for sure but deals |cffFFFF8050%|r less crit damage.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r chance|n|cffFFFF80+4%|r attackspeed|n|cffFFFF80+1%|r crit damage
[ONATTACK_chance] => 0.1
[ONATTACK_chanceLevelAdd] => 0.004
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHfs
[oeValues] => Array
(
[Bufftip] => Glaive of Surpreme Follow Up
[Targetattach] => head
[Buffubertip] => This tower has massive attackspeed until its next attack.
[Targetattachcount] => 1
[Buffart] => ReplaceableTextures\CommandButtons\BTNUpgradeMoonGlaive.blp
[TargetArt] => Array
(
)
[EditorName] => Glaive of Surpreme Follow Up
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)