Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_MindVision.blp
[dmgplus1] => 862
[bldtm] => 1
[goldcost] => 750
[unitSound] => AltarOfKings
[sides1] => 1
[manaN] => 1000
[launchZ] => 110
[acquire] => 950
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Eye of Divinity
[weapTp1] => instant
[MissileHoming] => 1
[file] => .mdl
[uberSplat] => YTDO
[Missilespeed] => 1200
[dice1] => 1
[RngBuff1] => 250
[modelScale] => 0.1
[rangeN1] => 950
[atkType1] => normal
[cool1] => 1.75
[Ubertip] => Peerless and piercing.
[scaleBull] => 0
[abilList] => Array
(
)
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => Array
(
)
[abil_factor] => 0.6
[author] => Ashbringer
[alpha] => 0
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[element] => celestial
[rarity] => rare
)
[effects] => Array
(
[0] => Array
(
[x] => -0.211841
[y] => 0.163665
[z] => 0
[scale] => 0.54
[rot] => 1.58825
[file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => -0.122316
[y] => 0.133261
[z] => 179.2
[scale] => 0.9
[rot] => 1.52441
[file] => Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 6
)
[2] => Array
(
[x] => -1.07133
[y] => -0.290481
[z] => 96
[scale] => 0.39
[rot] => 0.785398
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => 0.0167591
[y] => -0.143774
[z] => 0
[scale] => 0.23
[rot] => 2.3562
[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
)
[4] => Array
(
[x] => -0.120654
[y] => -0.144718
[z] => 0
[scale] => 0.54
[rot] => 3.94444
[file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => -0.266693
[y] => -0.000195452
[z] => 96
[scale] => 0.39
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Attack
[code] => local real chance = 0.2 + (tower.getLevel() * 0.008)
local real mana = 15 + (tower.getLevel() * 0.6)
local real damage_per_mana = 75 + (tower.getLevel() * 3)
call ashbringer_eye_attack(tower, tower.getUID(), Event.getTarget(), 5, chance, mana, damage_per_mana)
[values] => Array
(
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNInnerFire.blp
[name] => Divine Storm
[short_explain] => Attacks can strike additional times.
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
[long_explain] => The tower's attacks smite enemies with lightning strikes from above. These strikes have a |cffFFFF8020%|r chance to repeat on the target or on a random enemy near the target. Can trigger repeatedly up to a maximum of |cffFFFF805|r times but the chance to trigger is reduced by |cffFFFF805%|r each time.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.8%|r initial chance
)
)
[1] => Array
(
[name] => Header
[code] => globals
//@export
BuffType ashbringer_eye_buff
endglobals
//@export
function ashbringer_eye_feedback takes Tower tower, Creep target, real mana, real damage returns nothing
set mana = target.subtractMana(mana, true)
if mana > 0 then
call tower.doSpellDamage(target, damage*mana, tower.calcSpellCritNoBonus())
call tower.addMana(mana)
call Effect.createSimpleOnUnit("war3mapImported\\ArcaneTowerAttackHoly.mdx", target, "chest").setLifetime(3.0)
endif
endfunction
//@export
function ashbringer_divine_storm takes Tower tower, integer UID, real x, real y, integer max, real chance, real mana, real damage_per_mana returns nothing
local Iterate i = Iterate.overUnitsInRange(tower, TARGET_TYPE_CREEPS, x, y, 200)
local Creep next = i.nextRandom()
local real target_x
local real target_y
if tower.getUID() == UID then
if next != 0 then
call i.destroy()
call ashbringer_eye_feedback(tower, next, mana, damage_per_mana)
call tower.doAttackDamage(next, tower.getCurrentAttackDamageWithBonus(), tower.calcAttackMulticrit(0, 0, 0))
set target_x = next.getX()
set target_y = next.getY()
call Effect.createColored("Abilities\\Weapons\\Bolt\\BoltImpact.mdl", target_x, target_y, next.getZ(), GetRandomReal(0,359.99), 1.0, 255, 195, 75, 255).setLifetime(3.0)
call Lightning.createFromPointToUnit("GOLD", target_x, target_y, 1000, next).setLifetime(0.3)
set chance = chance - 0.05
if tower.calcChance(chance) then
call TriggerSleepAction(0.2)
set max = max - 1
if max > 0 then
call ashbringer_divine_storm(tower, UID, x, y, max, chance, mana, damage_per_mana)
endif
endif
endif
endif
endfunction
//@export
function ashbringer_eye_attack takes Tower tower, integer UID, Creep target, integer max, real chance, real mana, real damage_per_mana returns nothing
local real target_x = target.getX()
local real target_y = target.getY()
call Lightning.createFromPointToUnit("GOLD", target_x, target_y, 1000, target).setLifetime(0.3)
call Effect.createColored("Abilities\\Weapons\\Bolt\\BoltImpact.mdl", target_x, target_y, target.getZ(), GetRandomReal(0,359.99), 1.0, 255, 195, 75, 255).setLifetime(3.0)
call ashbringer_eye_feedback(tower, target, mana, damage_per_mana)
if tower.calcChance(chance) then
call TriggerSleepAction(0.2)
call ashbringer_divine_storm(tower, UID, target_x, target_y, max, chance, mana, damage_per_mana)
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_eye_buff = BuffType.create(5, 0, true)
call ashbringer_eye_buff.setBuffIcon('@@0@@')
call ashbringer_eye_buff.setStackingGroup("ashbringer_eye_buff")
call mod.addModification(MOD_ATTACKSPEED, 0.0, 0.01)
call ashbringer_eye_buff.setBuffModifier(mod)
call ashbringer_eye_buff.setSpecialEffectAdvanced("Abilities\\Spells\\Human\\InnerFire\\InnerFireTarget.mdl", 0, 0, 255, 1, 270, 255, 255, 255, 255, 0)
endfunction
[values] => Array
(
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_MindVision.blp
[name] => Searing Ire
[short_explain] => Attacks burn mana and mana burnt is given to the tower.
[long_explain] => Attacks burn up to |cffffff8015|r mana from each enemy, dealing |cffffff8075|r spell damage per point of mana burnt. The tower gains mana equal to the amount of mana burnt. Can remove mana from immune enemies.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6|r mana burnt|n|cffFFFF80+3|r spell damage per mana
)
)
[2] => Array
(
[name] => Autocast
[code] => local real power = 100 * (1.0 + (tower.getLevel() * 0.04))
call ashbringer_eye_buff.apply(tower, tower, R2I(power))
[values] => Array
(
[AUTOCAST_cooldown] => 8
[AUTOCAST_autoRange] => 800
[AUTOCAST_manacost] => 750
[icon] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_SealOfWrath.blp
[AUTOCAST_range] => 900
[AUTOCAST_targetType] => 0
[AUTOCAST_numBuffsBeforeIdle] => 0
[caster_art] => Abilities\Spells\Items\StaffOfPurification\PurificationCaster.mdl
[long_explain] => Increases the tower's attack speed by |cffffff80100%|r for |cffffff805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+4%|r attack speed
[target_art] =>
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
[AUTOCAST_buffType] => 0
[AUTOCAST_isExtended] => false
[name] => Zealotry
[AUTOCAST_targetSelf] => false
[short_explain] => Increases attack speed briefly.
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Binf
[oeValues] => Array
(
[Targetattach] => Array
(
)
[Buffubertip] => Increased attack speed.
[TargetArt] => Array
(
)
[Bufftip] => Zealous
[Buffart] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_SealOfWrath.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => ashbringer_eye_buff
)
)
[lightning] => Array
(
)
)