Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNFrost.blp
[dmgplus1] => 4246
[bldtm] => 1
[goldcost] => 3600
[unitSound] => Boneyard
[sides1] => 1
[manaN] => 400
[launchZ] => 200
[acquire] => 1000
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Ebonfrost Spire
[red] => 50
[weapTp1] => missile
[MissileHoming] => 1
[file] => .mdl
[uberSplat] => YTDN
[Missileart] => Abilities\Weapons\ZigguratFrostMissile\ZigguratFrostMissile.mdl
[Missilespeed] => 1050
[dice1] => 1
[RngBuff1] => 250
[green] => 50
[modelScale] => 0.1
[rangeN1] => 1000
[atkType1] => normal
[cool1] => 1.6
[Ubertip] => A pristine crystal atop a pillar of black frost.
[blue] => 50
[scaleBull] => 0
[abilList] => Array
(
)
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => Array
(
)
[abil_factor] => 0.65
[author] => Ashbringer
[alpha] => 0
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[element] => ice
[rarity] => unique
)
[effects] => Array
(
[0] => Array
(
[x] => -0.0146482
[y] => -0.0519029
[z] => 0
[scale] => 0.3
[rot] => 4.71239
[file] => Doodads\Ruins\Props\Ruins_NagaCircle\Ruins_NagaCircle.mdl
[red] => 15
[green] => 15
[blue] => 35
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => -0.545994
[y] => -17.3147
[z] => 32
[scale] => 0.14
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 20
[green] => 20
[blue] => 30
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => 0.48151
[y] => 20.9475
[z] => 32
[scale] => 0.14
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 20
[green] => 20
[blue] => 30
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -0.828603
[y] => -22.8207
[z] => -25.6
[scale] => 0.18
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 20
[green] => 20
[blue] => 30
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => 0.676311
[y] => 25.5474
[z] => -25.6
[scale] => 0.18
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 20
[green] => 20
[blue] => 30
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => 0.269459
[y] => 15.3984
[z] => 128
[scale] => 0.1
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 20
[green] => 20
[blue] => 30
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => -0.3694
[y] => -12.2563
[z] => 128
[scale] => 0.1
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 20
[green] => 20
[blue] => 30
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => -0.897336
[y] => -5.39852
[z] => 166.4
[scale] => 1.3
[rot] => 4.71239
[file] => Abilities\Spells\Other\FrostBolt\FrostBoltMissile.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -4.71
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => 0.140686
[y] => 0.896066
[z] => 44.8
[scale] => 0.14
[rot] => 0.0000000596046
[file] => Doodads\Dungeon\Structures\DungeonArchway45\DungeonArchway45.mdl
[red] => 50
[green] => 50
[blue] => 90
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[9] => Array
(
[x] => -0.219704
[y] => 1.16642
[z] => 44.8
[scale] => 0.14
[rot] => 1.5708
[file] => Doodads\Dungeon\Structures\DungeonArchway45\DungeonArchway45.mdl
[red] => 50
[green] => 50
[blue] => 90
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[10] => Array
(
[x] => -0.106544
[y] => 1.18767
[z] => 76.8
[scale] => 0.3
[rot] => 4.71239
[file] => Abilities\Spells\Undead\FreezingBreath\FreezingBreathTargetArt.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => true
[animation] => stand
[aniSpeed] => 50
[pcolor] => 255
)
[11] => Array
(
[x] => -0.240454
[y] => 1.81849
[z] => 128
[scale] => 0.2
[rot] => 3.63168
[file] => Abilities\Spells\Undead\FreezingBreath\FreezingBreathTargetArt.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => true
[animation] => stand
[aniSpeed] => 50
[pcolor] => 255
)
[12] => Array
(
[x] => 0.140686
[y] => 0.896066
[z] => 0
[scale] => 0.16
[rot] => 0.0000000596046
[file] => Doodads\Dungeon\Structures\DungeonArchway45\DungeonArchway45.mdl
[red] => 50
[green] => 50
[blue] => 90
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[13] => Array
(
[x] => -0.219704
[y] => 1.16642
[z] => 0
[scale] => 0.16
[rot] => 1.5708
[file] => Doodads\Dungeon\Structures\DungeonArchway45\DungeonArchway45.mdl
[red] => 50
[green] => 50
[blue] => 90
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[14] => Array
(
[x] => -0.148776
[y] => 0.454619
[z] => 147.2
[scale] => 0.5
[rot] => 1.5708
[file] => Abilities\Spells\Undead\FrostArmor\FrostArmorTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[15] => Array
(
[x] => 0.019875
[y] => 0.827131
[z] => 185.6
[scale] => 0.7
[rot] => 4.85874
[file] => Abilities\Spells\Other\FrostDamage\FrostDamage.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[16] => Array
(
[x] => 0.139483
[y] => 16.969
[z] => 83.2
[scale] => 0.12
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 20
[green] => 20
[blue] => 30
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[17] => Array
(
[x] => -0.437574
[y] => -14.8215
[z] => 83.2
[scale] => 0.12
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 20
[green] => 20
[blue] => 30
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[18] => Array
(
[x] => 0.0623636
[y] => 1.14394
[z] => 147.2
[scale] => 1
[rot] => 1.88496
[file] => Abilities\Weapons\ZigguratFrostMissile\ZigguratFrostMissile.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => true
[animation] => death
[aniSpeed] => 50
[pcolor] => 255
)
[19] => Array
(
[x] => -0.334299
[y] => 2.55793
[z] => 25.6
[scale] => 1.2
[rot] => 1.13446
[file] => Abilities\Weapons\ZigguratFrostMissile\ZigguratFrostMissile.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => true
[animation] => death
[aniSpeed] => 50
[pcolor] => 255
)
[20] => Array
(
[x] => 0.0894574
[y] => 1.91959
[z] => 83.2
[scale] => 1
[rot] => 1.5708
[file] => Abilities\Weapons\ZigguratFrostMissile\ZigguratFrostMissile.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => true
[animation] => death
[aniSpeed] => 50
[pcolor] => 255
)
[21] => Array
(
[x] => 0.113833
[y] => -0.025547
[z] => 64
[scale] => 0.6
[rot] => 0
[file] => Abilities\Spells\Undead\FrostArmor\FrostArmorTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[22] => Array
(
[x] => -0.176999
[y] => 0.161079
[z] => 25.6
[scale] => 0.85
[rot] => 3.14159
[file] => Abilities\Spells\Undead\FrostArmor\FrostArmorTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[23] => Array
(
[x] => -0.0337294
[y] => 1.82944
[z] => 6.4
[scale] => 0.45
[rot] => 4.27606
[file] => Abilities\Spells\Undead\FreezingBreath\FreezingBreathTargetArt.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => true
[animation] => stand
[aniSpeed] => 50
[pcolor] => 255
)
[24] => Array
(
[x] => 0.0555922
[y] => 0.0169403
[z] => -19.2
[scale] => 2.1
[rot] => 4.53786
[file] => war3mapImported\GeneralAuraTargetWhite.mdl
[red] => 65
[green] => 65
[blue] => 175
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[25] => Array
(
[x] => -0.171534
[y] => 0.0389154
[z] => 115.2
[scale] => 0.6
[rot] => 4.71239
[file] => Abilities\Spells\Undead\FrostArmor\FrostArmorTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[26] => Array
(
[x] => 0.140441
[y] => 0.0981956
[z] => 32
[scale] => 1.9
[rot] => 4.53786
[file] => war3mapImported\GeneralAuraTargetWhite.mdl
[red] => 65
[green] => 65
[blue] => 175
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[27] => Array
(
[x] => 0.0585613
[y] => -0.0371027
[z] => 76.8
[scale] => 1.6
[rot] => 4.53786
[file] => war3mapImported\GeneralAuraTargetWhite.mdl
[red] => 65
[green] => 65
[blue] => 175
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[28] => Array
(
[x] => 0.0418119
[y] => 0.134892
[z] => 121.6
[scale] => 1.2
[rot] => 4.53786
[file] => war3mapImported\GeneralAuraTargetWhite.mdl
[red] => 65
[green] => 65
[blue] => 175
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[29] => Array
(
[x] => 0.0101602
[y] => -0.178744
[z] => 160
[scale] => 1
[rot] => 4.53786
[file] => war3mapImported\GeneralAuraTargetWhite.mdl
[red] => 65
[green] => 65
[blue] => 175
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Level Up
[code] => local integer prev_max = tower.userInt2
local Icicles ic = tower.userInt3
local Buff b
local integer count = 0
set tower.userInt2 = 5 + (tower.getLevel() / 5)
//cleanup ones over the limit on delevel
if tower.userInt2 Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Attack
[code] => call ashbringer_icicle_create(tower, Event.getTarget())
[values] => Array
(
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNFrostBolt.blp
[name] => Icicles
[short_explain] => Attacks have a chance to create icicles that increase mana regen. Can be fired at enemies.
[ONATTACK_chance] => 0.075
[ONATTACK_chanceLevelAdd] => 0.002
[long_explain] => Attacks have a |cffffff807.5%|r chance to create an icicle, which is stored and waits to be fired. Stored icicles passively increase mana regen by |cffffff801|r per second each. Maximum of |cffffff805|r icicles. At maximum icicles, any additional icicles created are instantly fired at the target. Each icicle deals |cffffff80300%|r attack damage.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2%|r chance|n|cffFFFF80+4%|r damage|n|cffFFFF80+1|r max icicle every |cffffff805|r levels
)
)
[2] => Array
(
[name] => Header
[code] => globals
BuffType ashbringer_shatter_buff
ProjectileType ashbringer_icicle_prop
ProjectileType ashbringer_icicle_missile
MultiboardValues ashbringer_icicle_info
endglobals
struct Icicles
Projectile array p[10]
Effect array e[10]
boolean array t[10]
real array x[10]
real array y[10]
endstruct
function ashbringer_icicles_setup takes Tower tower returns nothing
local Icicles ic = Icicles.create()
local integer count = 0
set tower.userInt = 0
set tower.userInt2 = 5 + (tower.getLevel() / 5)//starting max
set tower.userReal = 0
set tower.userReal2 = I2R(tower.getUID())
loop
set ic.e[count] = 0
set ic.t[count] = false
set count = count + 1
exitwhen count==10
endloop
set tower.userInt3 = ic
endfunction
function ashbringer_icicle_fire takes Tower tower, Creep target returns nothing
call Projectile.createFromPointToUnit(ashbringer_icicle_missile, tower, 0, 0, tower.getX(), tower.getY(), 200, target, true, false, false).setScale(0.7)
endfunction
function ashbringer_icicle_store takes Tower tower returns nothing
local integer num = tower.userInt
local real tower_x
local real tower_y
local real angle
local real target_x
local real target_y
local Projectile p
local Icicles ic = tower.userInt3
//safeguard against remnant icicles, find open icicle slot
if ic.t[num]==true then
set num = 0
loop
set num = num + 1
exitwhen num==tower.userInt2 or ic.t[num-1]!=true
endloop
endif
if num=4
endloop
endfunction
function ashbringer_shatter_oncreate takes Buff b returns nothing
local Tower tower = b.getCaster()
local Creep target = b.getBuffedUnit()
call cb_stun.applyOnlyTimed(tower, target, b.getRemainingDuration())
call ashbringer_icicle_fireall(tower, target)
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 ashbringer_icicle_modifier = Modifier.create()
local Modifier ashbringer_shatter_modifier = Modifier.create()
set ashbringer_shatter_buff = BuffType.create(5, 0, false)
call ashbringer_shatter_buff.setBuffIcon('@@0@@')
call ashbringer_shatter_modifier.addModification(MOD_ATK_DAMAGE_RECEIVED, 1.0, 0)
call ashbringer_shatter_modifier.addModification(MOD_SPELL_DAMAGE_RECEIVED, 1.0, 0)
call ashbringer_shatter_buff.setBuffModifier(ashbringer_shatter_modifier)
call ashbringer_shatter_buff.addEventOnCreate(ashbringer_shatter_oncreate)
set ashbringer_icicle_prop = ProjectileType.createInterpolate("Abilities\\Spells\\Other\\FrostBolt\\FrostBoltMissile.mdl", 200)
call ashbringer_icicle_prop.setEventOnInterpolationFinished(ashbringer_icicle_effect)
call ashbringer_icicle_prop.disableExplodeOnExpiration()
set ashbringer_icicle_missile = ProjectileType.create("Abilities\\Spells\\Other\\FrostBolt\\FrostBoltMissile.mdl", 5, 1400)
call ashbringer_icicle_missile.enableHoming(ProjectileTargetEvent.ashbringer_icicle_hit, 0)
set ashbringer_icicle_info = MultiboardValues.create(3)
call ashbringer_icicle_info.setKey(0,"Icicles")
call ashbringer_icicle_info.setKey(1,"Icicles Max")
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[3] => Array
(
[name] => On Tower Details
[code] => call ashbringer_icicle_info.setValue(0, I2S(tower.userInt))
call ashbringer_icicle_info.setValue(1, I2S(tower.userInt2))
return ashbringer_icicle_info
[values] => Array
(
[0] => Array
(
[_value] => 0
[typ] => string
)
)
)
[4] => Array
(
[name] => On Tower Destruction
[code] => local Icicles ic = tower.userInt3
local integer count = 0
loop
if ic.t[count]==true then
call ic.p[count].destroy()
if ic.e[count]!=0 then
call ic.e[count].destroy()
endif
set ic.t[count] = false
endif
set count = count + 1
exitwhen count==10
endloop
call ic.destroy()
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[5] => Array
(
[name] => On Damage
[code] => call ashbringer_cascade(tower, Event.getTarget())
[values] => Array
(
[ONDAMAGE_chance] => 0.15
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNBreathOfFrost.blp
[name] => Cascade
[short_explain] => Hits have a chance to create AoE explosions around the target.
[ONDAMAGE_chanceLevelAdd] => 0.004
[long_explain] => Hits have a |cffffff8015%|r chance to create an icy explosion at a random point within |cffffff80250|r range of the attacked creep, dealing |cffffff8035%|r attack damage in |cffffff80150|r range. Each explosion has a |cffffff8015%|r chance to cause another explosion, up to a maximum of |cffffff804|r per attack.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r chance|n|cffFFFF80+1.4%|r damage
)
)
[6] => Array
(
[name] => Autocast
[code] => local Creep target = Event.getTarget()
local real towermana = GetUnitState( tower.getUnit(), UNIT_STATE_MANA)
local real duration = towermana / (150 - tower.getLevel())
if target.getSize()==SIZE_BOSS then
set duration = duration * 0.25
if duration<2.0 then
set duration = 2.0
endif
endif
call ashbringer_shatter_buff.applyCustomTimed(tower, target, tower.getLevel(), duration)
call tower.subtractMana(towermana, true)
[values] => Array
(
[AUTOCAST_cooldown] => 15
[AUTOCAST_autoRange] => 750
[AUTOCAST_manacost] => 300
[icon] => ReplaceableTextures\CommandButtons\BTNFreezingBreath.blp
[AUTOCAST_range] => 1000
[AUTOCAST_targetType] => 0
[AUTOCAST_numBuffsBeforeIdle] => 0
[caster_art] =>
[long_explain] => Spends all mana to encase the target in ice, stunning it and increasing damage taken by |cffffff80100%|r for up to |cffffff80[mana / 150]|r seconds. All icicles are then fired at the target. Duration is reduced by |cffffff8075%|r on Bosses, to a minimum of |cffffff802|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80-1|r mana divisor
[target_art] =>
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_UNIT
[AUTOCAST_buffType] => 0
[AUTOCAST_isExtended] => true
[name] => Shatter
[AUTOCAST_targetSelf] => false
[short_explain] => Spends all mana to freeze an enemy and increases damage taken for the duration. Fires all icicles.
)
)
[7] => Array
(
[name] => On Tower Creation
[code] => call ashbringer_icicles_setup(tower)
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Buffubertip] => Frozen and taking increased damage.
[TargetArt] => Abilities\Spells\Undead\FreezingBreath\FreezingBreathTargetArt.mdl
[Bufftip] => Shatter
[Buffart] => ReplaceableTextures\CommandButtons\BTNFreezingBreath.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
[lightning] => Array
(
)
)