Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [RngBuff1] => 250
            [MissileHoming] => 1
            [Upgrade] => Array
                (
                )

            [targs1] => ground,enemies
            [splashTargs1] => enemies
            [goldcost] => 1500
            [weapsOn] => 1
            [Hfact1] => 0.4
            [dice1] => 1
            [Missilespeed] => 900
            [moveHeight] => 12
            [impactZ] => 15
            [file] => units\creeps\HumanDestroyerShip\HumanDestroyerShip.mdl
            [Harea1] => 150
            [atkType1] => siege
            [modelScale] => 0.3
            [weapTp1] => msplash
            [Missilearc] => 0.1
            [acquire] => 800
            [rangeN1] => 900
            [upgrades] => Array
                (
                )

            [cool1] => 1.7
            [Ubertip] => A big ship for naval battles.
            [Farea1] => 25
            [abilList] => Array
                (
                )

            [Qarea1] => 250
            [launchZ] => 27
            [Name] => Battleship
            [Missileart] => Abilities\Weapons\BoatMissile\BoatMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNHumanDestroyer.blp
            [buildingShadow] => Array
                (
                )

            [unitSound] => Boat
            [turnRate] => 0.5
            [Qfact1] => 0.1
            [sides1] => 1
            [auto] => Array
                (
                )

            [dmgplus1] => 2341
            [bldtm] => 1
        )

    [settings] => Array
        (
            [author] => Natac
            [element] => iron
            [authorDisplay] => Natac
            [alpha] => 255
            [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
            [rarity] => uncommon
            [version] => 1.0
            [abil_factor] => 0.81
        )

    [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
                )

            [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
                )

            [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
                )

            [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
                )

            [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
                )

            [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
                )

            [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
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => 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
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => 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
                        (
                        )

                )

            [2] => 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
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [3] => 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
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNOrcBattleStandard.blp
                            [visible] => true
                            [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.
                        )

                )

            [4] => Array
                (
                    [name] => Tower Aura
                    [code] => Array
                        (
                        )

                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNMGExchange.blp
                            [visible] => true
                            [AURA_auraEffect] => natac_treasureSeeker_Buff
                            [AURA_power] => 150
                            [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_level] => 150
                            [AURA_auraRange] => 300
                            [AURA_targetType] => TARGET_TYPE_TOWERS
                            [AURA_levelAdd] => 10
                            [AURA_powerAdd] => 10
                            [name] => Treasure Seeker
                            [AURA_targetSelf] => true
                            [short_explain] => Increases the bounty gain of nearby towers.
                        )

                )

        )

    [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
                )

        )

)