Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[lumbercost] => 10
[goldcost] => 950
[weapsOn] => 1
[Specialart] => Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
[dice1] => 1
[Missilespeed] => 1500
[file] => Doodads\Cityscape\Props\FountainRuined\FountainRuined.mdl
[atkType1] => siege
[modelScale] => 0.2
[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] => 35
[Name] => Rundown Iron Sentry
[Missileart] => Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNCannonTower.blp
[red] => 100
[buildingShadow] => Array
(
)
[blue] => 100
[sides1] => 1
[auto] => Array
(
)
[dmgplus1] => 709
[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.0991246
[y] => 0.127429
[z] => 32
[scale] => 0.2
[rot] => 2.79253
[file] => Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
[red] => 255
[green] => 255
[blue] => 200
[alpha] => 200
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => 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
)
[2] => 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
)
[3] => 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
)
[4] => 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
)
[5] => Array
(
[x] => -0.119063
[y] => 0.886181
[z] => 6.4
[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
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
//@export
BuffType glow_damage_buff
//@export
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
local Modifier m = Modifier.create()
call m.addModification(MOD_DAMAGE_BASE_PERC, 0.075, 0.005)
set glow_damage_buff = BuffType.create(5, 5, true)
call glow_damage_buff.setBuffIcon('@@0@@')
call glow_damage_buff.setBuffModifier(m)
set m = Modifier.create()
call m.addModification(MOD_ARMOR, 0.0, -0.01)
set glow_armor_shred = BuffType.create(-1.0, 0.0, false)
call glow_armor_shred.setBuffIcon('@@1@@')
call glow_armor_shred.setBuffModifier(m)
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 |cffFFFF805|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 = 300 + 10 * level
if b != 0 then
set buffLevel = IMinBJ(buffLevel + b.getLevel(), buffLevel * 5)
endif
if tower.calcChance(0.4) 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,0)
endloop
endif
call TriggerSleepAction(5)
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 |cffFFFF805|r seconds and new stacks of damage do not refresh duration of old ones.|nThere is also a |cffFFFF8040%|r chance that the trespassing creep will permanently have its armor reduced by |cffFFFF803|r, which stacks up to |cffFFFF805|r times.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.1|r armor reduction|n|cffFFFF80+0.1%-0.8%|r bonus base percent damage
[UNITINRANGE_range] => 925
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BNab
[oeValues] => Array
(
[Bufftip] => Alert
[Buffubertip] => This tower has been alerted; it has bonus base percent damage.
[Buffart] => ReplaceableTextures\CommandButtons\BTNCallToArms.blp
[TargetArt] => Array
(
)
[EditorName] => Alert
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => BNab
[oeValues] => Array
(
[Bufftip] => Trespassing
[Buffubertip] => This unit is trespassing; it has its armor reduced.
[Buffart] => ReplaceableTextures\CommandButtons\BTNHumanArtilleryUpOne.blp
[TargetArt] => Array
(
)
[EditorName] => Trespassing
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => glow_damage_buff
)
[1] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => glow_armor_shred
)
)
)