A few fun fixes (#348)

- Ranging guild now works
- Fletching should no longer randomly stop if more than on person is doing it
- Added dragon longsword special attack

Closes #346
Closes #216
Closes #245
This commit is contained in:
Mr Extremez
2020-01-03 08:12:09 -06:00
committed by Daniel Ginovker
parent 6b9d1d5881
commit fdbb05597a
8 changed files with 153 additions and 122 deletions
@@ -58,14 +58,16 @@ public class ClickObject implements PacketType {
int yMin = objectY - 1;
int yMax = yMin + size[1] + 1;
if (x >= xMin && y >= yMin && x <= xMax && y <= yMax) {
if ((x >= xMin && y >= yMin && x <= xMax && y <= yMax) || (player.getRangersGuild().isInTargetArea() && player.objectId == 2513)) {
consumer.accept(player);
container.stop();
}
}
@Override
public void stop() {}
public void stop() {
}
};
player.startCurrentTask(1, objectWalkToEvent);