Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of KizunaMod v0.39.0
plugins/KizunaMod.dll
Decompiled 11 hours ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.IO.Compression; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using System.Text; using AK.Wwise; using BepInEx; using BepInEx.Configuration; using BepInEx.Logging; using EntityStates; using HG; using HG.Reflection; using HarmonyLib; using KinematicCharacterController; using KizunaMod.FinalValley; using KizunaMod.Ichiraku; using On.RoR2; using On.RoR2.ExpansionManagement; using On.RoR2.UI; using On.RoR2.UI.MainMenu; using R2API; using R2API.Networking; using R2API.Networking.Interfaces; using R2API.Utils; using Rewired; using RoR2; using RoR2.CharacterAI; using RoR2.ContentManagement; using RoR2.ExpansionManagement; using RoR2.Navigation; using RoR2.Orbs; using RoR2.Skills; using RoR2.UI; using RoR2.UI.MainMenu; using RoR2.UI.SkinControllers; using RoR2BepInExPack.GameAssetPathsBetter; using Survariants; using TMPro; using UnityEngine; using UnityEngine.AddressableAssets; using UnityEngine.EventSystems; using UnityEngine.Events; using UnityEngine.Networking; using UnityEngine.Rendering; using UnityEngine.Rendering.PostProcessing; using UnityEngine.SceneManagement; using UnityEngine.UI; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: OptIn] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("KizunaMod")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("KizunaMod")] [assembly: AssemblyTitle("KizunaMod")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] namespace KizunaMod { public static class KizunaSignals { public const string SasukeShippudenFinisher = "SasukeShippuden.Finisher"; public const string NarutoCloneGone = "NarutoShippuden.CloneGone"; public const string TakaPerfectDodge = "SasukeMangekyou.PerfectDodge"; public const string SageEnergyGained = "NarutoSage.EnergyGained"; public const string SageKumiteHit = "NarutoSage.KumiteHit"; public const string SasukeShippudenFinisherHit = "SasukeShippuden.FinisherHit"; public const string MinatoAtClone = "Minato.AtClone"; public const string NarutoSixPathsVolley = "NarutoSixPaths.Volley"; public const string NarutoSixPathsOrbLanded = "NarutoSixPaths.OrbLanded"; public const string NarutoSixPathsOrbStruck = "NarutoSixPaths.OrbStruck"; public const string NarutoSixPathsShurikenHit = "NarutoSixPaths.ShurikenHit"; public const string NarutoSixPathsBarrage = "NarutoSixPaths.Barrage"; public const string SasukeRinneganSusanooBlow = "SasukeRinnegan.SusanooBlow"; public const string SasukeRinneganChibaku = "SasukeRinnegan.Chibaku"; public const string SasukeRinneganChibakuCaught = "SasukeRinnegan.ChibakuCaught"; public const string SasukeRinneganAmaterasuHit = "SasukeRinnegan.AmaterasuHit"; public const string NarutoShippudenRasengan = "NarutoShippuden.Rasengan"; public const string SageArtHit = "NarutoSage.ArtHit"; public const string SasukeShippudenKirin = "SasukeShippuden.Kirin"; public const string MinatoArrived = "Minato.Arrived"; public const string ZabuzaChilledCut = "Zabuza.ChilledCut"; public const string SasukeShippudenTransformed = "SasukeShippuden.Transformed"; public const string NarutoSixPathsOgi = "NarutoSixPaths.Ogi"; public const string SasukeRinneganOgi = "SasukeRinnegan.Ogi"; public const string HakuSwallows = "Haku.Swallows"; public const string ZabuzaWaterCloneBurst = "Zabuza.WaterCloneBurst"; public const string SasukeMangekyouAmaterasu = "SasukeMangekyou.Amaterasu"; public const string MadaraDanceSpent = "Madara.DanceSpent"; } public static class KizunaChecks { public const string TakaMarked = "SasukeMangekyou.Marked"; public const string AmaterasuBurning = "SasukeMangekyou.Burning"; public const string SageMeditating = "NarutoSage.Meditating"; public const string NarutoClone = "NarutoShippuden.Clone"; public const string MinatoMarked = "Minato.Marked"; public const string MinatoFormulaClaim = "Minato.FormulaClaim"; public const string RinneganBurning = "SasukeRinnegan.Burning"; public const string HakuChilled = "Haku.Chilled"; public const string SasukeShippudenElectrified = "SasukeShippuden.Electrified"; public const string ZabuzaMisted = "Zabuza.Misted"; public const string ZabuzaDemon = "Zabuza.Demon"; public const string RinneganChibakuHeld = "SasukeRinnegan.ChibakuHeld"; } public static class KizunaCounts { public const string MinatoSeals = "Minato.Seals"; } public static class KizunaPlaces { public const string MinatoKunai = "Minato.Kunai"; public const string HakuMirrors = "Haku.Mirrors"; public const string ZabuzaMists = "Zabuza.Mists"; public const string NarutoSixPathsMirrorOrb = "NarutoSixPaths.MirrorOrb"; } public static class KizunaShared { public const string SageKumiteWave = "NarutoSage.KumiteWave"; public const string SageEnergyStreak = "NarutoSage.EnergyStreak"; public const string TakaSharinganFlash = "SasukeMangekyou.SharinganFlash"; public const string MinatoFlash = "Minato.Flash"; public const string MinatoSeal = "Minato.Seal"; public const string NarutoSixPathsOrbBurst = "NarutoSixPaths.OrbBurst"; public const string RinneganBlackFlames = "SasukeRinnegan.BlackFlames"; public const string SasukeBolt = "SasukeShippuden.Bolt"; public const string HakuShatter = "Haku.Shatter"; public const string TakaBlackFlames = "SasukeMangekyou.BlackFlames"; } public static class Kizuna { private class Member { public Func<CharacterBody, bool> busy; public GameObject chargeEffect; } public struct Signal { public CharacterBody source; public CharacterBody other; public Vector3 point; public float value; } public const float bodyScale = 1.17f; public const string NarutoShippuden = "NarutoShippudenBody"; public const string NarutoSage = "NarutoSageBody"; public const string SasukeShippuden = "SasukeShippudenBody"; public const string SasukeMangekyou = "SasukeMangekyouBody"; public const string Minato = "MinatoBody"; public const string NarutoSixPaths = "NarutoSixPathsBody"; public const string SasukeRinnegan = "SasukeRinneganBody"; public const string Haku = "HakuBody"; public const string Zabuza = "ZabuzaBody"; public const string Kabuto = "KabutoBody"; public const string Madara = "MadaraBody"; public const string Hashirama = "HashiramaBody"; public static readonly string[] characters = new string[12] { "NarutoShippudenBody", "NarutoSageBody", "SasukeShippudenBody", "SasukeMangekyouBody", "MinatoBody", "NarutoSixPathsBody", "SasukeRinneganBody", "HakuBody", "ZabuzaBody", "KabutoBody", "MadaraBody", "HashiramaBody" }; public static readonly string[] released = new string[12] { "NarutoShippudenBody", "NarutoSageBody", "SasukeShippudenBody", "SasukeMangekyouBody", "MinatoBody", "NarutoSixPathsBody", "SasukeRinneganBody", "HakuBody", "ZabuzaBody", "KabutoBody", "MadaraBody", "HashiramaBody" }; private static readonly Dictionary<BodyIndex, string> characterOf = new Dictionary<BodyIndex, string>(); private static readonly HashSet<GameObject> ownPrefabs = new HashSet<GameObject>(); private const string OwnPackPrefix = "com.Zerneas."; private static readonly Dictionary<string, Member> members = new Dictionary<string, Member>(); private static readonly Dictionary<string, Type> parts = new Dictionary<string, Type>(); private static bool ownBuilt; public static bool pairHalves = false; private static readonly Dictionary<(string, string), (float, bool)> pairsNow = new Dictionary<(string, string), (float, bool)>(); private static readonly Dictionary<string, Action<Signal>> listeners = new Dictionary<string, Action<Signal>>(); private static readonly Dictionary<string, Func<CharacterBody, bool>> checks = new Dictionary<string, Func<CharacterBody, bool>>(); private static readonly Dictionary<string, Func<CharacterBody, GameObject>> sources = new Dictionary<string, Func<CharacterBody, GameObject>>(); private static readonly Dictionary<string, Func<CharacterBody, int>> counts = new Dictionary<string, Func<CharacterBody, int>>(); private static readonly Dictionary<string, Func<CharacterBody, List<Vector3>>> places = new Dictionary<string, Func<CharacterBody, List<Vector3>>>(); private static readonly Dictionary<string, GameObject> shared = new Dictionary<string, GameObject>(); private static readonly Dictionary<(GameObject, string), Transform> anchors = new Dictionary<(GameObject, string), Transform>(); internal static void Init() { RoR2Application.onLoad = (Action)Delegate.Combine(RoR2Application.onLoad, new Action(OnLoad)); } private static void OnLoad() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Invalid comparison between Unknown and I4 //IL_0023: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Invalid comparison between Unknown and I4 BuildOwn(); string[] array = characters; foreach (string text in array) { BodyIndex val = BodyCatalog.FindBodyIndex(text); if ((int)val != -1 && !characterOf.ContainsKey(val)) { Log.Warning("Kizuna: a body called " + text + " isn't one of ours (another mod's): it's left alone"); } } foreach (Type value in parts.Values) { if ((int)EntityStateCatalog.GetStateIndex(value) == -1) { Log.Error(value.FullName + " isn't in its mod's content pack: no other machine will see it"); } } } private static void EnsureOwn() { if (!ownBuilt && BodyCatalog.bodyCount > 0) { BuildOwn(); } } private static void BuildOwn() { //IL_001a: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_00b5: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Invalid comparison between Unknown and I4 //IL_00c4: Unknown result type (might be due to invalid IL or missing references) characterOf.Clear(); ownPrefabs.Clear(); ownBuilt = true; Enumerator<ReadOnlyContentPack> enumerator = ContentManager.allLoadedContentPacks.GetEnumerator(); try { while (enumerator.MoveNext()) { ReadOnlyContentPack current = enumerator.Current; if (((ReadOnlyContentPack)(ref current)).identifier == null || !((ReadOnlyContentPack)(ref current)).identifier.StartsWith("com.Zerneas.", StringComparison.Ordinal)) { continue; } AssetEnumerator<GameObject> enumerator2 = ((ReadOnlyContentPack)(ref current)).bodyPrefabs.GetEnumerator(); try { while (enumerator2.MoveNext()) { GameObject current2 = enumerator2.Current; CharacterBody val = (Object.op_Implicit((Object)(object)current2) ? current2.GetComponent<CharacterBody>() : null); if (Object.op_Implicit((Object)(object)val) && Array.IndexOf(characters, ((Object)current2).name) >= 0) { ownPrefabs.Add(current2); if ((int)val.bodyIndex != -1) { characterOf[val.bodyIndex] = ((Object)current2).name; } } } } finally { ((IDisposable)enumerator2/*cast due to .constrained prefix*/).Dispose(); } } } finally { ((IDisposable)enumerator/*cast due to .constrained prefix*/).Dispose(); } } public static string CharacterOf(CharacterBody body) { //IL_0013: Unknown result type (might be due to invalid IL or missing references) EnsureOwn(); if (!Object.op_Implicit((Object)(object)body) || !characterOf.TryGetValue(body.bodyIndex, out var value)) { return null; } return value; } public static string NameOf(BodyIndex index) { //IL_000a: Unknown result type (might be due to invalid IL or missing references) EnsureOwn(); if (!characterOf.TryGetValue(index, out var value)) { return null; } return value; } public static string NameOf(GameObject bodyPrefab) { EnsureOwn(); if (!Object.op_Implicit((Object)(object)bodyPrefab) || !ownPrefabs.Contains(bodyPrefab)) { return null; } return ((Object)bodyPrefab).name; } public static bool IsImpostor(GameObject bodyPrefab) { EnsureOwn(); if (Object.op_Implicit((Object)(object)bodyPrefab) && Array.IndexOf(characters, ((Object)bodyPrefab).name) >= 0) { return !ownPrefabs.Contains(bodyPrefab); } return false; } public static GameObject OwnBodyPrefab(string character) { EnsureOwn(); if (character == null) { return null; } foreach (GameObject ownPrefab in ownPrefabs) { if (Object.op_Implicit((Object)(object)ownPrefab) && ((Object)ownPrefab).name == character) { return ownPrefab; } } return null; } public static GameObject OwnMasterPrefab(string character) { GameObject val = OwnBodyPrefab(character); if (!Object.op_Implicit((Object)(object)val)) { return null; } GameObject val2 = MasterCatalog.FindMasterPrefab(character.Replace("Body", "MonsterMaster")); CharacterMaster val3 = (Object.op_Implicit((Object)(object)val2) ? val2.GetComponent<CharacterMaster>() : null); if (!Object.op_Implicit((Object)(object)val3) || !((Object)(object)val3.bodyPrefab == (Object)(object)val)) { return null; } return val2; } public static bool Is(CharacterBody body, string character) { if (character != null) { return CharacterOf(body) == character; } return false; } public static bool IsPerson(CharacterMaster master) { if (Object.op_Implicit((Object)(object)master)) { if (!Object.op_Implicit((Object)(object)master.playerCharacterMasterController)) { return Object.op_Implicit((Object)(object)((Component)master).GetComponent<KizunaTestAlly>()); } return true; } return false; } private static bool Alive(CharacterBody body) { if (Object.op_Implicit((Object)(object)body) && Object.op_Implicit((Object)(object)body.healthComponent)) { return body.healthComponent.alive; } return false; } public static List<CharacterBody> Partners(CharacterBody body, string character = null) { if (!pairHalves) { return new List<CharacterBody>(); } return Bonded(body, character); } public static List<CharacterBody> Bonded(CharacterBody body, string character = null) { List<CharacterBody> list = new List<CharacterBody>(); string text = CharacterOf(body); if (text == null || !IsPerson(body.master) || !Alive(body)) { return list; } foreach (CharacterMaster readOnlyInstances in CharacterMaster.readOnlyInstancesList) { if (!((Object)(object)readOnlyInstances == (Object)(object)body.master) && IsPerson(readOnlyInstances)) { CharacterBody body2 = readOnlyInstances.GetBody(); string text2 = CharacterOf(body2); if (text2 != null && !(text2 == text) && Alive(body2) && (character == null || text2 == character)) { list.Add(body2); } } } return list; } public static bool ArePartners(CharacterBody a, CharacterBody b) { if (pairHalves) { return AreBonded(a, b); } return false; } public static bool AreBonded(CharacterBody a, CharacterBody b) { if (!Object.op_Implicit((Object)(object)a) || !Object.op_Implicit((Object)(object)b) || (Object)(object)a == (Object)(object)b || (Object)(object)a.master == (Object)(object)b.master) { return false; } string text = CharacterOf(a); string text2 = CharacterOf(b); if (text != null && text2 != null && text != text2 && IsPerson(a.master) && IsPerson(b.master) && Alive(a)) { return Alive(b); } return false; } public static bool AnyPair(string first, string second) { if (!pairHalves) { return false; } float fixedTime = Time.fixedTime; if (pairsNow.TryGetValue((first, second), out var value) && value.Item1 == fixedTime) { return value.Item2; } bool flag = false; foreach (CharacterMaster readOnlyInstances in CharacterMaster.readOnlyInstancesList) { CharacterBody body = (Object.op_Implicit((Object)(object)readOnlyInstances) ? readOnlyInstances.GetBody() : null); if (Is(body, first) && Partners(body, second).Count > 0) { flag = true; break; } } pairsNow[(first, second)] = (fixedTime, flag); return flag; } public static void RegisterCharacter(string character, Func<CharacterBody, bool> busy, GameObject chargeEffect) { members[character] = new Member { busy = busy, chargeEffect = chargeEffect }; } public static void RegisterPart<T>(string combo, string character) where T : KizunaPart, new() { parts[combo + "|" + character] = typeof(T); } internal static bool Registered(string character) { if (character != null) { return members.ContainsKey(character); } return false; } internal static bool Busy(CharacterBody body) { string text = CharacterOf(body); if (text != null && members.TryGetValue(text, out var value)) { if (value.busy != null) { return value.busy(body); } return false; } return true; } public static bool Transformed(CharacterBody body) { string text = CharacterOf(body); if (text != null && members.TryGetValue(text, out var value) && value.busy != null) { return value.busy(body); } return false; } internal static GameObject ChargeEffect(CharacterBody body) { string text = CharacterOf(body); if (text == null || !members.TryGetValue(text, out var value)) { return null; } return value.chargeEffect; } internal static bool HasParts(KizunaCombo combo) { if (combo != null && parts.ContainsKey(combo.id + "|" + combo.a)) { return parts.ContainsKey(combo.id + "|" + combo.b); } return false; } internal static KizunaPart CreatePart(KizunaCombo combo, string character) { if (!parts.TryGetValue(combo.id + "|" + character, out var value)) { return null; } return (KizunaPart)Activator.CreateInstance(value); } public static void On(string signal, Action<Signal> listener) { listeners.TryGetValue(signal, out var value); listeners[signal] = (Action<Signal>)Delegate.Combine(value, listener); } public static void Raise(string signal, Signal data) { if (!pairHalves || !NetworkServer.active || !listeners.TryGetValue(signal, out var value) || value == null) { return; } Delegate[] invocationList = value.GetInvocationList(); for (int i = 0; i < invocationList.Length; i++) { Action<Signal> action = (Action<Signal>)invocationList[i]; try { action(data); } catch (Exception arg) { Log.Error($"signal {signal}: {arg}"); } } } public static void Raise(string signal, CharacterBody source, Vector3 point = default(Vector3)) { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) Raise(signal, new Signal { source = source, point = point }); } public static void RegisterCheck(string check, Func<CharacterBody, bool> answer) { checks[check] = answer; } public static bool Check(string check, CharacterBody body) { if (pairHalves && Object.op_Implicit((Object)(object)body) && checks.TryGetValue(check, out var value) && value != null) { return value(body); } return false; } public static bool Holds(string check, CharacterBody body) { if (Object.op_Implicit((Object)(object)body) && checks.TryGetValue(check, out var value) && value != null) { return value(body); } return false; } public static void RegisterSource(string check, Func<CharacterBody, GameObject> sourceOf) { sources[check] = sourceOf; } public static GameObject SourceOf(string check, CharacterBody body) { if (!Object.op_Implicit((Object)(object)body) || !sources.TryGetValue(check, out var value) || value == null) { return null; } return value(body); } public static void RegisterCount(string count, Func<CharacterBody, int> answer) { counts[count] = answer; } public static int Count(string count, CharacterBody body) { if (!pairHalves || !Object.op_Implicit((Object)(object)body) || !counts.TryGetValue(count, out var value) || value == null) { return 0; } return value(body); } public static void RegisterPlaces(string name, Func<CharacterBody, List<Vector3>> where) { places[name] = where; } public static List<Vector3> Places(string name, CharacterBody body) { if (!pairHalves || !Object.op_Implicit((Object)(object)body) || !places.TryGetValue(name, out var value) || value == null) { return new List<Vector3>(); } return value(body) ?? new List<Vector3>(); } public static void Later(float seconds, Action action) { if (action != null && Object.op_Implicit((Object)(object)KizunaPlugin.instance)) { ((MonoBehaviour)KizunaPlugin.instance).StartCoroutine(After(seconds, action, Stage.instance)); } } private static IEnumerator After(float seconds, Action action, Stage stage) { yield return (object)new WaitForSeconds(seconds); if ((Object)(object)Stage.instance != (Object)(object)stage) { yield break; } try { action(); } catch (Exception arg) { Log.Error($"later: {arg}"); } } public static void Share(string name, GameObject thing) { if (Object.op_Implicit((Object)(object)thing)) { shared[name] = thing; } } public static GameObject Shared(string name) { if (!shared.TryGetValue(name, out var value)) { return null; } return value; } public static void Publish(GameObject owner, string name, Transform thing) { if (Object.op_Implicit((Object)(object)owner)) { anchors[(owner, name)] = thing; } } public static Transform Anchor(GameObject owner, string name) { if (!Object.op_Implicit((Object)(object)owner) || !anchors.TryGetValue((owner, name), out var value)) { return null; } if (!Object.op_Implicit((Object)(object)value)) { anchors.Remove((owner, name)); } return value; } public static void Thread(CharacterBody giver, CharacterBody receiver) { KizunaFeel.Thread(giver, receiver); } public static void Flare(CharacterBody body) { //IL_001f: Unknown result type (might be due to invalid IL or missing references) //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Expected O, but got Unknown GameObject val = ChargeEffect(body); if (NetworkServer.active && Object.op_Implicit((Object)(object)val) && Object.op_Implicit((Object)(object)body)) { EffectManager.SpawnEffect(val, new EffectData { origin = body.footPosition, rootObject = ((Component)body).gameObject }, true); } } public static void ShowWhile(BuffDef buff, Func<GameObject> prefab, string child = null, float radius = 0f) { KizunaFeel.ShowWhile(buff, prefab, child, radius); } public static GameObject KuramaCloak() { return KizunaFeel.KuramaCloak(); } public static Vector3 Ground(Vector3 point, float above = 3f, float below = 12f) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) RaycastHit val = default(RaycastHit); if (Physics.Raycast(point + Vector3.up * above, Vector3.down, ref val, above + below, LayerMask.op_Implicit(((LayerIndex)(ref LayerIndex.world)).mask), (QueryTriggerInteraction)1)) { return ((RaycastHit)(ref val)).point; } return point; } public static Vector3 Level(Vector3 direction, Vector3 fallback) { //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0044: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) direction.y = 0f; if (((Vector3)(ref direction)).sqrMagnitude > 0.0001f) { return ((Vector3)(ref direction)).normalized; } fallback.y = 0f; if (!(((Vector3)(ref fallback)).sqrMagnitude > 0.0001f)) { return Vector3.forward; } return ((Vector3)(ref fallback)).normalized; } } public class KizunaArena { public static KizunaArena current; public Vector3 center; public float radius; public Vector3[] heads = (Vector3[])(object)new Vector3[0]; public Vector3[] hands = (Vector3[])(object)new Vector3[0]; public Vector3 lip; public float lipHalfWidth; public float riverY; public Func<Vector3, bool> sheltered; public Action<float> tremble; public Vector3[] plateaus = (Vector3[])(object)new Vector3[0]; public Func<Vector3, bool> grass; public Action<Vector3> moveDuel; public Action<CharacterBody, Vector3> throwTo; public Vector3[] clearings = (Vector3[])(object)new Vector3[0]; public Vector3 pool; public float poolRadius; public Vector3 poolGiant; public Vector3 poolFacing = Vector3.forward; public Vector3[] Stations { get { Vector3[] array = (Vector3[])(object)new Vector3[heads.Length + hands.Length]; heads.CopyTo(array, 0); hands.CopyTo(array, heads.Length); return array; } } public bool InPool(Vector3 at, float margin = 0f) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) if (poolRadius <= 0f) { return false; } Vector3 val = at - pool; float y = val.y; val.y = 0f; if (((Vector3)(ref val)).sqrMagnitude <= (poolRadius + margin) * (poolRadius + margin) && y > -10f) { return y < 30f; } return false; } public void Throw(CharacterBody body, Vector3 to) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Unknown result type (might be due to invalid IL or missing references) if (throwTo != null) { throwTo(body, to); } else if (Object.op_Implicit((Object)(object)body)) { TeleportHelper.TeleportBody(body, to); } } public bool OnGrass(Vector3 at) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) if (grass != null) { return grass(at); } return false; } public void MoveDuel(Vector3 at) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) moveDuel?.Invoke(at); } public bool OnFloor(Vector3 at, float margin = 1f) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) Vector3 val = at - center; float y = val.y; val.y = 0f; if (((Vector3)(ref val)).sqrMagnitude <= (radius + margin) * (radius + margin) && y > -6f) { return y < 25f; } return false; } public bool Below(Vector3 at) { //IL_0000: Unknown result type (might be due to invalid IL or missing references) return at.y < center.y - 30f; } public void Tremble(float seconds) { tremble?.Invoke(seconds); } } public static class KizunaBook { public class Text { public string es; public string en; public string Now { get { if (!Spanish) { return en; } return es; } } public Text(string es, string en) { this.es = es; this.en = en; } } public class Bond { public string a; public string b; public Text name; public Text comboName; public Text combo; public Text halfA; public Text halfB; public Text Half(string character) { if (!(character == a)) { return halfB; } return halfA; } public string Other(string character) { if (!(character == a)) { return a; } return b; } } public static readonly Dictionary<string, (Text name, Text text)> gifts = new Dictionary<string, (Text, Text)> { { "NarutoShippudenBody", (new Text("Clones escolta", "Escort clones"), new Text("Cuando saca clones de sombra, cada aliado a 40 m o menos recibe además uno propio que le sigue y ataca lo mismo que él (no cuenta para los suyos).", "When he makes shadow clones, each ally within 40 m also gets one of their own that follows them and attacks what they attack (it doesn't count against his).")) }, { "NarutoSageBody", (new Text("Sapos del monte Myōboku", "Toads of Mount Myōboku"), new Text("Cada Arte Sabio hace caer a Gamakichi sobre el enemigo al que apunta cada aliado: 500 % en 6 m, aturde 1 s. Uno por aliado cada 8 s.", "Each Sage Art drops Gamakichi on the enemy each ally is aiming at: 500% in 6 m, stuns for 1 s. Once per ally every 8 s.")) }, { "NarutoSixPathsBody", (new Text("Manto de la Alianza", "The Alliance's cloak"), new Text("Su X viste a los aliados a 60 m con el manto de Kurama 15 s: +40 de armadura y +20 % de daño, +1 % por punto de chakra bijū (hasta +50 %).", "His X cloaks allies within 60 m in Kurama's chakra for 15 s: +40 armor and +20% damage, +1% per point of bijū chakra (up to +50%).")) }, { "SasukeShippudenBody", (new Text("Filo de rayo", "Lightning edge"), new Text("Su utilidad carga de rayo el arma de los aliados a 30 m durante 8 s: cada golpe salta al enemigo más cercano, 80 % de su daño.", "His utility charges the weapons of allies within 30 m with lightning for 8 s: each hit arcs to the nearest enemy for 80% of their damage.")) }, { "SasukeMangekyouBody", (new Text("Costillar de Susanoo", "Susanoo's ribcage"), new Text("A 40 m de él, el golpe que dejaría a un aliado bajo el 30 % se bloquea: 2,5 s invencible en el costillar, que barre al final, 400 % en 8 m. Cada 40 s por aliado.", "Within 40 m of him, the hit that would leave an ally under 30% is blocked: 2.5 s invincible in the ribcage, which sweeps at the end, 400% in 8 m. Every 40 s per ally.")) }, { "SasukeRinneganBody", (new Text("Gravedad del Rinnegan", "The Rinnegan's gravity"), new Text("Su Chibaku Tensei encierra en roca también al enemigo que cada aliado a 60 m tiene en la mira (o el más cercano): 3 s indefenso (jefes: frenados), +30 % de daño de ese aliado.", "His Chibaku Tensei also locks in rock the enemy each ally within 60 m is aiming at (or the nearest): helpless for 3 s (bosses: slowed), +30% damage from that ally.")) }, { "MinatoBody", (new Text("Destello de rescate", "Rescue flash"), new Text("Si un golpe va a quitar a un aliado más del 25 % de su vida, Minato lo saca con el Hiraishin a su kunai más cercano (o a su lado) y el golpe falla. Cada 25 s por aliado.", "If a hit would take more than 25% of an ally's health, Minato flashes them to his nearest kunai (or to his side) and it misses. Every 25 s per ally.")) }, { "HakuBody", (new Text("Espejos de hielo", "Ice mirrors"), new Text("Los aliados entran en sus espejos con la tecla de interactuar: invisibles e intocables, pasan a otro espejo apuntándolo (interactuar o utilidad) y salen saltando.", "Allies enter his mirrors with the interact key: unseen and untouchable, they pass to another mirror by aiming at it (interact or utility) and leave by jumping.")) }, { "ZabuzaBody", (new Text("Asesinato silencioso", "Silent killing"), new Text("En su niebla, los aliados quedan ocultos para los enemigos y todos sus golpes son críticos.", "In his mist, allies are hidden from enemies and every hit they land is critical.")) }, { "KabutoBody", (new Text("Edo Tensei", "Edo Tensei"), new Text("Su especial devuelve a un aliado muerto en uno de los ataúdes: agrietado, con el 75 % de su vida y de su daño, y puede coger objetos. Una vez por fase por aliado.", "His special brings a dead ally back in one of its coffins: cracked, at 75% of their health and damage, still able to pick up items. Once per stage per ally.")) }, { "MadaraBody", (new Text("Armadura de Susanoo", "Susanoo armor"), new Text("Transformado, viste a los aliados a 40 m con su Susanoo: −40 % de daño recibido y cada golpe suyo suelta un tajo espectral, 150 % de Madara. En Susanoo Perfecto, −55 % y tajos de 250 % más amplios.", "Transformed, he clothes allies within 40 m in his Susanoo: −40% damage taken, and each hit they land adds a spectral slash, 150% of Madara's. In the Perfect Susanoo, −55% and wider 250% slashes.")) }, { "HashiramaBody", (new Text("Mil manos", "A thousand hands"), new Text("A 60 m de él, lo que golpea a un aliado es aplastado por una mano gigante de madera que sale del suelo: 300 %, ata 1,5 s. Una por aliado cada 4 s.", "Within 60 m of him, whatever hits an ally is crushed by a giant wooden hand rising from the ground: 300%, binds for 1.5 s. Once per ally every 4 s.")) } }; public static readonly HashSet<string> secretGifts = new HashSet<string>(); public static readonly Dictionary<string, string> fallbackNames = new Dictionary<string, string> { { "NarutoShippudenBody", "Naruto" }, { "NarutoSageBody", "Naruto (Sage)" }, { "SasukeShippudenBody", "Sasuke" }, { "SasukeMangekyouBody", "Sasuke (Taka)" }, { "MinatoBody", "Minato" }, { "NarutoSixPathsBody", "Naruto (Six Paths)" }, { "SasukeRinneganBody", "Sasuke (Rinnegan)" }, { "HakuBody", "Haku" }, { "ZabuzaBody", "Zabuza" }, { "KabutoBody", "Kabuto" }, { "MadaraBody", "Madara" }, { "HashiramaBody", "Hashirama" } }; private const string NS = "NarutoShippudenBody"; private const string SG = "NarutoSageBody"; private const string SS = "SasukeShippudenBody"; private const string TK = "SasukeMangekyouBody"; private const string MN = "MinatoBody"; private const string N6 = "NarutoSixPathsBody"; private const string SR = "SasukeRinneganBody"; private const string HK = "HakuBody"; private const string ZB = "ZabuzaBody"; private const string KB = "KabutoBody"; private const string MD = "MadaraBody"; private const string HS = "HashiramaBody"; public static readonly Bond[] bonds = new Bond[66] { new Bond { a = "NarutoShippudenBody", b = "SasukeShippudenBody", name = new Text("Equipo 7", "Team 7"), halfA = new Text("Tu Rasengan (o el de un clon) sobre un enemigo que la corriente de Sasuke recorrió hace 3 s o menos estalla en rayos: 250 % en 8 m, aturde 1 s.", "Your Rasengan (or a clone's) on an enemy Sasuke's current ran through in the last 3 s bursts into lightning: 250% in 8 m, stuns for 1 s."), halfB = new Text("Al lanzar el remate de la Kusanagi, los clones libres de Naruto cerca de ti hacen su remate «¡U-zu-ma-ki!».", "Throwing Kusanagi's finisher makes Naruto's free clones near you perform their \"U-zu-ma-ki!\" finisher."), comboName = new Text("Rasengan × Chidori", "Rasengan × Chidori"), combo = new Text("Aparecen ante el objetivo y chocan el Rasengan y el Chidori en una cúpula de chakra que estalla: 2 × 3200 % en 15 m, aturde.", "Both appear before the target and clash Rasengan and Chidori into a chakra dome that bursts: 2 × 3200% in 15 m, stuns.") }, new Bond { a = "NarutoSageBody", b = "SasukeMangekyouBody", name = new Text("Viento y llamas negras", "Wind and Black Flames"), halfA = new Text("A 30 m de Taka con el Susanoo listo, el golpe que te dejaría bajo el 30 % se bloquea: 2 s invencible con su costillar (su Susanoo se recarga).", "Within 30 m of Taka with Susanoo ready, a hit that would drop you below 30% is blocked: 2 s invincible in his ribcage (his Susanoo recharges)."), halfB = new Text("El Rasengan Gigante o el Rasen-Shuriken del Sage sobre un enemigo en llamas extiende tu Amaterasu a los 2 más cercanos, tan fuerte como haya crecido.", "The Sage's Giant Rasengan or Rasen-Shuriken on a burning enemy spreads your Amaterasu to the 2 nearest, as strong as it has grown."), comboName = new Text("Enton: Rasen-Shuriken", "Enton: Rasen-Shuriken"), combo = new Text("Taka prende el Rasen-Shuriken con Amaterasu: una esfera negra atrae y quema todo, y estalla: 2 × 2800 %.", "Taka sets the Rasen-Shuriken ablaze with Amaterasu: a black sphere pulls and burns everything, then bursts: 2 × 2800%.") }, new Bond { a = "NarutoShippudenBody", b = "NarutoSageBody", name = new Text("Clones del monte Myōboku", "Mount Myōboku Clones"), halfA = new Text("Tus clones a 30 m del Sage golpean con el Kumite de la Rana (×1,5).", "Your clones within 30 m of the Sage strike with Frog Kumite (×1.5)."), halfB = new Text("Cada clon de Naruto que se deshace a 60 m te da +1 punto de energía natural y adelanta 3 s tus clones ocultos.", "Each of Naruto's clones dispelled within 60 m gives you +1 point of natural energy and speeds up your hidden clones by 3 s."), comboName = new Text("Chō Ōdama Rasen Tarengan", "Chō Ōdama Rasen Tarengan"), combo = new Text("8 clones de Naruto rodean al objetivo y cargan con Rasengan (225 % cada uno); después caen desde lo alto con la Ultra Gigante del Sage: 2 × 2500 %.", "8 of Naruto's clones surround the target and charge with Rasengan (225% each); then both dive with the Sage's Ultra Giant Rasengan: 2 × 2500%.") }, new Bond { a = "SasukeShippudenBody", b = "SasukeMangekyouBody", name = new Text("Sangre Uchiha", "Uchiha Blood"), halfA = new Text("Lo que arde con el Amaterasu de Taka cuenta como ardiendo para tu calor; si arde en la zona de Kirin, +20 de calor.", "Whatever burns with Taka's Amaterasu counts as burning for your heat; burning inside Kirin's area, +20 heat."), halfB = new Text("Los golpes de Sasuke marcan con tu Sharingan 6 s: tu Amaterasu los busca y tus jutsus les hacen +20 %.", "Sasuke's hits mark enemies with your Sharingan for 6 s: your Amaterasu seeks them and your jutsu deal +20%."), comboName = new Text("Corte cruzado del halcón", "Hawk Cross Cut"), combo = new Text("8 tajos cruzados alrededor del objetivo (2 × 120 % cada uno) y un aspa final: 2 × 2500 %, aturde 2 s.", "8 crossing slashes around the target (2 × 120% each) and a final cross: 2 × 2500%, stuns for 2 s.") }, new Bond { a = "NarutoShippudenBody", b = "SasukeMangekyouBody", name = new Text("Promesa", "Promise"), halfA = new Text("Tus clones hacen crítico siempre a los marcados por el Sharingan de Taka.", "Your clones always crit enemies marked by Taka's Sharingan."), halfB = new Text("Contraataque: cada esquiva perfecta manda los clones libres de Naruto (40 m) a por el atacante con Rasengan (250 %).", "Counterattack: every perfect dodge sends Naruto's free clones (40 m) after the attacker with Rasengan (250%)."), comboName = new Text("Fūma del Equipo 7", "Team 7 Fūma"), combo = new Text("Naruto se vuelve el Fūma y Taka lo lanza en llamas negras (400 % a cada enemigo, hasta 8); Naruto cae con un Rasengan: 2 × 2900 %.", "Naruto becomes the Fūma and Taka throws it in black flames (400% per enemy, up to 8); Naruto drops with a Rasengan: 2 × 2900%.") }, new Bond { a = "NarutoSageBody", b = "SasukeShippudenBody", name = new Text("Senjutsu y sello maldito", "Senjutsu and Cursed Seal"), halfA = new Text("Cuando Sasuke despierta el sello maldito a 40 m, tus clones ocultos se deshacen al instante y te dan todas sus cargas y 4 puntos de energía natural.", "When Sasuke wakes his Cursed Seal within 40 m, your hidden clones dispel at once, handing you all their charges and 4 points of natural energy."), halfB = new Text("Cada Arte Sabio del Sage que acierta te llena un 8 % el sello; si ya estás transformado, tu forma dura 1 s más.", "Each of the Sage's Sage Arts that lands fills 8% of your seal; if you're already transformed, your form lasts 1 s longer."), comboName = new Text("Arte Sabio: Goemon", "Sage Art: Goemon"), combo = new Text("Fukasaku y Shima, sobre el pergamino del Sage, escupen su aceite; el viento del Sage lo empuja y Sasuke lo prende con su Katon: una ola de aceite ardiendo arrasa la zona (6 × 100 % de cada uno) y estalla: 2 × 2500 %.", "Fukasaku and Shima, on the Sage's scroll, spit their oil; the Sage's wind drives it and Sasuke's Fire Style sets it alight: a wave of burning oil sweeps the area (6 × 100% each) and erupts: 2 × 2500%.") }, new Bond { a = "MinatoBody", b = "NarutoShippudenBody", name = new Text("Padre e hijo", "Father and Son"), halfA = new Text("Los clones de Naruto son marcas del Hiraishin: al aparecer junto a uno, el clon lanza un Rasengan al enemigo más cercano.", "Naruto's clones are Hiraishin marks: flashing next to one makes it throw a Rasengan at the nearest enemy."), halfB = new Text("Tu Rasengan (o el de un clon) sobre un enemigo con sellos de Minato estalla otra vez, dorado: 75 % en 6 m.", "Your Rasengan (or a clone's) on an enemy carrying Minato's seals bursts again in gold: 75% in 6 m."), comboName = new Text("Rasengan doble", "Double Rasengan"), combo = new Text("Minato lanza dos kunai junto al objetivo, aparecen en ellos y clavan el Rasengan a la vez: 2 × 3200 % en 12 m.", "Minato throws two kunai beside the target, both flash to them and drive their Rasengan in at once: 2 × 3200% in 12 m.") }, new Bond { a = "MinatoBody", b = "NarutoSageBody", name = new Text("La fórmula del maestro", "The Master's Formula"), halfA = new Text("Cada golpe del Kumite de la Rana del Sage escribe uno de tus sellos.", "Each of the Sage's Frog Kumite hits writes one of your seals."), halfB = new Text("Tu Rasen-Shuriken que pasa a 6 m de un kunai clavado de Minato salta en un destello dorado al enemigo con sellos más cercano (40 m).", "Your Rasen-Shuriken passing within 6 m of one of Minato's stuck kunai flashes in gold to the nearest enemy carrying his seals (40 m)."), comboName = new Text("Rasen-Shuriken del Hiraishin", "Hiraishin Rasen-Shuriken"), combo = new Text("Minato atrapa el Rasen-Shuriken y lo lleva por 4 kunai (300 % cada estallido) antes de soltarlo sobre el objetivo: 2 × 2900 %.", "Minato catches the Rasen-Shuriken and flashes it across 4 kunai (300% per burst) before dropping it on the target: 2 × 2900%.") }, new Bond { a = "MinatoBody", b = "SasukeShippudenBody", name = new Text("Pararrayos", "Lightning Rods"), halfA = new Text("El remate de la Kusanagi de Sasuke escribe 3 de tus sellos en todo lo que toca.", "Sasuke's Kusanagi finisher writes 3 of your seals on everything it hits."), halfB = new Text("Tu corriente (Kusanagi, Chidori) a 15 m de un kunai de Minato salta del kunai al enemigo más cercano (150 %).", "Your lightning (Kusanagi, Chidori) within 15 m of Minato's kunai arcs from it to the nearest enemy (150%)."), comboName = new Text("Jaula de rayos", "Lightning Cage"), combo = new Text("8 kunai en anillo; Sasuke clava el Chidori y la valla de rayos descarga mientras Minato corta de kunai en kunai; Kirin remata: 2 × 2500 %.", "8 kunai in a ring; Sasuke drives in his Chidori and the fence discharges while Minato slashes kunai to kunai; Kirin ends it: 2 × 2500%.") }, new Bond { a = "MinatoBody", b = "SasukeMangekyouBody", name = new Text("Marcas compartidas", "Shared Marks"), halfA = new Text("Lo que marca el Sharingan de Taka cuenta como marca del Hiraishin.", "Whatever Taka's Sharingan marks counts as a Hiraishin mark."), halfB = new Text("Los sellos de Minato cuentan como marca de tu Sharingan: atraen tu Amaterasu y tus jutsus hacen +20 %.", "Minato's seals count as your Sharingan mark: they draw your Amaterasu and your jutsu deal +20%."), comboName = new Text("Kunai negro", "Black Kunai"), combo = new Text("Amaterasu prende el kunai de Minato; Senkō en estrella con Taka cortando detrás y un pilar de llamas negras: 2 × 2500 %.", "Amaterasu ignites Minato's kunai; a star of Senkō with Taka slashing behind and a pillar of black flames: 2 × 2500%.") }, new Bond { a = "NarutoSixPathsBody", b = "SasukeRinneganBody", name = new Text("Sol y Luna", "Sun and Moon"), halfA = new Text("Cuando Sasuke lanza su Flecha de Indra (X) a 40 m, recibes media barra de tu X.", "When Sasuke casts his Indra's Arrow (X) within 40 m, you get half a bar of your X."), halfB = new Text("Cuando Naruto alza su avatar de Ashura (X) a 40 m, recibes media barra de tu X.", "When Naruto raises his Ashura avatar (X) within 40 m, you get half a bar of your X."), comboName = new Text("Indra y Ashura", "Indra and Ashura"), combo = new Text("Se alzan el avatar de Kurama y el Susanoo de Indra y disparan a la vez: la flecha de Indra (600 %) y los dos Rasen-Shuriken de Ashura (200 % cada uno, luego trituran 5 × 40 %) llegan juntos y estallan: 2 × 2500 % en 16 m.", "Kurama's avatar and Indra's Susanoo rise and strike at once: Indra's Arrow (600%) and Ashura's two Rasen-Shuriken (200% each, then grinding 5 × 40%) land together and burst: 2 × 2500% in 16 m.") }, new Bond { a = "NarutoSixPathsBody", b = "NarutoShippudenBody", name = new Text("El mismo camino ninja", "The Same Ninja Way"), halfA = new Text("Cada clon de sombra del Naruto joven que se deshace a 60 m te da +2 chakra de bijū.", "Each of young Naruto's shadow clones dispelled within 60 m gives you +2 tailed beast chakra."), halfB = new Text("Tus clones que nacen a 40 m del Naruto de los Seis Caminos salen con el manto de Kurama: +50 % de daño y el doble de vida.", "Your clones born within 40 m of Six Paths Naruto come out wearing Kurama's cloak: +50% damage and twice the health."), comboName = new Text("Las nueve bestias", "The Nine Beasts"), combo = new Text("Ocho clones y Naruto saltan a por los nueve Rasen-Shuriken de las bestias con cola y caen con ellos uno tras otro (150 % + 90 % cada uno); el último, el de Kurama: 2 × 2500 %.", "Eight clones and Naruto leap for the nine tailed beasts' Rasen-Shuriken and dive with them one after another (150% + 90% each); the last one, Kurama's: 2 × 2500%.") }, new Bond { a = "NarutoSixPathsBody", b = "NarutoSageBody", name = new Text("Arte Sabio de los Seis Caminos", "Six Paths Sage Art"), halfA = new Text("Los golpes del Kumite de la Rana del Sage cuentan la mitad para tus Gudōdama.", "The Sage's Frog Kumite hits count half toward your Truth-Seeking Orbs."), halfB = new Text("Con Naruto a 30 m, una de sus Gudōdama te orbita y se traga un proyectil enemigo cada 6 s.", "With Naruto within 30 m, one of his Truth-Seeking Orbs circles you and swallows an enemy projectile every 6 s."), comboName = new Text("Kumite de Kurama", "Kurama's Kumite"), combo = new Text("El Sage carga a Naruto de energía natural y lanza su Kumite de la Rana; tras cada golpe suyo (3 × 300 %) cae en el mismo sitio una mano gigante del chakra de Kurama (3 × 300 %). Para el último, las dos manos se juntan y caen como un martillo: 2 × 2500 %.", "The Sage fills Naruto with natural energy and throws his Frog Kumite; behind each of his blows (3 × 300%) a giant hand of Kurama's chakra comes down on the same spot (3 × 300%). For the last, both hands join and fall as one hammer: 2 × 2500%.") }, new Bond { a = "NarutoSixPathsBody", b = "SasukeShippudenBody", name = new Text("Rivales", "Rivals"), halfA = new Text("El remate de la Kusanagi de Sasuke lanza una ráfaga de tus Gudōdama.", "Sasuke's Kusanagi finisher launches a volley of your Truth-Seeking Orbs."), halfB = new Text("Los Rasen-Shuriken de Naruto avivan tu fuego: cada golpe suyo a un enemigo que arde te da calor.", "Naruto's Rasen-Shuriken fan your fire: each of their hits on a burning enemy gives you heat."), comboName = new Text("Viento y fuego", "Wind and Fire"), combo = new Text("El Rasen-Shuriken de Naruto abre un vórtice que atrae todo y la bola de fuego de Sasuke lo convierte en un torbellino de llamas (golpes de 90 %, quema), que revienta: 2 × 2500 %.", "Naruto's Rasen-Shuriken opens a vortex that pulls everything in and Sasuke's fireball turns it into a whirl of flames (90% hits, burning), which blows apart: 2 × 2500%.") }, new Bond { a = "NarutoSixPathsBody", b = "SasukeMangekyouBody", name = new Text("Luz y oscuridad", "Light and Darkness"), halfA = new Text("Tus Gudōdama atrapan en un genjutsu a los marcados por el Sharingan de Taka: 1,5 s sin moverse (jefes 0,5 s; cada enemigo, una vez cada 8 s).", "Your Truth-Seeking Orbs trap enemies marked by Taka's Sharingan in a genjutsu: held still 1.5 s (bosses 0.5 s; each enemy once every 8 s)."), halfB = new Text("Las ráfagas de Gudōdama de Naruto a 30 m de ti acortan tu ceguera: 1 s menos por ráfaga (una por segundo).", "Naruto's Truth-Seeking Orb volleys within 30 m of you shorten your blindness: 1 s less per volley (one per second)."), comboName = new Text("Eclipse", "Eclipse"), combo = new Text("Naruto se alza como un sol y sus nueve Gudōdama, prendidas con Amaterasu, cierran un anillo de fuego negro que lo arrastra todo al centro (6 × 180 %) hasta formar un sol negro que estalla: 2 × 2500 %.", "Naruto rises like a sun and his nine Truth-Seeking Orbs, set ablaze by Amaterasu, close a ring of black fire that drags everything to the middle (6 × 180%) into a black sun that bursts: 2 × 2500%.") }, new Bond { a = "MinatoBody", b = "NarutoSixPathsBody", name = new Text("Las dos mitades de Kurama", "Kurama's Two Halves"), halfA = new Text("Cuando Naruto lanza sus nueve Rasen-Shuriken a 40 m, te cubre el manto de Kurama 8 s: barrera del 20 % de tu vida.", "When Naruto throws his nine Rasen-Shuriken within 40 m, Kurama's cloak wraps you for 8 s: a barrier of 20% of your health."), halfB = new Text("Cada llegada de Minato por Hiraishin junto a un enemigo lanza contra él una ráfaga de tus Gudōdama (una por segundo).", "Each time Minato flashes to an enemy by Hiraishin, a volley of your Truth-Seeking Orbs flies at it (one per second)."), comboName = new Text("Yin y Yang", "Yin and Yang"), combo = new Text("Cada uno forma su mitad de Kurama: Naruto un Rasen-Shuriken dorado, Minato uno oscuro. Minato aparece con el suyo sobre el objetivo (300 %) mientras Naruto lanza el dorado; giran uno en torno al otro (7 × 90 %) y Minato corta de kunai en kunai (4 × 150 %) hasta que se funden: 2 × 2500 %.", "Each forms his half of Kurama: Naruto a gold Rasen-Shuriken, Minato a dark one. Minato flashes over the target with his (300%) as Naruto throws the gold one; they circle each other (7 × 90%) while Minato cuts from kunai to kunai (4 × 150%) until they merge: 2 × 2500%.") }, new Bond { a = "SasukeRinneganBody", b = "SasukeShippudenBody", name = new Text("El camino de Sasuke", "Sasuke's Path"), halfA = new Text("Cada Kirin del Sasuke joven te da Manifestaciones: 1 + 1 por cada 4 rayos de su tormenta.", "Each of young Sasuke's Kirin gives you Manifestations: 1 + 1 per 4 bolts of its storm."), halfB = new Text("Cada Amaterasu del Sasuke del Rinnegan a 30 m prende tu Kusanagi en llamas negras 6 s: tus cortes queman y te dan calor.", "Each Amaterasu of Rinnegan Sasuke's within 30 m sets your Kusanagi in black flames for 6 s: your cuts burn and give you heat."), comboName = new Text("Chibaku Tensei: Kirin", "Chibaku Tensei: Kirin"), combo = new Text("El Chibaku Tensei levanta a los enemigos en una esfera de roca bajo la tormenta; cinco rayos (200 %) y el dragón de Kirin la parten, y todo cae: 2 × 2500 %, aturde 2 s.", "Chibaku Tensei lifts the enemies in a sphere of rock under the storm; five bolts (200%) and Kirin's dragon break it, and it all comes down: 2 × 2500%, stuns for 2 s.") }, new Bond { a = "SasukeRinneganBody", b = "SasukeMangekyouBody", name = new Text("Los ojos de Itachi", "Itachi's Eyes"), halfA = new Text("Cada enemigo que muere ardiendo con el Amaterasu de Taka a 40 m te llena un tomoe del Susanoo latente.", "Each enemy that dies burning with Taka's Amaterasu within 40 m fills one tomoe of your latent Susanoo."), halfB = new Text("El Amaterasu del Sasuke del Rinnegan aviva tus llamas: +10 % de intensidad cada vez que alcanza a un enemigo que arde con ellas.", "Rinnegan Sasuke's Amaterasu fans your flames: +10% intensity each time it reaches an enemy burning with them."), comboName = new Text("Espada de Kagutsuchi", "Kagutsuchi's Blade"), combo = new Text("Amaterasu prende la espada del Susanoo: dos tajos que cruzan el objetivo (300 % + 200 % que prende) y estacas de llamas negras bajo lo que quede: 2 × 2500 %.", "Amaterasu sets the Susanoo's blade ablaze: two cuts across the target (300% + 200% that ignites) and stakes of black flame under whatever is left: 2 × 2500%.") }, new Bond { a = "SasukeRinneganBody", b = "NarutoShippudenBody", name = new Text("El lazo que no se rompe", "The Unbroken Bond"), halfA = new Text("Cada Rasengan de Naruto o de sus clones que acierta te da +1 Manifestación (una cada 0,5 s).", "Each Rasengan of Naruto's or his clones' that lands gives you +1 Manifestation (one every 0.5 s)."), halfB = new Text("Cuando Sasuke lanza el Chibaku Tensei, tus clones libres a 30 m embisten la esfera con su Rasengan.", "When Sasuke casts Chibaku Tensei, your free clones within 30 m charge the sphere with their Rasengan."), comboName = new Text("Relevo de sombras", "Shadow Relay"), combo = new Text("Dos clones embisten con su Rasengan (400 % cada uno) mientras otros dos toman posición: uno salta sobre el objetivo y otro lo rodea. Sasuke cambia su sitio y el de Naruto por los de esos clones: Rasengan desde arriba y Chidori negro por la espalda a la vez (5 × 100 % de cada uno) y estalla: 2 × 2500 %.", "Two clones charge in with their Rasengan (400% each) while two more take position: one leaps over the target, one runs behind it. Sasuke swaps his place and Naruto's with those clones': Rasengan from above and black Chidori from behind at once (5 × 100% each), then it bursts: 2 × 2500%.") }, new Bond { a = "SasukeRinneganBody", b = "NarutoSageBody", name = new Text("Sabio y Rinnegan", "Sage and Rinnegan"), halfA = new Text("Cada Arte Sabio del Sage que acierta te da +2 Manifestaciones.", "Each of the Sage's Sage Arts that lands gives you +2 Manifestations."), halfB = new Text("Cada enemigo que atrapa el Chibaku Tensei de Sasuke te da +3 puntos de energía natural.", "Each enemy Sasuke's Chibaku Tensei catches gives you +3 points of natural energy."), comboName = new Text("Rasen-Shuriken: Amenotejikara", "Rasen-Shuriken: Amenotejikara"), combo = new Text("Sasuke espera entre los enemigos; el Sage lanza el Rasen-Shuriken al cielo y Sasuke cambia su sitio con él: la esfera se abre en medio de todos (7 × 180 %) y él cae desde arriba con el puño del Susanoo: 2 × 2500 %.", "Sasuke waits among the enemies; the Sage throws the Rasen-Shuriken into the sky and Sasuke swaps places with it: the sphere opens in their midst (7 × 180%) and he dives from above with the Susanoo's fist: 2 × 2500%.") }, new Bond { a = "MinatoBody", b = "SasukeRinneganBody", name = new Text("Espacio-tiempo", "Space-Time"), halfA = new Text("Las estacas del Amenotejikara de Sasuke escriben 4 de tus sellos en lo que empalan.", "The stakes of Sasuke's Amenotejikara write 4 of your seals on what they impale."), halfB = new Text("Tu Amenotejikara también te lleva a un kunai clavado de Minato a 60 m, aunque no lo veas: apúntalo.", "Your Amenotejikara can also take you to one of Minato's stuck kunai within 60 m, even out of sight: aim at it."), comboName = new Text("Golpes fuera del tiempo", "Blows Out of Time"), combo = new Text("Los dos aparecen cuatro veces alrededor del objetivo, uno a cada lado, y se van; cuando ya le dan la espalda caen los ocho golpes (225 % cada uno) y todo estalla: 2 × 2500 %.", "Both flash four times around the target, one on either side, and leave; with their backs already turned the eight blows land (225% each) and it all bursts: 2 × 2500%.") }, new Bond { a = "ZabuzaBody", b = "HakuBody", name = new Text("El demonio y su arma", "The Demon and His Tool"), halfA = new Text("Lo que tiene el frío de Haku cuenta como mojado: tus cortes beben 2 de Hierro.", "Whatever Haku has chilled counts as wet: your cuts drink 2 Blood Iron."), halfB = new Text("La niebla de Zabuza también te oculta (los enemigos a más de 10 m te pierden), y cada corte suyo a un enemigo con tu frío te da 1 aguja de hielo (una por segundo).", "Zabuza's mist hides you too (enemies farther than 10 m lose you), and each of his cuts on an enemy you've chilled gives you 1 ice needle (one per second)."), comboName = new Text("Dragón de hielo de la niebla", "Hidden Mist Ice Dragon"), combo = new Text("Los espejos de Haku se alzan en cúpula alrededor del objetivo y el dragón de agua de Zabuza trepa sobre ella; el sello de Haku lo congela en el cielo y el dragón de hielo cae y estalla (2 × 600 %). Sus esquirlas vuelven de cada espejo como agujas (6 × 100 %) y Zabuza salta desde la niebla con la Kubikiribōchō mientras los espejos revientan: 2 × 2500 %.", "Haku's mirrors rise in a dome round the target and Zabuza's water dragon climbs over it; Haku's seal freezes it in the sky and the ice dragon dives and shatters (2 × 600%). Its shards come back out of every mirror as needles (6 × 100%) and Zabuza leaps out of the mist with the Kubikiribōchō as the mirrors burst: 2 × 2500%.") }, new Bond { a = "NarutoShippudenBody", b = "HakuBody", name = new Text("El chico del bosque", "The Boy in the Forest"), halfA = new Text("Tu Rasengan (o el de un clon) a 6 m de un espejo de Haku lo revienta en esquirlas: 300 % en 8 m y frío. El espejo aguanta (cada uno, una vez cada 4 s).", "Your Rasengan (or a clone's) within 6 m of one of Haku's mirrors bursts it into shards: 300% in 8 m and chill. The mirror holds (each once every 4 s)."), halfB = new Text("Dentro de un espejo, los clones libres de Naruto a 30 m también son espejos: tus senbon, agujas y golondrinas salen también de ellos.", "Inside a mirror, Naruto's free clones within 30 m are mirrors too: your senbon, needles and swallows come out of them as well."), comboName = new Text("Mil reflejos", "A Thousand Reflections"), combo = new Text("Los espejos de Haku rodean al objetivo y el sello de Naruto pone un clon con Rasengan en cada uno; saltan uno tras otro de lado a lado (6 × 200 %) y Naruto cae del espejo que hay sobre el objetivo con un gran Rasengan. Las agujas de Haku vuelan de todos los espejos (6 × 100 %) y revientan hacia dentro: 2 × 2500 %.", "Haku's mirrors ring the target and Naruto's seal puts a clone with a Rasengan in each; they leap out one after another from across the ring (6 × 200%) and Naruto drops out of the mirror over the target with a great Rasengan. Haku's needles fly from every mirror (6 × 100%) and they burst inward: 2 × 2500%.") }, new Bond { a = "NarutoSageBody", b = "HakuBody", name = new Text("Viento y agua", "Wind and Water"), halfA = new Text("Cuando un Arte Sabio tuyo alcanza a un enemigo helado por Haku, se alza un anillo de pilares de hielo: 250 % en 10 m, los lanza al aire (una vez por jutsu).", "When one of your Sage Arts reaches an enemy Haku has chilled, a ring of ice pillars rises: 250% in 10 m, thrown up (once per jutsu)."), halfB = new Text("Cada enemigo que alcanza un Arte Sabio del Sage a 30 m de ti te da 1 aguja de hielo, que vuela hasta ti (6 como mucho por jutsu).", "Each enemy one of the Sage's Sage Arts reaches within 30 m of you gives you 1 ice needle, flying to you (6 at most per jutsu)."), comboName = new Text("Canto en el hielo", "Song on the Ice"), combo = new Text("Fukasaku y Shima croan ante el anillo de espejos de Haku (400 %, aturde); el sonido corre de espejo en espejo (8 × 80 %) y el gran croar del Sage y los dos (4 × 100 %) los revienta hacia dentro en agujas: 2 × 2500 %.", "Fukasaku and Shima croak at Haku's ring of mirrors (400%, stuns); the sound runs from mirror to mirror (8 × 80%) and the great croak of the Sage and the two (4 × 100%) bursts them inward into needles: 2 × 2500%.") }, new Bond { a = "SasukeShippudenBody", b = "HakuBody", name = new Text("El primer Sharingan", "The First Sharingan"), halfA = new Text("Chidori Senbon: tu remate de la Kusanagi lanza un abanico de agujas de rayo, una por cada aguja que Haku tenga en órbita (10 como mucho, 40 % cada una). Haku no las pierde.", "Chidori Senbon: your Kusanagi finisher throws a fan of lightning needles, one per needle Haku has in orbit (10 at most, 40% each). Haku keeps them."), halfB = new Text("El 30 % del daño que recibes a 20 m de Sasuke lo recibe él.", "30% of the damage you take within 20 m of Sasuke is taken by him."), comboName = new Text("Gōkakyū reflejado", "Reflected Great Fireball"), combo = new Text("Sasuke lanza su gran bola de fuego al anillo de espejos de Haku y rebota de uno a otro (6 × 120 %) dejando un anillo de fuego que arde (4 × 80 %) mientras vuelan las agujas (5 × 60 %); Sasuke lo cruza con el Chidori hasta el objetivo y los espejos revientan: 2 × 2500 %.", "Sasuke breathes his Great Fireball at Haku's ring of mirrors and it rebounds from one to the next (6 × 120%), leaving a ring of fire that burns (4 × 80%) as the needles fly (5 × 60%); Sasuke goes through it with the Chidori into the target and the mirrors burst: 2 × 2500%.") }, new Bond { a = "SasukeMangekyouBody", b = "HakuBody", name = new Text("Ojos en el espejo", "Eyes in the Mirror"), halfA = new Text("Cuando tu Sharingan marca a un enemigo a 12 m de un espejo de Haku, el espejo destella en rojo y marca a todos los enemigos a 12 m de él.", "When your Sharingan marks an enemy within 12 m of one of Haku's mirrors, the mirror flashes red and marks every enemy within 12 m of it."), halfB = new Text("Cuando el Amaterasu de Taka prende algo a 6 m de uno de tus espejos, el espejo arde en negro 8 s: lo que sale de él quema.", "When Taka's Amaterasu ignites something within 6 m of one of your mirrors, the mirror burns black for 8 s: whatever comes out of it burns."), comboName = new Text("Amaterasu de mil espejos", "Amaterasu of a Thousand Mirrors"), combo = new Text("El Mangekyō de Taka aparece en cada espejo de la cúpula de Haku y todos sueltan un chorro de llamas negras al objetivo (15 × 50 %); las llamas se juntan en una esfera negra que estalla y los espejos revientan ardiendo: 2 × 2500 %.", "Taka's Mangekyō shows in every mirror of Haku's dome and each looses a stream of black flames at the target (15 × 50%); the flames gather into a black sphere that bursts and the mirrors burst, burning: 2 × 2500%.") }, new Bond { a = "MinatoBody", b = "HakuBody", name = new Text("Más rápido que la vista", "Faster Than the Eye"), halfA = new Text("Los espejos de Haku son marcas de tu Hiraishin: puedes aparecer delante de ellos.", "Haku's mirrors are marks for your Hiraishin: you can appear in front of them."), halfB = new Text("Dentro de un espejo, también puedes pasar a cualquier kunai clavado de Minato: llegas en un destello dorado.", "Inside a mirror, you can also pass to any of Minato's stuck kunai: you arrive in a golden flash."), comboName = new Text("Rasengan de cristal", "Crystal Rasengan"), combo = new Text("Haku alza una torre de espejos sobre el objetivo; Minato la sube con el Hiraishin (6 × 80 %), el sello de Haku hiela su Rasengan en cristal y Minato baja con él atravesando la torre; el cristal estalla en agujas (4 × 80 %): 2 × 2500 %.", "Haku raises a tower of mirrors over the target; Minato climbs it by Hiraishin (6 × 80%), Haku's seal freezes his Rasengan into crystal and Minato dives with it down through the tower; the crystal bursts into needles (4 × 80%): 2 × 2500%.") }, new Bond { a = "NarutoSixPathsBody", b = "HakuBody", name = new Text("El espejo de la verdad", "The Mirror of Truth"), halfA = new Text("Cada Tsubame Fubuki de Haku a 30 m te manda 3 golondrinas, que se vuelven esferas para tu siguiente ráfaga: 3 Gudōdama más.", "Each of Haku's Tsubame Fubuki within 30 m sends you 3 swallows, which become orbs for your next volley: 3 more Truth-Seeking Orbs."), halfB = new Text("Una de las Gudōdama de Naruto es un espejo negro que vuela con él (no cuenta en tus 6): puedes entrar en ella a 4 m, pasar a ella desde otro espejo y atacar desde ella.", "One of Naruto's Truth-Seeking Orbs is a black mirror flying with him (it doesn't count toward your 6): you can enter it within 4 m, pass to it from another mirror and attack out of it."), comboName = new Text("Verdad reflejada", "The Truth Reflected"), combo = new Text("Las nueve Gudōdama de Naruto entran en los espejos que Haku alza en lo alto y salen tres veces de cada uno, una lluvia sobre el objetivo (27 × 70 %); vuelven a juntarse en una sola que cae y los espejos revientan: 2 × 2500 %.", "Naruto's nine Truth-Seeking Orbs go into the mirrors Haku raises high and come out of each three times over, a rain on the target (27 × 70%); they gather again into one that comes down and the mirrors burst: 2 × 2500%.") }, new Bond { a = "SasukeRinneganBody", b = "HakuBody", name = new Text("Hielo y gravedad", "Ice and Gravity"), halfA = new Text("Los golpes de tu Susanoo dentro de la cúpula de Haku salen por todos sus espejos (15 % cada copia, hasta 24 copias; una vez cada 0,5 s).", "Your Susanoo's blows inside Haku's dome come out of all its mirrors (15% each copy, up to 24 copies; once every 0.5 s)."), halfB = new Text("Cuando Sasuke lanza el Chibaku Tensei a 40 m, hasta 3 de tus espejos giran 4 s alrededor de la esfera disparando senbon a lo atrapado, y vuelven a su sitio.", "When Sasuke casts Chibaku Tensei within 40 m, up to 3 of your mirrors circle the sphere for 4 s throwing senbon at what it holds, then go back."), comboName = new Text("Luna de hielo", "Ice Moon"), combo = new Text("El Chibaku Tensei de Sasuke arranca los espejos de Haku del suelo y se los lleva a su núcleo con lo que haya cerca; el sello de Haku lo vuelve una luna de hielo que cae sobre el objetivo y se rompe en agujas (5 × 80 %): 2 × 2500 %.", "Sasuke's Chibaku Tensei tears Haku's mirrors out of the ground and pulls them into its core with whatever is near; Haku's seal turns it into an ice moon that falls on the target and breaks into needles (5 × 80%): 2 × 2500%.") }, new Bond { a = "NarutoShippudenBody", b = "ZabuzaBody", name = new Text("El kunai de Naruto", "Naruto's Kunai"), halfA = new Text("Cuando el clon de agua de Zabuza revienta a 30 m, salen del agua 2 de tus clones de sombra.", "When Zabuza's water clone bursts within 30 m, 2 of your shadow clones come out of the water."), halfB = new Text("Cada baja de Naruto o de sus clones a 30 m alarga tu demonio 1 s; sin el demonio, le quita 1 s a su recarga.", "Each kill by Naruto or his clones within 30 m keeps your demon 1 s longer; without it, takes 1 s off its cooldown."), comboName = new Text("Remolino en la prisión", "Whirlpool in the Prison"), combo = new Text("Zabuza encierra al objetivo en su Prisión de agua (3 × 80 %, moja); Naruto forma el Rasengan con un clon y lo clava en el agua, que gira en un remolino (5 × 80 %) y estalla hacia arriba como un géiser: 2 × 2500 %.", "Zabuza shuts the target in his Water Prison (3 × 80%, wets); Naruto forms the Rasengan with a clone and drives it into the water, which spins into a whirlpool (5 × 80%) and bursts upward like a geyser: 2 × 2500%.") }, new Bond { a = "NarutoSageBody", b = "ZabuzaBody", name = new Text("Viento en la niebla", "Wind in the Mist"), halfA = new Text("Tu Kumite de la Rana sobre un enemigo mojado lo manda volando en una salpicadura: golpea a los enemigos con los que choca (150 %).", "Your Frog Kumite on a wet enemy sends it flying in a splash: it hits the enemies it crashes into (150%)."), halfB = new Text("Cuando un Arte Sabio del Sage alcanza a enemigos a 30 m de tu niebla, el viento la arrastra: otra niebla tuya de 5 s se forma allí (una por jutsu).", "When one of the Sage's Sage Arts reaches enemies within 30 m of your mist, the wind drags it along: another mist of yours forms there for 5 s (once per jutsu)."), comboName = new Text("Kumite en la niebla", "Kumite in the Mist"), combo = new Text("La niebla de Zabuza lo cubre todo y el Sage siente al objetivo a través de ella; los dos desaparecen y le golpean por turnos desde cada lado (8 × 120 %); el último Kumite del Sage y la Kubikiribōchō de Zabuza, que cae desde arriba, llegan a la vez: 2 × 2500 %.", "Zabuza's mist covers everything and the Sage senses the target through it; both vanish and strike it in turn from every side (8 × 120%); the Sage's last Kumite and Zabuza's Kubikiribōchō, falling from above, land together: 2 × 2500%.") }, new Bond { a = "SasukeShippudenBody", b = "ZabuzaBody", name = new Text("Trueno en la niebla", "Thunder in the Mist"), halfA = new Text("La niebla de Zabuza hace de nubes para Kirin: si cae sobre ella, +20 de calor (más ancho y más rayos).", "Zabuza's mist serves as Kirin's clouds: brought down over it, +20 heat (wider and more bolts)."), halfB = new Text("La Decapitación ejecuta por debajo del 30 % (no del 20 %) a los enemigos que la corriente de Sasuke electrificó.", "The Decapitation executes enemies Sasuke's current electrified below 30% (instead of 20%)."), comboName = new Text("Kirin de agua", "Water Kirin"), combo = new Text("El dragón de agua de Zabuza sube al cielo y Kirin baja de la tormenta de Sasuke dentro de él (rayos, 3 × 60 %); el dragón electrificado cae sobre el objetivo (2 × 600 %), el agua se extiende con la corriente (4 × 80 %) y Zabuza salta con la hoja cargada: 2 × 2500 %.", "Zabuza's water dragon climbs into the sky and Kirin comes down out of Sasuke's storm into it (bolts, 3 × 60%); the electrified dragon dives on the target (2 × 600%), the water spreads with the current (4 × 80%) and Zabuza leaps in with the charged blade: 2 × 2500%.") }, new Bond { a = "SasukeMangekyouBody", b = "ZabuzaBody", name = new Text("La hoja que bebe sangre", "The Blade That Drinks Blood"), halfA = new Text("Tus cortes de espada a un enemigo que Zabuza cortó hace 3 s o menos te curan un 1 % de tu vida (una vez cada 0,3 s).", "Your sword cuts on an enemy Zabuza cut in the last 3 s heal you 1% of your health (once every 0.3 s)."), halfB = new Text("Los marcados por el Sharingan de Taka no te ven en tu niebla ni de cerca, y tu Asesinato silencioso se recarga contra ellos cada 3 s.", "Enemies marked by Taka's Sharingan can't see you in your mist even up close, and your Silent Killing recharges against them every 3 s."), comboName = new Text("Llamas que el agua no apaga", "Flames No Water Puts Out"), combo = new Text("El Mangekyō de Taka prende al objetivo con Amaterasu (150 %); el dragón de agua de Zabuza cae sobre él (500 %, moja) y se hace vapor, pero las llamas negras siguen ardiendo dentro (4 × 80 %); Zabuza desaparece en el vapor y sale por detrás con la Decapitación mientras el Enton de Taka saca las llamas del objetivo en estacas de fuego negro: 2 × 2500 %.", "Taka's Mangekyō sets the target alight with Amaterasu (150%); Zabuza's water dragon crashes down on it (500%, wets) and turns to steam, but the black flames burn on inside it (4 × 80%); Zabuza vanishes into the steam and comes out behind it with the Decapitation as Taka's Enton drives the flames out of the target as stakes of black fire: 2 × 2500%.") }, new Bond { a = "MinatoBody", b = "ZabuzaBody", name = new Text("El destello en la niebla", "The Flash in the Mist"), halfA = new Text("Los enemigos dentro de la niebla de Zabuza son marcas de tu Hiraishin: el Senkō salta por toda la niebla.", "Enemies inside Zabuza's mist are marks for your Hiraishin: Senkō leaps through the whole mist."), halfB = new Text("Tu Decapitación alcanza a enemigos con sellos de Minato a 40 m (25 m normalmente), y cada sello del enemigo cuenta como 1 Hierro en el golpe.", "Your Decapitation reaches enemies carrying Minato's seals within 40 m (25 m normally), and each seal on the enemy counts as 1 Blood Iron for the blow."), comboName = new Text("Hoja del destello", "The Flashing Blade"), combo = new Text("Zabuza lanza la Kubikiribōchō girando y el kunai de Minato le deja la fórmula; Minato y la espada aparecen seis veces alrededor del objetivo y ella lo atraviesa cada vez (6 × 150 % + 6 × 80 %); Minato la lanza al cielo y Zabuza la atrapa y cae con la Decapitación: 2 × 2500 %.", "Zabuza throws the Kubikiribōchō spinning and Minato's kunai leaves the formula on it; Minato and the sword flash six times round the target and it cuts through each time (6 × 150% + 6 × 80%); Minato throws it into the sky and Zabuza catches it and comes down with the Decapitation: 2 × 2500%.") }, new Bond { a = "NarutoSixPathsBody", b = "ZabuzaBody", name = new Text("La hoja de la verdad", "The Blade of Truth"), halfA = new Text("Con cada Decapitación de Zabuza a 30 m, una de tus Gudōdama toma la forma de una Kubikiribōchō negra y cae en el mismo sitio (400 %).", "With each of Zabuza's Decapitations within 30 m, one of your Truth-Seeking Orbs takes the shape of a black Kubikiribōchō and falls on the same spot (400%)."), halfB = new Text("Con Naruto a 40 m, la Decapitación te cura el doble, y la mitad de esa cura llega a los aliados a 15 m.", "With Naruto within 40 m, the Decapitation heals you twice as much, and half of that healing reaches allies within 15 m."), comboName = new Text("Kubikiribōchō de la verdad", "Kubikiribōchō of Truth"), combo = new Text("Las nueve Gudōdama de Naruto atraviesan al objetivo (9 × 70 %) y suben a formar sobre él una Kubikiribōchō negra gigante; Zabuza aparece de pie en su mango y cae con ella, de punta, sobre el objetivo: 2 × 2500 %.", "Naruto's nine Truth-Seeking Orbs go through the target (9 × 70%) and rise to form a giant black Kubikiribōchō over it; Zabuza appears standing on its handle and falls with it, point first, on the target: 2 × 2500%.") }, new Bond { a = "SasukeRinneganBody", b = "ZabuzaBody", name = new Text("El verdugo y la gravedad", "The Executioner and Gravity"), halfA = new Text("Mientras dura el demonio de Zabuza a 40 m, tu Susanoo se oscurece, su contorno late en rojo sangre y sus golpes roban un 10 % de vida.", "While Zabuza's demon lasts within 40 m, your Susanoo darkens, its outline beats blood red and its blows steal 10% as health."), halfB = new Text("Tu Decapitación sobre un enemigo que tiene el Chibaku Tensei golpea a todo lo que tiene la esfera.", "Your Decapitation on an enemy held by Chibaku Tensei hits everything the sphere holds."), comboName = new Text("Ejecución del Amenotejikara", "Amenotejikara Execution"), combo = new Text("Los clones de agua de Zabuza rodean al objetivo y el Rinnegan de Sasuke le cambia de sitio con uno tras otro: en cada uno cae su espada (6 × 300 %); al final Sasuke se cambia con el clon de detrás y entra con el Chidori negro mientras Zabuza salta con la Decapitación: 2 × 2500 %.", "Zabuza's water clones ring the target and Sasuke's Rinnegan swaps him with one after another: at each his sword falls (6 × 300%); last, Sasuke swaps himself with the clone behind it and comes in with the black Chidori as Zabuza leaps with the Decapitation: 2 × 2500%.") }, new Bond { a = "NarutoShippudenBody", b = "KabutoBody", name = new Text("El precio de la vida", "The Price of Life"), halfA = new Text("Tu Rasengan (o el de un clon) sobre un enemigo marcado por las serpientes de Kabuto: su chakra médico te cura un 8 % (una vez cada 2 s).", "Your Rasengan (or a clone's) on an enemy Kabuto's snakes marked: his medical chakra heals you 8% (once every 2 s)."), halfB = new Text("Cada clon de Naruto que se deshace a 30 m de ti es un cuerpo para el Edo Tensei: +1 Sacrificio.", "Each of Naruto's clones dispelled within 30 m of you is a body for the Edo Tensei: +1 Sacrifice.") }, new Bond { a = "NarutoSageBody", b = "KabutoBody", name = new Text("Myōboku y Ryūchi", "Myōboku and Ryūchi"), halfA = new Text("Un Arte Sabio sobre un enemigo marcado por Kabuto: una serpiente blanca sale del suelo y lo muerde: 300 % y lo sujeta 1,5 s (una vez por jutsu).", "A Sage Art on an enemy Kabuto marked: a white snake bursts from the ground and bites it: 300%, holding it 1.5 s (once per jutsu)."), halfB = new Text("Cada Arte Sabio del Sage que acierta a 40 m de ti: +4 % de tu barra de transformación.", "Each of the Sage's Sage Arts landing within 40 m of you: +4% to your transformation gauge.") }, new Bond { a = "SasukeShippudenBody", b = "KabutoBody", name = new Text("Discípulos de Orochimaru", "Orochimaru's Disciples"), halfA = new Text("Tu Kirin junto a las serpientes ocultas de Kabuto (30 m): todas saltan a la vez cargadas de rayos sobre el enemigo más cercano: 400 % y aturden 1 s.", "Your Kirin by Kabuto's hidden snakes (30 m): they all leap at once, charged with lightning, at the nearest enemy: 400%, stunning for 1 s."), halfB = new Text("El remate de la Kusanagi de Sasuke marca lo que golpea para tus invocaciones, como tus serpientes.", "Sasuke's Kusanagi finisher marks what it hits for your summons, as your snakes do.") }, new Bond { a = "SasukeMangekyouBody", b = "KabutoBody", name = new Text("Izanami", "Izanami"), halfA = new Text("A 40 m de Kabuto, el golpe de un enemigo marcado por sus serpientes no llega a ocurrir: Izanami lo devuelve atrás y queda aturdido 1,5 s (una vez cada 8 s).", "Within 40 m of Kabuto, a blow from an enemy his snakes marked never happens: Izanami sends it back and it's stunned for 1.5 s (once every 8 s)."), halfB = new Text("Lo que muere ardiendo con el Amaterasu de Taka a 30 m de ti son 2 Sacrificios, no 1.", "What dies burning with Taka's Amaterasu within 30 m of you is 2 Sacrifices, not 1.") }, new Bond { a = "MinatoBody", b = "KabutoBody", name = new Text("El Cuarto, reanimado", "The Fourth, Reanimated"), halfA = new Text("Al llegar con el Hiraishin junto a un enemigo marcado por Kabuto, dos serpientes salen tras el destello y lo muerden: 2 × 150 %.", "Arriving by Hiraishin beside an enemy Kabuto marked, two snakes follow the flash and bite it: 2 × 150%."), halfB = new Text("Con un kunai de Minato clavado a 40 m, uno de los ataúdes de tu Edo Tensei se alza junto al kunai más cercano a tu mira.", "With one of Minato's kunai stuck within 40 m, one coffin of your Edo Tensei rises by the kunai nearest your crosshair.") }, new Bond { a = "NarutoSixPathsBody", b = "KabutoBody", name = new Text("Dos profecías", "Two Prophecies"), halfA = new Text("Una Gudōdama sobre un enemigo marcado por Kabuto revienta la marca en serpientes blancas: 150 % en 8 m (cada enemigo, una vez cada 4 s).", "A Truth-Seeking Orb on an enemy Kabuto marked bursts the mark into white snakes: 150% in 8 m (each enemy once every 4 s)."), halfB = new Text("Cada ráfaga de Gudōdama a 40 m: el yang de los Seis Caminos cura un 20 % a tus invocaciones y les da 1 s más de vida.", "Each volley of Truth-Seeking Orbs within 40 m: the Six Paths' yang heals your summons 20% and gives them 1 s more of life.") }, new Bond { a = "SasukeRinneganBody", b = "KabutoBody", name = new Text("El legado del Sannin", "The Sannin's Legacy"), halfA = new Text("Cada reanimado o guardia de Kabuto que se deshace en papel a 40 m de ti: −3 s a la recarga de tu especial.", "Each of Kabuto's reanimated or guards crumbling into paper within 40 m of you: −3 s on your special's cooldown."), halfB = new Text("Tus invocaciones a 30 m de Sasuke llevan su fuego: sus golpes queman 3 s.", "Your summons within 30 m of Sasuke carry his fire: their blows burn for 3 s.") }, new Bond { a = "HakuBody", b = "KabutoBody", name = new Text("Reanimados en la guerra", "Reanimated for the War"), halfA = new Text("La primera vez en cada fase que caerías a 40 m de Kabuto, un ataúd te alza de nuevo con el 30 % de vida.", "The first time each stage you would fall within 40 m of Kabuto, a coffin raises you again with 30% health."), halfB = new Text("Tu Edo Tensei a 40 m de un espejo de Haku saca un tercer reanimado del espejo más cercano.", "Your Edo Tensei within 40 m of one of Haku's mirrors brings a third reanimated out of the nearest mirror.") }, new Bond { a = "ZabuzaBody", b = "KabutoBody", name = new Text("El demonio reanimado", "The Demon Reanimated"), halfA = new Text("Tu especial sobre un enemigo marcado por Kabuto: un ataúd sale bajo él y lo lanza por los aires: 300 %.", "Your special on an enemy Kabuto marked: a coffin bursts up under it and throws it into the air: 300%."), halfB = new Text("Tus serpientes ocultas en la niebla de Zabuza se rearman el doble de rápido y muerden hasta 9 m sin necesidad de ver.", "Your hidden snakes in Zabuza's mist rearm twice as fast and bite up to 9 m away without needing sight.") }, new Bond { a = "KabutoBody", b = "MadaraBody", name = new Text("Kuchiyose: Edo Tensei", "Kuchiyose: Edo Tensei"), halfA = new Text("Cada enemigo que alcanza el especial de Madara a 40 m de ti es un Sacrificio.", "Each enemy Madara's special hits within 40 m of you is a Sacrifice."), halfB = new Text("A 40 m de Kabuto tu cuerpo es de Edo Tensei: al bajar del 25 % la ceniza te recompone: +30 % de vida (una vez cada 30 s).", "Within 40 m of Kabuto your body is an Edo Tensei: dropping under 25%, the ash rebuilds you: +30% health (once every 30 s).") }, new Bond { a = "KabutoBody", b = "HashiramaBody", name = new Text("Células del Primero", "The First's Cells"), halfA = new Text("Con Hashirama a 30 m, los mordiscos de tu forma de serpiente curan el doble; lo que sobra es barrera.", "With Hashirama within 30 m, your snake form's bites heal twice as much; what's left over becomes barrier."), halfB = new Text("Cada mordisco de una serpiente de Kabuto (su secundario) a 40 m de ti hace brotar tu madera: 200 % en 6 m y ata 2 s.", "Each bite of one of Kabuto's snakes (his secondary) within 40 m of you makes your wood burst out: 200% in 6 m, binding for 2 s.") }, new Bond { a = "NarutoShippudenBody", b = "MadaraBody", name = new Text("El zorro y el Sharingan", "The Fox and the Sharingan"), halfA = new Text("Con Madara a 30 m, el chakra de Kurama responde a su Danza: +5 % de velocidad de ataque y de movimiento por cada 10 de Danza que tenga (máx. +30 %).", "With Madara within 30 m, Kurama's chakra answers his Dance: +5% attack and movement speed for every 10 Dance he has (up to +30%)."), halfB = new Text("Cada Rasengan de Naruto (o de un clon) a 30 m de ti: +1 Danza.", "Each Rasengan of Naruto's (or a clone's) within 30 m of you: +1 Dance.") }, new Bond { a = "NarutoSageBody", b = "MadaraBody", name = new Text("Viento y fuego", "Wind and Fire"), halfA = new Text("Un Arte Sabio sobre un enemigo en llamas, con Madara a 40 m: remolino de fuego: 300 % en 8 m e incendia (una vez por jutsu).", "A Sage Art on a burning enemy, with Madara within 40 m: a fire whirl: 300% in 8 m, setting ablaze (once per jutsu)."), halfB = new Text("Cada Arte Sabio del Sage que acierta a 40 m renueva tu Danza: vuelve a durar entera.", "Each of the Sage's Sage Arts landing within 40 m renews your Dance: it lasts its whole time again.") }, new Bond { a = "SasukeShippudenBody", b = "MadaraBody", name = new Text("Llamas Uchiha", "Uchiha Flames"), halfA = new Text("Con Madara a 40 m, tu remate de la Kusanagi lanza además un muro del Gōka Mekkyaku hacia donde apuntas: 200 % e incendia.", "With Madara within 40 m, your Kusanagi finisher also sends a wall of Gōka Mekkyaku where you aim: 200%, setting ablaze."), halfB = new Text("Cada Kirin de Sasuke a 40 m: +20 % de barra del Susanoo; con él alzado, +3 s.", "Each of Sasuke's Kirin within 40 m: +20% to your Susanoo gauge; while it's up, +3 s.") }, new Bond { a = "SasukeMangekyouBody", b = "MadaraBody", name = new Text("Ojos eternos", "Eternal Eyes"), halfA = new Text("Los muros de fuego de Madara a 30 m de ti llevan tu Amaterasu: lo que alcanzan arde con tus llamas negras.", "Madara's walls of fire within 30 m of you carry your Amaterasu: what they reach burns with your black flames."), halfB = new Text("Tus muros de fuego hacen el doble de daño a lo que arde con el Amaterasu de Taka.", "Your walls of fire deal double damage to what burns with Taka's Amaterasu.") }, new Bond { a = "MinatoBody", b = "MadaraBody", name = new Text("La noche del Nueve Colas", "The Night of the Nine-Tails"), halfA = new Text("Con Madara a 40 m, cada llegada del Hiraishin desata donde llegas el viento del Uchiha Gaeshi: 150 % en 8 m, empujando.", "With Madara within 40 m, each Hiraishin arrival unleashes Uchiha Gaeshi's wind where you appear: 150% in 8 m, pushing away."), halfB = new Text("Tu Tengai Shinsei apuntado a 15 m o menos de un enemigo con la fórmula de Minato cae al instante sobre él.", "Your Tengai Shinsei aimed within 15 m of an enemy carrying Minato's formula falls on it at once.") }, new Bond { a = "NarutoSixPathsBody", b = "MadaraBody", name = new Text("El poder de los Seis Caminos", "The Power of the Six Paths"), halfA = new Text("Con Madara en su Susanoo a 30 m, sus costillas te cubren: recibes un 20 % menos de daño.", "With Madara in his Susanoo within 30 m, its ribs cover you: you take 20% less damage."), halfB = new Text("Cada ráfaga de Gudōdama a 40 m: −1 s a la recarga de tu especial.", "Each volley of Truth-Seeking Orbs within 40 m: −1 s on your special's cooldown.") }, new Bond { a = "SasukeRinneganBody", b = "MadaraBody", name = new Text("Reencarnaciones de Indra", "Indra's Reincarnations"), halfA = new Text("Con Madara en su Susanoo a 30 m, cada golpe de tu Susanoo lanza también un tajo de su espada: 200 % en línea de 20 m.", "With Madara in his Susanoo within 30 m, each blow of your Susanoo also throws a cut of his sword: 200% along 20 m."), halfB = new Text("Tras un Chibaku Tensei a 40 m, durante 10 s tu Tengai Shinsei trae siempre el segundo meteorito.", "After a Chibaku Tensei within 40 m, for 10 s your Tengai Shinsei always brings the second meteor.") }, new Bond { a = "HakuBody", b = "MadaraBody", name = new Text("Hielo y fuego", "Ice and Fire"), halfA = new Text("El fuego de Madara sobre un enemigo que has helado lo revienta en vapor y esquirlas: 200 % en 5 m, aturde 1 s (cada enemigo, una vez cada 3 s).", "Madara's fire on an enemy you've chilled bursts it into steam and shards: 200% in 5 m, stunning for 1 s (each enemy once every 3 s)."), halfB = new Text("Al soltar el Uchiha Gaeshi, cada espejo de Haku a 30 m lanza también tu ráfaga hacia el enemigo más cercano.", "As you swing Uchiha Gaeshi, each of Haku's mirrors within 30 m also throws your gust at the nearest enemy.") }, new Bond { a = "ZabuzaBody", b = "MadaraBody", name = new Text("Niebla y ceniza", "Mist and Ash"), halfA = new Text("Con Madara a 40 m, tus golpes sobre lo que arde son siempre críticos.", "With Madara within 40 m, your blows on what's burning are always critical."), halfB = new Text("Mientras dure el demonio de Zabuza a 40 m, tu Uchiha Gaeshi para los golpes de todas direcciones.", "While Zabuza's demon lasts within 40 m, your Uchiha Gaeshi stops blows from every direction.") }, new Bond { a = "MadaraBody", b = "HashiramaBody", name = new Text("El Valle del Fin", "The Valley of the End"), halfA = new Text("Con Hashirama a 40 m, tu especial hace brotar su bosque donde golpea: lo que alcanza queda atado 2 s.", "With Hashirama within 40 m, your special makes his forest burst out where it hits: what it reaches is bound for 2 s."), halfB = new Text("Cada Danza que Madara gasta en su Tengai Shinsei a 40 m de ti es 1 Savia para ti.", "Each Dance Madara spends on his Tengai Shinsei within 40 m of you is 1 Sap for you.") }, new Bond { a = "NarutoShippudenBody", b = "HashiramaBody", name = new Text("El sueño del Hokage", "The Hokage's Dream"), halfA = new Text("Tu Rasengan sobre un enemigo atado por la madera de Hashirama (a 40 m) la hace estallar: 250 % en 6 m.", "Your Rasengan on an enemy bound by Hashirama's wood (within 40 m) makes it burst: 250% in 6 m."), halfB = new Text("Cada clon de Naruto que se deshace a 30 m te cura un 3 % (lo que sobra es Savia).", "Each of Naruto's clones dispelled within 30 m heals you 3% (what's left over is Sap).") }, new Bond { a = "NarutoSageBody", b = "HashiramaBody", name = new Text("Senjutsu", "Senjutsu"), halfA = new Text("Meditando a 30 m de Hashirama, sus raíces te guardan: recibes un 40 % menos de daño y te curas un 2 % por segundo.", "Meditating within 30 m of Hashirama, his roots guard you: you take 40% less damage and heal 2% per second."), halfB = new Text("Cada Arte Sabio del Sage que acierta a 40 m: +5 % de tu barra del Modo Sabio.", "Each of the Sage's Sage Arts landing within 40 m: +5% to your Sage Mode gauge.") }, new Bond { a = "SasukeShippudenBody", b = "HashiramaBody", name = new Text("La historia de la aldea", "The Village's Story"), halfA = new Text("Tu Kirin con Hashirama a 40 m: cada enemigo atado en su zona recibe un rayo más: 300 %.", "Your Kirin with Hashirama within 40 m: each bound enemy in its area takes one more bolt: 300%."), halfB = new Text("Cada remate de Sasuke a 30 m: −2 s a la recarga de tu especial.", "Each of Sasuke's finishers within 30 m: −2 s on your special's cooldown.") }, new Bond { a = "SasukeMangekyouBody", b = "HashiramaBody", name = new Text("Uchiha y Senju", "Uchiha and Senju"), halfA = new Text("Cada golpe con el que Hashirama se cura a 30 m de ti te cura a ti la mitad.", "Each blow Hashirama heals himself with within 30 m of you heals you half as much."), halfB = new Text("Lo que el Sharingan de Taka ha marcado queda atado el doble de tiempo por tu madera.", "What Taka's Sharingan has marked stays bound by your wood twice as long.") }, new Bond { a = "MinatoBody", b = "HashiramaBody", name = new Text("Los Hokage", "The Hokage"), halfA = new Text("Al llegar con el Hiraishin junto a un enemigo atado por la madera, un torii cae sobre él: 300 %, aturde 1,5 s.", "Arriving by Hiraishin beside an enemy bound by wood, a torii falls on it: 300%, stunning for 1.5 s."), halfB = new Text("Cada llegada de Minato junto a un enemigo a 30 m de ti hace brotar un árbol bajo él: 200 % y ata 2 s.", "Each of Minato's arrivals beside an enemy within 30 m of you makes a tree burst up under it: 200%, binding for 2 s.") }, new Bond { a = "NarutoSixPathsBody", b = "HashiramaBody", name = new Text("Reencarnaciones de Asura", "Asura's Reincarnations"), halfA = new Text("Con Hashirama a 30 m, el chakra de Asura te da vida: cada enemigo que golpea una Gudōdama te cura un 0,5 % (hasta 3 % por segundo).", "With Hashirama within 30 m, Asura's chakra gives you life: each enemy a Truth-Seeking Orb strikes heals you 0.5% (up to 3% per second)."), halfB = new Text("Cuando Naruto lanza su X a 40 m, Asura despierta en ti: +15 Savia.", "When Naruto casts his X within 40 m, Asura wakes in you: +15 Sap.") }, new Bond { a = "SasukeRinneganBody", b = "HashiramaBody", name = new Text("Indra y Asura", "Indra and Asura"), halfA = new Text("Tu Chibaku Tensei con Hashirama a 40 m: un árbol brota bajo su núcleo, 300 % y ata 3 s todo lo que hay a 12 m.", "Your Chibaku Tensei with Hashirama within 40 m: a tree bursts up under its core, 300%, binding everything within 12 m for 3 s."), halfB = new Text("Con Sasuke a 40 m, tu Savia dura el doble.", "With Sasuke within 40 m, your Sap lasts twice as long.") }, new Bond { a = "HakuBody", b = "HashiramaBody", name = new Text("El bosque helado", "The Frozen Forest"), halfA = new Text("Dentro de un espejo, con Hashirama a 30 m, su madera te cura un 3 % por segundo.", "Inside a mirror, with Hashirama within 30 m, his wood heals you 3% per second."), halfB = new Text("Lo que Haku ha helado y tu madera ata se congela: aturdido 1,5 s.", "What Haku has chilled and your wood binds freezes: stunned for 1.5 s.") }, new Bond { a = "ZabuzaBody", b = "HashiramaBody", name = new Text("Raíces en la niebla", "Roots in the Mist"), halfA = new Text("Tus golpes sobre un enemigo atado por la madera de Hashirama (a 40 m) la parten en estacas: 150 % en 4 m (una vez cada 0,5 s).", "Your blows on an enemy bound by Hashirama's wood (within 40 m) split it into stakes: 150% in 4 m (once every 0.5 s)."), halfB = new Text("Dentro de la niebla de Zabuza, tu curación por golpe se dobla.", "Inside Zabuza's mist, your healing per hit doubles.") } }; public static bool Spanish => (Language.currentLanguageName ?? "").StartsWith("es"); public static string Pick(string es, string en) { if (!Spanish) { return en; } return es; } public static Bond Of(string first, string second) { Bond[] array = bonds; foreach (Bond bond in array) { if ((bond.a == first && bond.b == second) || (bond.a == second && bond.b == first)) { return bond; } } return null; } public static bool ShownGift(string character, out (Text name, Text text) gift) { gift = default((Text, Text)); if (character != null && !secretGifts.Contains(character)) { return gifts.TryGetValue(character, out gift); } return false; } public static Text GiftText(string character) { if (character == null || !gifts.TryGetValue(character, out (Text, Text) value)) { return new Text("", ""); } return new Text("<b>" + value.Item1.es + "</b>: " + value.Item2.es, "<b>" + value.Item1.en + "</b>: " + value.Item2.en); } } public class KizunaBossCinematic : MonoBehaviour, ICameraStateProvider { public enum Kind { Entrance, PhaseTwo } private class Letterbox : MonoBehaviour { private const float share = 0.1f; private const float openTime = 0.45f; private RectTransform top; private RectTransform bottom; private float opened; private float closing = -1f; private float closeTime = 0.5f; public static Letterbox Create() { //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Expected O, but got Unknown GameObject val = new GameObject("KizunaBossLetterbox"); Canvas obj = val.AddComponent<Canvas>(); obj.renderMode = (RenderMode)0; obj.sortingOrder = 30000; Letterbox letterbox = val.AddComponent<Letterbox>(); letterbox.top = Band(val.transform, 1f); letterbox.bottom = Band(val.transform, 0f); letterbox.opened = Time.unscaledTime; letterbox.Apply(0f); return letterbox; } private static RectTransform Band(Transform parent, float edge) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_0064: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Unknown result type (might be due to invalid IL or missing references) //IL_007c: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_0087: Unknown result type (might be due to invalid IL or missing references) //IL_0092: Expected O, but got Unknown GameObject val = new GameObject((edge > 0.5f) ? "Top" : "Bottom", new Type[1] { typeof(RectTransform) }); val.transform.SetParent(parent, false); ((Graphic)val.AddComponent<Image>()).color = Color.black; RectTransform val2 = (RectTransform)val.transform; val2.anchorMin = new Vector2(0f, edge); val2.anchorMax = new Vector2(1f, edge); val2.pivot = new Vector2(0.5f, edge); val2.anchoredPosition = Vector2.zero; return val2; } public void Close(float time) { closing = Time.unscaledTime; closeTime = Mathf.Max(0.1f, time); } private void Update() { if (closing < 0f && Time.unscaledTime - opened > 11f) { Close(0.5f); } float num = Mathf.SmoothStep(0f, 1f, (Time.unscaledTime - opened) / 0.45f); if (closing >= 0f) { float num2 = (Time.unscaledTime - closing) / closeTime; num *= 1f - Mathf.SmoothStep(0f, 1f, num2); if (num2 >= 1f) { Object.Destroy((Object)(object)((Component)this).gameObject); return; } } Apply(num); } private void Apply(float k) { //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0031: Unknown result type (might be due to invalid IL or missing references) float num = (float)Screen.height * 0.1f * k; top.sizeDelta = new Vector2(0f, num); bottom.sizeDelta = new Vector2(0f, num); } } private const float longest = 9f; private const float takeBlend = 0.6f; private const float giveBlend = 0.8f; private static readonly Dictionary<GameObject, KizunaBossCinematic> playing = new Dictionary<GameObject, KizunaBossCinematic>(); private CharacterBody boss; private Kind kind; private float duration; private float age; private bool done; private readonly List<CameraRigController> rigs = new List<CameraRigController>(); private Letterbox bars; private Vector3 focus; private bool focused; private SkinnedMeshRenderer[] shapes; private Vector3? stand; public static void Play(CharacterBody boss, Kind kind, float duration) {