Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [targCount1] => 3
            [Farea1] => 340
            [auto] => Array
                (
                )

            [Art] => ReplaceableTextures\CommandButtons\BTNFaerieDragon.blp
            [damageLoss1] => 0.55
            [turnRate] => 0.5
            [dmgplus1] => 2854
            [bldtm] => 1
            [goldcost] => 3200
            [sides1] => 101
            [manaN] => 1600
            [acquire] => 950
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Mana-Overwhelmed Drake
            [weapTp1] => mbounce
            [file] => units\nightelf\FaerieDragon\FaerieDragon.mdl
            [uberSplat] => OSMA
            [Missileart] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
            [Missilespeed] => 1500
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 80
            [modelScale] => 0.8
            [rangeN1] => 950
            [atkType1] => pierce
            [cool1] => 3
            [Ubertip] => Playful Faerie-Dragon that uses mana to its advantage.
            [abilList] => Array
                (
                )

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

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffCCFF00Bounce attack:|n   |cffFFFF003|r targets|n   |cffFFFF00-55%|r damage per bounce|n|cffFFFF00+3.2 |rmana regen/lvl
            [abil_factor] => 0.325
            [author] => SirCoqaLot.
            [alpha] => 255
            [authorDisplay] => SirCoqaLot.
            [version] => 1.0
            [element] => astral
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 1.23359
                    [y] => 0.511896
                    [z] => 0.000000953674
                    [scale] => 0.225
                    [rot] => 4.21251
                    [file] => Doodads\Ruins\Props\Ruins_NagaCircle\Ruins_NagaCircle.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => 0.287574
                    [y] => 0.131597
                    [z] => -153.6
                    [scale] => 0.92
                    [rot] => 2.44346
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => -0.0782585
                    [y] => 2.04327
                    [z] => -108.8
                    [scale] => 0.78
                    [rot] => 3.63029
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => 12.6167
                    [y] => -43.925
                    [z] => -25.6
                    [scale] => 0.32
                    [rot] => 1.71507
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => 50.7433
                    [y] => 15.0656
                    [z] => -25.6
                    [scale] => 0.32
                    [rot] => 3.39381
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => -16.3077
                    [y] => 48.0922
                    [z] => -25.6
                    [scale] => 0.32
                    [rot] => 5.11193
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -46.3829
                    [y] => -15.3127
                    [z] => -25.6
                    [scale] => 0.32
                    [rot] => 0.333443
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => -4.11869
                    [y] => -7.7849
                    [z] => -12.8
                    [scale] => 0.36
                    [rot] => 4.18315
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => 0.214357
                    [y] => -3.75147
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 2.93215
                    [file] => Abilities\Spells\Other\Drain\ManaDrainCaster.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => 16.0006
                    [y] => -5.36446
                    [z] => -12.8
                    [scale] => 0.36
                    [rot] => 5.81302
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => 45.2394
                    [y] => -21.8905
                    [z] => 70.4
                    [scale] => 0.4
                    [rot] => 4.2237
                    [file] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => -21.5154
                    [y] => -40.8723
                    [z] => 70.4
                    [scale] => 0.4
                    [rot] => 3.28122
                    [file] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [12] => Array
                (
                    [x] => 11.926
                    [y] => 24.896
                    [z] => -19.2
                    [scale] => 0.36
                    [rot] => 1.03758
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.2
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [13] => Array
                (
                    [x] => -31.0449
                    [y] => 17.3005
                    [z] => -19.2
                    [scale] => 0.36
                    [rot] => 2.4098
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.2
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [14] => Array
                (
                    [x] => -11.8574
                    [y] => 32.5436
                    [z] => -25.6
                    [scale] => 0.36
                    [rot] => 1.69882
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.2
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [15] => Array
                (
                    [x] => 24.3774
                    [y] => 43.5724
                    [z] => 89.6
                    [scale] => 0.4
                    [rot] => 1.11701
                    [file] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [16] => Array
                (
                    [x] => -49.7246
                    [y] => 32.603
                    [z] => 89.6
                    [scale] => 0.4
                    [rot] => 0.523599
                    [file] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_MANA_REGEN
                    [base] => 0
                    [add] => 3.2
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
    //@import
    BuffType sir_drake_aura
    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
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Damage
                    [code] => local unit towerunit = tower.getUnit()
    
    call tower.doAttackDamage(Event.getTarget(),12.5 * GetUnitState(towerunit,UNIT_STATE_MANA),tower.calcAttackMulticrit(0,0,0)) //deal the damage
    call tower.subtractManaPerc(0.75-0.01*tower.getLevel(),true)//drain the mana
    call SFXAtUnit("Abilities\\Spells\\Items\\AIma\\AImaTarget.mdl",Event.getTarget().getUnit())// add some fancy effect
    set towerunit = null
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 0.28
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNManaStone.blp
                            [name] => Unstable Energies
                            [short_explain] => Inflicts additional damage at the cost of some mana.
                            [ONDAMAGE_chanceLevelAdd] => 0.0048
                            [long_explain] => This tower has a |cffffff8028%|r chance on damage to release a powerful energy blast, dealing |cffffff80[current mana x 12.5]|r |cffFF8000Elemental|r damage to the target, but consuming |cffffff8075%|r of its own current mana. |n|n|cffFF8000Level Bonus:|r|n|cffffff80+0.48%|r chance |n|cffffff80-1%|r current mana consumed
                        )

                )

            [2] => Array
                (
                    [name] => Tower Aura
                    [code] => Array
                        (
                        )

                    [values] => Array
                        (
                            [AURA_powerAdd] => 10
                            [visible] => true
                            [AURA_auraEffect] => sir_drake_aura
                            [AURA_levelAdd] => 0
                            [AURA_power] => 125
                            [icon] => ReplaceableTextures\CommandButtons\BTNDarkRitual.blp
                            [AURA_targetType] => TARGET_TYPE_TOWERS
                            [long_explain] => Towers in |cffffff80200|r range burn |cffffff805|r mana on attack, costing the drake |cffffff8035|r mana. The mana burned and spent is attackspeed and range adjusted and the tower deals |cffffff80125|r spelldamage per mana point burned.|n|n|cffFF8000Level Bonus:|r|n|cffffff80+10|r spelldamage per mana point burned
                            [AURA_targetSelf] => false
                            [name] => Mana Distortion Field
                            [AURA_level] => 500
                            [short_explain] => Nearby towers burn mana on attack.
                            [AURA_auraRange] => 200
                        )

                )

            [3] => Array
                (
                    [name] => On Tower Creation
                    [code] => set tower.userReal = 35
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

)