不会死亡的小人,萌新的作弊器(修正动物杀不死)
本帖最后由 fanvalen 于 2025-9-7 08:55 编辑DeathMonitor.Kill
将public void Kill(Death death)
{
base.sm.death.Set(death, base.smi, false);
}改成
public void Kill(Death death)
{
//加一个是否是小人的判断
if (!this.isDuplicant)
{
base.sm.death.Set(death, base.smi, false);
}
}保存
再将DeathMonitor.ApplyDeathpublic void ApplyDeath()
{
if (this.isDuplicant)
{
Game.Instance.assignmentManager.RemoveFromAllGroups(base.GetComponent<MinionIdentity>().assignableProxy.Get());
base.GetComponent<KSelectable>().SetStatusItem(Db.Get().StatusItemCategories.Main, Db.Get().DuplicantStatusItems.Dead, base.smi.sm.death.Get(base.smi));
float num = 600f - GameClock.Instance.GetTimeSinceStartOfReport();
ReportManager.Instance.ReportValue(ReportManager.ReportType.PersonalTime, num, string.Format(UI.ENDOFDAYREPORT.NOTES.PERSONAL_TIME, DUPLICANTS.CHORES.IS_DEAD_TASK), base.smi.master.gameObject.GetProperName());
Pickupable component = base.GetComponent<Pickupable>();
if (component != null)
{
component.UpdateListeners(true);
}
}
base.GetComponent<KPrefabID>().AddTag(GameTags.Corpse, false);
}
改成
public void ApplyDeath()
{
if (this.isDuplicant)
{
GameClock.Instance.GetTimeSinceStartOfReport();
}
base.GetComponent<KPrefabID>().AddTag(GameTags.Corpse, false);
}
最后保存即可成功
大佬有没有方法可以在寒霜行星包体验史前行星包的灾星
遗迹里面虽然有灾星的选项但是我想让他直接一周期直接落地
我在史前行星包弄成功了一周星直接落地
但是在寒霜行星包不行没反应
求助大佬
3dm_19530492 发表于 2025-9-8 11:19
大佬有没有方法可以在寒霜行星包体验史前行星包的灾星
遗迹里面虽然有灾星的选项但是我想让他直接一周期直 ...
GenericGameSettings。GenericGameSettings()
this.demoTime = 300;
这个改成3然后开局默认就是1周期
3dm_19530492 发表于 2025-9-8 11:19
大佬有没有方法可以在寒霜行星包体验史前行星包的灾星
遗迹里面虽然有灾星的选项但是我想让他直接一周期直 ...
https://wiki.biligame.com/oni/%E7%81%BE%E6%98%9F
页:
[1]