先找到源码下面的Client\Scenes\Views\MapControl.cs文件
public void UpdateLights()
{
switch (GameScene.Game.MapControl.MapInfo.Light)
{
case LightSetting.Default:
byte shading = (byte) (255*GameScene.Game.DayTime);
BackColour = Color.FromArgb(shading, shading, shading);
Visible = true;
break;
case LightSetting.Night:
BackColour = Color.FromArgb(15, 15, 15);
Visible = true;
break;
case LightSetting.Light:
Visible = MapObject.User != null && (MapObject.User.Poison & PoisonType.Abyss) != PoisonType.Abyss;
break;
}
}
替换为以下代码即可
public void UpdateLights() //免烛设置
{
BackColour = Color.FromArgb(255, 255, 255);
Visible = true;
}
免烛设置代码
摘要:
...
您需要 登录账户 后才能发表评论
还没有评论,来说两句吧...