(client) chore:Clean code

This commit is contained in:
2025-08-28 16:20:24 +08:00
parent 909e995e15
commit c3bff1cf88
76 changed files with 5689 additions and 445 deletions

View File

@ -0,0 +1,15 @@
namespace Parsing
{
public static class ConditionFunctions
{
public static bool EntityHealth(Entity.Entity entity, int minHealth)
{
return entity.attributes.health >= minHealth;
}
public static bool HasEnemyInSight(Entity.Entity entity)
{
return Managers.EntityManage.Instance.ExistsHostile(entity.currentDimensionId, entity.entityPrefab);
}
}
}