using System.Collections.Generic; using Cielonos.MainGame.Buffs.Character; using Cielonos.MainGame.Inventory; using UnityEngine; namespace Cielonos.MainGame { public partial class SceneSubmodule { public partial class CityArenaBeginningProcessor { public void Process() { ApplyInvincible(); ApplyStartItems(); } } public partial class CityArenaBeginningProcessor { private void ApplyInvincible() { if (InfoTransistor.GetInfo("ApplyInvincible")) { new Invincible(99999f).Apply(MainGameManager.Player); } } private void ApplyStartItems() { PlayerInventorySaveData saveData = InfoTransistor.GetInfo("StartInventory"); if (saveData != null && MainGameManager.Player != null) { MainGameManager.Player.inventorySc.ApplySaveData(saveData); InfoTransistor.SetInfo("StartInventory", null); } } } } }