Update server skill magic numbers (#502)

This commit is contained in:
Danial authored and GitHub committed 2021-09-23 08:34:58 -04:00
1 parent 06b509c4d0
commit d30e833dd8
91 files changed
+856 -794

No files matched your search

@@ -85,12 +85,12 @@ public class PacketSender {
if (player.questPoints > QuestAssistant.MAXIMUM_QUESTPOINTS || player.playerRights > 2) {
player.questPoints = QuestAssistant.MAXIMUM_QUESTPOINTS;// check for abusers
}
if (player.playerHitpoints < 0) {
if (GameConstants.HITPOINTS < 0) {
player.isDead = true;
}
if (player.playerLevel[player.playerHitpoints] > 99) {
player.playerLevel[player.playerHitpoints] = 99;// check for abusers
player.getPlayerAssistant().refreshSkill(3);
if (player.playerLevel[GameConstants.HITPOINTS] > 99) {
player.playerLevel[GameConstants.HITPOINTS] = 99;// check for abusers
player.getPlayerAssistant().refreshSkill(GameConstants.HITPOINTS);
}
if (player.tutorialProgress > 0 && player.tutorialProgress < 36 && GameConstants.TUTORIAL_ISLAND) {
player.getPacketSender().sendMessage("@blu@Continue the tutorial from the last step you were on.@bla@");