mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 00:38:46 +00:00
Format.
This commit is contained in:
@@ -4,7 +4,6 @@ java_import 'org.apollo.game.action.Action'
|
|||||||
java_import 'org.apollo.game.model.Animation'
|
java_import 'org.apollo.game.model.Animation'
|
||||||
java_import 'org.apollo.game.model.Skill'
|
java_import 'org.apollo.game.model.Skill'
|
||||||
|
|
||||||
PRAYER_SKILL_ID = Skill::PRAYER
|
|
||||||
BURY_BONE_ANIMATION = 827
|
BURY_BONE_ANIMATION = 827
|
||||||
BONES = {}
|
BONES = {}
|
||||||
|
|
||||||
@@ -36,7 +35,7 @@ class BuryBoneAction < Action
|
|||||||
if mob.inventory.get(@slot).id == @bone.id
|
if mob.inventory.get(@slot).id == @bone.id
|
||||||
mob.send_message('You bury the bones.')
|
mob.send_message('You bury the bones.')
|
||||||
mob.inventory.reset(@slot)
|
mob.inventory.reset(@slot)
|
||||||
mob.skill_set.add_experience(PRAYER_SKILL_ID, @bone.exp)
|
mob.skill_set.add_experience(Skill::PRAYER, @bone.exp)
|
||||||
end
|
end
|
||||||
stop
|
stop
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user