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

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

            [Upgrade] => Array
                (
                )

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

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

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffCCFF00Bounce attack:|n   |cffFFFF003|r targets|n   |cffFFFF00-55%|r damage per bounce|n|cffFFFF00+2.1 |rmana regen/lvl
            [abil_factor] => 0.35
            [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] => -147.2
                    [scale] => 0.88
                    [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.74
                    [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] => 44.9484
                    [y] => 14.1175
                    [z] => -19.2
                    [scale] => 0.3
                    [rot] => 3.45936
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.45
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -48.7347
                    [y] => -14.2438
                    [z] => -19.2
                    [scale] => 0.3
                    [rot] => 0.323525
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.45
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 15.146
                    [y] => -48.0151
                    [z] => -19.2
                    [scale] => 0.3
                    [rot] => 1.73114
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.45
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 13.9953
                    [y] => -2.63722
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 5.61764
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.45
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => -6.82432
                    [y] => -13.5449
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 4.3529
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.45
                    [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] => 40.613
                    [y] => -20.2336
                    [z] => 64
                    [scale] => 0.4
                    [rot] => 5.88176
                    [file] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => -18.3061
                    [y] => -41.5431
                    [z] => 64
                    [scale] => 0.4
                    [rot] => 2.80998
                    [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] => -13.731
                    [y] => 44.7768
                    [z] => -19.2
                    [scale] => 0.3
                    [rot] => 4.98829
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.45
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

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

        )

    [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(),11 * 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 11]|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] => 8
                            [visible] => true
                            [AURA_auraEffect] => sir_drake_aura
                            [AURA_levelAdd] => 0
                            [AURA_power] => 100
                            [icon] => ReplaceableTextures\CommandButtons\BTNDarkRitual.blp
                            [AURA_targetType] => TARGET_TYPE_TOWERS
                            [long_explain] => Towers in |cffffff80200|r range burn |cffffff804|r mana on attack, costing the drake |cffffff8024|r mana. The mana burned and spent is attackspeed and range adjusted and the tower deals |cffffff80100|r spelldamage per mana point burned.|n|n|cffFF8000Level Bonus:|r|n|cffffff80+8|r spelldamage per mana point burned
                            [AURA_targetSelf] => false
                            [name] => Mana Distortion Field
                            [AURA_level] => 400
                            [short_explain] => Nearby towers burn mana on attack.
                            [AURA_auraRange] => 200
                        )

                )

            [3] => Array
                (
                    [name] => On Tower Creation
                    [code] => set tower.userReal = 24
                    [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
                )

        )

)