mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
set kcd
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user