Another thing

This commit is contained in:
HyperAtill committed 2025-07-25 17:06:14 +03:00
1 parent 70d278f500
commit 39900d6447
2 files changed
+3 -3

No files matched your search

+1 -2
View File
@@ -3518,8 +3518,7 @@
"DetourInfoLong": "(Crewmate):\\nAs the Detour, all kill button related actions on you will be blocked and instead happen on the closest player to you.",
"Monitor": "Telecommunication",
"MonitorInfo": "Track device usage",
"MonitorInfoLong": "(Crewmates):\\nAs the Telecommunication, you are notified when anyone uses cameras, vitals, doorlogs, or admin. Depending on settings, you can also open doors by venting or petting (this ability doesn't work on Skeld, Dleks and Mira HQ).",
"DoorsCannotBeUnlockedOnSkeldDleksMira": "Doors can't be unlocked on Skeld, Dleks and Mira HQ.",
"MonitorInfoLong": "(Crewmates):\\nAs the Telecommunication, you are notified when anyone uses cameras, vitals, doorlogs, or admin.",
"Werewolf": "Werewolf",
"WerewolfInfo": "Vent to Rampage to kill quickly",
"WerewolfInfoLong": "(Neutrals):\\nAs the Werewolf, you can go on a rampage by entering a vent. While you're rampaging you have a very short kill cooldown. You cannot kill when you aren't rampaging. Rampaging has a cooldown and a limited duration.",
+2 -1
View File
@@ -76,7 +76,7 @@ internal class AntiAdminer : RoleBase
IsMonitor = Main.PlayerStates[playerId].MainRole == CustomRoles.Monitor;
ExtraAbilityStartTimeStamp = 0;
AntiAdminerId = playerId;
if(IsMonitor) playerId.SetAbilityUseLimit(Monitor.UseLimitOpt.GetInt());
if(IsMonitor && Main.CurrentMap != MapNames.MiraHQ) playerId.SetAbilityUseLimit(Monitor.UseLimitOpt.GetInt());
}
public override void Remove(byte playerId)
@@ -363,6 +363,7 @@ internal class AntiAdminer : RoleBase
{
if (!IsMonitor) return;
if (pc == null) return;
if (Main.CurrentMap == MapNames.MiraHQ) return;
if (pc.GetAbilityUseLimit() >= 1)
{