Decompiled source of EclipseRefurbished v1.0.3

EclipseRefurbished.dll

Decompiled 3 hours ago
using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Configuration;
using BepInEx.Logging;
using IL.RoR2;
using Microsoft.CodeAnalysis;
using Mono.Cecil.Cil;
using MonoMod.Cil;
using On.RoR2;
using R2API;
using RiskOfOptions;
using RiskOfOptions.OptionConfigs;
using RiskOfOptions.Options;
using RoR2;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("EclipseRefurbished")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("EclipseRefurbished")]
[assembly: AssemblyTitle("EclipseRefurbished")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
	internal sealed class RefSafetyRulesAttribute : Attribute
	{
		public readonly int Version;

		public RefSafetyRulesAttribute(int P_0)
		{
			Version = P_0;
		}
	}
}
namespace ExamplePlugin
{
	internal static class Log
	{
		private static ManualLogSource _logSource;

		internal static void Init(ManualLogSource logSource)
		{
			_logSource = logSource;
		}

		internal static void Debug(object data)
		{
			_logSource.LogDebug(data);
		}

		internal static void Error(object data)
		{
			_logSource.LogError(data);
		}

		internal static void Fatal(object data)
		{
			_logSource.LogFatal(data);
		}

		internal static void Info(object data)
		{
			_logSource.LogInfo(data);
		}

		internal static void Message(object data)
		{
			_logSource.LogMessage(data);
		}

		internal static void Warning(object data)
		{
			_logSource.LogWarning(data);
		}
	}
}
namespace EclipseRefurbished
{
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInPlugin("com.Puporongod.EclipseRefurbished", "EclipseRefurbished", "1.0.2")]
	public class EclipseRefurbished : BaseUnityPlugin
	{
		public const string PluginGUID = "Pupi.EclipseRefurbished";

		public const string PluginAuthor = "Pupi";

		public const string PluginName = "EclipseRefurbished";

		public const string PluginVersion = "1.0.2";

		public static ConfigEntry<float> directorBoost;

		public static ConfigEntry<float> directorBoostEarly;

		public static ConfigEntry<float> directorBoostGilded;

		public static ConfigEntry<float> directorBoostGildedEarly;

		public static ConfigEntry<float> NewE4Modifier;

		public static ConfigEntry<bool> NewE4ModifierVoid;

		public static ConfigEntry<float> NewE6Modifier;

		public static ConfigEntry<float> E1Modifier;

		public static ConfigEntry<float> E2Modifier;

		public static ConfigEntry<float> E5Modifier;

		public static ConfigEntry<float> E6Modifier;

		public static ConfigEntry<bool> E7ModifierVoid;

		private static ConfigFile ERFBConfig { get; set; }

		public void Awake()
		{
			//IL_001d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0027: Expected O, but got Unknown
			//IL_002f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0039: Expected O, but got Unknown
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_004b: Expected O, but got Unknown
			//IL_0053: Unknown result type (might be due to invalid IL or missing references)
			//IL_005d: Expected O, but got Unknown
			//IL_0065: Unknown result type (might be due to invalid IL or missing references)
			//IL_006f: Expected O, but got Unknown
			//IL_0077: Unknown result type (might be due to invalid IL or missing references)
			//IL_0081: Expected O, but got Unknown
			SetupConfig();
			IncreaseScaling();
			ChangeDescriptions();
			CombatDirector.OnEnable += new hook_OnEnable(CombatDirector_OnEnable);
			CharacterMaster.OnBodyStart += new Manipulator(TweakE1Modifier);
			HoldoutZoneController.DoUpdate += new Manipulator(TweakE2Modifier);
			HealthComponent.Heal += new Manipulator(TweakE5Modifier);
			DeathRewards.OnKilledServer += new Manipulator(RemoveE6Modifier);
			RecalculateStatsAPI.GetStatCoefficients += new StatHookEventHandler(ATKSpeedAndAWUCooldown);
		}

		private void SetupConfig()
		{
			//IL_0011: Unknown result type (might be due to invalid IL or missing references)
			//IL_001b: Expected O, but got Unknown
			//IL_01bd: Unknown result type (might be due to invalid IL or missing references)
			//IL_01c2: Unknown result type (might be due to invalid IL or missing references)
			//IL_01cd: Unknown result type (might be due to invalid IL or missing references)
			//IL_01dd: Expected O, but got Unknown
			//IL_01d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_01e2: Expected O, but got Unknown
			//IL_01e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_01ed: Unknown result type (might be due to invalid IL or missing references)
			//IL_01f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0208: Expected O, but got Unknown
			//IL_0203: Unknown result type (might be due to invalid IL or missing references)
			//IL_020d: Expected O, but got Unknown
			//IL_0213: Unknown result type (might be due to invalid IL or missing references)
			//IL_0218: Unknown result type (might be due to invalid IL or missing references)
			//IL_0223: Unknown result type (might be due to invalid IL or missing references)
			//IL_0233: Expected O, but got Unknown
			//IL_022e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0238: Expected O, but got Unknown
			//IL_023e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0243: Unknown result type (might be due to invalid IL or missing references)
			//IL_024e: Unknown result type (might be due to invalid IL or missing references)
			//IL_025e: Expected O, but got Unknown
			//IL_0259: Unknown result type (might be due to invalid IL or missing references)
			//IL_0263: Expected O, but got Unknown
			//IL_0269: Unknown result type (might be due to invalid IL or missing references)
			//IL_026e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0279: Unknown result type (might be due to invalid IL or missing references)
			//IL_0289: Expected O, but got Unknown
			//IL_0284: Unknown result type (might be due to invalid IL or missing references)
			//IL_028e: Expected O, but got Unknown
			//IL_0294: Unknown result type (might be due to invalid IL or missing references)
			//IL_029e: Expected O, but got Unknown
			//IL_02a4: Unknown result type (might be due to invalid IL or missing references)
			//IL_02a9: Unknown result type (might be due to invalid IL or missing references)
			//IL_02b4: Unknown result type (might be due to invalid IL or missing references)
			//IL_02bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_02cb: Expected O, but got Unknown
			//IL_02c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_02d0: Expected O, but got Unknown
			//IL_02d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_02db: Unknown result type (might be due to invalid IL or missing references)
			//IL_02e6: Unknown result type (might be due to invalid IL or missing references)
			//IL_02f1: Unknown result type (might be due to invalid IL or missing references)
			//IL_02fd: Expected O, but got Unknown
			//IL_02f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0302: Expected O, but got Unknown
			//IL_0308: Unknown result type (might be due to invalid IL or missing references)
			//IL_030d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0318: Unknown result type (might be due to invalid IL or missing references)
			//IL_0323: Unknown result type (might be due to invalid IL or missing references)
			//IL_032f: Expected O, but got Unknown
			//IL_032a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0334: Expected O, but got Unknown
			//IL_033a: Unknown result type (might be due to invalid IL or missing references)
			//IL_033f: Unknown result type (might be due to invalid IL or missing references)
			//IL_034a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0355: Unknown result type (might be due to invalid IL or missing references)
			//IL_0361: Expected O, but got Unknown
			//IL_035c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0366: Expected O, but got Unknown
			//IL_036c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0371: Unknown result type (might be due to invalid IL or missing references)
			//IL_037c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0387: Unknown result type (might be due to invalid IL or missing references)
			//IL_0393: Expected O, but got Unknown
			//IL_038e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0398: Expected O, but got Unknown
			//IL_039e: Unknown result type (might be due to invalid IL or missing references)
			//IL_03a8: Expected O, but got Unknown
			ERFBConfig = new ConfigFile(Paths.ConfigPath + "\\com.Puporongod.EclipseRefurbished.cfg", true);
			directorBoost = ERFBConfig.Bind<float>("Director credits", "General credit boost multiplier", 1.15f, "Default for ER is 1.15 \n What to multiply director credits by? (entire run except Gilded Coast).\nVanilla total multiplier is 1 (none)\n\nApplies on stage load");
			directorBoostEarly = ERFBConfig.Bind<float>("Director credits", "Stages 1 and 2 extra additive", 0.2f, "Default for ER is 0.3 \nAn additive increase to credit multiplier (for S1 and S2).\nStacks additively with the above value forming the final multiplier for S1-2. Vanilla total multiplier is 1 (none)\n\nApplies on stage load");
			directorBoostGilded = ERFBConfig.Bind<float>("Director credits", "General Gilded Coast multiplier", 1.15f, "Default for ER is 1.15 \nWhat to multiply director credits by? (Gilded Coast, entire run).\nOnly applies to Gilded Coast. Vanilla total multiplier is 1 (none)\n\nApplies on stage load");
			directorBoostGildedEarly = ERFBConfig.Bind<float>("Director credits", "Stages 1 and 2 Gilded Coast extra additive", 0.25f, "Default for ER is 0.3 \nAn additive increase to credit multiplier (Gilded Coast S1-2).\nStacks additively with the above value forming the final multiplier for GC S1-2. Vanilla total multiplier is 1 (none)\n\nApplies on stage load");
			NewE4Modifier = ERFBConfig.Bind<float>("New eclipse modifiers", "E4- Enemies have +% attack speed", 0.25f, "Default for ER is 0.25 \nWhat to add to enemy attack speed factor (which starts at 1.00=100%) on E4.\nVanilla default is 0\n\nApplies in real-time.");
			NewE4ModifierVoid = ERFBConfig.Bind<bool>("New eclipse modifiers", "Should E4 apply to void enemies?", true, "Default for ER is true \nIn vanilla, void enemies do not obtain the benefits of E4 (speed and atk speed) as they exist on a different team that is not modified\n\nApplies in real-time.");
			NewE6Modifier = ERFBConfig.Bind<float>("New eclipse modifiers", "E6- Scaling difficulty", 3.6f, "Default for ER is 3.6 \nValue used for run difficulty on E6+.\nVanilla default depends on difficulty (1-drizzle, 2-rainstorm, 3-monsoon/eclipse)\n\n Requires restart to apply");
			E1Modifier = ERFBConfig.Bind<float>("Vanilla eclipse modifiers", "E1-Ally starting health percent", 0.75f, "Default for ER is 0.75 \nWhat to multiply starting health by.\nVanilla default is 0.5\n\nRequires restart to apply");
			E2Modifier = ERFBConfig.Bind<float>("Vanilla eclipse modifiers", "E2-Holdout zone radius percent", 0.65f, "Default for ER is 0.65 \nWhat to multiply holdout zone radius by.\nVanilla default is 0.75\n\nRequires restart to apply");
			E5Modifier = ERFBConfig.Bind<float>("Vanilla eclipse modifiers", "E5-Ally healing", 1.5f, "Default for ER is 1.5 \nEntered value is what to divide healing received by, for example 4 will mean healing is only 1/4 or 25% as effective.\nVanilla default is 2\n\nRequires restart to apply");
			E6Modifier = ERFBConfig.Bind<float>("Vanilla eclipse modifiers", "E6-Enemy gold drops", 1f, "Default for ER is 1 \nWhat to multiply enemy gold rewards by.\nVanilla default is 0.8\n\nRequires restart to apply");
			E7ModifierVoid = ERFBConfig.Bind<bool>("Vanilla eclipse modifiers", "Should E7 apply to void enemies?", true, "Default for ER is true \nIn vanilla, void enemies do not obtain the benefits of E7 (-50% cooldown reduction) as they exist on a different team that is not modified\n\nUpdates in real-time.");
			ModSettingsManager.AddOption((BaseOption)new SliderOption(directorBoost, (SliderConfig)new StepSliderConfig
			{
				min = 0.1f,
				max = 5f
			}));
			ModSettingsManager.AddOption((BaseOption)new SliderOption(directorBoostEarly, (SliderConfig)new StepSliderConfig
			{
				min = 0.1f,
				max = 5f
			}));
			ModSettingsManager.AddOption((BaseOption)new SliderOption(directorBoostGilded, (SliderConfig)new StepSliderConfig
			{
				min = 0.1f,
				max = 5f
			}));
			ModSettingsManager.AddOption((BaseOption)new SliderOption(directorBoostGildedEarly, (SliderConfig)new StepSliderConfig
			{
				min = 0.1f,
				max = 5f
			}));
			ModSettingsManager.AddOption((BaseOption)new SliderOption(NewE4Modifier, (SliderConfig)new StepSliderConfig
			{
				min = 0f,
				max = 3f
			}));
			ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(NewE4ModifierVoid));
			ModSettingsManager.AddOption((BaseOption)new SliderOption(NewE6Modifier, (SliderConfig)new StepSliderConfig
			{
				min = 1f,
				max = 6f,
				restartRequired = true
			}));
			ModSettingsManager.AddOption((BaseOption)new SliderOption(E1Modifier, (SliderConfig)new StepSliderConfig
			{
				min = 0.1f,
				max = 1f,
				restartRequired = true
			}));
			ModSettingsManager.AddOption((BaseOption)new SliderOption(E2Modifier, (SliderConfig)new StepSliderConfig
			{
				min = 0.1f,
				max = 3f,
				restartRequired = true
			}));
			ModSettingsManager.AddOption((BaseOption)new SliderOption(E5Modifier, (SliderConfig)new StepSliderConfig
			{
				min = 1f,
				max = 5f,
				restartRequired = true
			}));
			ModSettingsManager.AddOption((BaseOption)new SliderOption(E6Modifier, (SliderConfig)new StepSliderConfig
			{
				min = 0.1f,
				max = 3f,
				restartRequired = true
			}));
			ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(E7ModifierVoid));
		}

		private void ATKSpeedAndAWUCooldown(CharacterBody sender, StatHookEventArgs args)
		{
			//IL_0006: Unknown result type (might be due to invalid IL or missing references)
			//IL_000c: Invalid comparison between Unknown and I4
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_0027: Invalid comparison between Unknown and I4
			//IL_004c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0053: Invalid comparison between Unknown and I4
			//IL_00ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d1: Invalid comparison between Unknown and I4
			//IL_0056: Unknown result type (might be due to invalid IL or missing references)
			//IL_0060: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ec: Invalid comparison between Unknown and I4
			//IL_00f4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00fa: Invalid comparison between Unknown and I4
			//IL_008d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0093: Invalid comparison between Unknown and I4
			//IL_009b: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a1: Invalid comparison between Unknown and I4
			if ((int)Run.instance.selectedDifficulty >= 6 && Object.op_Implicit((Object)(object)sender.teamComponent) && (int)sender.teamComponent.teamIndex != 1)
			{
				args.attackSpeedMultAdd = NewE4Modifier.Value;
				if ((int)Run.instance.selectedDifficulty >= 9 && sender.bodyIndex == BodyCatalog.FindBodyIndex("SuperRoboBallBossBody"))
				{
					args.specialCooldownMultAdd = 0.4f;
				}
				if (NewE4ModifierVoid.Value && (int)sender.teamComponent.teamIndex != 1 && (int)sender.teamComponent.teamIndex != 2)
				{
					args.baseMoveSpeedAdd = 0.4f;
				}
			}
			if (E7ModifierVoid.Value && (int)Run.instance.selectedDifficulty >= 9 && Object.op_Implicit((Object)(object)sender.teamComponent) && (int)sender.teamComponent.teamIndex != 1 && (int)sender.teamComponent.teamIndex != 2)
			{
				args.cooldownMultAdd = -0.5f;
			}
		}

		private void IncreaseScaling()
		{
			DifficultyCatalog.GetDifficultyDef((DifficultyIndex)8).scalingValue = NewE6Modifier.Value;
			DifficultyCatalog.GetDifficultyDef((DifficultyIndex)9).scalingValue = NewE6Modifier.Value;
			DifficultyCatalog.GetDifficultyDef((DifficultyIndex)10).scalingValue = NewE6Modifier.Value;
		}

		private void TweakE1Modifier(ILContext il)
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0008: Expected O, but got Unknown
			ILCursor val = new ILCursor(il);
			if (val.TryGotoNext((MoveType)0, new Func<Instruction, bool>[1]
			{
				(Instruction x) => ILPatternMatchingExt.MatchLdcR4(x, 0.5f)
			}))
			{
				val.Next.Operand = E1Modifier.Value;
			}
			else
			{
				Debug.LogError((object)"EclipseRefurbished: TweakE1Modifier IL Hook failed");
			}
		}

		private void TweakE2Modifier(ILContext il)
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0008: Expected O, but got Unknown
			ILCursor val = new ILCursor(il);
			if (val.TryGotoNext((MoveType)0, new Func<Instruction, bool>[1]
			{
				(Instruction x) => ILPatternMatchingExt.MatchLdcR4(x, 0.5f)
			}))
			{
				val.Next.Operand = E2Modifier.Value;
			}
			else
			{
				Debug.LogError((object)"EclipseRefurbished: TweakE2Modifier IL Hook failed");
			}
		}

		private void TweakE5Modifier(ILContext il)
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0008: Expected O, but got Unknown
			ILCursor val = new ILCursor(il);
			val.TryGotoNext((MoveType)0, new Func<Instruction, bool>[1]
			{
				(Instruction x) => ILPatternMatchingExt.MatchLdcR4(x, 2f)
			});
			if (val.TryGotoNext((MoveType)0, new Func<Instruction, bool>[1]
			{
				(Instruction x) => ILPatternMatchingExt.MatchLdcR4(x, 2f)
			}))
			{
				val.Next.Operand = E5Modifier.Value;
			}
			else
			{
				Debug.LogError((object)"EclipseRefurbished: TweakE5Modifier IL Hook failed");
			}
		}

		private void RemoveE6Modifier(ILContext il)
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_0008: Expected O, but got Unknown
			ILCursor val = new ILCursor(il);
			if (val.TryGotoNext((MoveType)0, new Func<Instruction, bool>[1]
			{
				(Instruction x) => ILPatternMatchingExt.MatchLdcR4(x, 0.8f)
			}))
			{
				val.Next.Operand = E6Modifier.Value;
			}
			else
			{
				Debug.LogError((object)"EclipseRefurbished: RemoveE6Modifier IL Hook failed");
			}
		}

		private void CombatDirector_OnEnable(orig_OnEnable orig, CombatDirector self)
		{
			//IL_001a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Invalid comparison between Unknown and I4
			orig.Invoke(self);
			if (!Object.op_Implicit((Object)(object)Run.instance) || (int)Run.instance.selectedDifficulty < 4)
			{
				return;
			}
			DirectorMoneyWave[] moneyWaves = self.moneyWaves;
			if (moneyWaves == null || moneyWaves.Length == 0)
			{
				return;
			}
			DirectorMoneyWave[] array = moneyWaves;
			foreach (DirectorMoneyWave val in array)
			{
				if ((Object)(object)SceneCatalog.mostRecentSceneDef == (Object)(object)SceneCatalog.GetSceneDefFromSceneName("goldshores"))
				{
					float num = 0f;
					num += directorBoostGilded.Value;
					if (Run.instance.stageClearCount <= 1)
					{
						num += directorBoostGildedEarly.Value;
					}
					val.multiplier *= num;
				}
				else
				{
					float num2 = 0f;
					num2 += directorBoost.Value;
					if (Run.instance.stageClearCount <= 1)
					{
						num2 += directorBoostEarly.Value;
					}
					val.multiplier *= num2;
				}
			}
		}

		private void ChangeDescriptions()
		{
			string text = "\nStarts at baseline Monsoon difficulty";
			string text2 = "\nDirector Credits Multiplier: *(" + directorBoost.Value + "+ " + directorBoostEarly.Value + ")  |GC:  *(" + directorBoostGilded.Value + "+ " + directorBoostGildedEarly.Value + ")";
			string text3 = "\n<mspace=0.5em>(1)</mspace> Ally Starting health: <style=cIsHealth>" + E1Modifier.Value * 100f + "%</style></style>";
			string text4 = "\n<mspace=0.5em>(2)</mspace> Teleporter Radius: <style=cIsHealth>" + E2Modifier.Value * 100f + "%</style></style>";
			string text5 = "\n<mspace=0.5em>(3)</mspace> Ally Fall Damage: <style=cIsHealth>+100% and lethal</style></style>";
			string text6 = "\n<mspace=0.5em>(4)</mspace> Enemies: <style=cIsHealth>+40% Speed, +" + NewE4Modifier.Value * 100f + "% ATK Speed</style></style>";
			string text7 = "\n<mspace=0.5em>(5)</mspace> Ally Healing: <style=cIsHealth>" + (1f / E5Modifier.Value * 100f - 100f) + "%</style></style>";
			string text8 = "\n<mspace=0.5em>(6)</mspace> Difficulty Scaling Value: <style=cIsHealth>" + NewE6Modifier.Value + " </style></style> Enemy $ Drops:<style=cIsHealth> " + E6Modifier.Value * 100f + "%</style></style>";
			string text9 = "\n<mspace=0.5em>(7)</mspace> Enemy Cooldowns: <style=cIsHealth>-50% (AWU Shield only -30%)</style></style>";
			string text10 = "\n<mspace=0.5em>(8)</mspace> Allies recieve <style=cIsHealth>permanent damage</style></style>";
			string text11 = "\"You only celebrate in the light... because I allow it.\"   ";
			LanguageAPI.Add("ECLIPSE_1_DESCRIPTION", text + text2 + text3);
			LanguageAPI.Add("ECLIPSE_2_DESCRIPTION", text + text2 + text3 + text4);
			LanguageAPI.Add("ECLIPSE_3_DESCRIPTION", text + text2 + text3 + text4 + text5);
			LanguageAPI.Add("ECLIPSE_4_DESCRIPTION", text + text2 + text3 + text4 + text5 + text6);
			LanguageAPI.Add("ECLIPSE_5_DESCRIPTION", text + text2 + text3 + text4 + text5 + text6 + text7);
			LanguageAPI.Add("ECLIPSE_6_DESCRIPTION", text + text2 + text3 + text4 + text5 + text6 + text7 + text8);
			LanguageAPI.Add("ECLIPSE_7_DESCRIPTION", text + text2 + text3 + text4 + text5 + text6 + text7 + text8 + text9);
			LanguageAPI.Add("ECLIPSE_8_DESCRIPTION", text11 + text + text2 + text3 + text4 + text5 + text6 + text7 + text8 + text9 + text10);
		}
	}
}