Array
(
    [scriptVersion] => 8
    [oeValues] => Array
        (
            [auto] => Array
                (
                )

            [Art] => ReplaceableTextures\CommandButtons\BTNBearForm.blp
            [turnRate] => 3
            [dmgplus1] => 4008
            [bldtm] => 1
            [goldcost] => 3000
            [unitSound] => DruidOfTheClaw
            [sides1] => 1
            [manaN] => 500
            [acquire] => 900
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Archdruid of the Claw
            [weapTp1] => missile
            [file] => units\nightelf\DruidoftheClaw\DruidoftheClaw.mdl
            [uberSplat] => YTDH
            [Missilespeed] => 1800
            [Missileart] => war3mapImported\SpiritOfVengeanceMissileRed.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 5
            [modelScale] => 0.6
            [rangeN1] => 900
            [atkType1] => siege
            [cool1] => 1.8
            [Ubertip] => Woke up on the wrong side of the barrow den.
            [scaleBull] => 0
            [abilList] => Array
                (
                )

            [moveHeight] => 37
            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => Array
                (
                )

            [abil_factor] => 0.65
            [author] => Ashbringer
            [alpha] => 255
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [element] => nature
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -20.5778
                    [y] => -29.6015
                    [z] => -6.4
                    [scale] => 0.28
                    [rot] => 3.42469
                    [file] => Doodads\LordaeronSummer\Terrain\LoardaeronRockChunks\LoardaeronRockChunks1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [1] => Array
                (
                    [x] => 24.4301
                    [y] => -6.59901
                    [z] => 19.2
                    [scale] => 0.33
                    [rot] => 4.76475
                    [file] => Doodads\LordaeronSummer\Terrain\LoardaeronRockChunks\LoardaeronRockChunks4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [2] => Array
                (
                    [x] => -26.9478
                    [y] => 14.9581
                    [z] => 12.8
                    [scale] => 0.25
                    [rot] => 2.15771
                    [file] => Doodads\LordaeronSummer\Terrain\LoardaeronRockChunks\LoardaeronRockChunks2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [3] => Array
                (
                    [x] => 13.2242
                    [y] => 38.5397
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 1.298
                    [file] => Doodads\LordaeronSummer\Terrain\LoardaeronRockChunks\LoardaeronRockChunks1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [4] => Array
                (
                    [x] => -31.7071
                    [y] => 16.1597
                    [z] => -6.4
                    [scale] => 0.28
                    [rot] => 4.22193
                    [file] => Doodads\LordaeronSummer\Terrain\LoardaeronRockChunks\LoardaeronRockChunks4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [5] => Array
                (
                    [x] => -16.4962
                    [y] => 36.9773
                    [z] => 0
                    [scale] => 0.55
                    [rot] => 3.80482
                    [file] => Doodads\Ruins\Plants\Ruins_Shrub\Ruins_Shrub1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [6] => Array
                (
                    [x] => -32.2682
                    [y] => -12.6598
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 3.29981
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [7] => Array
                (
                    [x] => -0.16901
                    [y] => 0.09815
                    [z] => -12.8
                    [scale] => 1.75
                    [rot] => 1.90241
                    [file] => war3mapImported\GeneralAuraTargetWhite.mdl
                    [red] => 255
                    [green] => 35
                    [blue] => 35
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [8] => Array
                (
                    [x] => 45.2885
                    [y] => 11.2804
                    [z] => 19.2
                    [scale] => 0.45
                    [rot] => -1.33493
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [9] => Array
                (
                    [x] => 37.144
                    [y] => -15.9443
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 1.96133
                    [file] => Doodads\LordaeronSummer\Terrain\LoardaeronRockChunks\LoardaeronRockChunks2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [10] => Array
                (
                    [x] => 17.9846
                    [y] => -25.2087
                    [z] => -6.4
                    [scale] => 0.25
                    [rot] => 0.422134
                    [file] => Doodads\LordaeronSummer\Terrain\LoardaeronRockChunks\LoardaeronRockChunks2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [11] => Array
                (
                    [x] => -0.203642
                    [y] => -0.142183
                    [z] => 12.8
                    [scale] => 1.3
                    [rot] => 4.5204
                    [file] => war3mapImported\GeneralAuraTargetWhite.mdl
                    [red] => 255
                    [green] => 35
                    [blue] => 35
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [12] => Array
                (
                    [x] => -7.6193
                    [y] => -4.16026
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 3.45054
                    [file] => Doodads\Ruins\Plants\Ruins_Shrub\Ruins_Shrub1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [13] => Array
                (
                    [x] => -2.64644
                    [y] => -50.9323
                    [z] => 0
                    [scale] => 0.55
                    [rot] => 5.07685
                    [file] => Doodads\Ruins\Plants\Ruins_Flower\Ruins_Flower0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [14] => Array
                (
                    [x] => -0.0235781
                    [y] => 0.0819167
                    [z] => 25.6
                    [scale] => 0.6
                    [rot] => 4.92183
                    [file] => Abilities\Spells\Orc\SpiritLink\SpiritLinkZapTarget.mdl
                    [red] => 255
                    [green] => 55
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [15] => Array
                (
                    [x] => 41.2256
                    [y] => -3.309
                    [z] => 64
                    [scale] => 0.5
                    [rot] => 5.28835
                    [file] => Abilities\Spells\NightElf\BattleRoar\RoarTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [16] => Array
                (
                    [x] => -25.7002
                    [y] => -40.2326
                    [z] => 19.2
                    [scale] => 0.5
                    [rot] => 5.28835
                    [file] => Abilities\Spells\NightElf\BattleRoar\RoarTarget.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] => Header
                    [code] => globals
        //@import
        BuffType ashbringer_bearform_buff
    endglobals
    
    //@import
    function ashbringer_druidoftheclaw_ondamage takes Tower tower, Creep target, real damage, integer count, real crit 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] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Tower Destruction
                    [code] => call tower.getBuffOfType(ashbringer_bearform_buff).removeBuff()
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => On Damage
                    [code] => local Creep target = Event.getTarget()
    local real damage = 0.25 + (tower.getLevel() * 0.01)
    
    if Event.isMainTarget() then
        call Effect.createSimpleOnUnit("Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl", target, "origin").destroy()
        call ashbringer_druidoftheclaw_ondamage(tower, target, damage, 2, Event.getCriticalMultiplier())
        set Event.damage = Event.damage * (1 + damage)
    endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 0.15
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNStrengthOfTheWild.blp
                            [name] => Maul
                            [short_explain] => Attacks have a chance to deal additional damage. Hits additional enemies while in Bear Form.
                            [ONDAMAGE_chanceLevelAdd] => 0.006
                            [long_explain] => Attacks have a |cffFFFF8015%|r chance to deal |cffFFFF8025%|r more damage. If the druid is in Bear Form, the extra damage hits up to |cffFFFF802|r additional enemies in |cffFFFF80200|r range of the primary target.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF800.6%|r chance|n|cffFFFF801%|r damage
                        )

                )

            [3] => Array
                (
                    [name] => Autocast
                    [code] => local integer power = R2I(1.0 + (tower.getLevel() * 0.04))
    local Buff b = tower.getBuffOfType(ashbringer_bearform_buff)
    
    call tower.addManaPerc(0.5)
    if b != 0 then
        call tower.modifyProperty(MOD_MANA_REGEN_PERC, b.userReal - 2)
        set b.userReal = 2
    else
        call ashbringer_bearform_buff.apply(tower, tower, power)
    endif
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 90
                            [AUTOCAST_autoRange] => 900
                            [AUTOCAST_manacost] => 0
                            [icon] => ReplaceableTextures\CommandButtons\BTNEnchantedBears.blp
                            [AUTOCAST_range] => 900
                            [AUTOCAST_targetType] => 0
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [caster_art] => Abilities\Spells\NightElf\BattleRoar\RoarCaster.mdl
                            [long_explain] => The druid transforms into a bear, increasing base attack damage by |cffFFFF80100%|r. Bear Form drains mana at an increasing rate and ends when the druid runs out of mana. Restores |cffFFFF8050%|r of maximum mana upon transforming and |cffFFFF801%|r of maximum mana on attack.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF804%|r attack damage
                            [target_art] => 
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
                            [AUTOCAST_buffType] => 0
                            [AUTOCAST_isExtended] => false
                            [name] => Bear Form
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Transform into a bear, gaining increased strength at the cost of mana.
                        )

                )

            [4] => Array
                (
                    [name] => On Tower Creation
                    [code] => set tower.userInt = 0
    call SetUnitAnimation(tower.getUnit(), "stand")
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => Rupture
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

    [lightning] => Array
        (
        )

)