This commit is contained in:
Gurge44 committed 2026-02-22 12:04:31 +01:00
1 parent 00c248459d
commit 1735139a01
1 file changed
+5
@@ -47,6 +47,11 @@ public class Perplexer : RoleBase
AURoleOptions.ShapeshifterDuration = 0.1f;
}
public override void SetKillCooldown(byte id)
{
Main.AllPlayerKillCooldown[id] = KillCooldown.GetFloat();
}
public override bool OnShapeshift(PlayerControl shapeshifter, PlayerControl target, bool shapeshifting)
{
if (MarkedId == byte.MaxValue && target.IsAlive() && shapeshifter.GetAbilityUseLimit() >= 1f)