Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_HolyNova.blp
[dmgplus1] => 948
[bldtm] => 1
[goldcost] => 4000
[unitSound] => AltarOfKings
[sides1] => 1
[manaN] => 200
[launchZ] => 210
[acquire] => 1000
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Sceptre of God
[weapTp1] => missile
[file] => .mdl
[MissileHoming] => 1
[uberSplat] => YTDO
[Missilespeed] => 2000
[Missileart] => Abilities\Weapons\ProcMissile\ProcMissile.mdl
[dice1] => 1
[RngBuff1] => 250
[regenMana] => 2
[modelScale] => 0.1
[rangeN1] => 1000
[atkType1] => normal
[cool1] => 2
[Ubertip] => The light of divinity speaks no words. Only flame, favor, and judgement.
[scaleBull] => 0
[abilList] => Array
(
)
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => Array
(
)
[abil_factor] => 0.1
[author] => Ashbringer
[alpha] => 0
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[element] => astral
[rarity] => unique
)
[effects] => Array
(
[0] => Array
(
[x] => -0.559209
[y] => -15.9526
[z] => 32
[scale] => 0.12
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => -0.170178
[y] => 0.131669
[z] => 211.2
[scale] => 1.3
[rot] => 1.65936
[file] => Abilities\Weapons\WitchDoctorMissile\WitchDoctorMissile.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => -0.136284
[y] => -1.18305
[z] => 0
[scale] => 0.3
[rot] => 4.71239
[file] => Doodads\Ruins\Props\Ruins_NagaCircle\Ruins_NagaCircle.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -0.00780313
[y] => -1.1567
[z] => 89.6
[scale] => 0.5
[rot] => 0
[file] => war3mapImported\ImmolationHolyTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => -0.560413
[y] => -15.8721
[z] => 121.6
[scale] => 0.12
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => -0.29317
[y] => -1.09223
[z] => 128
[scale] => 0.5
[rot] => 0
[file] => war3mapImported\ImmolationHolyTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => 0.0166439
[y] => 15.9183
[z] => 32
[scale] => 0.12
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => 0.0178477
[y] => 15.8378
[z] => 121.6
[scale] => 0.12
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => -0.298634
[y] => -0.97007
[z] => 51.2
[scale] => 0.7
[rot] => 0
[file] => war3mapImported\ImmolationHolyTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[9] => Array
(
[x] => -0.34134
[y] => 0.0352723
[z] => 44.8
[scale] => 0.15
[rot] => 1.5708
[file] => Doodads\Ruins\Structures\RuinsArchway45_\RuinsArchway45_0.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[10] => Array
(
[x] => 0.0190506
[y] => -0.235083
[z] => 44.8
[scale] => 0.15
[rot] => 0
[file] => Doodads\Ruins\Structures\RuinsArchway45_\RuinsArchway45_0.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[11] => Array
(
[x] => 0.0190506
[y] => -0.235083
[z] => 83.2
[scale] => 0.15
[rot] => 0
[file] => Doodads\Ruins\Structures\RuinsArchway45_\RuinsArchway45_0.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[12] => Array
(
[x] => -0.34134
[y] => 0.0352723
[z] => 83.2
[scale] => 0.15
[rot] => 1.5708
[file] => Doodads\Ruins\Structures\RuinsArchway45_\RuinsArchway45_0.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[13] => Array
(
[x] => 0.0190506
[y] => -0.235083
[z] => 0.00000858307
[scale] => 0.15
[rot] => 0
[file] => Doodads\Ruins\Structures\RuinsArchway45_\RuinsArchway45_0.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[14] => Array
(
[x] => -0.34134
[y] => 0.0352723
[z] => 0.00000858307
[scale] => 0.15
[rot] => 1.5708
[file] => Doodads\Ruins\Structures\RuinsArchway45_\RuinsArchway45_0.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[15] => Array
(
[x] => 0.123867
[y] => 15.7257
[z] => 76.8
[scale] => 0.12
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[16] => Array
(
[x] => -0.45319
[y] => -16.0647
[z] => 76.8
[scale] => 0.12
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[17] => Array
(
[x] => 24.1849
[y] => 0.0914801
[z] => -25.6
[scale] => 0.18
[rot] => 3.14159
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[18] => Array
(
[x] => -24.1833
[y] => 1.59639
[z] => -25.6
[scale] => 0.18
[rot] => 0.000000238419
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[19] => Array
(
[x] => -0.270412
[y] => -0.67653
[z] => 166.4
[scale] => 0.45
[rot] => 0
[file] => war3mapImported\ImmolationHolyTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[20] => Array
(
[x] => 0.08053
[y] => 0.0291322
[z] => 19.2
[scale] => 0.8
[rot] => 0
[file] => war3mapImported\ImmolationHolyTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType ashbringer_consecration_buff
BuffType ashbringer_divinity_buff
BuffType ashbringer_condemn_buff
endglobals
function ashbringer_consecration_update takes Buff b returns nothing
local Tower tower = b.getBuffedUnit()
local Tower caster = b.getCaster()
local real tower_level = caster.getLevel()
local real caster_level_factor = 0.5 + (tower_level * 0.02)
call tower.modifyProperty(MOD_SPELL_DAMAGE_DEALT, -b.userReal)
call tower.modifyProperty(MOD_SPELL_CRIT_CHANCE, -b.userReal2)
call tower.modifyProperty(MOD_SPELL_CRIT_DAMAGE, -b.userReal3)
call tower.modifyProperty(MOD_ATTACKSPEED, -(b.userInt/1000.0))
call tower.modifyProperty(MOD_TRIGGER_CHANCES, -(b.userInt2/1000.0))
set b.userReal = (caster.getProp_SpellDmgDealt() - 1.0)*caster_level_factor
set b.userReal2 = (caster.getProp_SpellCritChance() - (0.0125 + (tower_level * 0.0015)))*caster_level_factor
set b.userReal3 = (caster.getProp_SpellCritDamage() - (1.25 + (tower_level * 0.02)))*caster_level_factor
set b.userInt = R2I((caster.getProp_Attackspeed() - (0.00 + (tower_level * 0.012)))*caster_level_factor*1000.0)
set b.userInt2 = R2I((caster.getProp_TriggerChances()- 1.0)*caster_level_factor*1000.0)
call tower.modifyProperty(MOD_SPELL_DAMAGE_DEALT, b.userReal)
call tower.modifyProperty(MOD_SPELL_CRIT_CHANCE, b.userReal2)
call tower.modifyProperty(MOD_SPELL_CRIT_DAMAGE, b.userReal3)
call tower.modifyProperty(MOD_ATTACKSPEED, (b.userInt/1000.0))
call tower.modifyProperty(MOD_TRIGGER_CHANCES, (b.userInt2/1000.0))
endfunction
function ashbringer_consecration_create takes Buff b returns nothing
set b.userReal = 0
set b.userReal2 = 0
set b.userReal3 = 0
set b.userInt = 0
set b.userInt2 = 0
call ashbringer_consecration_update(b)
endfunction
function ashbringer_consecration_cleanup takes Buff b returns nothing
local Tower tower = b.getBuffedUnit()
call tower.modifyProperty(MOD_SPELL_DAMAGE_DEALT, -b.userReal)
call tower.modifyProperty(MOD_SPELL_CRIT_CHANCE, -b.userReal2)
call tower.modifyProperty(MOD_SPELL_CRIT_DAMAGE, -b.userReal3)
call tower.modifyProperty(MOD_ATTACKSPEED, -b.userInt/1000.0)
call tower.modifyProperty(MOD_TRIGGER_CHANCES, -b.userInt2/1000.0)
endfunction
function ashbringer_condemn_periodic takes Buff b returns nothing
local Tower tower = b.getCaster()
local Tower target = b.getBuffedUnit()
local Buff divinity = tower.getBuffOfType(ashbringer_divinity_buff)
local real damage = (1000 + (tower.getLevel() * 40)) * (1 + (divinity.getPower() / 1000))
call tower.doSpellDamage(target, damage * (1 + (b.userInt * (1 + (tower.getLevel() * 0.04)))), tower.calcSpellCritNoBonus())
if b.userInt >= 3 then
call Effect.createSimpleOnUnit("Abilities\\Spells\\Items\\StaffOfPurification\\PurificationCaster.mdl", target, "origin").destroy()
endif
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 mod = Modifier.create()
set ashbringer_consecration_buff = BuffType.createAuraEffectType(true)
call ashbringer_consecration_buff.setBuffIcon('@@1@@')
call ashbringer_consecration_buff.addEventOnCreate(ashbringer_consecration_create)
call ashbringer_consecration_buff.addEventOnCleanup(ashbringer_consecration_cleanup)
call ashbringer_consecration_buff.addPeriodicEvent(ashbringer_consecration_update, 5)
set ashbringer_condemn_buff = BuffType.create(3.1, 0, false)
call ashbringer_condemn_buff.setBuffIcon('@@0@@')
call mod.addModification(MOD_SPELL_DAMAGE_RECEIVED, 0, 0.0001)
call mod.addModification(MOD_ATK_DAMAGE_RECEIVED, 0, 0.0001)
call ashbringer_condemn_buff.setBuffModifier(mod)
call ashbringer_condemn_buff.addPeriodicEvent(ashbringer_condemn_periodic, 1)
set mod = Modifier.create()
set ashbringer_divinity_buff = BuffType.create(5, 0, true)
call ashbringer_divinity_buff.setBuffIcon('@@2@@')
call mod.addModification(MOD_TRIGGER_CHANCES, 0, 0.0001)
call ashbringer_divinity_buff.setBuffModifier(mod)
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => local Unit target = Event.getTarget()
local Buff b = target.getBuffOfType(ashbringer_condemn_buff)
local integer power = R2I((0.1 + (tower.getLevel() * 0.004)) / 0.0001)
if b != 0 then
if b.userInt < 3 then
set b.userInt = b.userInt + 1
call b.setPower(b.userInt * power)
endif
call b.refreshDuration()
else
set ashbringer_condemn_buff.applyCustomPower(tower, target, power, power).userInt = 1
endif
[values] => Array
(
[ONDAMAGE_chance] => 0.1
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_SealOfWrath.blp
[name] => Condemn
[short_explain] => Attacks have a chance on hit to briefly increase damage taken from attacks, spells and Radiance.
[ONDAMAGE_chanceLevelAdd] => 0.004
[long_explain] => Attacks have a |cffffff8010%|r chance on hit to condemn the target for |cffffff803|r seconds, increasing attack and spell damage taken by |cffffff8010%|r and damage taken from Radiance by |cffffff80100%|r. Condemn can stack up to |cffffff803|r times.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r chance|n|cffFFFF80+0.4%|r damage taken|n|cffFFFF80+4%|r Radiance damage
)
)
[2] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 0
[visible] => true
[AURA_auraEffect] => ashbringer_consecration_buff
[AURA_levelAdd] => 0
[AURA_power] => 1
[icon] => ReplaceableTextures\CommandButtons\BTNInnerFire.blp
[AURA_targetType] => TARGET_TYPE_TOWERS + TARGET_TYPE_ELEMENT_ASTRAL + TARGET_TYPE_RARITY_UNCOMMON + TARGET_TYPE_RARITY_COMMON
[long_explain] => Attack speed, trigger chances, spell damage, spell crit chance and spell crit damage bonuses on this tower are applied to |cffFFFFFFCommon|r and |cff0080FFUncommon|r |cFFFFFF80Celestial|r towers in |cffffff80350|r range at a rate of |cffffff8050%|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+2%|r stats
[AURA_targetSelf] => false
[name] => Consecration
[AURA_level] => 1
[short_explain] => Certain bonuses on this tower affect nearby |cffFFFFFFCommon|r and |cff0080FFUncommon|r |cFFFFFF80Celestial|r towers.
[AURA_auraRange] => 350
)
)
[3] => Array
(
[name] => Periodic
[code] => local Iterate i = Iterate.overUnitsInRangeOfCaster(tower, TARGET_TYPE_CREEPS, 1000.0)
local Unit next
local Buff b = tower.getBuffOfType(ashbringer_divinity_buff)
local real damage_base = 1000 + (tower.getLevel() * 40)
local real damage
local real condemn_mult = 1 + (tower.getLevel() * 0.04)
local Buff next_buff
if b != 0 then
set damage_base = damage_base * b.userReal
endif
loop
set next = i.next()
exitwhen next == 0
set next_buff = next.getBuffOfType(ashbringer_condemn_buff)
if next_buff != 0 then
set damage = damage_base * (1 + (next_buff.userInt * condemn_mult))
call BJDebugMsg(R2S(damage))
call tower.doSpellDamage(next, damage, tower.calcSpellCritNoBonus())
else
call tower.doSpellDamage(next, damage_base, tower.calcSpellCritNoBonus())
endif
call Effect.createSimpleOnUnit("war3mapImported\\ImmolationHolyDamage.mdx", next, "chest").setLifetime(2.1)
endloop
[values] => Array
(
[visible] => true
[PERIODIC_period] => 1
[icon] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_HolyNova.blp
[name] => Radiance
[short_explain] => Every second, deals spell damage to every enemy within attack range and more damage to enemies affected by Condemn.
[long_explain] => Every second, deals |cffffff801000|r spell damage to every enemy within attack range of the tower. The same amount of spell damage is repeated on every enemy currently affected by Condemn.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+40|r spell damage
)
)
[4] => Array
(
[name] => Autocast
[code] => local Iterate i = Iterate.overUnitsInRangeOfCaster(tower, TARGET_TYPE_TOWERS, 350.0)
local Unit next
local real mana = GetUnitState(tower.getUnit(), UNIT_STATE_MANA)
local real mult = (mana / 10) * (0.1 + (tower.getLevel() * 0.004))
local real power = ((mana / 10) * (0.005 + (tower.getLevel() * 0.0002))) / 0.0001
call tower.subtractMana(mana, true)
loop
set next = i.next()
exitwhen next == 0
set ashbringer_divinity_buff.apply(tower, next, R2I(power)).userReal = 1 + mult
call Effect.createScaled("Abilities\\Spells\\Human\\Heal\\HealTarget.mdl", next.getX(), next.getY(), 20, 270, 2.0).setLifetime(1.8)
endloop
[values] => Array
(
[AUTOCAST_cooldown] => 15.00
[AUTOCAST_autoRange] => 1000
[AUTOCAST_manacost] => 100
[icon] => ReplaceableTextures\CommandButtons\BTNResurrection.blp
[AUTOCAST_range] => 1000
[AUTOCAST_targetType] => 0
[AUTOCAST_numBuffsBeforeIdle] => 0
[caster_art] => Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl
[long_explain] => Consumes all mana to increase trigger chances of towers in |cffffff80350|r range by |cffffff800.5%|r per |cffffff8010|r mana consumed. Additionally, increases Radiance damage by |cffffff8010%|r per |cffffff8010|r mana consumed. Lasts |cffffff805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.02%|r trigger chances per |cffffff8010|r mana|n|cffFFFF80+0.4%|r Radiance multiplier per |cffffff8010|r mana
[target_art] =>
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
[AUTOCAST_buffType] => 0
[AUTOCAST_isExtended] => false
[name] => Light of Divinity
[AUTOCAST_targetSelf] => false
[short_explain] => Consumes all mana to temporarily increase the trigger chances of nearby towers and increases Radiance damage.
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Targetattach] => chest
[Buffubertip] => Taking increased damage from attacks and spells and Radiance.
[TargetArt] => war3mapImported\ImmolationHolyTarget.mdx
[Bufftip] => Condemn
[Buffart] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_SealOfWrath.blp
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Targetattach] => Array
(
)
[Buffubertip] => Inheriting various stats from the Sceptre of God.
[TargetArt] => Array
(
)
[Bufftip] => Consecration
[Buffart] => ReplaceableTextures\CommandButtons\BTNInnerFire.blp
)
)
[2] => Array
(
[id] => @@2@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Targetattach] => Array
(
)
[Buffubertip] => Chance to deal damage and gain experience on attack.
[TargetArt] => Array
(
)
[Bufftip] => Light of Divinity
[Buffart] => ReplaceableTextures\CommandButtons\BTNResurrection.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
[lightning] => Array
(
)
)