This commit is contained in:
Gurge44 committed 2026-02-26 16:43:45 +01:00
1 parent 2145dc73db
commit 57467086dd
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ public static class NameNotifyManager
public static void Notify(this PlayerControl pc, string text, float time = 6f, bool overrideAll = false, bool log = true, SendOption sendOption = SendOption.Reliable)
{
if (!AmongUsClient.Instance.AmHost || pc == null) return;
if (!AmongUsClient.Instance.AmHost || !pc) return;
if (!GameStates.IsInTask) return;
text = text.Trim();
+1 -1
View File
@@ -3887,7 +3887,7 @@
"Bloodmoon.Duration": "Time After Target Dies",
"Bloodmoon.Speed": "<#ff1919>Bloodmoon</color> Speed",
"Bloodmoon.Suffix": "<{1}>You will die in <{2}>{0}s</color></color>",
"BloodmoonNearYou": "<#ffff00>The {0} is near you! Stay away to avoid death!</color>",
"BloodmoonNearYou": "<size=70%>The {0} is near you! Stay away to avoid death!</size>",
"Facilitator": "Facilitator",
"FacilitatorInfo": "Give Necronomicon",
"FacilitatorInfoLong": "(Coven Ghost):\\nAs the Facilitator, you can protect a Coven member to give them the Necronomicon. (Protecting a non-Coven member or one who already has the Necronomicon does nothing.)",
+1 -1
View File
@@ -82,7 +82,7 @@ internal class Bloodmoon : IGhostRole
if (pc.RpcCheckAndMurder(player, true)) player.Suicide(PlayerState.DeathReason.LossOfBlood, pc);
}
FastVector2.GetPlayersInRange(pc.Pos(), 7f).DoIf(x => !x.Is(Team.Impostor), x => x.Notify(string.Format(Translator.GetString("BloodmoonNearYou"), CustomRoles.Bloodmoon.ToColoredString()), sendOption: SendOption.None));
FastVector2.GetPlayersInRange(pc.Pos(), 4f).DoIf(x => !x.Is(Team.Impostor), x => x.Notify(string.Format(Translator.GetString("BloodmoonNearYou"), CustomRoles.Bloodmoon.ToColoredString()), sendOption: SendOption.None));
}
public static void OnMeetingStart()