PvE flagged system

This commit is contained in:
2025-03-20 19:55:44 -05:00
parent ef9c431d5e
commit 3bca48abe4
4 changed files with 73 additions and 28 deletions
@@ -101,6 +101,10 @@ public enum CombatManager {
public static void AttackTarget(PlayerCharacter playerCharacter, AbstractWorldObject target) {
if(playerCharacter != null && playerCharacter.isBoxed)
if(target.getObjectType().equals(GameObjectType.PlayerCharacter))
return;
boolean swingOffhand = false;
//check my weapon can I do an offhand attack