Condition Registry [1/2]

This commit is contained in:
Kam committed 2026-02-21 02:36:41 -05:00
1 parent 8648e019a9
commit 606bc093df
4 files changed
+232 -48

No files matched your search

@@ -18,6 +18,12 @@ public class ConditionHitCount extends AbilityCondition {
this.userType = UserType.NPC_ONLY;
}
@Override
protected boolean checkEntity(EntityLivingBase entity) {
// Not used — this condition overrides check() directly
return false;
}
@Override
public boolean check(EntityLivingBase caster, EntityLivingBase target) {
if (caster instanceof EntityNPCInterface) {