From 2496ac21461ec14963308a734ab3fa28904d5f53 Mon Sep 17 00:00:00 2001 From: laikrai Date: Sun, 3 Nov 2024 21:42:14 +0100 Subject: [PATCH] Update en_US.json --- Modules/GameState.cs | 2 +- Modules/Utils.cs | 2 +- Resources/Lang/en_US.json | 14 +++++++------- Roles/Impostor/Exorcist.cs | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Modules/GameState.cs b/Modules/GameState.cs index 41a47c637..449799de6 100644 --- a/Modules/GameState.cs +++ b/Modules/GameState.cs @@ -276,7 +276,7 @@ public enum DeathReason Revenge, Execution, Fall, - Excersized, + Exorcised, // TOHE Gambled, diff --git a/Modules/Utils.cs b/Modules/Utils.cs index 1a1f2ee1e..a603dabb4 100644 --- a/Modules/Utils.cs +++ b/Modules/Utils.cs @@ -2367,7 +2367,7 @@ var Breason when BannedReason(Breason) => false, PlayerState.DeathReason.BloodLet => CustomRoles.Bloodmoon.IsEnable(), PlayerState.DeathReason.Starved => CustomRoles.Baker.IsEnable(), PlayerState.DeathReason.Sacrificed => CustomRoles.Altruist.IsEnable(), - PlayerState.DeathReason.Excersized => CustomRoles.Exorcist.IsEnable(), + PlayerState.DeathReason.Exorcised => CustomRoles.Exorcist.IsEnable(), PlayerState.DeathReason.Kill => true, _ => true, }; diff --git a/Resources/Lang/en_US.json b/Resources/Lang/en_US.json index 774cb7536..d840ba520 100644 --- a/Resources/Lang/en_US.json +++ b/Resources/Lang/en_US.json @@ -793,7 +793,7 @@ "EvilMiniInfoLong": "(Impostors):\nAs the Evil Mini, you are unkillable until you grow up and have a very long initial kill cooldown, which gets drastically shortened as you grow up.", "BlackmailerInfoLong": "(Impostors):\nAs the Blackmailer, when you shift into a target, you will blackmail that player. This means that during the meetings, they won't be able to speak.\n\nNote: If someone is already blackmailed, blackmailing another person un-blackmails the current person.", "InstigatorInfoLong": "(Impostors):\nAs the Instigator, it's your job to turn the crewmates against each other. Each time a Crewmate gets voted out in a meeting, if you are alive, an additional Crewmate who voted for the innocent player will die after the meeting. The Host determines the number of additional players dying.", - "ExorcistInfoLong": "(Impostors):\nAs the Exorcist, you can use /ex in meeting to exorcise a player who won't shut up. The exorcised player will die. You'll lose your ability if you excersise too many people.", + "ExorcistInfoLong": "(Impostors):\nAs the Exorcist, you can use /ex in meeting to kill a player who speaks in the next set amount of seconds after using the command. Depending on the settings, the Exorcist can kill multiple people in one meeting. You'll lose your ability if you excersise too many people.", "LazyGuyInfoLong": "(Crewmates):\nLazy Guy has only one task. In addition, the Impostor's abilities can't affect the Lazy Guy, such as being a scapegoat for Anonymous, being marked by a Warlock or Puppeteer, and more. Lazy Guy will not have any add-ons.", "SuperStarInfoLong": "(Crewmates):\nThere will be a star logo next to the Super Star's name, so everyone knows who the Super Star is. The Super Star can only die when the murderer is alone with the Super Star (regular kills only). In addition, the Guessers can't guess the Super Star. ", "CelebrityInfoLong": "(Crewmates):\nAll Crewmates see the kill-flash when the Celebrity dies (same as the Seer sees the kill-flash) and get a notice at the next meeting. The Impostors don't know anything about this.", @@ -2005,7 +2005,7 @@ "DeathReason.Starved": "Starved", "DeathReason.Equilibrium": "Equilibrium", "DeathReason.Sacrificed": "Sacrificed", - "DeathReason.Excersized": "Excersized", + "DeathReason.Exorcised": "Exorcised", "OnlyEnabledDeathReasons": "Only Enabled Death Reasons", "Alive": "Alive", "Disconnected": "Disconnected", @@ -3799,18 +3799,18 @@ "EavesdropperMsgTitle": "You found a secret", "EavesdropPercentChance": "Chance to eavesdrop", - "ExorcistKill": "{0} was Exorcismed", + "ExorcistKill": "{0} was Exorcised", "ExorcistNotify": "Exorcism is being activated in {0} seconds", "ExorcistEnd": "Exorcism has ended", "ExorcistStart": "Exorcism has started for {0} seconds", "ExorcistActive": "Exorcism is active", "ExorcistOutOfUsages": "You're out of usages!", "ExorcistDispelled": "You're out of spells!", - "ExcorismActiveFor": "How long should exorcism last for", - "ExcorismPerGame": "How many times can exorcism be used per game", - "ExcorismDelay": "How long should the delay be", + "ExcorismActiveFor": "Exorcism Duration", + "ExcorismPerGame": "Max exorcises per game", + "ExcorismDelay": "Exorcism Delay", "ExcorismSacrificesToDispell": "How many sacrifices are needed to dispell", - "ExcorismLimitMeeting": "How many times can exorcism be used per meeting", + "ExcorismLimitMeeting": "Max exorcises per meeting", "ExcorismEndOnKill": "End exorcism on kill", "ExorcistTryHideMsg": "Try to hide exorcist's commands" } diff --git a/Roles/Impostor/Exorcist.cs b/Roles/Impostor/Exorcist.cs index c9c41c481..efefc51f7 100644 --- a/Roles/Impostor/Exorcist.cs +++ b/Roles/Impostor/Exorcist.cs @@ -13,7 +13,7 @@ namespace TOHE.Roles.Impostor; internal class Exorcist : RoleBase { //===========================SETUP================================\\ - private const int Id = 30200; + private const int Id = 30800; public static bool HasEnabled => CustomRoleManager.HasEnabled(CustomRoles.Exorcist); public override CustomRoles ThisRoleBase => CustomRoles.Impostor; public override Custom_RoleType ThisRoleType => Custom_RoleType.ImpostorKilling; @@ -113,7 +113,7 @@ public static void ExcersizePlayer(PlayerControl player) IsExcorism = false; Utils.SendMessage(Translator.GetString("ExorcistEnd")); } - player.SetDeathReason(PlayerState.DeathReason.Excersized); + player.SetDeathReason(PlayerState.DeathReason.Exorcised); player.SetRealKiller(ExorcistPlayer); GuessManager.RpcGuesserMurderPlayer(player); Main.PlayersDiedInMeeting.Add(player.PlayerId);