EA 23.79 Nightly Patch 1
January 21, 2025
8 files modified.
Important Changes
None.
Card
@@ -3519,7 +3519,11 @@ public virtual void HealHPHost(int a, HealSource origin = HealSource.None)
cs
public virtual void HealHP(int a, HealSource origin = HealSource.None)
{
hp += a * Mathf.Max(100 - Evalue(93), 1) / 100;
if (origin == HealSource.Magic)
{
a = a * Mathf.Max(100 - Evalue(93), 1) / 100;
}
hp += a;
if (hp > MaxHP)
{
hp = MaxHP;
cs
if (ele == 0)
{
e = Element.Void;
if (origin != null)
{
dmg = dmg * Mathf.Max(100 + origin.Evalue(93) / 2, 10) / 100;
}
}
else
{
cs
if (EClass.player.invlunerable)
{
EvadeDeath();
goto IL_0a24;
goto IL_0a58;
}
}
if (IsPC && Evalue(1220) > 0 && Chara.stamina.value >= Chara.stamina.max / 2)
cs
}
}
}
goto IL_0a24;
IL_0a24:
goto IL_0a58;
IL_0a58:
if (trait.CanBeAttacked)
{
renderer.PlayAnime(AnimeID.HitObj);
CoreConfig
@@ -308,6 +308,8 @@ public class GraphicSetting
cs
public bool disableShake;
public bool noLightning;
public int fps;
public int fireflyCount = 150;
DropdownGrid
cs
b.onClick.AddListener(delegate
{
List<Thing> list2 = ListIngredients(ingredient, searchMode);
if (ingredient.optional)
{
if (list2.Count == 0 || list2[0] == null)
{
SE.Beep();
return;
}
}
else if (ingredient.thing == null)
if (list2.Count == 0 || list2[0] == null)
{
SE.Beep();
return;
}
if ((bool)rectDrop)
else if ((bool)rectDrop)
{
Activate(ingredient, list2);
}
Game
@@ -440,10 +440,15 @@ public void OnLoad()
cs
}
}
});
if (version.IsBelow(0, 23, 76))
QuestDebt questDebt = EClass.game.quests.Get<QuestDebt>();
if (questDebt != null && questDebt.stage == 6)
{
QuestDebt questDebt = EClass.game.quests.Get<QuestDebt>();
if (questDebt != null && questDebt.stage == 6 && player.debt == 19530000)
if (player.debt == 19900000)
{
EClass.pc.AddCard(ThingGen.Create("ticket_champagne"));
questDebt.stage = 3;
}
if (player.debt == 19530000)
{
EClass.pc.AddCard(ThingGen.Create("loytel_mart"));
EClass.pc.AddCard(ThingGen.Create("ticket_massage"));
GameUpdater
@@ -424,7 +424,7 @@ public void Update100ms()
cs
timerThunder += 0.1f;
if (timerThunder > EClass.setting.weather.thunerInterval)
{
if (!EClass._map.IsIndoor)
if (!EClass._map.IsIndoor && !EClass.core.config.graphic.noLightning)
{
ScreenFlash.Play("storm" + (EClass.rnd(2) + 1), (flag2 && !flag3) ? 0.3f : 1f);
}
LayerConfig
@@ -83,6 +83,8 @@ public class LayerConfig : ELayer
cs
public UIButton toggleFloorEx;
public UIButton toggleNoLightning;
public UIItem fontUI;
public UIItem fontChatbox;
@@ -465,6 +467,10 @@ public void Refresh()
cs
ELayer.screen.RefreshSky();
}
});
toggleNoLightning.SetToggle(ELayer.config.graphic.noLightning, delegate(bool on)
{
ELayer.config.graphic.noLightning = on;
});
toggleAllyLight.SetToggle(ELayer.config.graphic.drawAllyLight, delegate(bool on)
{
ELayer.config.graphic.drawAllyLight = on;
LayerLoadGame
@@ -12,6 +12,8 @@ public class LayerLoadGame : ELayer
cs
public GameObject goNoInfo;
public GameObject goCloudWarn;
public UINote note;
public UIButton buttonLoad;
@@ -107,6 +109,7 @@ public void RefreshList()
cs
}
pathRoot = (backup ? pathBackup : (cloud ? CorePath.RootSaveCloud : CorePath.RootSave));
worlds = GameIO.GetGameList(pathRoot, backup);
goCloudWarn.SetActive(cloud && !backup);
goInfo.SetActive(value: false);
goNoInfo.SetActive(value: true);
list.Clear();
TraitFigure
@@ -32,4 +32,22 @@ public override int GetValue()
cs
}
return (base.GetValue() + source.LV * 50) * ((!source.multisize) ? 1 : 2) * ((source.quality < 4) ? 1 : 2);
}
public override void TrySetAct(ActPlan p)
{
if (p.input != ActInput.AllAction || source.tiles.Length <= 1)
{
return;
}
p.TrySetAct("actChangeType", delegate
{
UIContextMenu uIContextMenu = EClass.ui.CreateContextMenuInteraction();
uIContextMenu.AddSlider("actChangeType", (float a) => a.ToString() ?? "", owner.refVal, delegate(float b)
{
owner.refVal = (int)b;
}, 0f, source.tiles.Length - 1, isInt: true);
uIContextMenu.Show();
return false;
}, owner);
}
}