Bug fixes (#603)

* Update Boundary.java

* fix xp to level up

* tomato shop

* fix longsword attack anim

* Update MeleeData.java

* fix dagger/longsword/shortsword anims

* Update MeleeData.java

* obby maul and warhammer interfaces and halberd anims

* Pickaxe anims

randomly uses the anim for either stab str or crush str. Cheaphax before system redesign

* adds razmires builder shop

* pom.xml update
This commit is contained in:
MatthewBishop
2023-02-06 13:43:27 -05:00
committed by GitHub
parent 67efff663e
commit 81e6344dd8
7 changed files with 64 additions and 18 deletions
@@ -4,6 +4,8 @@ import com.rs2.event.EventContext;
import com.rs2.event.EventSubscriber;
import com.rs2.event.SubscribesTo;
import com.rs2.event.impl.NpcThirdClickEvent;
import com.rs2.game.content.StaticNpcList;
import com.rs2.game.content.StaticObjectList;
import com.rs2.game.players.Player;
@SubscribesTo(NpcThirdClickEvent.class)
@@ -14,6 +16,11 @@ public final class NpcThirdClick implements EventSubscriber<NpcThirdClickEvent>
if (player.playerRights == 3) {
player.getPacketSender().sendMessage("[click= npc], [type = third], [id= " + event.getNpc() + "], [Type= " + event.getNpc() + "]");
}
//TODO when plugins occur, move the handling of this to the specific plugin for those map areas.
if(event.getNpc() == StaticNpcList.RAZMIRE_KEELGAN) {
player.getShopAssistant().openShop(283);
}
}
}