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

            [Art] => ReplaceableTextures\CommandButtons\BTNMurgulShadowCaster.blp
            [turnRate] => 3
            [dmgplus1] => 4826
            [bldtm] => 1
            [unitSound] => Murloc
            [goldcost] => 3200
            [sides1] => 1
            [manaN] => 175
            [acquire] => 850
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Hulking Mana-Toad
            [weapTp1] => missile
            [impactZ] => 60
            [file] => Units\Creeps\MurgulShadowCaster\MurgulShadowCaster.mdl
            [MissileHoming] => 1
            [uberSplat] => YTDM
            [Missilespeed] => 4000
            [dice1] => 1
            [RngBuff1] => 250
            [green] => 205
            [modelScale] => 0.7
            [rangeN1] => 850
            [propWin] => 10
            [atkType1] => normal
            [cool1] => 2.4
            [Ubertip] => Once upon a time, a toad laid eggs in a magical fountain... and one of those eggs hatched into an eldritch abomination.
            [abilList] => @@0@@
            [customTeamColor] => 1
            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
            [teamColor] => 5
        )

    [settings] => Array
        (
            [balanceTip] => |cffFFFF00+2% |rdmg to magical/lvl|n|cffFFFF00+4% |rdamage/lvl
            [abil_factor] => 0.5
            [author] => Patcharoo
            [alpha] => 255
            [authorDisplay] => |cffbb1111Patcharoo|r
            [version] => 1.0
            [element] => arcane
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -30.4919
                    [y] => -2.42076
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 5.67837
                    [file] => Doodads\LordaeronSummer\Plants\RiverRushes\RiverRushes1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => 0.0300491
                    [y] => 1.11275
                    [z] => -6.4
                    [scale] => 0.95
                    [rot] => 5.42885
                    [file] => Abilities\Spells\NightElf\MoonWell\MoonWellTarget.mdl
                    [red] => 255
                    [green] => 1
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => 42.2211
                    [y] => 2.73104
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 4.4855
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock3.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => -40.633
                    [y] => -18.5554
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 1.27279
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock3.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => 50.3663
                    [y] => -20.9503
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.856566
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock1.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => 30.7898
                    [y] => 36.4727
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 4.76585
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock1.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => 12.0512
                    [y] => 52.8544
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 1.43764
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock2.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => -43.7137
                    [y] => 9.11685
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 3.13803
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock3.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => -29.6161
                    [y] => 46.5019
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.54844
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock5.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => -17.6393
                    [y] => -46.2528
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.01697
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock5.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => 30.3887
                    [y] => -45.6612
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 2.559
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock5.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => 3.05512
                    [y] => -51.344
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.8294
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock6.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => 2.32011
                    [y] => -6.29659
                    [z] => -121.6
                    [scale] => 1.4
                    [rot] => 2.25148
                    [file] => Abilities\Spells\Other\ANrl\ANrlTarget.mdl
                    [red] => 255
                    [green] => 1
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => 3.7586
                    [y] => -6.14867
                    [z] => 0
                    [scale] => 1
                    [rot] => 2.16421
                    [file] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
                    [red] => 255
                    [green] => 1
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [14] => Array
                (
                    [x] => 4.94648
                    [y] => -8.58918
                    [z] => -25.6
                    [scale] => 1.25
                    [rot] => 4.03171
                    [file] => war3mapImported\Glow.mdl
                    [red] => 255
                    [green] => 1
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [15] => Array
                (
                    [x] => -13.0094
                    [y] => 48.6157
                    [z] => 6.4
                    [scale] => 0.6
                    [rot] => 6.04901
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant0.mdl
                    [red] => 135
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [16] => Array
                (
                    [x] => 49.2415
                    [y] => 4.18322
                    [z] => 6.4
                    [scale] => 0.35
                    [rot] => 0.754628
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant0.mdl
                    [red] => 135
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [17] => Array
                (
                    [x] => -43.5911
                    [y] => -37.9258
                    [z] => 0
                    [scale] => 0.65
                    [rot] => 4.30486
                    [file] => Doodads\Ruins\Plants\Ruins_Flower\Ruins_Flower3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [18] => Array
                (
                    [x] => 47.3309
                    [y] => -50.1504
                    [z] => 0
                    [scale] => 0.55
                    [rot] => 0.804362
                    [file] => Doodads\Ruins\Plants\Ruins_Flower\Ruins_Flower1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [19] => Array
                (
                    [x] => -52.8486
                    [y] => 6.05961
                    [z] => 6.4
                    [scale] => 0.35
                    [rot] => 4.16485
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant2.mdl
                    [red] => 135
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [20] => Array
                (
                    [x] => 38.6527
                    [y] => 51.511
                    [z] => -6.4
                    [scale] => 0.65
                    [rot] => 4.30486
                    [file] => Doodads\Ruins\Plants\Ruins_Flower\Ruins_Flower3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [21] => Array
                (
                    [x] => 1.47453
                    [y] => -0.219099
                    [z] => 6.4
                    [scale] => 1.2
                    [rot] => 2.70526
                    [file] => Abilities\Spells\NightElf\FaerieFire\FaerieFireTarget.mdl
                    [red] => 1
                    [green] => 125
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_DMG_TO_MAGIC
                    [base] => 0
                    [add] => 0.02
                )

            [1] => Array
                (
                    [id] => MOD_DAMAGE_BASE_PERC
                    [base] => 0
                    [add] => 0.04
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        MultiboardValues ashbringer_gorge_mb
    endglobals
    
    //@import
    function ashbringer_manapole_attack takes Tower tower, Creep target, real area, real mana returns nothing
    endfunction
    
    //@import
    function ashbringer_gorge_cast takes Tower tower, real duration, integer power, real mana_cost, real mana_threshold, integer bonus, integer loss, real scale 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 Details
                    [code] => call ashbringer_gorge_mb.setValue(0, I2S(tower.userInt)) 
    call ashbringer_gorge_mb.setValue(1, I2S(tower.userInt2)) 
    return ashbringer_gorge_mb
                    [values] => Array
                        (
                            [0] => Array
                                (
                                    [_value] => 0
                                    [typ] => string
                                )

                        )

                )

            [2] => Array
                (
                    [name] => On Damage
                    [code] => if Event.isMainTarget() then
        set Event.damage = 0
        call ashbringer_manapole_attack(tower, Event.getTarget(), 225, 5)
    endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNAbsorbMagic.blp
                            [name] => Drain Rain
                            [short_explain] => Attacks with three breams from the sky, dealing AoE damage and draining mana.
                            [ONDAMAGE_chanceLevelAdd] => 0
                            [long_explain] => The toad's attack takes the form of |cffFFFF803|r energy beams that strike down at random points near the target. Each beam deals |cffFFFF8035%|r of attack damage to enemies within |cffFFFF80225|r range and generates |cffFFFF805|r mana per enemy struck. Enemies will lose the same amount of mana if possible. The primary attack target will always get hit by all |cffFFFF803|r beams.
                        )

                )

            [3] => Array
                (
                    [name] => Autocast
                    [code] => local integer power = R2I((0.4 + (tower.getLevel() * 0.016)) / 0.001)

    call ashbringer_gorge_cast(tower, 3, power, 150, 450, 32, 6, 0.7)
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 5
                            [AUTOCAST_autoRange] => 850
                            [AUTOCAST_manacost] => 150
                            [icon] => ReplaceableTextures\CommandButtons\BTNDevourMagic.blp
                            [AUTOCAST_range] => 850
                            [AUTOCAST_targetType] => 0
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [caster_art] => 
                            [long_explain] => Gorges on mana, increasing attack speed by |cffFFFF8040%|r for |cffFFFF803|r seconds. Every |cffFFFF80450|r mana consumed this way causes the toad to grow, permanently increasing base damage by |cffFFFF8032|r. Every |cffFFFF806|r times the toad grows, the bonus is reduced by |cffFFFF801|r, to a minimum of |cffFFFF801|r. The toad inherits growths from its previous form if upgraded.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1.6%|r attack speed
                            [target_art] => 
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
                            [AUTOCAST_buffType] => 0
                            [AUTOCAST_isExtended] => false
                            [name] => Mana Gorge
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Consumes mana to increase attack speed temporarily and damage permanently.
                        )

                )

            [4] => Array
                (
                    [name] => On Tower Creation
                    [code] => local Tower prev = Event.getPrecedingTower()
    local integer power
    local integer i
    
    call SetUnitColor(tower.getUnit(), ConvertPlayerColor(7))
    
    if prev.getFamily() == tower.getFamily() then
        set tower.userInt  = prev.userInt
        set tower.userReal = prev.userReal
        
        set i = tower.userInt / 6
        
        if i >= 32 then
            set i = 32 - 1
        endif
        
        set power = i * 6
        set power = R2I((32 + 0.5 - i / 2.0) * power) + (tower.userInt - power) * (32 - i)
        
        call tower.modifyProperty(MOD_DAMAGE_BASE, power)
        set tower.userInt2 = power
    else
        set tower.userInt = 0
        set tower.userInt2 = 0
        set tower.userReal = 0
    endif
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => Asph
                    [oeValues] => Array
                        (
                            [Targetattach] => chest
                            [Art] => Array
                                (
                                )

                            [Targetattach1] => Array
                                (
                                )

                            [Untip] => -HIDE-
                            [Targetattach2] => Array
                                (
                                )

                            [TargetArt] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
                            [Cool1] => 0.01
                            [Name] => murloc glow
                            [Ubertip] => -HIDE-
                            [Targetattachcount] => 1
                            [Missileart] => Array
                                (
                                )

                            [Missilespeed] => 4000
                            [Unubertip] => -HIDE-
                            [Tip] => -HIDE-
                        )

                )

        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
            [0] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => MultiboardValues
                    [name] => ashbringer_gorge_mb
                )

        )

    [lightning] => Array
        (
        )

)