Code:public static boolean cwarea(int absX, int absY) { return (absX >= 2368 && absX <= 2428 && absY >= 3072 && absY <= 3132); }
Change this to your castle wars:
Code:public void checkForAttackOption() { boolean removeWildyLvl; if(showAttackOption != Engine.wildernessArea(absX, absY)) { showAttackOption = Engine.wildernessArea(absX, absY); if(showAttackOption) { frames.setPlayerOption(this, "Attack", 1); frames.setOverlay(this, 381); removeWildyLvl = true; } else if(removeWildyLvl = true) { removeWildyLvl = false; frames.removeOverlay(this); frames.setPlayerOption(this, "null", 1); } } }

