Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNFlakCannons.blp
[dmgplus1] => 0
[bldtm] => 1
[unitSound] => AmmoDump
[goldcost] => 2250
[sides1] => 1
[manaN] => 100
[acquire] => 850
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Automated Ammo Dispenser
[impactZ] => 60
[file] => .mdl
[MissileHoming] => 1
[Missilespeed] => 1500
[dice1] => 1
[RngBuff1] => 250
[modelScale] => 0.1
[rangeN1] => 850
[propWin] => 10
[atkType1] => siege
[cool1] => 1.3
[Ubertip] => Keep your Iron towers well supplied.
[scaleBull] => 0
[abilList] => Array
(
)
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
)
[settings] => Array
(
[balanceTip] => |cffFFFF00+4 |rmana/lvl
[abil_factor] => 0
[author] => Ashbringer, Moppy
[alpha] => 0
[authorDisplay] => |cffff6600Ashbringer|r, |c006969FFMoppy|r
[version] => 1.0
[element] => iron
[rarity] => uncommon
)
[effects] => Array
(
[0] => Array
(
[x] => -0.843296
[y] => 1.64649
[z] => 0
[scale] => 0.25
[rot] => 2.3562
[file] => buildings\other\WyvernCage\WyvernCage.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => -0.499268
[y] => 1.1464
[z] => 32
[scale] => 0.15
[rot] => 2.3562
[file] => buildings\other\WyvernCage\WyvernCage.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => -20.7793
[y] => 16.9302
[z] => 0
[scale] => 0.9
[rot] => 4.71239
[file] => Doodads\LordaeronSummer\Terrain\Crates\Crates1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -31.5352
[y] => 2.63587
[z] => 12.8
[scale] => 0.5
[rot] => 0.226893
[file] => Doodads\LordaeronSummer\Terrain\Crates\Crates0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => 20.2785
[y] => 22.4255
[z] => 0
[scale] => 0.65
[rot] => 1.79769
[file] => Doodads\LordaeronSummer\Terrain\Crates\Crates0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => -0.030777
[y] => -0.0409527
[z] => 32
[scale] => 0.25
[rot] => 4.71239
[file] => Doodads\Outland\Props\Grate\Grate1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => 32.5158
[y] => 14.4795
[z] => 25.6
[scale] => 0.275
[rot] => 1.5708
[file] => Units\Other\TNTBarrel\TNTBarrel.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => 7.32695
[y] => -31.5085
[z] => 0
[scale] => 0.275
[rot] => 1.22173
[file] => Units\Other\TNTBarrel\TNTBarrel.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => 30.473
[y] => -15.4831
[z] => 0
[scale] => 0.61
[rot] => 3.36849
[file] => Doodads\LordaeronSummer\Terrain\Crates\Crates0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[9] => Array
(
[x] => -21.4244
[y] => -29.7502
[z] => 0
[scale] => 0.55
[rot] => 4.71239
[file] => Doodads\LordaeronSummer\Props\Weapons\Weapons.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[10] => Array
(
[x] => -32.8612
[y] => 27.1251
[z] => 32
[scale] => 0.275
[rot] => 0.959931
[file] => Units\Other\TNTBarrel\TNTBarrel.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_MANA
[base] => 0
[add] => 4
)
)
[triggers] => Array
(
[0] => Array
(
[name] => On Level Up
[code] => if tower.userInt == 1 then
set tower.userReal2 = 825 + (tower.getLevel() * 30)
set tower.userInt2 = R2I(tower.userReal2)
call tower.refreshAuras()
endif
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => Header
[code] => globals
//@import
BuffType ashbringer_ammo_buff
endglobals
//@import
function ashbringer_ammo_restock takes Tower tower, real stock, real xp returns nothing
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
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[2] => Array
(
[name] => On Tower Destruction
[code] => local Effect e = tower.userInt3
call e.destroy()
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[3] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 0
[visible] => true
[AURA_auraEffect] => ashbringer_ammo_buff
[AURA_levelAdd] => 0
[AURA_power] => 0
[icon] => ReplaceableTextures\CommandButtons\BTNHumanArtilleryUpOne.blp
[AURA_targetType] => TARGET_TYPE_TOWERS + TARGET_TYPE_ELEMENT_IRON
[long_explain] => Mana represents how much stock is available. While there is stock available, increases the attack dps of |cFFC0C0C0Iron|r towers within |cffFFFF80150|r range by |cffFFFF80825|r, but each attack made by an affected tower will drain stock equal to that tower's base attack cooldown.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+30|r attack dps
[AURA_targetSelf] => false
[name] => Ammo Supply
[AURA_level] => 0
[short_explain] => Increases attack dps of adjacent |cFFC0C0C0Iron|r towers as long as there is stock available.
[AURA_auraRange] => 150
)
)
[4] => Array
(
[name] => Periodic
[code] => call ashbringer_ammo_restock(tower, 40 + (tower.getLevel() * 1), 2)
[values] => Array
(
[visible] => true
[PERIODIC_period] => 20
[icon] => ReplaceableTextures\CommandButtons\BTNEngineeringUpgrade.blp
[name] => Logistics
[short_explain] => Gains stock and experience every |cffFFFF8020|r seconds.
[long_explain] => Every |cffFFFF8020|r seconds, the tower gains |cffFFFF8040|r stock and |cffFFFF802|r experience.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1|r stock
)
)
[5] => Array
(
[name] => On Tower Creation
[code] => local Effect e = Effect.createColored("Abilities\\Spells\\Orc\\StasisTrap\\StasisTotemTarget.mdl", tower.getX(), tower.getY(), 80, 270, 1.4, 255, 255, 255, 0)
set tower.userInt3 = e
set tower.userInt = 1
call tower.addManaPerc(1)
set tower.userReal = GetUnitState(tower.getUnit(), UNIT_STATE_MANA)
set tower.userReal2 = 825 + (tower.getLevel() * 30)
set tower.userInt2 = R2I(tower.userReal2)
call tower.refreshAuras()
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => false
[category] => global
[typ] => BuffType
[name] => ashbringer_ammo_buff
)
)
[lightning] => Array
(
)
)