Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNMannoroth.blp
[dmgplus1] => 1334
[bldtm] => 1
[goldcost] => 2900
[sides1] => 1
[manaN] => 100
[acquire] => 850
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => The Council of Demons
[weapTp1] => missile
[MissileHoming] => 1
[file] => buildings\other\BookOfSummoning\BookOfSummoning.mdl
[Missileart] => Abilities\Weapons\DemonHunterMissile\DemonHunterMissile.mdl
[Missilespeed] => 1300
[dice1] => 1
[RngBuff1] => 250
[regenMana] => 2
[modelScale] => 0.3
[rangeN1] => 850
[atkType1] => magic
[cool1] => 1
[Ubertip] => Every 1000 years, the most powerful demons meet in a council.
[abilList] => Array
(
)
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => Array
(
)
[abil_factor] => 0.4
[author] => DaveMatthews
[alpha] => 255
[authorDisplay] => DaveMatthews
[version] => 1.0
[element] => darkness
[rarity] => unique
)
[effects] => Array
(
[0] => Array
(
[x] => 37.044
[y] => 33.1871
[z] => 12.8
[scale] => 0.3
[rot] => 2.3562
[file] => Doodads\Icecrown\Terrain\IceCrownWall90\IceCrownWall904.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -45.9953
[y] => 34.4413
[z] => 12.8
[scale] => 0.3
[rot] => 0.785398
[file] => Doodads\Icecrown\Terrain\IceCrownWall90\IceCrownWall904.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => 37.3232
[y] => 33.1262
[z] => 89.6
[scale] => 0.3
[rot] => 2.3562
[file] => Doodads\Icecrown\Terrain\IceCrownWall90\IceCrownWall904.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => 53.9911
[y] => 14.8446
[z] => 19.2
[scale] => 0.3
[rot] => 1.50098
[file] => Doodads\Icecrown\Props\IceCrownPillar\IceCrownPillar0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => 19.8202
[y] => 50.4065
[z] => 19.2
[scale] => 0.3
[rot] => 1.50098
[file] => Doodads\Icecrown\Props\IceCrownPillar\IceCrownPillar0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => -46.7802
[y] => 35.1947
[z] => 89.6
[scale] => 0.3
[rot] => 0.785398
[file] => Doodads\Icecrown\Terrain\IceCrownWall90\IceCrownWall904.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => -63.4367
[y] => 17.4112
[z] => 19.2
[scale] => 0.3
[rot] => 1.50098
[file] => Doodads\Icecrown\Props\IceCrownPillar\IceCrownPillar0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[7] => Array
(
[x] => -30.0467
[y] => 50.5736
[z] => 19.2
[scale] => 0.3
[rot] => 1.50098
[file] => Doodads\Icecrown\Props\IceCrownPillar\IceCrownPillar0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[8] => Array
(
[x] => -53.2887
[y] => 15.415
[z] => 89.6
[scale] => 0.08
[rot] => 0
[file] => Doodads\Barrens\Props\HellscreamThrone\HellscreamThrone.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[9] => Array
(
[x] => -27.8393
[y] => 41.5542
[z] => 89.6
[scale] => 0.08
[rot] => 0
[file] => Doodads\Barrens\Props\HellscreamThrone\HellscreamThrone.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[10] => Array
(
[x] => -51.1512
[y] => 14.7323
[z] => 0
[scale] => 0.08
[rot] => 0
[file] => Doodads\Barrens\Props\HellscreamThrone\HellscreamThrone.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[11] => Array
(
[x] => -28.0198
[y] => 38.1807
[z] => 0
[scale] => 0.08
[rot] => 0
[file] => Doodads\Barrens\Props\HellscreamThrone\HellscreamThrone.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[12] => Array
(
[x] => 16.2442
[y] => 38.1807
[z] => 0
[scale] => 0.08
[rot] => 4.71239
[file] => Doodads\Barrens\Props\HellscreamThrone\HellscreamThrone.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[13] => Array
(
[x] => 40.8261
[y] => 13.8513
[z] => 0
[scale] => 0.08
[rot] => 4.71239
[file] => Doodads\Barrens\Props\HellscreamThrone\HellscreamThrone.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[14] => Array
(
[x] => 17.0997
[y] => 39
[z] => 83.2
[scale] => 0.08
[rot] => 4.71239
[file] => Doodads\Barrens\Props\HellscreamThrone\HellscreamThrone.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[15] => Array
(
[x] => 41.9689
[y] => 14.2915
[z] => 83.2
[scale] => 0.08
[rot] => 4.71239
[file] => Doodads\Barrens\Props\HellscreamThrone\HellscreamThrone.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[16] => Array
(
[x] => -3.97464
[y] => 61.829
[z] => 0
[scale] => 0.45
[rot] => 1.29154
[file] => Doodads\Icecrown\Props\IceCrownPillar\IceCrownPillar0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[17] => Array
(
[x] => 0.992227
[y] => -31.1603
[z] => 0
[scale] => 0.35
[rot] => 2.0944
[file] => units\demon\Warlock\Warlock.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[18] => Array
(
[x] => 36.6438
[y] => 9.12779
[z] => 0
[scale] => 0.12
[rot] => 4.10152
[file] => units\demon\Mannoroth\Mannoroth.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[19] => Array
(
[x] => -49.2882
[y] => 12.0259
[z] => 89.6
[scale] => 0.12
[rot] => 5.32326
[file] => units\demon\Mannoroth\Mannoroth.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[20] => Array
(
[x] => 10.634
[y] => 33.1107
[z] => 0
[scale] => 0.17
[rot] => 4.10152
[file] => units\demon\Demoness\Demoness.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[21] => Array
(
[x] => -46.1613
[y] => 9.12779
[z] => 0
[scale] => 0.17
[rot] => 5.32326
[file] => units\demon\Demoness\Demoness.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[22] => Array
(
[x] => 36.3806
[y] => 6.39015
[z] => 83.2
[scale] => 0.14
[rot] => 4.10152
[file] => units\undead\HeroDreadLord\HeroDreadLord.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[23] => Array
(
[x] => -23.2325
[y] => 33.96
[z] => 89.6
[scale] => 0.14
[rot] => 5.32326
[file] => units\undead\HeroDreadLord\HeroDreadLord.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[24] => Array
(
[x] => -23.2067
[y] => 33.3864
[z] => 0
[scale] => 0.17
[rot] => 5.32326
[file] => units\demon\EredarWarlockPurple\EredarWarlockPurple.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[25] => Array
(
[x] => 12.2806
[y] => 31.1015
[z] => 83.2
[scale] => 0.17
[rot] => 4.10152
[file] => units\demon\EredarWarlockPurple\EredarWarlockPurple.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[26] => Array
(
[x] => -62.935
[y] => -9.11571
[z] => 0
[scale] => 0.3
[rot] => 5.39307
[file] => Doodads\LordaeronSummer\Props\TorchHumanOmni\TorchHumanOmni.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[27] => Array
(
[x] => 53.7423
[y] => -9.11569
[z] => 0
[scale] => 0.3
[rot] => 5.16618
[file] => Doodads\LordaeronSummer\Props\TorchHumanOmni\TorchHumanOmni.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[28] => Array
(
[x] => 32.2952
[y] => -45.8728
[z] => 0
[scale] => 0.18
[rot] => 0.785398
[file] => Doodads\Icecrown\Terrain\IceCrownWall90\IceCrownWall904.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[29] => Array
(
[x] => -3.50855
[y] => 59.5592
[z] => 102.4
[scale] => 0.25
[rot] => 6.0912
[file] => Doodads\Ruins\Props\Brazier\Brazier0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[30] => Array
(
[x] => -30.8273
[y] => -45.8728
[z] => 0
[scale] => 0.18
[rot] => 2.3562
[file] => Doodads\Icecrown\Terrain\IceCrownWall90\IceCrownWall904.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[31] => Array
(
[x] => 0.960621
[y] => -59.3412
[z] => 0
[scale] => 0.18
[rot] => 3.14159
[file] => Doodads\Icecrown\Terrain\IceCrownWall90\IceCrownWall904.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
BuffType dave_cod
BuffType dave_maledict
BuffType dave_demonic_pray
BuffType dave_demonic_mana
ProjectileType dave_pray_projectile
endglobals
function dot takes Buff b returns nothing
local Tower T = b.getCaster()
local integer level = T.getLevel()
call T.doSpellDamage(b.getBuffedUnit(), 1000+(40*level), T.calcSpellCritNoBonus())
endfunction
function damageStore takes Buff b returns nothing
set b.userReal = b.userReal + Event.damage
endfunction
function damage takes Buff b returns nothing
local Tower T = b.getCaster()
local integer level = T.getLevel()
local Unit target = b.getBuffedUnit()
local real final = b.userReal*(0.75+(0.01*level))
call T.doSpellDamage(target, final, 1)
call SFXAtUnit("Abilities\\Spells\\Undead\\DeathCoil\\DeathCoilSpecialArt.mdl", target.getUnit())
call T.getTeam().displayFloatingText(I2S(R2I(final)), target,50,50,50)
endfunction
function maledicted takes Buff b returns nothing
local Tower tower = b.getCaster()
local Tower caster = Event.getTarget()
local Unit target = b.getBuffedUnit()
local integer gold = caster.getGoldcost()
if not target.isImmune() then
call tower.doSpellDamage(target,3*gold,tower.calcSpellCritNoBonus())
call SFXAtUnit("Abilities\\Spells\\Undead\\DeathandDecay\\DeathandDecayTarget.mdl", target.getUnit())
endif
endfunction
function pray takes Buff b returns nothing
local Tower tower = b.getCaster()
local Tower caster = b.getBuffedUnit()
local Unit target = Event.getTarget()
local Projectile p
local integer gold = caster.getGoldcost()
local real cd = Event.getAutocastType().getCooldown()
if target.isACreep() then
call SFXAtUnit("Abilities\\Spells\\Undead\\Sleep\\SleepSpecialArt.mdl", caster.getUnit())
set p = Projectile.createFromUnitToUnit(dave_pray_projectile, tower, cd*gold, 1, caster, target, true, false, true)
call dave_demonic_mana.apply(tower, caster, tower.getLevel())
endif
endfunction
function prayHit takes Projectile p, Unit creep returns nothing
local Tower tower = p.getCaster()
call tower.doSpellDamage(creep,2,tower.calcSpellCritNoBonus())
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
local Modifier m = Modifier.create()
local Modifier n = Modifier.create()
local Modifier o = Modifier.create()
set dave_cod = BuffType.create(5,0,false)
call dave_cod.setBuffModifier(n)
call n.addModification(MOD_MOVESPEED,-0.4,-0.006)
call n.addModification(MOD_ATK_DAMAGE_RECEIVED,-0.95,0)
call dave_cod.setBuffIcon( '@@0@@' )
call dave_cod.addPeriodicEvent(dot,1.0)
call dave_cod.addEventOnDamaged(EventHandler.damageStore,1,0)
call dave_cod.setEventOnExpire(EventHandler.damage)
set dave_maledict = BuffType.create(5,0,false)
call dave_maledict.setBuffModifier(m)
call m.addModification(MOD_SPELL_DAMAGE_RECEIVED,0.2,0.006)
call dave_maledict.setBuffIcon('@@1@@')
call dave_maledict.addEventOnSpellTarget(maledicted)
set dave_demonic_mana = BuffType.create(3,0,true)
call dave_demonic_mana.setBuffModifier(o)
call o.addModification(MOD_MANA_REGEN_PERC,1,0.02)
call dave_demonic_mana.setBuffIcon('@@3@@')
set dave_demonic_pray = BuffType.createAuraEffectType(true)
call dave_demonic_pray.setBuffIcon('@@2@@')
call dave_demonic_pray.addEventOnSpellCast(EventHandler.pray)
set dave_pray_projectile = ProjectileType.create("Abilities\\Weapons\\DemonHunterMissile\\DemonHunterMissile.mdl",4,1300)
call dave_pray_projectile.enableHoming(ProjectileTargetEvent.prayHit,0)
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => local Creep creep = Event.getTarget()
local integer level = tower.getLevel()
call dave_maledict.apply(tower, creep, level)
[values] => Array
(
[ONDAMAGE_chance] => 0.2
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNMetamorphosis.blp
[name] => Maledict
[short_explain] => Has a chance to maledict the attacked unit, dealing spell damage every time that unit is targeted by a spell.
[ONDAMAGE_chanceLevelAdd] => 0.004
[long_explain] => Whenever this tower damages a unit, it has a |cffFFFF8020%|r chance to increase the damage that unit receives from spells by |cffFFFF8020%|r for |cffFFFF805|r seconds. Every time the buffed unit is targeted by a spell this tower deals additional spell damage equal to |cffFFFF803|r times the caster goldcost to it. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r chance |n|cffFFFF80+0.6%|r spell damage received
)
)
[2] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 0
[visible] => true
[AURA_auraEffect] => dave_demonic_pray
[AURA_levelAdd] => 0
[AURA_power] => 1
[icon] => ReplaceableTextures\CommandButtons\BTNBansheeAdept.blp
[AURA_targetType] => TARGET_TYPE_TOWERS
[long_explain] => Whenever a tower in |cffFFFF80400|r range casts a spell on a creep, this tower fires a projectile from the casting unit to its current target, dealing |cffFFFF80[2 x caster goldcost x spell cd]|r spell damage. The casting tower also has its mana regeneration increased by |cffFFFF80100%|r for |cffFFFF803|r seconds. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+2%|r mana regeneration
[AURA_targetSelf] => true
[name] => Demonic Edict
[AURA_level] => 1
[short_explain] => Fires a projectile whenever a nearby tower casts a spell on a creep.
[AURA_auraRange] => 400
)
)
[3] => Array
(
[name] => Autocast
[code] => set dave_cod.apply(tower,Event.getTarget(),tower.getLevel()).userReal = 0
[values] => Array
(
[AUTOCAST_cooldown] => 8
[AUTOCAST_autoRange] => 850
[AUTOCAST_manacost] => 90
[icon] => ReplaceableTextures\CommandButtons\BTNSoulGem.blp
[AUTOCAST_range] => 850
[AUTOCAST_targetType] => TARGET_TYPE_CREEPS
[AUTOCAST_numBuffsBeforeIdle] => 1
[caster_art] =>
[long_explain] => Shrouds an enemy in darkness, slowing it by |cffFFFF8040%|r for |cffFFFF805|r seconds and reducing the damage it takes from attacks by |cffFFFF8095%|r. The affected unit takes |cffFFFF801000|r spell damage per second and additional spell damage equal to |cffFFFF8075%|r of the damage it received during the effect when the buff expires. This damage can't be a critical hit. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+40|r damage per second |n|cffFFFF80+1%|r damage on expire |n|cffFFFF80+0.8%|r slow
[target_art] => Abilities\Weapons\AvengerMissile\AvengerMissile.mdl
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_BUFF
[AUTOCAST_buffType] => dave_cod
[AUTOCAST_isExtended] => false
[name] => Impenetrable Darkness
[AUTOCAST_targetSelf] => false
[short_explain] => Makes the target take reduced attack damage and deals damage when the buff expires.
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHbn
[oeValues] => Array
(
[Targetattach] => overhead
[Targetattach1] => chest
[Targetattach2] => origin
[Buffubertip] => This unit is taking spell damage over time and takes reduced damage from attacks.
[Targetattach3] => hand,left
[Targetattachcount] => 5
[TargetArt] => Abilities\Weapons\AvengerMissile\AvengerMissile.mdl
[Targetattach4] => hand,right
[Bufftip] => Impenetrable Darkness
[Buffart] => ReplaceableTextures\CommandButtons\BTNSoulGem.blp
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => BHbn
[oeValues] => Array
(
[Targetattach] => chest
[Buffubertip] => This unit receives additional spell damage when targeted by a spell.
[TargetArt] => Abilities\Spells\Other\BlackArrow\BlackArrowMissile.mdl
[Targetattachcount] => 1
[Bufftip] => Maledict
[Buffart] => ReplaceableTextures\CommandButtons\BTNMetamorphosis.blp
)
)
[2] => Array
(
[id] => @@2@@
[derivedFrom] => BHbn
[oeValues] => Array
(
[Buffubertip] => This unit is affected by Demonic Edict.
[TargetArt] => Array
(
)
[Bufftip] => Demonic Edict
[Buffart] => ReplaceableTextures\CommandButtons\BTNBansheeAdept.blp
)
)
[3] => Array
(
[id] => @@3@@
[derivedFrom] => BHbn
[oeValues] => Array
(
[Buffubertip] => This unit has its mana regeneration increased.
[TargetArt] => Array
(
)
[Bufftip] => Demonic Edict
[Buffart] => ReplaceableTextures\CommandButtons\BTNBansheeAdept.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)