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

            [Art] => ReplaceableTextures\CommandButtons\BTNSpiritWolf.blp
            [turnRate] => 2
            [bldtm] => 1
            [dmgplus1] => 198
            [goldcost] => 210
            [unitSound] => Wolf
            [sides1] => 9
            [manaN] => 30
            [acquire] => 900
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Mystical Dog
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => units\orc\Spiritwolf\Spiritwolf.mdl
            [uberSplat] => YTDM
            [Missileart] => Abilities\Weapons\PriestMissile\PriestMissile.mdl
            [Missilespeed] => 1700
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 1
            [modelScale] => 0.6
            [rangeN1] => 900
            [atkType1] => magic
            [cool1] => 1.2
            [Ubertip] => A magi's best friend.
            [scaleBull] => 0
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

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

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

            [abil_factor] => 0.80
            [author] => Ashbringer
            [alpha] => 255
            [authorDisplay] => |cffff6600Ashbringer|r
            [element] => arcane
            [rarity] => uncommon
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.0919599
                    [y] => 0.500328
                    [z] => 38.4
                    [scale] => 1.95
                    [rot] => 4.71239
                    [file] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
                    [red] => 55
                    [green] => 1
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => 39.9887
                    [y] => 42.2006
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 3.53899
                    [file] => Doodads\Cinematic\RessurectionStoneSE\RessurectionStoneSE.mdl
                    [red] => 255
                    [green] => 95
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => true
                    [animation] => alternate
                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [2] => Array
                (
                    [x] => -41.8562
                    [y] => 19.9044
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 3.47436
                    [file] => Doodads\LordaeronSummer\Rocks\Lords_Rock\Lords_Rock1.mdl
                    [red] => 255
                    [green] => 155
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
    endglobals
    
    //@import
    function ashbringer_magicdog_roar takes Tower tower, integer stacks 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 Damage
                    [code] => local Creep target = Event.getTarget()
        
        call tower.doSpellDamage(target, 6 + (tower.getLevel() * 6), tower.calcSpellCritNoBonus())
        call Effect.createSimpleOnUnit("Abilities\\Spells\\Undead\\ReplenishMana\\ReplenishManaCaster.mdl", target, "chest").destroy()
        call tower.addMana(5)
        call Effect.createSimpleAtUnit("Abilities\\Spells\\Undead\\ReplenishMana\\ReplenishManaCaster.mdl", tower).setLifetime(1)
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 0.25
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNReplenishMana.blp
                            [name] => Mana Claw
                            [short_explain] => Chance on attack to deal spell damage and regenerate mana.
                            [ONDAMAGE_chanceLevelAdd] => 0.004
                            [long_explain] => Attacks have a |cffFFFF8025%|r chance to deal |cffFFFF8030|r spell damage and regenerate |cffFFFF805|r mana.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r chance|n|cffFFFF80+6|r spell damage
                        )

                )

            [2] => Array
                (
                    [name] => Autocast
                    [code] => call ashbringer_magicdog_roar(tower, 9)
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 3
                            [AUTOCAST_autoRange] => 900
                            [AUTOCAST_manacost] => 25
                            [icon] => ReplaceableTextures\CommandButtons\BTNDevourMagic.blp
                            [AUTOCAST_range] => 900
                            [AUTOCAST_targetType] => 0
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [caster_art] => Abilities\Spells\Other\HowlOfTerror\HowlCaster.mdl
                            [long_explain] => Release a magical battle cry, increasing the spell damage of all towers in |cffFFFF80420|r range by |cffFFFF8010%|r for |cffFFFF805|r seconds. If a tower already has the Arcane Howl buff, the spell damage is increased by |cffFFFF800.9%|r and the duration is refreshed. Stacks up to |cffFFFF80100|r times.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.9%|r spell damage
                            [target_art] => 
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
                            [AUTOCAST_buffType] => 0
                            [AUTOCAST_isExtended] => false
                            [name] => Arcane Howl
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Increases the spell damage of nearby towers.
                        )

                )

            [3] => Array
                (
                    [name] => On Tower Creation
                    [code] => call SetUnitColor(tower.getUnit(), ConvertPlayerColor(3))
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

    [lightning] => Array
        (
        )

)