Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [targCount1] => 5
            [Farea1] => 400
            [auto] => Array
                (
                )

            [Art] => ReplaceableTextures\CommandButtons\BTNRevenant.blp
            [damageLoss1] => 0.3
            [dmgplus1] => 212
            [bldtm] => 1
            [goldcost] => 1200
            [sides1] => 5
            [acquire] => 1300
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Prince of Lightning
            [weapTp1] => mbounce
            [file] => units\creeps\Revenant\Revenant.mdl
            [Missileart] => Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
            [Missilespeed] => 2000
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.8
            [rangeN1] => 1300
            [atkType1] => normal
            [cool1] => 1.5
            [Ubertip] => A lightning prince with a bouncing attack and a chance to control energy and lightning.
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffCCFF00Bounce attack:|n   |cffFFFF005|r targets|n   |cffFFFF00-30%|r damage per bounce|n|cffFFFF005%|r spell crit chance (|cffFFFF00+0.25%|r/lvl)
            [abil_factor] => 0.25
            [author] => Boekie
            [alpha] => 255
            [authorDisplay] => |cff00CD00Boekie|r
            [version] => 1.0
            [element] => storm
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 54.9427
                    [y] => -48.8902
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 3.29867
                    [file] => Doodads\Cityscape\Props\CrystalLamp\CrystalLamp.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -46.3164
                    [y] => -45.3135
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 0.0174533
                    [file] => Doodads\Cityscape\Props\CrystalLamp\CrystalLamp.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 4.26672
                    [y] => 0.767113
                    [z] => 0
                    [scale] => 0.9
                    [rot] => 4.7106
                    [file] => Doodads\Icecrown\Props\IcecrownChair\IcecrownChair.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => 45.1039
                    [y] => 39.6484
                    [z] => 0
                    [scale] => 0.6
                    [rot] => 6.10218
                    [file] => Doodads\Icecrown\Props\IceCrownPillar\IceCrownPillar1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -39.0222
                    [y] => 38.0714
                    [z] => 0
                    [scale] => 0.6
                    [rot] => 0.0512056
                    [file] => Doodads\Icecrown\Props\IceCrownPillar\IceCrownPillar1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 49.3276
                    [y] => 41.2272
                    [z] => 76.8
                    [scale] => 0.7
                    [rot] => 2.67035
                    [file] => Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -33.6639
                    [y] => 30.0713
                    [z] => 83.2
                    [scale] => 0.7
                    [rot] => 0.994838
                    [file] => Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_SPELL_CRIT_CHANCE
                    [base] => 0.0375
                    [add] => 0.0025
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
      //@export
        BuffType gexLightningAura
    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
        local Modifier m = Modifier.create()
        set gexLightningAura = BuffType.createAuraEffectType(false)
        call m.addModification(MOD_DMG_FROM_STORM,0.0,0.001)
        call gexLightningAura.setBuffModifier(m)
        call gexLightningAura.setBuffIcon('@@0@@')

	endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Damage
                    [code] => local Unit creep = Event.getTarget()  
call tower.doSpellDamage(creep,2000.0+(tower.getLevel()*100.0),tower.calcSpellCritNoBonus())  
call SFXOnUnit("Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl",creep.getUnit(),"origin")
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 0.15
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNManaFlare.blp
                            [name] => Lightning Strike
                            [short_explain] => This tower has a chance to strike the target with lightning.
                            [ONDAMAGE_chanceLevelAdd] => 0.004
                            [long_explain] => When this tower damages a target there is a |cffFFFF8015%|r chance that a lightning bolt strikes the target for |cffFFFF802000|r damage. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+100|r damage|n|cffFFFF80+0.4%|r chance
                        )

                )

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

                    [values] => Array
                        (
                            [AURA_powerAdd] => 2
                            [visible] => true
                            [AURA_auraEffect] => gexLightningAura
                            [AURA_levelAdd] => 2
                            [AURA_power] => 100
                            [icon] => ReplaceableTextures\CommandButtons\BTNRevenant.blp
                            [AURA_targetType] => TARGET_TYPE_CREEPS
                            [long_explain] => Increases the vulnerability  of enemies in |cffFFFF801300|r range to damage from |cFF8080FFStorm|r towers by |cffFFFF8010%|r. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2%|r vulnerability
                            [AURA_targetSelf] => false
                            [name] => Realm of Thunder
                            [AURA_level] => 100
                            [short_explain] => Makes nearby foes more vulnerable to |cFF8080FFStorm|r towers.
                            [AURA_auraRange] => 1300
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BUdd
                    [oeValues] => Array
                        (
                            [Targetattach] => overhead
                            [Buffubertip] => This unit receives more damage from Storm towers.
                            [TargetArt] => Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
                            [Bufftip] => Realm of Thunder
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNRevenant.blp
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
            [0] => Array
                (
                    [export] => true
                    [category] => global
                    [typ] => BuffType
                    [name] => gexLightningAura
                )

        )

)