feat: 回合结束友伤

This commit is contained in:
3cxc
2026-02-12 23:44:59 +08:00
parent 0777192d57
commit 86367839ac
2 changed files with 10 additions and 0 deletions

View File

@@ -67,6 +67,12 @@ namespace EasyTools.Events
{
Timing.KillCoroutines(Badge_Coroutine);
}
if (Config.EnableFriendFire)
{
Server.FriendlyFire = true;
Server.SendBroadcast($"\n<b><size=25><color=#00CC00>🎉 回合结束,友伤已开启~</color></size></b>", 5);
}
}
public override void OnPlayerJoined(PlayerJoinedEventArgs ev)