mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
add meeting ss option for Exorcist
This commit is contained in:
1 parent
b22aa51672
commit
216fe59713
2 files changed
+7
-1
No files matched your search
@@ -525,7 +525,7 @@ internal static class ChatCommands
|
||||
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
private static void ExoCommand(PlayerControl player, string text, string[] args)
|
||||
public static void ExoCommand(PlayerControl player, string text, string[] args)
|
||||
{
|
||||
if (Starspawn.IsDayBreak) return;
|
||||
|
||||
|
||||
@@ -31,4 +31,10 @@ public class Exorcist : RoleBase
|
||||
On = true;
|
||||
playerId.SetAbilityUseLimit(AbilityUseLimit.GetFloat());
|
||||
}
|
||||
|
||||
public override void OnMeetingShapeshift(PlayerControl shapeshifter, PlayerControl target)
|
||||
{
|
||||
const string command = "/exo";
|
||||
ChatCommands.ExoCommand(shapeshifter, command, command.Split(' '));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user