Better melee combat (#542)

* - add: NextMobAttack, EquipCooldown.

* - fix: Some combat fixes.

* - add: Telebaton.

* - add: Stun baton rework.

* - tweak: Reduce melee range.

* - add: Rework melee block system.

* - add: ExaminedEvent.
This commit is contained in:
Aviu00
2024-08-02 11:50:26 +00:00
committed by GitHub
parent 6ca036189e
commit 27268d4e28
83 changed files with 772 additions and 222 deletions

View File

@@ -265,13 +265,6 @@ public abstract class SharedStunSystem : EntitySystem
args.Modifier *= KnockDownModifier;
}*/
//WD EDIT START
public bool IsParalyzed(EntityUid uid)
{
return HasComp<StunnedComponent>(uid) || HasComp<KnockedDownComponent>(uid);
}
//WD EDIT END
#region Attempt Event Handling
private void OnMoveAttempt(EntityUid uid, StunnedComponent stunned, UpdateCanMoveEvent args)