Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[lumbercost] => 10
[goldcost] => 2600
[weapsOn] => 1
[Specialart] => Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
[dice1] => 1
[Missilespeed] => 1500
[moveHeight] => -145
[file] => Doodads\Icecrown\Props\IceCrownPillar\IceCrownPillar0.mdl
[atkType1] => siege
[modelScale] => 0.9
[weapTp1] => missile
[acquire] => 925
[rangeN1] => 925
[upgrades] => Array
(
)
[cool1] => 1.4
[Ubertip] => A powerful iron tower that will go to great lengths to defend its territory.
[green] => 100
[abilList] => Array
(
)
[launchZ] => 250
[Name] => Modern Iron Sentry
[Missileart] => Abilities\Weapons\BoatMissile\BoatMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNCannonTower.blp
[red] => 100
[buildingShadow] => Array
(
)
[blue] => 100
[sides1] => 1
[auto] => Array
(
)
[dmgplus1] => 1941
[bldtm] => 1
)
[settings] => Array
(
[author] => Glowackos
[element] => iron
[authorDisplay] => |cffff6347Glowackos|r
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => rare
[version] => 1.0
[abil_factor] => 0.5
)
[effects] => Array
(
[0] => Array
(
[x] => -0.0000309944
[y] => 2.93871
[z] => 0
[scale] => 0.2
[rot] => 1.5708
[file] => Doodads\LordaeronSummer\Structures\LRockArch45\LRockArch45.mdl
[red] => 150
[green] => 175
[blue] => 200
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -0.916153
[y] => 3.33237
[z] => 0
[scale] => 0.2
[rot] => 0
[file] => Doodads\LordaeronSummer\Structures\LRockArch45\LRockArch45.mdl
[red] => 150
[green] => 175
[blue] => 200
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => -0.567589
[y] => -46.8174
[z] => 0
[scale] => 0.08
[rot] => 1.5708
[file] => Doodads\LordaeronSummer\Structures\LRockArch\LRockArch.mdl
[red] => 150
[green] => 175
[blue] => 200
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => -0.383264
[y] => 49.45
[z] => 0
[scale] => 0.08
[rot] => 1.5708
[file] => Doodads\LordaeronSummer\Structures\LRockArch\LRockArch.mdl
[red] => 150
[green] => 175
[blue] => 200
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => -45.2347
[y] => 0.770162
[z] => 0
[scale] => 0.08
[rot] => 0
[file] => Doodads\LordaeronSummer\Structures\LRockArch\LRockArch.mdl
[red] => 150
[green] => 175
[blue] => 200
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => 48.9836
[y] => -0.0000213591
[z] => 0
[scale] => 0.08
[rot] => 0
[file] => Doodads\LordaeronSummer\Structures\LRockArch\LRockArch.mdl
[red] => 150
[green] => 175
[blue] => 200
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => 0.630742
[y] => -0.460886
[z] => 96
[scale] => 0.2
[rot] => 5.16618
[file] => Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
[red] => 255
[green] => 255
[blue] => 200
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[7] => Array
(
[x] => -0.119063
[y] => 0.886181
[z] => 83.2
[scale] => 0.3
[rot] => 0.785398
[file] => Abilities\Spells\Orc\ReinforcedTrollBurrow\ReinforcedTrollBurrowTarget.mdl
[red] => 150
[green] => 175
[blue] => 200
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[8] => Array
(
[x] => 0.326858
[y] => -0.274132
[z] => 83.2
[scale] => 0.3
[rot] => 0
[file] => Abilities\Spells\Orc\ReinforcedTrollBurrow\ReinforcedTrollBurrowTarget.mdl
[red] => 150
[green] => 175
[blue] => 200
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
//@import
BuffType glow_damage_buff
//@import
BuffType glow_armor_shred
endglobals
//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
endfunction
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNCallToArms.blp
[visible] => true
[name] => Alert
[short_explain] => Nearby towers are alerted of trespassers.
[long_explain] => Towers in |cffFFFF80500|r range get alerted whenever a creep of size air, champion or boss enters the sentry's attack range. They have their base damage increased by |cffFFFF807.5%|r for |cffFFFF8015|r seconds. Does not stack.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.5%|r base damage bonus
)
)
[1] => Array
(
[name] => On Unit Comes In Range
[code] => local Unit creep = Event.getTarget()
local integer size = creep.getSize()
local integer level = tower.getLevel()
local Iterate it
local Unit next
local integer uid = tower.getUID()
local Buff b = creep.getBuffOfType(glow_armor_shred)
local integer buffLevel = 500 + 20 * level
if b != 0 then
set buffLevel = IMinBJ(buffLevel + b.getLevel(), buffLevel * 5)
endif
if tower.calcChance(0.6) then
call glow_armor_shred.apply(tower,creep,buffLevel)
endif
call tower.modifyProperty(MOD_DAMAGE_BASE_PERC,(0.05 + 0.001*level)*(size+1))
if size > SIZE_NORMAL then
set it = Iterate.overUnitsInRangeOfCaster(tower, TARGET_TOWERS, 500)
loop
set next = it.next()
exitwhen next == 0
call glow_damage_buff.apply(tower,next,2)
endloop
endif
call TriggerSleepAction(12)
if tower.getUID() == uid then
call tower.modifyProperty(MOD_DAMAGE_BASE_PERC,-(0.05 + 0.001*level)*(size+1))
endif
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNHumanArtilleryUpOne.blp
[visible] => true
[name] => Trespasser Awareness
[short_explain] => Gains bonus damage when enemy creeps enter its territory. Chance to reduce the armor of the entering creep.
[UNITINRANGE_targetType] => TARGET_TYPE_CREEPS
[long_explain] => This tower strengthens its defenses when uninvited units enter its territory. It gains bonus |cffFFFF805%-40%|r base percent damage with each creep entering its attack range, based on the creep's size. Bonus damage lasts |cffFFFF8012|r seconds and new stacks of damage do not refresh duration of old ones.|nThere is also a |cffFFFF8060%|r chance that the trespassing creep will permanently have its armor reduced by |cffFFFF805|r, which stacks up to |cffFFFF805|r times.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2|r armor reduction|n|cffFFFF80+0.1%-0.8%|r bonus base percent damage
[UNITINRANGE_range] => 925
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => false
[category] => global
[typ] => BuffType
[name] => glow_damage_buff
)
[1] => Array
(
[export] => false
[category] => global
[typ] => BuffType
[name] => glow_armor_shred
)
)
)