Random Event Genie Lamp XP
This commit is contained in:
@@ -60,4 +60,5 @@
|
|||||||
< ---- ABOVE Released NOVEMBER 22, 2021 https://gitlab.com/2009scape/2009scape/-/tags/Nov-22-2021 ---- >
|
< ---- ABOVE Released NOVEMBER 22, 2021 https://gitlab.com/2009scape/2009scape/-/tags/Nov-22-2021 ---- >
|
||||||
- Animations for passing through Isafdar Dense Forest added
|
- Animations for passing through Isafdar Dense Forest added
|
||||||
- Implement Wire Traps, Leaf Traps, and Stick Traps in Isafdar
|
- Implement Wire Traps, Leaf Traps, and Stick Traps in Isafdar
|
||||||
- Quest point cape/hood no longer unequip on login if wearing QP hood
|
- Quest point cape/hood no longer unequip on login if wearing QP hood
|
||||||
|
- Random Event Genie lamps now scale exp correctly
|
||||||
|
|||||||
@@ -46,7 +46,11 @@ public final class LampPlugin extends OptionHandler {
|
|||||||
player.sendMessage("Your need at least" + lamp.getLevelRequirement() + " " + Skills.SKILL_NAME[skill] + " to do this.");
|
player.sendMessage("Your need at least" + lamp.getLevelRequirement() + " " + Skills.SKILL_NAME[skill] + " to do this.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
player.getSkills().addExperience(skill,lamp.getExp());
|
if(lamp == Lamps.GENIE_LAMP){
|
||||||
|
player.getSkills().addExperience(skill,player.getSkills().getLevel(skill)*10);
|
||||||
|
} else {
|
||||||
|
player.getSkills().addExperience(skill,lamp.getExp());
|
||||||
|
}
|
||||||
player.getInventory().remove((Item) player.getAttribute("lamp"));
|
player.getInventory().remove((Item) player.getAttribute("lamp"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user