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

            [targs1] => Array
                (
                )

            [goldcost] => 2700
            [weapsOn] => 1
            [dice1] => 1
            [damageLoss1] => 0.25
            [Missilespeed] => 1500
            [targCount1] => 2
            [moveHeight] => 120
            [file] => units\creeps\HarpyQueen\HarpyQueen.mdl
            [manaN] => 30
            [atkType1] => normal
            [dmgpt1] => 0.3
            [modelScale] => 0.95
            [weapTp1] => mbounce
            [Missilearc] => 0.1
            [acquire] => 1000
            [rangeN1] => 1000
            [upgrades] => Array
                (
                )

            [cool1] => 2.4
            [Ubertip] => Summoner of storms and rain. Harpies are known for their brutality and mercilessness.
            [backSw1] => 0.3
            [Farea1] => 400
            [regenMana] => 2
            [abilList] => Array
                (
                )

            [Name] => Harpy Queen
            [Missileart] => Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNHarpyWitch.blp
            [buildingShadow] => Array
                (
                )

            [turnRate] => 1
            [unitSound] => Harpy
            [sides1] => 163
            [auto] => Array
                (
                )

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

    [settings] => Array
        (
            [author] => drol
            [element] => storm
            [authorDisplay] => |cffcc6600drol|r
            [alpha] => 255
            [balanceTip] => |cffCCFF00Bounce attack:|n   |cffFFFF002|r targets|n   |cffFFFF00-25%|r damage per bounce
            [rarity] => rare
            [version] => 1.0
            [abil_factor] => 0.6
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -16.6149
                    [y] => 5.10343
                    [z] => 0
                    [scale] => 0.6
                    [rot] => 1.5708
                    [file] => Doodads\Felwood\Structures\FelwoodRubble\FelwoodRubble2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -32.9746
                    [y] => 38.7146
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 3.10669
                    [file] => Doodads\Felwood\Structures\FelwoodBrokenColumn\FelwoodBrokenColumn0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 12.2387
                    [y] => 37.4902
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 6.26573
                    [file] => Doodads\Felwood\Structures\FelwoodRuinsBlocks\FelwoodRuinsBlocks.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => 33.792
                    [y] => 32.6111
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.34071
                    [file] => Doodads\Felwood\Plants\FelwoodBush\FelwoodBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -45.0016
                    [y] => -3.08773
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.16618
                    [file] => Doodads\Felwood\Plants\FelwoodBush\FelwoodBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => -29.5079
                    [y] => 31.6204
                    [z] => 89.6
                    [scale] => 0.5
                    [rot] => 1.15192
                    [file] => Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 18.1848
                    [y] => -19.2248
                    [z] => -38.4
                    [scale] => 0.8
                    [rot] => 2.54818
                    [file] => Abilities\Spells\Orc\Purge\PurgeBuffTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 32.8731
                    [y] => -12.3485
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.79449
                    [file] => Doodads\Felwood\Structures\FelwoodBrokenColumn\FelwoodBrokenColumn0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => -15.2506
                    [y] => -40.617
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 3.28122
                    [file] => Doodads\Felwood\Structures\FelwoodRuinsBlocks\FelwoodRuinsBlocks.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => 16.1477
                    [y] => -40.617
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.16618
                    [file] => Doodads\Felwood\Plants\FelwoodBush\FelwoodBush0.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] => set tower.userInt = 0
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
    
        //@import
        BuffType drol_harpy
        //@import
        BuffType drol_harpyDebuff
        //@import
        ProjectileType drol_harpyMissile 
    
    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] => 
                        )

                )

            [2] => Array
                (
                    [name] => Autocast
                    [code] => call drol_harpy.applyCustomTimed(tower, Event.getTarget(), tower.getLevel() * 2 + 25, 7.5 + 0.3 * tower.getLevel())
                    [values] => Array
                        (
                            [caster_art] => 
                            [icon] => ReplaceableTextures\CommandButtons\BTNManaBurn.blp
                            [AUTOCAST_cooldown] => 2
                            [AUTOCAST_numBuffsBeforeIdle] => 1
                            [AUTOCAST_isExtended] => false
                            [long_explain] => Increases the spell damage for a tower in |cffFFFF80500|r range by |cffFFFF8020%|r and it's spell critical strike chance by |cffFFFF8012.5%|r. Lasts |cffFFFF807.5|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r spell damage|n|cffFFFF80+0.2%|r spell critical strike chance|n|cffFFFF80+0.3|r seconds duration
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_BUFF
                            [AUTOCAST_manacost] => 22
                            [AUTOCAST_range] => 500
                            [AUTOCAST_buffType] => drol_harpy
                            [name] => Sparks
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Increases the spell damage and spell critical strike chance of a nearby tower.
                            [AUTOCAST_targetType] => TARGET_TYPE_TOWERS
                            [target_art] => Abilities\Spells\Other\Monsoon\MonsoonBoltTarget.mdl
                            [AUTOCAST_autoRange] => 500
                        )

                )

            [3] => Array
                (
                    [name] => On Attack
                    [code] => local Iterate i = Iterate.overUnitsInRangeOfCaster(tower, TARGET_CREEPS, 1000)  
    local integer k = 3
    local Unit u
    local Projectile p
    
    set tower.userInt = 20 + tower.getLevel() * 7
    
    loop
        set u = i.next()
        exitwhen u == 0 or k == 0
        set p = Projectile.createFromUnitToUnit(drol_harpyMissile, tower, 1, 0, tower, u, true, false, false) 
        call p.setScale(0.70)
        set k = k - 1
    endloop
    if u != 0 then
        call i.destroy()
    endif
    set i = 0
                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNTornado.blp
                            [visible] => true
                            [name] => Twister
                            [short_explain] => Has a chance on attack to summon three tornados that attack two creeps.
                            [ONATTACK_chance] => 0.12
                            [ONATTACK_chanceLevelAdd] => 0.005
                            [long_explain] => Attacks have a |cffFFFF8012%|r chance to summon |cffFFFF803|r tornados towards two random creeps in attack range of the harpy. Upon hit each tornado deals this tower's attack damage to the target and makes it suffer |cffFFFF8018%|r additional damage from |cFF8080FFStorm|r towers for |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.5%|r chance|n|cffFFFF80+0.7%|r additional damage taken
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
            [0] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => BuffType
                    [name] => drol_harpy
                )

            [1] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => BuffType
                    [name] => drol_harpyDebuff
                )

            [2] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => ProjectileType
                    [name] => drol_harpyMissile
                )

        )

)