diff --git a/data/plugins/skill-prayer/bury.rb b/data/plugins/skill-prayer/bury.rb index 6f85d466..7109c6b1 100644 --- a/data/plugins/skill-prayer/bury.rb +++ b/data/plugins/skill-prayer/bury.rb @@ -23,7 +23,7 @@ end class BuryBoneAction < Action def initialize(mob, slot, bone) - super(2, false, mob) + super(1, false, mob) @slot = slot @bone = bone @@ -56,9 +56,8 @@ end # Appends a bone to the array def append_bone(hash) raise 'Hash must contain an id and an experience value.' unless hash.has_key?(:id) && hash.has_key?(:experience) - id = hash[:id], experience = hash[:experience] - - BONES[id] = Bone.new(id, experience) + id = hash[:id] + BONES[id] = Bone.new(id, hash[:experience]) end append_bone :name => :regular_bones, :id => 526, :experience => 5