mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Rename Roles (#452)
* Update CustomRoles.cs * Update Flash.cs * Update Main.cs * Update CustomRolesHelper.cs * Update ExtendedPlayerControl.cs * Update PlayerGameOptionsSender.cs * Update GameState.cs * Update GuessManager.cs * Update HudPatch.cs * Update CustomRoleSelector.cs * Update OptionHolder.cs * Update en_US.json * Update IntroPatch.cs * Update en_US.json
This commit is contained in:
1 parent
22387ab850
commit
4e9d9b65b0
13 files changed
+43
-42
No files matched your search
@@ -1404,7 +1404,7 @@ internal static class ExtendedPlayerControl
|
||||
return pc.GetCustomRole() switch
|
||||
{
|
||||
// Solo PVP
|
||||
CustomRoles.SoloPVP_Player => pc.SoloAlive(),
|
||||
CustomRoles.Challenger => pc.SoloAlive(),
|
||||
// FFA
|
||||
CustomRoles.Killer => pc.IsAlive(),
|
||||
// Stop And Go
|
||||
@@ -1755,7 +1755,7 @@ internal static class ExtendedPlayerControl
|
||||
|
||||
Main.AllPlayerKillCooldown[player.PlayerId] = player.GetCustomRole() switch
|
||||
{
|
||||
CustomRoles.SoloPVP_Player => SoloPVP.SoloPVP_ATKCooldown.GetFloat(),
|
||||
CustomRoles.Challenger => SoloPVP.SoloPVP_ATKCooldown.GetFloat(),
|
||||
CustomRoles.Killer => FreeForAll.FFAKcd.GetFloat(),
|
||||
CustomRoles.Runner => Speedrun.KCD,
|
||||
CustomRoles.CTFPlayer => CaptureTheFlag.KCD,
|
||||
|
||||
Reference in new issue
Block a user