Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Mana Stone
[Art] => ReplaceableTextures\CommandButtons\BTNManaStone.blp
[Ubertip] => The stone radiates with energy.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => F12ight
[authorDisplay] => |cff00bfffF12ight|r
[balanceTip] => Array
(
)
[rarity] => rare
[goldcost] => 800
[version] => 1.0
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Item Pickup
[code] => set itm.userInt = 0
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType fright_mana_aura
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 fright_mana_aura = BuffType.createAuraEffectType(true)
call m.addModification(MOD_MANA_REGEN_PERC,0.075,0)
call fright_mana_aura.setBuffModifier(m)
call fright_mana_aura.setBuffIcon('@@0@@')
endfunction
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[2] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[visible] => true
[AURA_levelAdd] => 1
[AURA_targetType] => TARGET_TYPE_TOWERS
[AURA_auraRange] => 200
[name] => Mana Aura
[AURA_powerAdd] => 1
[AURA_targetSelf] => true
[goldcost] => 600
[AURA_auraEffect] => fright_mana_aura
[AURA_power] => 0
[explain] => Increases mana regeneration of all towers in |cffFFFF80200|r range of the carrier by |cffFFFF807.5%|r.
[AURA_level] => 0
)
)
[3] => Array
(
[name] => On Attack
[code] => set itm.userInt = itm.userInt +1
if itm.userInt == 3 then
call itm.getCarrier().addManaPerc(0.01)
set itm.userInt = 0
endif
[values] => Array
(
[visible] => true
[name] => Mana Charge
[goldcost] => 0
[explain] => On every |cffFFFF803rd|r attack the carrier regenerates |cffFFFF801%|r of its maximum mana.
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
)
)
[4] => Array
(
[name] => On Kill
[code] => local Tower tower = itm.getCarrier()
call tower.addManaPerc(0.03)
call Effect.createScaled("Abilities\\Spells\\Undead\\ReplenishMana\\SpiritTouchTarget.mdl", tower.getX(), tower.getY(), 10.0, 0, 1.2).destroy()
[values] => Array
(
[visible] => true
[name] => Absorb
[goldcost] => 200
[explain] => Whenever the carrier kills a creep it regenerates |cffFFFF803%|r of its maximum mana.
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bbsk
[oeValues] => Array
(
[Targetattach1] => Array
(
)
[Bufftip] => Mana Aura
[Targetattach] => Array
(
)
[Buffubertip] => This unit is under the effect of Mana Aura; it has additional mana regeneration.
[Targetattachcount] => 0
[Buffart] => ReplaceableTextures\CommandButtons\BTNManaStone.blp
[TargetArt] => Array
(
)
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)