游戏达人
  
- 贡献度
- 51
- 金元
- 18622
- 积分
- 2066
- 精华
- 0
- 注册时间
- 2011-2-15

|
打印舱刷新我是直接修改的{} ->Immigration
public void Sim200ms(float dt)
{
if (!this.stopped && !this.bImmigrantAvailable)
{
this.timeBeforeSpawn -= dt;
this.timeBeforeSpawn = Math.Max(this.timeBeforeSpawn, 0f);
if (this.timeBeforeSpawn <= 0f) 0改为1800无间断招人(需要时间流动)
{
this.bImmigrantAvailable = true;
this.availableMinionStats = new MinionStartingStats(false);
}
}
}
新的
public void Sim200ms(float dt)
{
bool flag = this.IsHalted() || this.bImmigrantAvailable;
if (!flag)
{
this.timeBeforeSpawn -= dt;
this.timeBeforeSpawn = Math.Max(this.timeBeforeSpawn, 0f);
bool flag2 = this.timeBeforeSpawn <= 1800f;
if (flag2)
{
this.bImmigrantAvailable = true;
}
}
}
|
|