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

            [targs1] => ground,enemies,air
            [splashTargs1] => ground,enemies,air
            [goldcost] => 3000
            [weapsOn] => 1
            [dice1] => 1
            [damageLoss1] => 0.25
            [Missilespeed] => 900
            [moveHeight] => 40
            [targCount1] => 4
            [file] => units\nightelf\Huntress\Huntress.mdl
            [atkType1] => siege
            [modelScale] => 0.55
            [weapTp1] => mbounce
            [acquire] => 800
            [rangeN1] => 800
            [upgrades] => Array
                (
                )

            [cool1] => 1.8
            [Ubertip] => After having to forfeit her belief in Elune she seeked support from the dark and forbidden arts.
            [Farea1] => 400
            [abilList] => Array
                (
                )

            [Name] => Master Huntress
            [Missileart] => Abilities\Weapons\SentinelMissile\SentinelMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNHuntress.blp
            [buildingShadow] => Array
                (
                )

            [turnRate] => 0.4
            [unitSound] => Huntress
            [sides1] => 1
            [uberSplat] => ESMB
            [auto] => Array
                (
                )

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

    [settings] => Array
        (
            [author] => cedi
            [element] => nature
            [authorDisplay] => cedi
            [alpha] => 255
            [balanceTip] => |cffCCFF00Bounce attack:|n   |cffFFFF004|r targets|n   |cffFFFF00-25%|r damage per bounce|n|cffFFFF00+2.4% |rattackspeed/lvl
            [rarity] => rare
            [version] => 1.0
            [abil_factor] => 0.637
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -3.22145
                    [y] => -13.9941
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 5.12608
                    [file] => Doodads\Ruins\Rocks\Ruins_Rock\Ruins_Rock0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -29.1126
                    [y] => 18.8784
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 6.14356
                    [file] => Doodads\Ruins\Plants\Ruins_Shrub\Ruins_Shrub0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 41.8393
                    [y] => -5.58539
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 6.14356
                    [file] => Doodads\Ruins\Plants\Ruins_Shrub\Ruins_Shrub0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -17.5367
                    [y] => 45.7771
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 6.14356
                    [file] => Doodads\Ruins\Plants\Ruins_Shrub\Ruins_Shrub0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -23.8228
                    [y] => -21.8439
                    [z] => 0
                    [scale] => 0.7
                    [rot] => 5.25344
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant1.mdl
                    [red] => 180
                    [green] => 180
                    [blue] => 180
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 15.9018
                    [y] => -29.3242
                    [z] => 19.2
                    [scale] => 0.3
                    [rot] => 1.89735
                    [file] => Doodads\Ashenvale\Plants\AshenShrooms\AshenShrooms0.mdl
                    [red] => 180
                    [green] => 255
                    [blue] => 180
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -0.474171
                    [y] => 3.89997
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 5.12608
                    [file] => Doodads\Ruins\Rocks\Ruins_Rock\Ruins_Rock0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 15.8753
                    [y] => -6.39267
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 1.01048
                    [file] => Doodads\Ruins\Rocks\Ruins_Rock\Ruins_Rock0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => -16.2764
                    [y] => -2.77245
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 1.4273
                    [file] => Doodads\Ruins\Rocks\Ruins_Rock\Ruins_Rock0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => 31.8468
                    [y] => -4.83437
                    [z] => 32
                    [scale] => 0.3
                    [rot] => 5.91363
                    [file] => Doodads\Ashenvale\Plants\AshenShrooms\AshenShrooms0.mdl
                    [red] => 180
                    [green] => 255
                    [blue] => 180
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => 12.0447
                    [y] => -27.901
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 6.14356
                    [file] => Doodads\Ruins\Plants\Ruins_Shrub\Ruins_Shrub0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => -19.8132
                    [y] => -17.7608
                    [z] => 25.6
                    [scale] => 0.4
                    [rot] => 5.25344
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant1.mdl
                    [red] => 180
                    [green] => 180
                    [blue] => 180
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [12] => Array
                (
                    [x] => 30.3517
                    [y] => 13.9646
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 5.25344
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant1.mdl
                    [red] => 180
                    [green] => 180
                    [blue] => 180
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [13] => Array
                (
                    [x] => 15.7926
                    [y] => 38.2903
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 6.14356
                    [file] => Doodads\Ruins\Plants\Ruins_Shrub\Ruins_Shrub0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [14] => Array
                (
                    [x] => 1.74873
                    [y] => 31.6451
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 1.89735
                    [file] => Doodads\Ashenvale\Plants\AshenShrooms\AshenShrooms0.mdl
                    [red] => 180
                    [green] => 255
                    [blue] => 180
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [15] => Array
                (
                    [x] => -0.917482
                    [y] => 47.4526
                    [z] => 0
                    [scale] => 0.55
                    [rot] => 5.88176
                    [file] => Doodads\Ashenvale\Structures\AshenBrokenColumn\AshenBrokenColumn1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [16] => Array
                (
                    [x] => 3.52753
                    [y] => 43.4905
                    [z] => 64
                    [scale] => 0.55
                    [rot] => 4.82447
                    [file] => Units\NightElf\Owl\Owl.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [17] => Array
                (
                    [x] => 19.9101
                    [y] => 36.3065
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 0.545356
                    [file] => Doodads\Ashenvale\Structures\AshenBrokenColumn\AshenBrokenColumn1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [18] => Array
                (
                    [x] => -22.347
                    [y] => 31.1376
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 2.12735
                    [file] => Doodads\Ashenvale\Structures\AshenBrokenColumn\AshenBrokenColumn1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [19] => Array
                (
                    [x] => -2.65006
                    [y] => 18.2828
                    [z] => -6.4
                    [scale] => 1
                    [rot] => 4.08407
                    [file] => Abilities\Spells\NightElf\TargetArtLumber\TargetArtLumber.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_ATTACKSPEED
                    [base] => 0
                    [add] => 0.024
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Damage
                    [code] => local real r = Event.damage * ( 0.45 + 0.01 * tower.getLevel() ) //( 2400.00 + tower.getLevel() * 96.0 ) +
    call tower.doSpellDamage( Event.getTarget(), r, tower.calcSpellCritNoBonus() )
    //call cb_stun.applyOnlyTimed( tower, Event.getTarget(), 0.45 )
    call SFXOnUnit( "Abilities\\Spells\\NightElf\\Starfall\\StarfallTarget.mdl", Event.getTarget().getUnit(), "origin" )
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 0.25
                            [icon] => ReplaceableTextures\CommandButtons\BTNStarfall.blp
                            [visible] => true
                            [name] => Star Glaive
                            [short_explain] => This tower has a chance to drop a star upon attacked targets.
                            [ONDAMAGE_chanceLevelAdd] => 0.004
                            [long_explain] => Whenever this tower damages a creep there is a |cffFFFF8025%|r chance to deal additional |cffFFFF8045%|r of the attack's damage as spell damage.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r chance|n|cffFFFF80+1%|r attack damage as spell damage
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        BuffType cedi_shadowgleve
    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] => On Attack
                    [code] => local Buff B = tower.getBuffOfType( cedi_shadowgleve )
    
    if B != 0 then
        call tower.addModifiedAttackCrit( 0.00, 1.75 + tower.getLevel() * 3 / 100.0 )
        call B.removeBuff()
    endif
    
    if tower.calcChance( 0.2 + tower.getLevel() * 0.008 ) then
        call cedi_shadowgleve.apply( tower, tower, tower.getLevel() )
    endif
                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNShadowStrike.blp
                            [visible] => true
                            [name] => Shadow Glaive
                            [short_explain] => Whenever this tower attacks it has a chance to gain an extreme attackspeed bonus until the next attack. The next attack will also crit for sure and deal bonus damage.
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 0.0
                            [long_explain] => Whenever this tower attacks it has a |cffFFFF8020%|r chance to gain |cffFFFF80200%|r attackspeed until the next attack. The next attack will also crit for sure and deal |cffFFFF8075%|r more crit damage.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+3%|r crit damage|n|cffFFFF80+8%|r attack speed|n|cffFFFF80+0.8%|r chance
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

)