Skip to content

EA 23.223 Nyaightly

October 22, 2025

10 files modified.

Important Changes

None.

AttackProcess

public void PlayRangedAnime(int numFire, float delay = 0f)

cs

	public int GetRocketPower()
	{
		return (50 + (dNum * dDim + dBonus) + (dNumAmmo * dDimAmmo + dBonusAmmo)) * (100 + (int)Mathf.Sqrt(weaponSkill.Value) * 10) / 100; 
		return (30 + (dNum * dDim + dBonus) + (dNumAmmo * dDimAmmo + dBonusAmmo)) * (100 + (int)Mathf.Sqrt(weaponSkill.Value) * 8) / 100; 
	}

	public long GetRawDamage(float dmgMulti, bool crit, bool maxRoll)

BaseTileMap

public enum ScreenHighlight

cs

	protected bool isUnderwater;

	protected bool darkenOuter; 
	protected Vector3 thingPos;

	protected Vector3 orgPos;

public virtual void Draw()

cs
		lowBlock = (hideRoomFog = (hideHang = false));
		showRoof = (showFullWall = true);
	}
	darkenOuter = !cinemaMode && !ActionMode.Bird.IsActive && !ActionMode.ViewMap.IsActive; 
	currentLot = currentRoom?.lot ?? null;
	Vector3 mposWorld = EInput.mposWorld;
	mposWorld.z = 0f;

public virtual void Draw()

cs
	int valueOrDefault = (this.room?.lot?.idBGM).GetValueOrDefault();
	if (valueOrDefault == 0)
	{
		goto IL_16d1; 
		goto IL_16fb; 
	}
	if (!(EMono.Sound.currentPlaylist != EMono.Sound.plLot))
	{
		BGMData data = EMono.Sound.plLot.list[0].data;
		if ((object)data != null && data.id == valueOrDefault)
		{
			goto IL_16d1; 
			goto IL_16fb; 
		}
	}
	goto IL_16f0; 
	IL_16fa: 
	goto IL_171a; 
	IL_1724: 
	if (this.room != lastRoom)
	{
		screen.RefreshWeather();

public virtual void Draw()

cs
		SoundManager.bgmVolumeMod = ((!LayerDrama.maxBGMVolume && !EMono._map.IsIndoor && this.room != null && !this.room.data.atrium && this.room.HasRoof) ? (-0.6f) : 0f);
		screenHighlight = ScreenHighlight.None;
		return;
		IL_16d1: 
		IL_16fb: 
		if (valueOrDefault == 0 && EMono.Sound.currentPlaylist == EMono.Sound.plLot)
		{
			goto IL_16f0; 
			goto IL_171a; 
		}
		goto IL_16fa; 
		IL_16f0: 
		goto IL_1724; 
		IL_171a: 
		EMono._zone.RefreshBGM();
		goto IL_16fa; 
		goto IL_1724; 
	}

	public void RefreshHeight()

public virtual void DrawTile()

cs
			}
		}
	}
	if (this.cell.outOfBounds && !cinemaMode) 
	if (this.cell.outOfBounds && darkenOuter) 
	{
		blockLight -= 0.1f;
		if (fogBounds)

Card

public int FameLv

cs
			{
				return LV;
			}
			return EClass.player.fame / 100 + 1; 
			return Mathf.Min(EClass.player.fame / 100 + 1, 21474836); 
		}
	}

public int CountRune(bool countFree = true)

cs

	public int MaxRune()
	{
		return ((!IsUnique) ? 1 : 0) + Evalue(484); 
		return ((!IsUnique && !isReplica) ? 1 : 0) + Evalue(484); 
	}

	public bool CanAddRune(TraitMod mod)
	{
		SourceElement.Row source = mod.source;
		if (category.slot == 0 || isReplica) 
		if (category.slot == 0) 
		{
			return false;
		}

Chara

public void RestockEquip(bool onCreate)

cs
			AddThing("gun_laser");
			break;
		case "rocketman":
			AddThing("panzerfaust").c_ammo = 0; 
		{ 
			Thing thing2 = AddThing("panzerfaust"); 
			thing2.ChangeMaterial("iron"); 
			thing2.c_ammo = 0; 
			break;
		} 
		default:
			switch (equip)
			{

CoreDebug

public void UpdateInput()

cs
	}
	if (Input.GetKeyDown(KeyCode.F2))
	{
		EClass.game.world.date.year = 3000; 
		EClass._zone.development += 10;
		EClass._zone.development *= EClass._zone.development;
		Chara targetChara = EClass.scene.mouseTarget.TargetChara;

DNA

public int slot

cs
		}
	}

	public bool isManiGene 
	{ 
		get 
		{ 
			return bits[0]; 
		} 
		set 
		{ 
			bits[0] = value; 
		} 
	} 
	[OnSerializing]
	private void _OnSerializing(StreamingContext context)
	{

public static Thing GenerateManiGene(Card owner)

cs
	Rand.SetSeed(owner.c_seed);
	Thing thing = GenerateGene(r, Type.Superior, owner.LV, owner.c_seed);
	thing.c_DNA.cost = thing.c_DNA.cost / 2;
	thing.c_DNA.isManiGene = true; 
	thing.MakeRefFrom("mani");
	Rand.SetSeed();
	owner.c_seed++;

GoalAutoCombat

void FindRanged(bool hotbar)

cs
			{
				return false;
			}
			if (t.IsRangedWeapon && (t.trait is TraitToolRangeCane || t.c_ammo > 0 || EClass.pc.FindAmmo(t) != null) && owner.CanEquipRanged(t)) 
			if (t.IsRangedWeapon && (t.trait is TraitToolRangeCane || t.trait is TraitToolRangeSling || t.c_ammo > 0 || EClass.pc.FindAmmo(t) != null) && owner.CanEquipRanged(t)) 
			{
				owner.ranged = t;
				return true;

Trait

public void OnBarter()

cs
			{
				float num = (float)(3 + Mathf.Min(ShopLv / 5, 10)) + Mathf.Sqrt(ShopLv);
				int num2 = 300;
				if (ShopType == ShopType.Ecopo) 
				switch (ShopType) 
				{
				case ShopType.Ecopo: 
					num2 = 30;
					break; 
				case ShopType.StrangeGirl: 
					num2 = 50; 
					break; 
				}
				num = num * (float)(100 + EClass.pc.Evalue(1406) * 5) / 100f;
				num = Mathf.Min(num, num2);

TraitCrafter

void Prize(int chance, string s, string col, bool cat)

cs

	public override void TrySetAct(ActPlan p)
	{
		if (this is TraitRuneMold && EClass._zone.IsUserZone && owner.isNPCProperty) 
		{ 
			return; 
		} 
		if (IsFactory)
		{
			Thing _t = owner.Thing;

TraitDeliveryChest

public override bool CanOpenContainer

cs
	{
		if (owner.IsInstalled)
		{
			if (!EClass._zone.IsPCFaction && !EClass._zone.IsTown && !(EClass._zone is Zone_MerchantGuild)) 
			if (!EClass._zone.IsPCFaction && !EClass._zone.IsTown && !(EClass._zone is Zone_MerchantGuild) && !(EClass._zone is Zone_Casino)) 
			{
				return EClass._zone is Zone_Casino; 
				return EClass._zone is Zone_CurryRuin; 
			}
			return true;
		}