mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-12-06 11:17:17 +00:00
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:
1 parent
67efff663e
commit
81e6344dd8
7 files changed
+64
-18
No files matched your search
@@ -2039,7 +2039,7 @@ public class PlayerAssistant {
|
||||
}
|
||||
int oldLevel = getLevelForXP(player.playerXP[skill]);
|
||||
player.playerXP[skill] += amount;
|
||||
if (oldLevel < getLevelForXP(player.playerXP[skill])) {
|
||||
if (oldLevel <= getLevelForXP(player.playerXP[skill])) {
|
||||
if (player.playerLevel[skill] < player.getLevelForXP(player.playerXP[skill]) && skill != 3 && skill != 5) {
|
||||
player.playerLevel[skill] = player.getLevelForXP(player.playerXP[skill]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user