Fix Room Rush points again + Dreamweaver custom button (#248)

* Fix Room Rush points being negative again

* Add files via upload

* Update HudSpritePatch.cs
This commit is contained in:
PEPPERcula authored and GitHub committed 2025-03-05 11:53:21 +01:00
1 parent cd85f72654
commit f34ab9788f
3 files changed
+8 -3

No files matched your search

+2 -2
View File
@@ -449,7 +449,7 @@ public static class RoomRush
pc.Notify($"{DonePlayers.Count}.", 2f);
if (WinByPointsInsteadOfDeaths.GetBool())
Points[pc.PlayerId] += aapc.Length - DonePlayers.Count - 1;
Points[pc.PlayerId] -= aapc.Length - DonePlayers.Count - 1;
int timeLeft = TimeWhenFirstPlayerEntersRoom.GetInt();
@@ -528,4 +528,4 @@ public class RRPlayer : RoleBase
Utils.SendRPC(CustomRPC.RoomRushDataSync, 2, RoomRush.VentLimit[pc.PlayerId], pc.PlayerId);
if (RoomRush.VentLimit[pc.PlayerId] <= 0) pc.RpcChangeRoleBasis(CustomRoles.RRPlayer);
}
}
}
+6 -1
View File
@@ -82,6 +82,11 @@ public static class HudSpritePatch
break;
}
case CustomRoles.Dreamweaver:
{
newKillButton = CustomButton.Get("Dreamweave");
break;
}
case CustomRoles.Wizard:
{
newAbilityButton = CustomButton.Get("Up");
@@ -505,4 +510,4 @@ public static class HudSpritePatch
}
}
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB