Added drop tables for wandering earth elemental and earth elemental

Fixed evergreen trees rewarding multiple logs per spawn
Adjusted suqah stats
Removed Ancient staff from mummy drop table (we need desert treasure quest first, and it's not a normal drop)
This commit is contained in:
MatthewGould123
2022-08-31 07:24:50 +00:00
committed by Ryan
parent c8f6f9cb59
commit 7d662d8ab0
3 changed files with 148 additions and 395 deletions
@@ -143,13 +143,6 @@ public class WoodcuttingSkillPulse extends Pulse {
return false;
}
// If player is in donator zone
/* if (player.getLocation().getRegionId() == 12102) {
player.getAntiMacroHandler().fireEvent("tree spirit");
return true;
}
*/
// 20% chance to auto burn logs when using "inferno adze" item
if (SkillingTool.getHatchet(player).getId() == 13661 && RandomFunction.random(100) < 25) {
player.sendMessage("You chop some logs. The heat of the inferno adze incinerates them.");
@@ -202,7 +195,7 @@ public class WoodcuttingSkillPulse extends Pulse {
//OSRS: https://oldschool.runescape.wiki/w/Woodcutting scroll down to the mechanics section
//RS3 : https://runescape.wiki/w/Woodcutting scroll down to the mechanics section, and expand the tree felling chances table
if (resource.getRespawnRate() > 0) {
if (RandomFunction.roll(8) || resource.identifier == 1 || resource.identifier == 2 || resource.identifier == 6) {
if (RandomFunction.roll(8) || resource.identifier == 1 || resource.identifier == 2 || resource.identifier == 3 || resource.identifier == 6) {
if (resource.isFarming()) {
FarmingPatch fPatch = FarmingPatch.forObject(node.asScenery());
if(fPatch != null) {