Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_HolySmite.blp
[bldtm] => 1
[dmgplus1] => 68
[goldcost] => 75
[unitSound] => ArcaneTower
[sides1] => 7
[acquire] => 800
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Holy Torch
[weapTp1] => missile
[MissileHoming] => 1
[file] => .mdl
[uberSplat] => YTDO
[Missileart] => war3mapImported\ImmolationHolyDamage.mdl
[Missilespeed] => 1200
[dice1] => 1
[RngBuff1] => 250
[modelScale] => 0.1
[rangeN1] => 800
[atkType1] => normal
[cool1] => 2
[Ubertip] => Burn the heretic. Kill the mutant. Purge the unclean.
[scaleBull] => 0
[abilList] => Array
(
)
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => Array
(
)
[abil_factor] => 0.4
[author] => Ashbringer
[alpha] => 255
[authorDisplay] => |cffff6600Ashbringer|r
[element] => astral
[rarity] => uncommon
)
[effects] => Array
(
[0] => Array
(
[x] => -0.0483796
[y] => -0.00670614
[z] => 0
[scale] => 0.22
[rot] => 4.13669
[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
)
[1] => Array
(
[x] => -0.115719
[y] => 0.098383
[z] => -6.4
[scale] => 0.45
[rot] => 4.71239
[file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => 0.0107672
[y] => 0.157887
[z] => 57.6
[scale] => 0.8
[rot] => 4.36332
[file] => war3mapImported\ImmolationHolyDamage.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -0.169555
[y] => 0.0554825
[z] => -12.8
[scale] => 1.2
[rot] => 3.73501
[file] => war3mapImported\GeneralAuraTargetWhite.mdl
[red] => 255
[green] => 255
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => 0.227058
[y] => -0.0715237
[z] => 32
[scale] => 0.35
[rot] => 0.785398
[file] => Doodads\Ruins\Props\Brazier\Brazier0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => -0.115719
[y] => 0.098383
[z] => 0
[scale] => 0.45
[rot] => 4.71239
[file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => -0.115719
[y] => 0.098383
[z] => -19.2
[scale] => 0.45
[rot] => 4.71239
[file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => -0.115719
[y] => 0.098383
[z] => -12.8
[scale] => 0.45
[rot] => 4.71239
[file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => -0.115719
[y] => 0.098383
[z] => -25.6
[scale] => 0.45
[rot] => 4.71239
[file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.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
//@export
BuffType ashbringer_righteous_aura
BuffType ashbringer_righteous_buff
endglobals
function ashbringer_righteous_onattack takes Buff b returns nothing
local Tower caster = b.getCaster()
local Tower tower = b.getBuffedUnit()
local Unit target = Event.getTarget()
local real damage = (caster.userReal + (caster.userReal2 * caster.getLevel())) * tower.getCurrentAttackspeed() / (tower.getRange() / 800.00)
set b = target.getBuffOfType(ashbringer_righteous_buff)
if b != 0 then
if b.getCaster().getUID() == b.userInt then
call b.refreshDuration()
set b.userReal = b.userReal + damage
else
set damage = b.userReal + damage
call b.removeBuff()
set b = ashbringer_righteous_buff.apply(caster, target, caster.getLevel())
set b.userInt = caster.getUID()
set b.userReal = damage
endif
else
set b = ashbringer_righteous_buff.apply(caster, target, caster.getLevel())
set b.userInt = caster.getUID()
set b.userReal = damage
endif
endfunction
function ashbringer_righteous_periodic takes Buff b returns nothing
local Tower tower = b.getCaster()
call tower.doSpellDamage(b.getBuffedUnit(), b.userReal, 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
set ashbringer_righteous_aura = BuffType.createAuraEffectType(true)
call ashbringer_righteous_aura.setBuffIcon('@@1@@')
call ashbringer_righteous_aura.addEventOnAttack(ashbringer_righteous_onattack, 0.2, 0.008)
set ashbringer_righteous_buff = BuffType.create(4, 0.08, false)
call ashbringer_righteous_buff.setBuffIcon('@@0@@')
call ashbringer_righteous_buff.addPeriodicEvent(ashbringer_righteous_periodic, 1.0)
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 1
[visible] => true
[AURA_auraEffect] => ashbringer_righteous_aura
[AURA_levelAdd] => 1
[AURA_power] => 0
[icon] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_HolySmite.blp
[AURA_targetType] => TARGET_TYPE_TOWERS
[long_explain] => Towers within |cffFFFF80200|r range have a |cffFFFF8020%|r chance on attack to ignite the target with righteous fire, dealing |cffFFFF8012|r spell damage per second for |cffFFFF804|r seconds. The effect stacks and is attack speed and range adjusted.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.8%|r chance|n|cffFFFF80+0.48|r spell damage per second|n|cffFFFF80+0.08|r seconds duration
[AURA_targetSelf] => true
[name] => Righteous Fire
[AURA_level] => 0
[short_explain] => Towers within |cffFFFF80200|r range have a chance to set enemies aflame.
[AURA_auraRange] => 200
)
)
[2] => Array
(
[name] => On Tower Creation
[code] => set tower.userReal = 12
set tower.userReal2 = 0.48
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHfs
[oeValues] => Array
(
[Targetattach] => chest
[EditorName] => Righteous Fire
[Buffubertip] => Taking spell damage over time.
[TargetArt] => war3mapImported\ImmolationHolyDamage.mdx
[Targetattachcount] => 1
[Bufftip] => Righteous Fire
[Buffart] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_HolySmite.blp
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => BHfs
[oeValues] => Array
(
[EditorName] => Righteous Fire
[Buffubertip] => Chance on attack to set enemies aflame.
[TargetArt] => Array
(
)
[Bufftip] => Righteous Fire
[Buffart] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_HolySmite.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => ashbringer_righteous_aura
)
)
[lightning] => Array
(
)
)