mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
ban-and-rename
This commit is contained in:
1 parent
e3752dac69
commit
6397b9846b
13 files changed
+375
-374
No files matched your search
@@ -2072,9 +2072,9 @@ internal static class FixedUpdatePatch
|
||||
{
|
||||
if (Main.HasJustStarted || !player.IsAlive()) return;
|
||||
|
||||
if (Main.PlayerStates[player.PlayerId].Role is SabotageMaster sm)
|
||||
if (Main.PlayerStates[player.PlayerId].Role is Mechanic sm)
|
||||
{
|
||||
sm.UsedSkillCount -= SabotageMaster.AbilityChargesWhenFinishedTasks.GetFloat();
|
||||
sm.UsedSkillCount -= Mechanic.AbilityChargesWhenFinishedTasks.GetFloat();
|
||||
sm.SendRPC();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user