Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 1900
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1500
[moveHeight] => 150
[file] => units\undead\Gargoyle\Gargoyle.mdl
[manaN] => 50
[atkType1] => hero
[dmgpt1] => 0.633
[modelScale] => 0.65
[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] => Nightmarish 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] => 1860
[bldtm] => 1
)
[settings] => Array
(
[author] => DaveMatthews
[element] => darkness
[authorDisplay] => DaveMatthews
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => rare
[version] => 1.0
[abil_factor] => 0.775
)
[effects] => Array
(
[0] => Array
(
[x] => 33.8209
[y] => 18.8979
[z] => 0
[scale] => 0.3
[rot] => 3.83973
[file] => Doodads\Cityscape\Props\CityGrave\CityGrave0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => 31.8113
[y] => -26.5601
[z] => 0
[scale] => 0.3
[rot] => 3.10669
[file] => Doodads\Cityscape\Props\CityGrave\CityGrave0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => 2.28549
[y] => 41.8581
[z] => 0
[scale] => 0.5
[rot] => 4.71239
[file] => Doodads\Northrend\Props\NorthrendFenceStraight\NorthrendFenceStraight.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => -18.3852
[y] => -0.761073
[z] => 0
[scale] => 0.2
[rot] => 4.97419
[file] => Environment\BlightDoodad\BlightDoodad.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => 54.4176
[y] => -6.20533
[z] => 0
[scale] => 0.5
[rot] => 0.000000476837
[file] => Doodads\Northrend\Props\NorthrendFenceStraight\NorthrendFenceStraight.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => -45.0567
[y] => 17.4833
[z] => 0
[scale] => 0.4
[rot] => 0.523599
[file] => Doodads\Cityscape\Props\CityGrave\CityGrave3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => -37.9276
[y] => -46.4216
[z] => 0
[scale] => 0.5
[rot] => 1.50098
[file] => Doodads\Cityscape\Props\CityGrave\CityGrave1.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.006*level)
else
set Event.damage = Event.damage*(0.5+0.003*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.6%|r damage during night |r|n|cffFFFF80+0.3%|r damage during day
)
)
[2] => Array
(
[name] => Header
[code] => globals
//@import
BuffType dave_darkness
//@import
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
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(), 1650+(45*level), tower.calcSpellCritNoBonus())
else
call dave_bats.targetCastFromCaster(tower, Event.getTarget(), 550+(15*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 |cffFFFF801650|r spell damage at nighttime or |cffFFFF80550|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+45|r damage during night |r|n|cffFFFF80+15|r damage during day
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => false
[category] => global
[typ] => BuffType
[name] => dave_darkness
)
[1] => Array
(
[export] => false
[category] => global
[typ] => Cast
[name] => dave_bats
)
)
)