mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
[PR #611] [MERGED] Fix getLevelforXP methods #9017
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/2006-Scape/2006Scape/pull/611
Author: @advnau
Created: 2/7/2023
Status: ✅ Merged
Merged: 2/7/2023
Merged by: @Dark98
Base:
master← Head:temp📝 Commits (4)
d97c85aUse single method for level for XPea789ffredundant access09068e3New xp and level methodsb9123c4Removed test command📊 Changes
15 files changed (+112 additions, -135 deletions)
View changed files
📝
2006Scape Server/src/main/java/com/rs2/game/content/combat/CombatAssistant.java(+10 -10)📝
2006Scape Server/src/main/java/com/rs2/game/content/combat/Specials.java(+1 -1)📝
2006Scape Server/src/main/java/com/rs2/game/content/combat/magic/MagicMaxHit.java(+6 -6)📝
2006Scape Server/src/main/java/com/rs2/game/content/combat/magic/MagicSpells.java(+1 -1)📝
2006Scape Server/src/main/java/com/rs2/game/content/combat/melee/MeleeData.java(+11 -11)📝
2006Scape Server/src/main/java/com/rs2/game/content/combat/melee/MeleeMaxHit.java(+1 -1)📝
2006Scape Server/src/main/java/com/rs2/game/content/combat/npcs/NpcCombat.java(+1 -1)📝
2006Scape Server/src/main/java/com/rs2/game/content/combat/range/RangeMaxHit.java(+6 -6)📝
2006Scape Server/src/main/java/com/rs2/game/content/consumables/Beverages.java(+2 -2)📝
2006Scape Server/src/main/java/com/rs2/game/content/consumables/Food.java(+3 -3)📝
2006Scape Server/src/main/java/com/rs2/game/content/consumables/Kebabs.java(+11 -11)📝
2006Scape Server/src/main/java/com/rs2/game/content/consumables/Potions.java(+22 -22)📝
2006Scape Server/src/main/java/com/rs2/game/content/minigames/castlewars/CastleWars.java(+1 -1)📝
2006Scape Server/src/main/java/com/rs2/game/players/Player.java(+16 -34)📝
2006Scape Server/src/main/java/com/rs2/game/players/PlayerAssistant.java(+20 -25)📄 Description
Fix for bug introduced with levelup in earlier PR. Only a single method is used for getting the level for XP. The method now also works more effectively. https://github.com/2006-Scape/2006Scape/commit/09068e31d34921fefe152b0aaab80e89f97bdaf3 is a summary of the changes to the methods
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.