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

            [targs1] => Array
                (
                )

            [goldcost] => 40
            [weapsOn] => 1
            [Hfact1] => 0.45
            [dice1] => 1
            [Missilespeed] => 1050
            [file] => Abilities\Spells\Items\PotionOfOmniscience\CrystalBallCaster.mdl
            [Harea1] => 125
            [atkType1] => normal
            [modelScale] => 0.75
            [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
            [Name] => Glowing Solar Orb
            [Missileart] => Abilities\Weapons\SearingArrow\SearingArrowMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNResurrection.blp
            [buildingShadow] => Array
                (
                )

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

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

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

    [effects] => Array
        (
        )

    [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,2,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 |cffFFFF802|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
      //@export
      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
      local Modifier armor=Modifier.create() 
      call armor.addModification(MOD_ARMOR,0,-1) 
      set cassimArmor=BuffType.create(0,0,false)  //apply custom timed 
      call cassimArmor.setBuffIcon('@@0@@') 
      call cassimArmor.setBuffModifier(armor)
      call cassimArmor.setStackingGroup("astral_armor") 
	endfunction
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BNsa
                    [oeValues] => Array
                        (
                            [Bufftip] => Afterglow
                            [Buffubertip] => This unit has reduced armor.
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNHeal.blp
                            [TargetArt] => Abilities\Spells\NightElf\Blink\BlinkCaster.mdl,Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
                            [EditorName] => !ArmoryReduction
                        )

                )

        )

    [units] => Array
        (
        )

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

        )

)