Refactored mining

Converted to content API
Corrected the prospecting text of gem rocks
Corrected the full-inventory text when mining gem rocks
This commit is contained in:
bushtail
2022-07-07 12:59:10 +00:00
committed by Ryan
parent 2f38f3dce0
commit 5e86ea2d04
4 changed files with 102 additions and 60 deletions
+13
View File
@@ -1513,6 +1513,19 @@ fun dumpBeastOfBurden(player: Player) {
}
}
/**
* Gets the player's familiar boost in the given skill
*
* @param player The player who owns the familiar.
* @param skill The skill to check boost of.
* @return The amount of skill boost gained from the player's familiar.
*
* @author bushtail
*/
fun getFamiliarBoost(player : Player, skill : Int) : Int {
return player.familiarManager.getBoost(skill)
}
/**
* Converts an item into its noted representation.
*