Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Farea1] => 25
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNHumanDestroyer.blp
[turnRate] => 0.5
[bldtm] => 1
[dmgplus1] => 433
[goldcost] => 300
[unitSound] => MortarTeam
[sides1] => 1
[Missilearc] => 0.35
[launchZ] => 23.5
[acquire] => 800
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[launchY] => 6.25
[launchX] => 12.5
[Name] => Rowing Boat
[splashTargs1] => enemies
[weapTp1] => msplash
[impactZ] => 15
[MissileHoming] => 1
[file] => .mdl
[uberSplat] => OSMA
[Harea1] => 150
[Missileart] => Abilities\Weapons\CannonTowerMissile\CannonTowerMissile.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 small rowing boat with two seamen.
[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.75
[author] => Natac
[alpha] => 255
[authorDisplay] => Natac
[element] => iron
[rarity] => uncommon
)
[effects] => Array
(
[0] => Array
(
[x] => 39.1491
[y] => 25.9769
[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] => -41.0635
[y] => 23.8349
[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] => 0.108587
[y] => 8.57515
[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] => -3.61127
[y] => 49.1658
[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] => 40.287
[y] => -26.6059
[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] => 1.80704
[y] => -49.9868
[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] => -41.4682
[y] => -21.6721
[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.952432
[y] => 6.15373
[z] => 19.2
[scale] => 0.4
[rot] => 4.69871
[file] => Doodads\Northrend\Water\Rowboat\Rowboat.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => -0.116654
[y] => -1.16686
[z] => 25.6
[scale] => 0.25
[rot] => 4.71239
[file] => units\human\MortarTeam\MortarTeam.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 = 0.3// 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 |cffFFFF800.3|r gold each attack.
)
)
[1] => Array
(
[name] => Header
[code] => globals
//@export
BuffType natac_treasureSeeker_Buff
//@export
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
local Modifier bountyMod = Modifier.create()
set natac_treasureSeeker_Buff = BuffType.createAuraEffectType(true)
call bountyMod.addModification(MOD_BOUNTY_RECEIVED, 0.0 , 0.001 ) // Set by aura
call natac_treasureSeeker_Buff.setBuffModifier(bountyMod)
call natac_treasureSeeker_Buff.setBuffIcon('@@0@@')
set natac_pirates_MultiboardValue = MultiboardValues.create(1)
call natac_pirates_MultiboardValue.setKey(0,"Gold Plundered")
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] => 5
[visible] => true
[AURA_auraEffect] => natac_treasureSeeker_Buff
[AURA_power] => 100
[AURA_levelAdd] => 5
[icon] => ReplaceableTextures\CommandButtons\BTNMGExchange.blp
[AURA_targetType] => TARGET_TYPE_TOWERS
[long_explain] => Increases the bounty gain of towers in |cffFFFF80300|r range by |cffFFFF8010%|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.5%|r bounty
[AURA_targetSelf] => true
[name] => Treasure Seeker
[AURA_level] => 100
[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() == parent.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
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Buffubertip] => The bounty gain of this tower is increased.
[TargetArt] => Array
(
)
[Bufftip] => Treasure Seeker
[Buffart] => ReplaceableTextures\CommandButtons\BTNMGExchange.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => natac_treasureSeeker_Buff
)
[1] => Array
(
[export] => true
[category] => global
[typ] => MultiboardValues
[name] => natac_pirates_MultiboardValue
)
)
[lightning] => Array
(
)
)