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

            [targs1] => Array
                (
                )

            [goldcost] => 1550
            [weapsOn] => 1
            [Hfact1] => 0.5
            [dice1] => 1
            [Missilespeed] => 1050
            [moveHeight] => 120
            [file] => Abilities\Spells\Items\PotionOfOmniscience\CrystalBallCaster.mdl
            [Harea1] => 125
            [atkType1] => normal
            [modelScale] => 1.05
            [weapTp1] => msplash
            [Missilearc] => 0.3
            [acquire] => 850
            [rangeN1] => 850
            [upgrades] => Array
                (
                )

            [cool1] => 1.3
            [Ubertip] => The blazing light of the sun makes its targets glow, especially undead ones.
            [Farea1] => 10
            [abilList] => Array
                (
                )

            [Qarea1] => 225
            [launchZ] => 0
            [Name] => Shiny Sun Orb
            [Missileart] => Abilities\Weapons\SearingArrow\SearingArrowMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNResurrection.blp
            [buildingShadow] => Array
                (
                )

            [Qfact1] => 0.3
            [sides1] => 1
            [auto] => Array
                (
                )

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

    [settings] => Array
        (
            [author] => MasterCassim
            [element] => astral
            [authorDisplay] => |cFFAA0000MasterCassim|r, |cFF8A5300His_Shadow|r
            [alpha] => 255
            [balanceTip] => |cffCCFF00Splash attack:|n   |cffFFFF00125|r AoE: |cffFFFF0050%|r damage|r|n   |cffFFFF00225|r AoE: |cffFF800030%|r damage|r|n|cffFFFF00+15% |rdmg to undead
            [rarity] => common
            [version] => 1.0
            [abil_factor] => 0.87
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -51.0611
                    [y] => 51.4829
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 5.80873
                    [file] => Doodads\Ruins\Props\RuinsTrash\RuinsTrash0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => 47.8246
                    [y] => -49.4439
                    [z] => 38.4
                    [scale] => 1
                    [rot] => 5.38463
                    [file] => Abilities\Weapons\SorceressMissile\SorceressMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 0.52705
                    [y] => -0.226233
                    [z] => 25.6
                    [scale] => 0.9
                    [rot] => 3.92699
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 1
                )

            [3] => Array
                (
                    [x] => -49.2878
                    [y] => 49.1038
                    [z] => 38.4
                    [scale] => 1
                    [rot] => 2.33627
                    [file] => Abilities\Weapons\SorceressMissile\SorceressMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => 47.92
                    [y] => -47.4783
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 2.54047
                    [file] => Doodads\Ruins\Props\RuinsTrash\RuinsTrash0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 0.511222
                    [y] => -34.1712
                    [z] => 0
                    [scale] => 0.55
                    [rot] => 4.72565
                    [file] => Doodads\Ruins\Props\RuinsRuinedThrone\RuinsRuinedThrone0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -48.1769
                    [y] => -54.3882
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 4.57276
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 51.8177
                    [y] => 54.8854
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 1.71702
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_DMG_TO_UNDEAD
                    [base] => 0.15
                    [add] => 0
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Damage
                    [code] => local integer lvl = tower.getLevel()
   local Creep creep = Event.getTarget()
   local real sizeFactor = 1.0
   if creep.getSize() == SIZE_BOSS then
      set sizeFactor = 2.0
   endif
   if(tower.calcChance((0.05+lvl*0.006)*sizeFactor)) then
      call cassimArmor.applyCustomTimed(tower,creep,7,5+lvl*0.25)
   endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [icon] => ReplaceableTextures\CommandButtons\BTNHeal.blp
                            [visible] => true
                            [name] => Afterglow
                            [short_explain] => Provides a chance to melt some armor of damaged units.
                            [ONDAMAGE_chanceLevelAdd] => 0
                            [long_explain] => The Orb has a |cffFFFF805%|r chance to reduce armor of units it damages by |cffFFFF807|r for |cffFFFF805|r seconds. This chance is doubled for bosses.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r chance|n|cffFFFF80+0.25|r seconds duration
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
      //@import
      BuffType cassimArmor
    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] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

)