Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Farea1] => 25
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNHumanDestroyer.blp
[turnRate] => 0.5
[bldtm] => 1
[dmgplus1] => 2341
[goldcost] => 1500
[unitSound] => Boat
[sides1] => 1
[Missilearc] => 0.1
[launchZ] => 27
[acquire] => 800
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Battleship
[splashTargs1] => enemies
[weapTp1] => msplash
[impactZ] => 15
[MissileHoming] => 1
[file] => .mdl
[uberSplat] => OSMA
[Harea1] => 150
[Missileart] => Abilities\Weapons\BoatMissile\BoatMissile.mdl
[Missilespeed] => 900
[Qarea1] => 250
[Qfact1] => 0.1
[dice1] => 1
[RngBuff1] => 250
[Hfact1] => 0.4
[modelScale] => 0.1
[rangeN1] => 900
[atkType1] => siege
[cool1] => 1.7
[Ubertip] => A big ship for naval battles.
[abilList] => Array
(
)
[buildingShadow] => Array
(
)
[targs1] => ground,enemies
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => |cffFF0000Attacks GROUND only|r|n|cffCCFF00Splash attack:|n |cffFFFF0025|r AoE: |cff00FF00100%|r damage|r|n |cffFFFF00150|r AoE: |cffFFFF0040%|r damage|r|n |cffFFFF00250|r AoE: |cffFF800010%|r damage|r
[abil_factor] => 0.81
[author] => Natac
[alpha] => 255
[authorDisplay] => Natac
[element] => iron
[rarity] => uncommon
)
[effects] => Array
(
[0] => Array
(
[x] => 40.1325
[y] => 25.3763
[z] => 0
[scale] => 0.2
[rot] => 3.7378
[file] => Doodads\LordaeronSummer\Terrain\StoneWall0\StoneWall02.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => -40.0801
[y] => 23.2343
[z] => 0
[scale] => 0.2
[rot] => 5.80793
[file] => Doodads\LordaeronSummer\Terrain\StoneWall0\StoneWall02.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => 1.092
[y] => 7.97453
[z] => 6.4
[scale] => 1
[rot] => 5.47702
[file] => Abilities\Spells\NightElf\MoonWell\MoonWellTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -2.62786
[y] => 48.5651
[z] => 0
[scale] => 0.18
[rot] => 0.795365
[file] => Doodads\LordaeronSummer\Terrain\StoneWall135\StoneWall1354.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => 41.2704
[y] => -27.2065
[z] => 0
[scale] => 0.18
[rot] => 5.02014
[file] => Doodads\LordaeronSummer\Terrain\StoneWall135\StoneWall1354.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => 2.79046
[y] => -50.5875
[z] => 0
[scale] => 0.2
[rot] => 4.71239
[file] => Doodads\LordaeronSummer\Terrain\StoneWall0\StoneWall02.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => -40.4848
[y] => -22.2727
[z] => 0
[scale] => 0.18
[rot] => 2.90422
[file] => Doodads\LordaeronSummer\Terrain\StoneWall135\StoneWall1354.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => 0.171581
[y] => -0.645458
[z] => 12.8
[scale] => 0.3
[rot] => 4.71239
[file] => units\creeps\HumanDestroyerShip\HumanDestroyerShip.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Attack
[code] => local real goldGranted = 2.4// The gold, that will be granted to the player on this attack
set tower.userReal = tower.userReal + goldGranted // Set the statistics
call tower.getOwner().giveGold(goldGranted, tower.getUnit(), false, true)
[values] => Array
(
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNOrcBattleStandard.blp
[name] => Pirates
[short_explain] => Grants gold on attack.
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
[long_explain] => This tower plunders |cffFFFF802.4|r gold each attack.
)
)
[1] => Array
(
[name] => Header
[code] => globals
//@import
BuffType natac_treasureSeeker_Buff
//@import
MultiboardValues natac_pirates_MultiboardValue
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
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[2] => Array
(
[name] => On Tower Details
[code] => // Show total gold, stolen by this tower pirates ability
call natac_pirates_MultiboardValue.setValue(0,R2S(tower.userReal))
return natac_pirates_MultiboardValue
[values] => Array
(
[0] => Array
(
[_value] => 0
[typ] => string
)
)
)
[3] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 10
[visible] => true
[AURA_auraEffect] => natac_treasureSeeker_Buff
[AURA_power] => 150
[AURA_levelAdd] => 10
[icon] => ReplaceableTextures\CommandButtons\BTNMGExchange.blp
[AURA_targetType] => TARGET_TYPE_TOWERS
[long_explain] => Increases the bounty gain of towers in |cffFFFF80300|r range by |cffFFFF8015%|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1%|r bounty
[AURA_targetSelf] => true
[name] => Treasure Seeker
[AURA_level] => 150
[short_explain] => Increases the bounty gain of nearby towers.
[AURA_auraRange] => 300
)
)
[4] => Array
(
[name] => On Tower Creation
[code] => local Tower parent = Event.getPrecedingTower()
if parent.getFamily() == tower.getFamily() then
set tower.userReal = parent.userReal
else
set tower.userReal = 0
endif // Total gold, earned by this towers pirates ability
[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] => natac_treasureSeeker_Buff
)
[1] => Array
(
[export] => false
[category] => global
[typ] => MultiboardValues
[name] => natac_pirates_MultiboardValue
)
)
[lightning] => Array
(
)
)