Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNSentryWard.blp
[turnRate] => 3
[dmgplus1] => 5478
[bldtm] => 1
[goldcost] => 3750
[unitSound] => ObsidianDestroyer
[sides1] => 1
[Missilearc] => 0.1
[maxPitch] => -6.5
[manaN] => 100
[launchZ] => 100
[acquire] => 1200
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => The Oculus
[red] => 5
[weapTp1] => instant
[MissileHoming] => 1
[file] => units\orc\WatcherWard\WatcherWard.mdl
[uberSplat] => YTDG
[Missilespeed] => 8000
[Missileart] => Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
[dice1] => 1
[RngBuff1] => 250
[regenMana] => 1
[modelScale] => 0.95
[rangeN1] => 1200
[atkType1] => normal
[cool1] => 1.8
[Ubertip] => The inescapable piercing gaze of the Arcane.
[scaleBull] => 0
[abilList] => Array
(
)
[moveHeight] => 8
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => |cffFFFF0012.5%|r crit chance (|cffFFFF00+0.5%|r/lvl)
[abil_factor] => 0.8
[author] => Ashbringer
[alpha] => 255
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[element] => arcane
[rarity] => unique
)
[effects] => Array
(
[0] => Array
(
[x] => -0.660153
[y] => 6.66016
[z] => 51.2
[scale] => 0.075
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 15
[green] => 45
[blue] => 75
[alpha] => 255
[pitch] => -5.7
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => -0.262173
[y] => -9.13321
[z] => 51.2
[scale] => 0.075
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 15
[green] => 45
[blue] => 75
[alpha] => 255
[pitch] => -5.7
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => -0.508256
[y] => -1.20628
[z] => 0
[scale] => 0.2
[rot] => 0
[file] => Doodads\Ruins\Props\Ruins_NagaCircle\Ruins_NagaCircle.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -8.35231
[y] => -1.24333
[z] => 51.2
[scale] => 0.075
[rot] => 3.14159
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 15
[green] => 45
[blue] => 75
[alpha] => 255
[pitch] => -5.7
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => 7.44104
[y] => -0.845354
[z] => 51.2
[scale] => 0.075
[rot] => 0
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 15
[green] => 45
[blue] => 75
[alpha] => 255
[pitch] => -5.7
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => -1.45974
[y] => -2.08439
[z] => 0
[scale] => 0.2
[rot] => 0
[file] => Doodads\Cityscape\Structures\City_ColumnSingle\City_ColumnSingle.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => 0.0518892
[y] => -11.6878
[z] => 25.6
[scale] => 0.1025
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 15
[green] => 45
[blue] => 75
[alpha] => 255
[pitch] => -5.7
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => -0.270749
[y] => -1.57883
[z] => 32
[scale] => 2.65
[rot] => 0.841017
[file] => Abilities\Spells\Human\ManaFlare\ManaFlareTarget.mdl
[red] => 55
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => -11.3
[y] => -1.52546
[z] => 25.6
[scale] => 0.1025
[rot] => 3.14159
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 15
[green] => 45
[blue] => 75
[alpha] => 255
[pitch] => -5.7
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[9] => Array
(
[x] => 39.1953
[y] => 21.2666
[z] => 0
[scale] => 0.2
[rot] => 3.13068
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[10] => Array
(
[x] => 39.0058
[y] => 0.272495
[z] => 0
[scale] => 0.2
[rot] => 3.13068
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[11] => Array
(
[x] => 38.8512
[y] => -20.9927
[z] => 0
[scale] => 0.2
[rot] => 3.13068
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[12] => Array
(
[x] => -0.805197
[y] => 10.0396
[z] => 25.6
[scale] => 0.1025
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 15
[green] => 45
[blue] => 75
[alpha] => 255
[pitch] => -5.7
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[13] => Array
(
[x] => 10.4274
[y] => -0.668378
[z] => 25.6
[scale] => 0.1025
[rot] => 0
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 15
[green] => 45
[blue] => 75
[alpha] => 255
[pitch] => -5.7
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[14] => Array
(
[x] => -39.9106
[y] => 18.4464
[z] => 0
[scale] => 0.2
[rot] => 3.13068
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[15] => Array
(
[x] => -40.1001
[y] => -2.5477
[z] => 0
[scale] => 0.2
[rot] => 3.13068
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[16] => Array
(
[x] => -40.2547
[y] => -23.8129
[z] => 0
[scale] => 0.2
[rot] => 3.13068
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[17] => Array
(
[x] => 39.34
[y] => -40.9053
[z] => 0
[scale] => 0.25
[rot] => 0
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[18] => Array
(
[x] => 12.8521
[y] => -0.445243
[z] => -6.40001
[scale] => 0.13
[rot] => 0
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 15
[green] => 45
[blue] => 75
[alpha] => 255
[pitch] => -5.7
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[19] => Array
(
[x] => -14.0238
[y] => -1.62526
[z] => -6.4
[scale] => 0.13
[rot] => 3.14159
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 15
[green] => 45
[blue] => 75
[alpha] => 255
[pitch] => -5.7
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[20] => Array
(
[x] => 0.240312
[y] => -14.5062
[z] => -6.4
[scale] => 0.13
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 15
[green] => 45
[blue] => 75
[alpha] => 255
[pitch] => -5.7
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[21] => Array
(
[x] => -0.939711
[y] => 12.3698
[z] => -6.4
[scale] => 0.13
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 15
[green] => 45
[blue] => 75
[alpha] => 255
[pitch] => -5.7
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[22] => Array
(
[x] => -40.1762
[y] => 38.0801
[z] => 0
[scale] => 0.25
[rot] => 0
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[23] => Array
(
[x] => -40.1295
[y] => -41.1465
[z] => 0
[scale] => 0.25
[rot] => 0
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[24] => Array
(
[x] => 39.2894
[y] => 38.2388
[z] => 0
[scale] => 0.25
[rot] => 0
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[25] => Array
(
[x] => -21.0717
[y] => -41.1399
[z] => 0
[scale] => 0.2
[rot] => 4.70148
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[26] => Array
(
[x] => -0.0775523
[y] => -41.3294
[z] => 0
[scale] => 0.2
[rot] => 4.70148
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[27] => Array
(
[x] => 21.1877
[y] => -41.4839
[z] => 0
[scale] => 0.2
[rot] => 4.70148
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[28] => Array
(
[x] => -21.341
[y] => 38.1142
[z] => 0
[scale] => 0.2
[rot] => 4.70148
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[29] => Array
(
[x] => -0.346937
[y] => 37.9247
[z] => 0
[scale] => 0.2
[rot] => 4.70148
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[30] => Array
(
[x] => 20.9183
[y] => 37.7702
[z] => 0
[scale] => 0.2
[rot] => 4.70148
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[31] => Array
(
[x] => -40.6361
[y] => -41.4828
[z] => 25.6
[scale] => 0.35
[rot] => 0.799766
[file] => Doodads\Cinematic\GlowingRunes\GlowingRunes1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[32] => Array
(
[x] => -41.5482
[y] => 38.3838
[z] => 25.6
[scale] => 0.35
[rot] => 5.48765
[file] => Doodads\Cinematic\GlowingRunes\GlowingRunes1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[33] => Array
(
[x] => 38.3723
[y] => 37.7998
[z] => 25.6
[scale] => 0.35
[rot] => 3.9164
[file] => Doodads\Cinematic\GlowingRunes\GlowingRunes1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[34] => Array
(
[x] => 38.4554
[y] => -42.2515
[z] => 25.6
[scale] => 0.35
[rot] => 2.35837
[file] => Doodads\Cinematic\GlowingRunes\GlowingRunes1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[35] => Array
(
[x] => -0.399952
[y] => -1.79259
[z] => 102.4
[scale] => 1.2
[rot] => 1.16937
[file] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[36] => Array
(
[x] => -0.975869
[y] => 0.482307
[z] => 32
[scale] => 1.75
[rot] => 1.16937
[file] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[37] => Array
(
[x] => -1.68765
[y] => -0.719518
[z] => 76.8
[scale] => 1.05
[rot] => 0
[file] => Abilities\Spells\Undead\Possession\PossessionCaster.mdl
[red] => 5
[green] => 55
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[38] => Array
(
[x] => -0.962515
[y] => -0.798408
[z] => 0
[scale] => 0.2
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSingle\City_ColumnSingle.mdl
[red] => 15
[green] => 15
[blue] => 45
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[39] => Array
(
[x] => -1.04361
[y] => -2.16916
[z] => 12.8
[scale] => 2.65
[rot] => 0.331613
[file] => Abilities\Spells\Human\ManaFlare\ManaFlareTarget.mdl
[red] => 55
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[40] => Array
(
[x] => -0.102559
[y] => -3.64968
[z] => 51.2
[scale] => 2.65
[rot] => 0.331613
[file] => Abilities\Spells\Human\ManaFlare\ManaFlareTarget.mdl
[red] => 55
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[41] => Array
(
[x] => -14.7475
[y] => -11.0209
[z] => 6.4
[scale] => 0.5
[rot] => 5.44543
[file] => Abilities\Spells\NightElf\MoonWell\MoonWellTarget.mdl
[red] => 255
[green] => 15
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[42] => Array
(
[x] => -14.6743
[y] => 20.9531
[z] => 6.4
[scale] => 0.5
[rot] => 5.44543
[file] => Abilities\Spells\NightElf\MoonWell\MoonWellTarget.mdl
[red] => 255
[green] => 15
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[43] => Array
(
[x] => 10.8421
[y] => 12.8876
[z] => 6.4
[scale] => 0.5
[rot] => 0.260922
[file] => Abilities\Spells\NightElf\MoonWell\MoonWellTarget.mdl
[red] => 255
[green] => 15
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[44] => Array
(
[x] => 11.1715
[y] => -9.64917
[z] => 6.4
[scale] => 0.5
[rot] => 0.260922
[file] => Abilities\Spells\NightElf\MoonWell\MoonWellTarget.mdl
[red] => 255
[green] => 15
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_ATK_CRIT_CHANCE
[base] => 0.1125
[add] => 0.005
)
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType ashbringer_focus_buff
Cast ashbringer_focus_cast
endglobals
function ashbringer_focus_create takes Buff b returns nothing
local Tower t = b.getCaster()
local Creep c = b.getBuffedUnit()
set b.userInt = 1
call ashbringer_focus_cast.targetCastFromCaster(t, c, 0.0, 0.0)
endfunction
function ashbringer_focus_periodic takes Buff b returns nothing
local Tower t = b.getCaster()
local Creep c = b.getBuffedUnit()
local real damage = t.getCurrentAttackDamageWithBonus() * (0.3 + (t.getLevel() * 0.008)) * b.userInt
local real distance = DistanceBetweenPoints(GetUnitLoc(t.getUnit()), GetUnitLoc(c.getUnit()))
if distance > 1200 then
call b.removeBuff()
else
call t.doAttackDamage(c, damage, t.calcAttackMulticrit(0, 0, 0))
call Effect.createSimpleOnUnit("Abilities\\Spells\\Human\\Feedback\\SpellBreakerAttack.mdl", c, "chest").setLifetime(2.0)
set b.userInt = b.userInt + 1
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
set ashbringer_focus_cast = Cast.create('@@0@@', "drain", 10.5)
call ashbringer_focus_cast.setSourceHeight(100.0)
set ashbringer_focus_buff = BuffType.create(15.1, 0.0, true)
call ashbringer_focus_buff.setBuffIcon('@@1@@')
call ashbringer_focus_buff.addEventOnCreate(ashbringer_focus_create)
call ashbringer_focus_buff.addPeriodicEvent(ashbringer_focus_periodic, 1)
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => local Creep target = Event.getTarget()
local Iterate i
local Creep next
local integer count
local real damage
local real x = tower.getX()
local real y = tower.getY()
local real crit = Event.getCriticalMultiplier()
//local real armor = AttackType.ENERGY.getDamageAgainst(target.getArmorType()) / (1 - target.getCurrentArmorDamageReduction())
if Event.isAttackDamageCritical() and Event.isMainTarget() then
set Event.damage = 0
set i = Iterate.overUnitsInRangeOfUnit(tower, TARGET_TYPE_CREEPS, target, 200)
set count = i.count()
if count > 1 then
set damage = tower.getCurrentAttackDamageWithBonus() / count
loop
set next = i.next()
exitwhen next == 0
call tower.doAttackDamage(next, damage, crit)
call Lightning.createFromPointToUnit("ZAP8", x, y, 100, next).setLifetime(0.2)
call Effect.createSimpleOnUnit("Abilities\\Weapons\\WingedSerpentMissile\\WingedSerpentMissile.mdl", next, "chest").destroy()
endloop
endif
else
call Lightning.createFromPointToUnit("ZAP8", x, y, 100, target).setLifetime(0.2)
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNCharm.blp
[name] => Eye of Eternity
[short_explain] => Damage from critical hits is divided evenly amongst enemies in range of the target. Generates mana for each enemy hit.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => Attack critical hits will strike all enemies within |cffffff80200|r range of the primary target, but the damage dealt is divided by the number of targets, including the primary target. Generates |cffffff801|r mana for each enemy hit.
)
)
[2] => Array
(
[name] => Periodic
[code] => local real bonus
set bonus = tower.getProp_AtkCritChance() + tower.userReal2
set bonus = (bonus / 2) - tower.userReal2
set tower.userReal2 = tower.userReal2 + bonus
if bonus!=0 then
call tower.modifyProperty(MOD_ATK_CRIT_CHANCE, -bonus)
endif
set bonus = tower.getProp_AtkCritDamage() - tower.userReal3
set bonus = (bonus * 1) - tower.userReal3
set tower.userReal3 = bonus + tower.userReal3
if bonus!=0 then
call tower.modifyProperty(MOD_ATK_CRIT_DAMAGE, bonus)
endif
[values] => Array
(
[visible] => true
[PERIODIC_period] => 2
[icon] => ReplaceableTextures\CommandButtons\BTNUsedSoulGem.blp
[name] => Peripheral Precision
[short_explain] => Tower has halved crit chance but doubled crit damage.
[long_explain] => The critical strike chance of this tower is halved but critical strike damage is doubled.
)
)
[3] => Array
(
[name] => Autocast
[code] => Array
(
)
[values] => Array
(
[AUTOCAST_cooldown] => 5
[AUTOCAST_autoRange] => 800
[AUTOCAST_manacost] => 75
[icon] => ReplaceableTextures\CommandButtons\BTNSentryWard.blp
[AUTOCAST_range] => 1200
[AUTOCAST_targetType] => TARGET_TYPE_CREEPS
[AUTOCAST_numBuffsBeforeIdle] => 1
[caster_art] =>
[long_explain] => Focus a beam of energy on the target for up to |cffffff8015|r seconds, dealing increasing damage per second. The damage starts at |cffffff8030%|r of attack damage and increases by that much per second. Effect will end if the target moves beyond the tower's attack range.|n|n|cffFF8000Level Bonus:|r|n|cffffff80+0.8%|r damage
[target_art] =>
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_BUFF
[AUTOCAST_buffType] => ashbringer_focus_buff
[AUTOCAST_isExtended] => true
[name] => Focusing Iris
[AUTOCAST_targetSelf] => false
[short_explain] => Deals increasing damage over time that ends if the target leaves the tower's range.
)
)
[4] => Array
(
[name] => On Tower Creation
[code] => call SetUnitColor(tower.getUnit(), ConvertPlayerColor(3))
set tower.userReal2 = 0
set tower.userReal3 = 0
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => ACdr
[oeValues] => Array
(
[Cost1] => 0
[Rng1] => 1200
[Order] => drain
[Art] => ReplaceableTextures\CommandButtons\BTNLifeDrain.blp
[Untip] => effect
[race] => human
[Effectsoundlooped] => AerialShacklesLoop
[HeroDur1] => 10
[Cool1] => 1
[DataA1] => 1
[BuffID1] => @@2@@,B003,@@2@@,B003,@@2@@,B003,@@2@@,B003,@@2@@
[Area1] => 1200
[Name] => Focus Beam
[Dur1] => 10
[Ubertip] => effect
[LightningEffect] => DRAB,WLAZ,DRAM
[Effectsound] => SpellStealMissileLaunch
[EditorSuffix] => Array
(
)
[Unubertip] => effect
[Tip] => effect
[Animnames] => Array
(
)
[Hotkey] => Array
(
)
[checkDep] => 0
[targs1] => air,ground
)
)
)
[buffs] => Array
(
[0] => Array
(
[id] => @@1@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Targetattach] => chest
[Buffubertip] => Take increasing damage over time.
[TargetArt] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
[Bufftip] => Focusing Iris
[Buffart] => ReplaceableTextures\CommandButtons\BTNSentryWard.blp
)
)
[1] => Array
(
[id] => @@2@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Targetattach] => chest
[Buffubertip] => Array
(
)
[TargetArt] => Abilities\Spells\Human\FlameStrike\FlameStrikeEmbers.mdl
[Bufftip] => Focusing Iris
[EditorSuffix] => (beam)
[Buffart] => ReplaceableTextures\CommandButtons\BTNSentryWard.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
[lightning] => Array
(
)
)