Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 350
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 900
[moveHeight] => 15
[file] => units\orc\SerpentWard\SerpentWard.mdl
[manaN] => 12
[atkType1] => pierce
[modelScale] => 0.6
[weapTp1] => missile
[acquire] => 800
[rangeN1] => 1050
[upgrades] => Array
(
)
[cool1] => 1.35
[Ubertip] => Lesser astral tower that buffs a nearby tower, increasing its mana regeneration, maximum mana and spell damage dealt.
[regenMana] => 1
[abilList] => Array
(
)
[Name] => Small Serpent Ward
[Missileart] => Abilities\Weapons\WitchDoctorMissile\WitchDoctorMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNSerpentWard.blp
[buildingShadow] => Array
(
)
[turnRate] => 0.6
[sides1] => 1
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 373
[bldtm] => 1
)
[settings] => Array
(
[author] => SirCoqaLot.
[element] => astral
[authorDisplay] => SirCoqaLot.
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => uncommon
[version] => 1.0
[abil_factor] => 0.85
)
[effects] => Array
(
[0] => Array
(
[x] => -0.100511
[y] => -3.79788
[z] => 0
[scale] => 1
[rot] => 1.82736
[file] => Doodads\Ruins\Props\RuinsTrash\RuinsTrash0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -10.8883
[y] => 11.9355
[z] => 0
[scale] => 1.45
[rot] => 0.000000976026
[file] => Doodads\Ruins\Props\RuinsTrash\RuinsTrash1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
//@export
BuffType sir_serpent_buff
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_MANA_PERC,0.0,0.001)
call m.addModification(MOD_MANA_REGEN_PERC,0.0,0.001)
call m.addModification(MOD_SPELL_DAMAGE_DEALT,0.0,0.0005)
set sir_serpent_buff = BuffType.create(0.0,0.0,true)
call sir_serpent_buff.setBuffIcon('@@0@@')
call sir_serpent_buff.setBuffModifier(m)
call sir_serpent_buff.setStackingGroup("sir_serpent_buff")
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => Autocast
[code] => if tower.getLevel()< 25 then
call sir_serpent_buff.applyAdvanced(tower,Event.getTarget(),1+tower.getLevel(),100+tower.getLevel()*6,5)
else
call sir_serpent_buff.applyAdvanced(tower,Event.getTarget(),1+tower.getLevel(),100+tower.getLevel()*6,10)
endif
[values] => Array
(
[caster_art] =>
[icon] => ReplaceableTextures\CommandButtons\BTNWindSerpent.blp
[AUTOCAST_cooldown] => 5
[AUTOCAST_numBuffsBeforeIdle] => 1
[AUTOCAST_isExtended] => false
[long_explain] => Increases the target's maximum mana by |cffFFFF8010%|r, its mana regeneration by |cffFFFF8010%|r and its spell damage by |cffFFFF805%|r. The buff lasts |cffFFFF805|r seconds. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r mana regeneration |n|cffFFFF80+0.6%|r mana |n|cffFFFF80+0.3%|r spell damage |n|cffffff80+5|r seconds duration at level |cffffff8025|r
[AUTOCAST_autocastType] => AC_TYPE_ALWAYS_BUFF
[AUTOCAST_manacost] => 10
[AUTOCAST_range] => 200
[AUTOCAST_buffType] => 0
[name] => Snake Charm
[AUTOCAST_targetSelf] => false
[short_explain] => This unit will increase nearby units mana, mana regeneration and spelldamage.
[AUTOCAST_targetType] => TARGET_TYPE_TOWERS
[target_art] =>
[AUTOCAST_autoRange] => 200
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bbar
[oeValues] => Array
(
[Bufftip] => Snake Charm
[Targetattach] => overhead
[Buffubertip] => This unit has increased mana regeneration, mana and spell damage.
[Buffart] => ReplaceableTextures\CommandButtons\BTNWindSerpent.blp
[TargetArt] => Abilities\Spells\Human\InnerFire\InnerFireTarget.mdl
[EditorName] => Voodoo Magic
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => sir_serpent_buff
)
)
)