mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
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:
committed by
Daniel Ginovker
parent
6b9d1d5881
commit
fdbb05597a
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user