Random Event Genie Lamp XP
This commit is contained in:
@@ -61,3 +61,4 @@
|
||||
- Animations for passing through Isafdar Dense Forest added
|
||||
- Implement Wire Traps, Leaf Traps, and Stick Traps in Isafdar
|
||||
- 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.");
|
||||
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"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user