mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-12-06 11:17:17 +00:00
Update server skill magic numbers (#502)
This commit is contained in:
1 parent
06b509c4d0
commit
d30e833dd8
91 files changed
+856
-794
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package com.rs2.game.npcs;
|
||||
|
||||
import com.rs2.GameConstants;
|
||||
import com.rs2.game.content.quests.QuestAssistant;
|
||||
import com.rs2.game.content.skills.core.Fishing;
|
||||
import com.rs2.game.content.skills.crafting.Tanning;
|
||||
@@ -234,10 +235,10 @@ public class NpcActions {
|
||||
break;
|
||||
|
||||
case 2270:
|
||||
if (player.playerLevel[player.playerThieving] > 98) {
|
||||
if (player.playerLevel[GameConstants.THIEVING] > 98) {
|
||||
player.getShopAssistant().openShop(118);
|
||||
} else if (player.playerLevel[player.playerThieving] > 49
|
||||
&& player.playerLevel[player.playerAgility] > 49) {
|
||||
} else if (player.playerLevel[GameConstants.THIEVING] > 49
|
||||
&& player.playerLevel[GameConstants.AGILITY] > 49) {
|
||||
player.getShopAssistant().openShop(118);
|
||||
} else {
|
||||
player.getPacketSender().sendMessage(
|
||||
@@ -588,7 +589,7 @@ public class NpcActions {
|
||||
break;
|
||||
|
||||
case 780:
|
||||
if (player.playerLevel[10] < 4) {
|
||||
if (player.playerLevel[GameConstants.FISHING] < 4) {
|
||||
player.getDialogueHandler().sendStatement(
|
||||
"You don't have the requirements to do this quest.");
|
||||
return;
|
||||
@@ -1130,10 +1131,10 @@ public class NpcActions {
|
||||
break;
|
||||
|
||||
case 2270:
|
||||
if (player.playerLevel[player.playerThieving] > 98) {
|
||||
if (player.playerLevel[GameConstants.THIEVING] > 98) {
|
||||
player.getShopAssistant().openShop(118);
|
||||
} else if (player.playerLevel[player.playerThieving] > 49
|
||||
&& player.playerLevel[player.playerAgility] > 49) {
|
||||
} else if (player.playerLevel[GameConstants.THIEVING] > 49
|
||||
&& player.playerLevel[GameConstants.AGILITY] > 49) {
|
||||
player.getShopAssistant().openShop(118);
|
||||
} else {
|
||||
player.getPacketSender().sendMessage(
|
||||
@@ -1257,7 +1258,7 @@ public class NpcActions {
|
||||
break;
|
||||
|
||||
case 2258:
|
||||
if (player.playerLevel[20] < 35) {
|
||||
if (player.playerLevel[GameConstants.RUNECRAFTING] < 35) {
|
||||
player.getPacketSender().sendMessage("You need a Runecrafting level of 35 to enter the Abyss.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user