mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 11:17:19 +00:00
Fix various skills (broken in cf7a742).
This commit is contained in:
1 parent
51c1cc3193
commit
17019523c2
4 files changed
+31
-32
No files matched your search
@@ -2,6 +2,7 @@ require 'java'
|
||||
|
||||
java_import 'org.apollo.game.action.Action'
|
||||
java_import 'org.apollo.game.model.Animation'
|
||||
java_import 'org.apollo.game.model.entity.Skill'
|
||||
|
||||
BURY_BONE_ANIMATION = 827
|
||||
BONES = {}
|
||||
@@ -38,7 +39,7 @@ class BuryBoneAction < Action
|
||||
mob.play_animation(Animation.new(BURY_BONE_ANIMATION))
|
||||
mob.send_message('You bury the bones.')
|
||||
mob.inventory.reset(@slot)
|
||||
mob.skill_set.add_experience(PRAYER_SKILL_ID, @bone.experience)
|
||||
mob.skill_set.add_experience(Skill::PRAYER, @bone.experience)
|
||||
end
|
||||
stop
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user