Before you flame, I have looked at all the tutorials I could find and none of them are activating the controller or w/e. I know how to set the coordinates of the pvp area but just need to know how to make players attackable in there. Thanks for the help!
Code:
public static final boolean isPvpArea(WorldTile tile) {
int destX = tile.getX();
int destY = tile.getY();
if ((destX >= 2756 && destX <= 2875 && destY >= 5512 && destY <= 5627)) { //redportal
return true;
}
return Wilderness.isAtWild(tile);
}