From 6375cfd883a52b2a1baca47c13a984f60bc3f61e Mon Sep 17 00:00:00 2001 From: Bishop Date: Fri, 31 Jul 2026 17:16:14 -0500 Subject: [PATCH] Hastas vs Corp --- .../content/region/wilderness/handlers/CorporealBeastNPC.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/src/main/content/region/wilderness/handlers/CorporealBeastNPC.java b/Server/src/main/content/region/wilderness/handlers/CorporealBeastNPC.java index 0b71e76e6..4a02bbe9e 100644 --- a/Server/src/main/content/region/wilderness/handlers/CorporealBeastNPC.java +++ b/Server/src/main/content/region/wilderness/handlers/CorporealBeastNPC.java @@ -68,7 +68,7 @@ public final class CorporealBeastNPC extends NPCBehavior { if (state.getStyle() == CombatStyle.MELEE || state.getStyle() == CombatStyle.RANGE) { Weapon w = state.getWeapon(); String name = w != null ? w.getName() : ""; - if (w == null || name.toLowerCase().indexOf("spear") == -1) { + if (w == null || (!name.toLowerCase().contains("spear") && !name.toLowerCase().contains("hasta"))) { if (state.getEstimatedHit() > 0) { state.setEstimatedHit(state.getEstimatedHit() / 2); }