Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[Upgrade] => Array
(
)
[targs1] => ground,enemies,air
[splashTargs1] => ground,enemies,air
[goldcost] => 1600
[weapsOn] => 1
[dice1] => 1
[damageLoss1] => 0.1
[Missilespeed] => 1000
[targCount1] => 4
[file] => buildings\other\DragonBuildingBlack\DragonBuildingBlack.mdl
[atkType1] => chaos
[modelScale] => 0.4
[weapTp1] => mbounce
[Missilearc] => 0.4
[acquire] => 800
[rangeN1] => 800
[upgrades] => Array
(
)
[cool1] => 2
[Ubertip] => It's said that the black dragons are the reaper's mounts.
[Farea1] => 500
[abilList] => Array
(
)
[Name] => Black Dragon Roost
[Missileart] => Abilities\Weapons\AvengerMissile\AvengerMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNBlackDragonRoost.blp
[buildingShadow] => Array
(
)
[unitSound] => DragonRoost
[sides1] => 1
[uberSplat] => YTDB
[auto] => Array
(
)
[dmgplus1] => 1500
[bldtm] => 1
)
[settings] => Array
(
[author] => cedi
[element] => darkness
[authorDisplay] => DreamStrider
[alpha] => 255
[balanceTip] => |cffCCFF00Bounce attack:|n |cffFFFF004|r targets|n |cffFFFF00-10%|r damage per bounce
[rarity] => unique
[version] => 1.0
[abil_factor] => 0.7
)
[effects] => Array
(
[0] => Array
(
[x] => 13.3973
[y] => -24.8066
[z] => -6.4
[scale] => 0.5
[rot] => 2.50317
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock0.mdl
[red] => 160
[green] => 160
[blue] => 160
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => 0.859039
[y] => -0.890225
[z] => -12.8
[scale] => 0.6
[rot] => 0.591945
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock0.mdl
[red] => 160
[green] => 160
[blue] => 160
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => -17.4752
[y] => 4.29784
[z] => -51.2
[scale] => 1
[rot] => 0.349066
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock2.mdl
[red] => 160
[green] => 160
[blue] => 160
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => 17.7434
[y] => -21.085
[z] => -6.4
[scale] => 0.5
[rot] => 0.208764
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock2.mdl
[red] => 160
[green] => 160
[blue] => 160
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => 17.4987
[y] => -2.17485
[z] => -12.8
[scale] => 0.5
[rot] => 3.08547
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock0.mdl
[red] => 160
[green] => 160
[blue] => 160
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => 23.696
[y] => 28.4348
[z] => -19.2
[scale] => 0.5
[rot] => 5.10457
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock2.mdl
[red] => 160
[green] => 160
[blue] => 160
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => -9.44432
[y] => 41.1695
[z] => -19.2
[scale] => 0.5
[rot] => 2.01591
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock2.mdl
[red] => 160
[green] => 160
[blue] => 160
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[7] => Array
(
[x] => -4.90192
[y] => -0.164903
[z] => -19.2
[scale] => 0.6
[rot] => 5.06613
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock0.mdl
[red] => 160
[green] => 160
[blue] => 160
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[8] => Array
(
[x] => 16.9866
[y] => -49.8575
[z] => 0
[scale] => 0.4
[rot] => 4.92234
[file] => Doodads\LordaeronSummer\Props\SittingCorpse\SittingCorpse.mdl
[red] => 180
[green] => 180
[blue] => 180
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[9] => Array
(
[x] => 1.70946
[y] => -20.144
[z] => -25.6
[scale] => 1
[rot] => 3.01942
[file] => Abilities\Spells\Human\Banish\BanishTarget.mdl
[red] => 180
[green] => 180
[blue] => 180
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => call BT.apply( tower, Event.getTarget(), tower.getLevel() )
[values] => Array
(
[ONDAMAGE_chance] => 0.1
[icon] => ReplaceableTextures\CommandButtons\BTNOrbOfDarkness.blp
[visible] => true
[name] => Fear the Dark
[short_explain] => This tower has a chance to debuff damaged creeps, increasing the amount of damage they take.
[ONDAMAGE_chanceLevelAdd] => 0.004
[long_explain] => Whenever this tower damages a creep it has a |cffFFFF8010%|r chance to debuff it for |cffFFFF807|r seconds. Debuffed creeps take |cffFFFF8030%|r more damage. Each creep in |cffFFFF80500|r range decreases the effect by |cffFFFF8025%|r, creeps with this buff don't count. The effect on bosses is |cffFFFF8050%|r weaker.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r chance|n|cffFFFF80+0.28|r seconds duration|n|cffFFFF801.2%|r more damage taken
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType BT
endglobals
function startA takes Buff B returns nothing
local Unit U = B.getBuffedUnit()
local unit u = U.getUnit()
call SetUnitVertexColor( u, 125, 125, 125, 255 )
set u = null
endfunction
function clean takes Buff B returns nothing
local Unit U = B.getBuffedUnit()
local unit u = U.getUnit()
call SetUnitVertexColor( u, 255, 255, 255, 255 )
set u = null
endfunction
function dmg takes Buff B returns nothing
local Tower C = B.getCaster()
local Unit T = B.getBuffedUnit()
local real r = C.getLevel() * 0.012 + 0.30
local Iterate I = Iterate.overUnitsInRangeOfUnit( C, TARGET_CREEPS, T, 500.00 )
local Unit U
if T.getSize() >= SIZE_BOSS then
set r = r / 2.00
endif
loop
set U = I.next()
exitwhen U == 0
if U.getBuffOfType( BT ) != 0 then
set r = r * 0.75
endif
endloop
set Event.damage = Event.damage * ( 1.00 + r )
endfunction
//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 BT = BuffType.create( 7.0, 0.28, false )
call BT.setBuffIcon( '@@0@@' )
call BT.addEventOnCreate( startA )
call BT.addEventOnCleanup( clean )
call BT.addEventOnDamage( dmg, 1.00, 0.00 )
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHfs
[oeValues] => Array
(
[Bufftip] => Fear the Dark
[Targetattach] => origin
[Buffubertip] => This unit takes increased damage.
[Targetattachcount] => 1
[Buffart] => ReplaceableTextures\CommandButtons\BTNDeathAndDecay.blp
[TargetArt] => Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
[EditorName] => Fear the Dark
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)