Skip to content

EA 23.271 Nightly

February 16, 2026

10 files modified.

Important Changes

None.

AI_Fuck

public override IEnumerable<Status> Run()

cs
				}
				break;
			}
			if (variation == Variation.Slime) 
			{ 
				owner.DoHostileAction(target); 
			} 
			if (EClass.rnd(3) == 0 || sell)
			{
				if (variation == Variation.Slime)

public void Finish()

cs
			Thing thing = null;
			for (int j = 0; j < 10; j++)
			{
				thing = target.MakeGene(DNA.Type.Superior); 
				thing = target.MakeGene((j < 3) ? DNA.Type.Superior : DNA.Type.Default); 
				thing.c_DNA.MakeSlimeFood(chara);
				if (thing.c_DNA.GetInvalidAction(chara) != null || thing.c_DNA.GetInvalidFeat(chara) != null)
				{
					thing.c_DNA.vals.Clear();
					thing.c_DNA.type = DNA.Type.Inferior; 
					continue;
				}
				thing.elements.ModBase(10, 200);

AI_Trolley

using System;

cs
using System;
using System.Collections.Generic;
using System.Linq; 
using UnityEngine;

public class AI_Trolley : AIAct

public override IEnumerable<Status> Run()

cs
			owner.PlaySound(idSound);
			EClass.Sound.Stop(idSound, Mathf.Max(1f, trolley.FadeDuration));
		}
		foreach (Chara item in point.ListCharas()) 
		foreach (Chara item in point.ListCharas().ToList()) 
		{
			owner.Kick(item, ignoreSelf: true, karmaLoss: false);
		}

ActZap

public override bool Perform()

cs
		trait.owner.ModCharge(-1);
		Act.CC.PlayEffect("rod");
		Act.CC.PlaySound("rod");
		Act.CC.RemoveCondition<ConInvisibility>(); 
		Act.TC = Act.CC;
		EffectId idEffect = trait.IdEffect;
		int power = trait.Power * (100 + Act.CC.Evalue(305) * 10 + Act.CC.MAG / 2 + Act.CC.PER / 2) / 100;

Card

public void LevelUp()

cs
	{
		Chara.SetFeat(1415, Evalue(1415) + 1, msg: true);
	}
	if (IsPC && HasElement(1274) && Evalue(1274) < 8 && LV >= Evalue(1274) * 5) 
	{ 
		Chara.SetFeat(1274, Evalue(1274) + 1, msg: true); 
	} 
	if (IsPC || !(Chara.race.id == "mutant"))
	{
		return;

Chara

public bool IsWealthy

cs

	public FactionBranch homeBranch => homeZone?.branch;

	public int MaxGeneSlot => race.geneCap - (HasElement(1237) ? 2 : 0) + Evalue(1242) + Evalue(1273); 
	public int MaxGeneSlot => race.geneCap - (HasElement(1237) ? 2 : 0) + Evalue(1242) + Evalue(1273) + ((IsPC && HasElement(1274)) ? (Evalue(1274) - 7) : 0); 

	public int GeneCostMTP
	{

public override void OnCreate(int genLv)

cs
	}
	if (base.LV > 5 && race.id == "mutant")
	{
		for (int j = 0; j < Mathf.Min(1 + base.LV / 5, 22); j++) 
		for (int j = 0; j < Mathf.Min(1 + base.LV / 5, 20); j++) 
		{
			SetFeat(1644, j + 1);
		}

public void RestockEquip(bool onCreate)

cs
			EQ_ID("staff_leek");
		}
		break;
	case "kumatan":
		if (onCreate) 
		{ 
			EQ_ID("dagger_hocho"); 
		} 
		break; 
	}
	if (!TryEquipRanged())
	{

DNA

public bool CanRemove(Chara c)

cs
		case 1415:
			return false;
		case 1228:
		case 1414:
			return !c.IsPC;
		}
	}

public string GetText()

cs
		{
			text = "???";
		}
		return "gene".lang(text.ToTitleCase(), cost.ToString() ?? ""); 
		return "gene".lang(text.ToTitleCase(), (cost == 0) ? "" : (cost.ToString() ?? "")); 
	}

	public void WriteNote(UINote n, Chara tg = null)

ElementContainer

public void ApplyPotential(int mode = 0)

cs
	{
		if (value.HasTag("primary"))
		{
			value.vTempPotential = (value.ValueWithoutLink - ((mode != 2) ? 7 : 0)) * 5; 
			value.vTempPotential = Mathf.Max(30, (value.ValueWithoutLink - ((mode != 2) ? 8 : 0)) * 7); 
		}
	}
}

FEAT

public List<string> Apply(int a, ElementContainer owner, bool hint = false)

cs
		ModPotential(120, a * 50);
		ModPotential(123, a * 50);
		break;
	case 1274:
		featRef[3] = (a - 7).ToString() ?? ""; 
		break; 
	case 1750:
	{
		string[] array = featRef;

StanceSongEnd

public override void TickSong()

cs
		{
			break;
		}
		if ((item.IsPowerful ? 15 : 30) * Mathf.Min(base.power / 4, 100) / 100 > EClass.rnd(100)) 
		if (30 * Mathf.Min(base.power / 4, 100) / 100 > EClass.rnd(100)) 
		{
			ActEffect.ProcAt(EffectId.Hand, owner.Power, BlessedState.Normal, owner, item, item.pos, isNeg: true, new ActRef
			ActEffect.ProcAt(EffectId.Hand, new ActHand().GetPower(owner), BlessedState.Normal, owner, item, item.pos, isNeg: true, new ActRef
			{
				aliasEle = ((EClass.rnd(2) == 0) ? "eleLightning" : ((EClass.rnd(2) == 0) ? "eleCold" : "eleFire"))
			});

WindowChara

public void RefreshSkill(int idTab)

cs
		}
		if (chara.IsPC && chara.HasElement(1274) && chara.c_genes != null && chara.c_genes.items.Count > 0)
		{
			Header("genes", null); 
			Header("genes".lang() + "  " + EClass.pc.CurrentGeneSlot + "/" + EClass.pc.MaxGeneSlot, null); 
			ListFeat();
			list.callbacks = new UIList.Callback<DNA, ButtonElement>
			{

public void RefreshSkill(int idTab)

cs
						a.WriteNote(uINote);
						t.note.Build();
					});
					b.subText.text = "(+" + a.slot + ")"; 
					b.subText.text = "(" + a.slot + ")"; 
					b.subText.SetActive(enable: true);
					b.imagePotential.SetActive(enable: false);
				},