Array
(
    [scriptVersion] => 8
    [oeValues] => Array
        (
            [Ubertip] => The echo doesn’t spread - it rips into the core.
            [Art] => ReplaceableTextures\CommandButtons\BTNHornOfFog.blp
            [abilList] => Array
                (
                )

            [Name] => Resonant Foghorn
        )

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

            [goldcost] => 1250
            [author] => Moppy
            [authorDisplay] => |c006969FFMoppy|r
            [version] => 1.0
            [rarity] => unique
        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        ProjectileType moppy_foghorn_sonic_blast_shot
    endglobals
    
    function moppy_foghorn_sonic_blast_damage takes Projectile p, Unit target returns nothing
        call p.getCaster().doSpellDamage(target, 1000, p.getCaster().calcSpellCritNoBonus())
        call cb_stun.applyOnlyTimed(p.getCaster(), target, 1.0)
    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
        set moppy_foghorn_sonic_blast_shot = ProjectileType.create("Abilities\\Weapons\\BansheeMissile\\BansheeMissile.mdl", 4.0, 1000)
        call moppy_foghorn_sonic_blast_shot.enableHoming(moppy_foghorn_sonic_blast_damage, 0.0)    
	endfunction
                    [values] => Array
                        (
                            [explain] => 
                            [visible] => false
                            [goldcost] => 0
                            [name] => 
                        )

                )

            [1] => Array
                (
                    [name] => Periodic
                    [code] => local Unit t = itm.getCarrier()
    local Iterate i = Iterate.overUnitsInRangeOfUnit(t, TARGET_CREEPS, t, 1000)
    local Unit r = i.nextRandom()
    if r != 0 then
        call Projectile.createFromUnitToUnit(moppy_foghorn_sonic_blast_shot, t, 1, t.calcSpellCritNoBonus(), t, r, true, false, false)
        call i.destroy()
    endif
                    [values] => Array
                        (
                            [explain] => Every |cffFFFF803|r seconds, fires a focused sonic blast at a random enemy within |cffFFFF801000|r range, dealing |cffFFFF801000|r spell damage and stunning it for |cffFFFF801|r second.
                            [visible] => true
                            [goldcost] => 1250
                            [PERIODIC_period] => 3
                            [name] => Sonic Blast
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)