Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[scaleBull] => 0
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 3000
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1500
[moveHeight] => -20
[file] => .mdl
[manaN] => 180
[atkType1] => normal
[modelScale] => 0.1
[weapTp1] => missile
[acquire] => 800
[rangeN1] => 750
[upgrades] => Array
(
)
[cool1] => 1.5
[Ubertip] => A powerful vortex with the ability to move things through space itself.
[regenMana] => 2.5
[abilList] => Array
(
)
[mana0] => 180
[Name] => Astral Rift
[Missileart] => Abilities\Weapons\DruidoftheTalonMissile\DruidoftheTalonMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNCharm.blp
[buildingShadow] => Array
(
)
[sides1] => 1
[uberSplat] => Array
(
)
[auto] => Array
(
)
[dmgplus1] => 2150
[bldtm] => 1
)
[settings] => Array
(
[author] => i_mOck_death
[element] => astral
[authorDisplay] => |cffc0c0c0i_mOck_death|r
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => unique
[version] => 1.0
[abil_factor] => .35
)
[effects] => Array
(
[0] => Array
(
[x] => -1.0208
[y] => -1.18565
[z] => 51.2
[scale] => 2
[rot] => 0.383973
[file] => Abilities\Spells\NightElf\SpiritOfVengeance\SpiritOfVengeanceOrbs1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -1.0208
[y] => -1.18565
[z] => 51.2
[scale] => 2
[rot] => 6.03884
[file] => Abilities\Spells\NightElf\SpiritOfVengeance\SpiritOfVengeanceOrbs1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => -1.0208
[y] => -1.18565
[z] => 51.2
[scale] => 2
[rot] => 2.72271
[file] => Abilities\Spells\NightElf\SpiritOfVengeance\SpiritOfVengeanceOrbs1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => -1.0208
[y] => -1.18565
[z] => 51.2
[scale] => 2
[rot] => 4.66003
[file] => Abilities\Spells\NightElf\SpiritOfVengeance\SpiritOfVengeanceOrbs1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => -1.0208
[y] => -1.18565
[z] => 51.2
[scale] => 2
[rot] => 2.60054
[file] => Abilities\Spells\NightElf\SpiritOfVengeance\SpiritOfVengeanceOrbs1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => -1.0208
[y] => -1.18565
[z] => 51.2
[scale] => 2
[rot] => 4.95674
[file] => Abilities\Spells\NightElf\SpiritOfVengeance\SpiritOfVengeanceOrbs1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => 0.794188
[y] => -5.73738
[z] => 121.6
[scale] => 2
[rot] => 4.69494
[file] => Abilities\Spells\Undead\Possession\PossessionTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -3.14
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[7] => Array
(
[x] => 0.794188
[y] => -5.73738
[z] => 121.6
[scale] => 2
[rot] => 4.69494
[file] => Abilities\Spells\Undead\Possession\PossessionTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -3.14
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[8] => Array
(
[x] => 55.9595
[y] => 0.113904
[z] => 57.6
[scale] => 0.26
[rot] => 3.13485
[file] => doodads\cinematic\ShimmeringPortal\ShimmeringPortal.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[9] => Array
(
[x] => -52.2206
[y] => 0.113873
[z] => 57.6
[scale] => 0.26
[rot] => 0.00314805
[file] => doodads\cinematic\ShimmeringPortal\ShimmeringPortal.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[10] => Array
(
[x] => 3.27965
[y] => -0.749639
[z] => 0
[scale] => 0.32
[rot] => 4.71284
[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
)
[11] => Array
(
[x] => -24.2486
[y] => -47.211
[z] => 0
[scale] => 0.29
[rot] => 4.97958
[file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[12] => Array
(
[x] => 27.2188
[y] => -46.5242
[z] => 0
[scale] => 0.29
[rot] => 4.36138
[file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[13] => Array
(
[x] => 57.1423
[y] => 2.3663
[z] => 0
[scale] => 0.29
[rot] => 2.32257
[file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[14] => Array
(
[x] => 26.6592
[y] => 52.3101
[z] => 0
[scale] => 0.29
[rot] => 5.08707
[file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[15] => Array
(
[x] => -23.9159
[y] => 52.31
[z] => 0
[scale] => 0.29
[rot] => 4.67748
[file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[16] => Array
(
[x] => -52.1068
[y] => 2.36623
[z] => 0
[scale] => 0.29
[rot] => 5.49697
[file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => local Creep target = Event.getTarget()
local Creep creep
local integer level = tower.getLevel()
local real facing
local real newX
local real newY
local Iterate it
if (target.getSize() < SIZE_BOSS or GetRandomInt(0,1) == 1) and tower.subtractMana(30,false) == 30 then
call Effect.createScaled("Abilities\\Spells\\Undead\\ReplenishMana\\ReplenishManaCaster.mdl", tower.getX()-16, tower.getY()-16, 10, 0, 30).setLifetime(1)
//Move the creep(s).
call Effect.createSimple("Abilities\\Spells\\Items\\AIil\\AIilTarget.mdl",target.getX(),target.getY()).destroy()
set facing = GetUnitFacing(target.getUnit()) - 180
if tower.calcChance(0.15) then
//Move all units around the target.
set it = Iterate.overUnitsInRangeOfUnit(tower, TARGET_CREEPS, target, 175.0 + level)
loop
set creep = it.next()
exitwhen creep == 0
set newX = creep.getX() + (175+level) * Cos(facing * bj_DEGTORAD)
set newY = creep.getY() + (175+level) * Sin(facing * bj_DEGTORAD)
call creep.moveToPoint(newX,newY,true)
endloop
else
//Move target only.
set newX = target.getX() + (175+level) * Cos(facing * bj_DEGTORAD)
set newY = target.getY() + (175+level) * Sin(facing * bj_DEGTORAD)
call target.moveToPoint(newX,newY,true)
endif
//Apply slow
call Effect.create("Abilities\\Spells\\Other\\Silence\\SilenceAreaBirth.mdl", target.getX(), target.getY(), 50, 0).setLifetime(1)
set it = Iterate.overUnitsInRangeOfUnit(tower, TARGET_CREEPS, target, 250 + level)
loop
set creep = it.next()
exitwhen creep == 0
call mOck_AstralRift_Slow.apply(tower, creep, level)
endloop
endif
[values] => Array
(
[ONDAMAGE_chance] => .10
[icon] => ReplaceableTextures\CommandButtons\BTNMassTeleport.blp
[visible] => true
[name] => Spacial Rift
[short_explain] => This tower has a chance on damage to move units back and slow them, but at the cost of some mana.
[ONDAMAGE_chanceLevelAdd] => 0.004
[long_explain] => Whenever this tower damages a creep it has a |cffFFFF8010%|r chance to move that creep back by |cffFFFF80175|r units. Upon triggering there is a further |cffFFFF8015%|r chance that all creeps in |cffFFFF80175|r AoE of the target will also be moved back |cffFFFF80175|r units. Costs |cffFFFF8030|r mana. Chance is halved for bosses. The original target and creeps around it will get startled and become slowed by |cffFFFF8030%|r for |cffFFFF802|r seconds in a |cffFFFF80250|r AoE. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r chance to move creep|n|cffFFFF80+1|r units moved |n|cffFFFF80+1|r slow and unit move AoE|n|cffFFFF80+1%|r slow
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType mOck_AstralRift
BuffType mOck_AstralRift_Slow
endglobals
//Do not remove or rename this function!
//Put your initialization tasks here, this function will be called on map init
function SPDamage takes Buff b returns nothing
local Creep c = b.getBuffedUnit()
local Tower t = b.getCaster()
call t.doSpellDamage(c,GetUnitMoveSpeed(c.getUnit())*((t.getLevel()*.16)+2),t.calcSpellCritNoBonus())
endfunction
private function init takes nothing returns nothing
local Modifier Bmod = Modifier.create()
set mOck_AstralRift_Slow = BuffType.create(2,0,false)
set mOck_AstralRift = BuffType.createAuraEffectType(false)
call mOck_AstralRift.addPeriodicEvent(EventHandler.SPDamage, 1.00 )
call Bmod.addModification(MOD_MOVESPEED,-.3,-.01)
call mOck_AstralRift_Slow.setBuffModifier(Bmod)
call mOck_AstralRift.setStackingGroup("rift_aura")
call mOck_AstralRift.setBuffIcon('@@0@@')
call mOck_AstralRift_Slow.setBuffIcon('@@1@@')
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[2] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNWispSplode.blp
[visible] => true
[AURA_auraEffect] => mOck_AstralRift
[AURA_power] => 0
[long_explain] => The Astral Rift's presence is so powerful that it damages creeps equal to |cffFFFF80200%|r of their movement speed every second in an area of |cffFFFF80750|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+16%|r damage increase
[AURA_level] => 0
[AURA_auraRange] => 750
[AURA_targetType] => TARGET_TYPE_CREEPS
[AURA_levelAdd] => 1
[AURA_powerAdd] => 1
[name] => Presence of the Rift
[AURA_targetSelf] => false
[short_explain] => Aura that damages creeps based on their movement speed.
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Bufftip] => Presence of the Rift
[Buffubertip] => This unit is in the presence of the Rift and is getting damaged every second.
[Buffart] => ReplaceableTextures\CommandButtons\BTNWispSplode.blp
[TargetArt] => Array
(
)
[EditorName] => Presence of the Rift
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => Bfae
[oeValues] => Array
(
[Bufftip] => Startled
[Buffubertip] => This unit got startled making it become slower for a short period of time.
[Buffart] => ReplaceableTextures\CommandButtons\BTNMassTeleport.blp
[TargetArt] => Array
(
)
[EditorName] => Startled
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)