mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
a
This commit is contained in:
1 parent
1735139a01
commit
71ab818afe
1 file changed
+1
-1
@@ -54,7 +54,7 @@ public class Perplexer : RoleBase
|
||||
|
||||
public override bool OnShapeshift(PlayerControl shapeshifter, PlayerControl target, bool shapeshifting)
|
||||
{
|
||||
if (MarkedId == byte.MaxValue && target.IsAlive() && shapeshifter.GetAbilityUseLimit() >= 1f)
|
||||
if (shapeshifting && MarkedId == byte.MaxValue && target.IsAlive() && shapeshifter.GetAbilityUseLimit() >= 1f)
|
||||
{
|
||||
MarkedId = target.PlayerId;
|
||||
Main.AllPlayerSpeed[MarkedId] *= -1;
|
||||
|
||||
Reference in new issue
Block a user