Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Magnetic Field
[Art] => ReplaceableTextures\CommandButtons\BTNWispSplode.blp
[Ubertip] => Increases buff duration and debuff resistance of nearby towers.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => DaveMatthews
[authorDisplay] => DaveMatthews
[balanceTip] => Array
(
)
[rarity] => rare
[goldcost] => 1000
[version] => 1.0
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType dave_magnetic
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()
set dave_magnetic = BuffType.createAuraEffectType(true)
call m.addModification(MOD_BUFF_DURATION,0.1,0)
call m.addModification(MOD_DEBUFF_RESISTANCE,0.15,0)
call dave_magnetic.setBuffModifier(m)
call dave_magnetic.setBuffIcon('@@0@@')
endfunction
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 500
[explain] =>
)
)
[1] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[visible] => true
[AURA_levelAdd] => 0
[AURA_targetType] => TARGET_TYPE_TOWERS
[AURA_auraRange] => 200
[name] => Magnetic Field
[AURA_powerAdd] => 0
[AURA_targetSelf] => true
[goldcost] => 500
[AURA_auraEffect] => dave_magnetic
[AURA_power] => 1
[explain] => Grants |cffFFFF80+10%|r buff duration and |cffFFFF8015%|r debuff resistance to all towers within |cffFFFF80200|r range.
[AURA_level] => 1
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Bufftip] => Magnetic Field
[Targetattach] => Array
(
)
[Buffubertip] => This unit has its buff duration and debuff resistance increased.
[Buffart] => ReplaceableTextures\CommandButtons\BTNWispSplode.blp
[TargetArt] => Array
(
)
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)