Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 900
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1500
[moveHeight] => 120
[file] => units\undead\Gargoyle\Gargoyle.mdl
[manaN] => 50
[atkType1] => hero
[dmgpt1] => 0.633
[modelScale] => 0.6
[weapTp1] => missile
[acquire] => 900
[rangeN1] => 900
[upgrades] => Array
(
)
[cool1] => 1.2
[Ubertip] => Like a bat out of hell I'll be gone when the morning comes!
[backSw1] => 0.7
[green] => 100
[regenMana] => 1.5
[abilList] => Array
(
)
[Name] => Hell Bat
[Missileart] => Abilities\Weapons\GargoyleMissile\GargoyleMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNGargoyle.blp
[red] => 100
[buildingShadow] => Array
(
)
[blue] => 100
[unitSound] => Gargoyle
[turnRate] => 3
[sides1] => 1
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 909
[bldtm] => 1
)
[settings] => Array
(
[author] => DaveMatthews
[element] => darkness
[authorDisplay] => DaveMatthews
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => rare
[version] => 1.0
[abil_factor] => 0.8
)
[effects] => Array
(
[0] => Array
(
[x] => 52.0672
[y] => -10.3166
[z] => 0
[scale] => 0.5
[rot] => 3.83973
[file] => Doodads\Cityscape\Props\CityGrave\CityGrave1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => 18.2217
[y] => 36.0595
[z] => 0
[scale] => 0.6
[rot] => 4.7473
[file] => Doodads\Northrend\Props\NorthrendTombstone\NorthrendTombstone1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => -18.3852
[y] => -0.761073
[z] => 0
[scale] => 0.5
[rot] => 4.97419
[file] => Environment\BlightDoodad\BlightDoodad.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => -46.8429
[y] => -25.0712
[z] => 0
[scale] => 1
[rot] => 0.523599
[file] => Doodads\LordaeronSummer\Props\PeasantGrave\PeasantGrave2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Tower Creation
[code] => call AddUnitAnimationProperties(tower.getUnit(), "stand alternate", false)
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => local real time = GetFloatGameState(GAME_STATE_TIME_OF_DAY)
local integer level = tower.getLevel()
if time >= 18.00 or time < 6.00 or tower.getBuffOfType(dave_darkness)!=0 then
set Event.damage = Event.damage*(1.5+0.004*level)
else
set Event.damage = Event.damage*(0.5+0.002*level)
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[icon] => ReplaceableTextures\CommandButtons\BTNPossession.blp
[visible] => true
[name] => Creature of the Night
[short_explain] => Deals more damage during night and less damage during day.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => This tower deals |cffFFFF80150%|r damage during nighttime and |cffFFFF8050%|r damage during daytime. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r damage during night |r|n|cffFFFF80+0.2%|r damage during day
)
)
[2] => Array
(
[name] => Header
[code] => globals
//@export
BuffType dave_darkness
//@export
Cast dave_bats
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
set dave_darkness = BuffType.create(5,0,true)
call dave_darkness.setBuffIcon( '@@2@@' )
set dave_bats = Cast.create( '@@0@@', "carrionswarm", 3.0 )
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[3] => Array
(
[name] => Autocast
[code] => call dave_darkness.apply(tower,tower,tower.getLevel())
[values] => Array
(
[caster_art] => Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
[icon] => ReplaceableTextures\CommandButtons\BTNOrbOfDarkness.blp
[AUTOCAST_cooldown] => 6
[AUTOCAST_numBuffsBeforeIdle] => 1
[AUTOCAST_isExtended] => false
[long_explain] => This tower engulfs itself in darkness, gaining power as if it's night for |cffFFFF805|r seconds.
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_BUFF
[AUTOCAST_manacost] => 45
[AUTOCAST_range] => 0
[AUTOCAST_buffType] => dave_darkness
[name] => Engulfing Darkness
[AUTOCAST_targetSelf] => true
[short_explain] => Engulfs itself in darkness.
[AUTOCAST_targetType] => TARGET_TYPE_TOWERS
[target_art] =>
[AUTOCAST_autoRange] => 0
)
)
[4] => Array
(
[name] => On Attack
[code] => local real time = GetFloatGameState(GAME_STATE_TIME_OF_DAY)
local integer level = tower.getLevel()
if time >= 18.00 or time < 6.00 or tower.getBuffOfType(dave_darkness)!=0 then
call dave_bats.targetCastFromCaster(tower, Event.getTarget(), 600+(15*level), tower.calcSpellCritNoBonus())
else
call dave_bats.targetCastFromCaster(tower, Event.getTarget(), 200+(5*level), tower.calcSpellCritNoBonus())
endif
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNLocustSwarm.blp
[visible] => true
[name] => Bat Swarm
[short_explain] => Has a chance to launch a swarm of bats to the enemies.
[ONATTACK_chance] => 0.15
[ONATTACK_chanceLevelAdd] => 0.002
[long_explain] => This tower has a |cffFFFF8015%|r chance on attack to release a swarm of bats, dealing |cffFFFF80600|r spell damage at nighttime or |cffFFFF80200|r spell damage at daytime to all enemies in a cone. The cone grows from a |cffFFFF80100|r AoE radius at the start to a |cffFFFF80300|r AoE radius at the end. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2%|r chance |r|n|cffFFFF80+15|r damage during night |r|n|cffFFFF80+5|r damage during day
)
)
)
[abilities] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => AUcs
[oeValues] => Array
(
[Name] => Bat Swarm
[Art] => ReplaceableTextures\CommandButtons\BTNCarrionSwarm.blp
[hero] => 0
[levels] => 1
[Missilespeed] => 1400
[targs1] => air,enemies,ground
[Rng1] => 99999
[Cost1] => 0
[DataA1] => 1
[DataB1] => 99999
[BuffID1] => @@1@@
)
)
)
[buffs] => Array
(
[0] => Array
(
[id] => @@1@@
[derivedFrom] => BUcs
[oeValues] => Array
(
[Buffart] => Array
(
)
[EditorName] => Bat Swarm
)
)
[1] => Array
(
[id] => @@2@@
[derivedFrom] => Binf
[oeValues] => Array
(
[Targetattach1] => hand,left
[Bufftip] => Engulfing Darkness
[Targetattach] => chest
[Buffubertip] => This unit is engulfed in darkness.
[Targetattachcount] => 3
[Targetattach2] => hand,right
[Buffart] => ReplaceableTextures\CommandButtons\BTNOrbOfDarkness.blp
[TargetArt] => Doodads\LordaeronSummer\Props\SmokeSmudge\SmokeSmudge0.mdl
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => dave_darkness
)
[1] => Array
(
[export] => true
[category] => global
[typ] => Cast
[name] => dave_bats
)
)
)