From ae9a3098e9fb77cfdc131e0c355292902e296440 Mon Sep 17 00:00:00 2001 From: Jesse Woolsey Date: Sat, 13 Feb 2016 14:33:05 -0500 Subject: [PATCH] * Fix Prayer Burying Animation --- data/plugins/skill/prayer/bury.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/data/plugins/skill/prayer/bury.rb b/data/plugins/skill/prayer/bury.rb index 3b430897..2d3b6bc7 100644 --- a/data/plugins/skill/prayer/bury.rb +++ b/data/plugins/skill/prayer/bury.rb @@ -32,22 +32,20 @@ class BuryBoneAction < Action def execute if @executions == 0 mob.send_message('You dig a hole in the ground...') + mob.play_animation(BURY_BONE_ANIMATION) @executions += 1 elsif @executions == 1 if mob.inventory.get(@slot).id == @bone.id - mob.play_animation(BURY_BONE_ANIMATION) mob.send_message('You bury the bones.') - mob.inventory.reset(@slot) mob.skill_set.add_experience(Skill::PRAYER, @bone.experience) end - stop end end def equals(other) - get_class == other.get_class && @bone == other.bone + get_class == other.get_class end end