diff --git a/data/plugins/skill-herblore/ingredient.rb b/data/plugins/skill-herblore/ingredient.rb index 2f2759a1..9b7ada72 100644 --- a/data/plugins/skill-herblore/ingredient.rb +++ b/data/plugins/skill-herblore/ingredient.rb @@ -53,7 +53,7 @@ class Ingredient end # An ingredient which needs to be grinded before being usable for Herblore. -class GrindedIngredient < Ingredient +class GroundIngredient < Ingredient include HerbloreMethod attr_reader :raw @@ -227,7 +227,7 @@ end # Appends a grinded ingredient to the ItemOnItemEvent handler interception. def append_grinded(id, raw) - grinded = GrindedIngredient.new(id, raw) + grinded = GroundIngredient.new(id, raw) append_herblore_item(grinded, PESTLE_MORTAR, raw) return grinded end diff --git a/data/plugins/skill-herblore/plugin.xml b/data/plugins/skill-herblore/plugin.xml index a4481e6b..fa70d938 100644 --- a/data/plugins/skill-herblore/plugin.xml +++ b/data/plugins/skill-herblore/plugin.xml @@ -1,7 +1,7 @@ skill-herblore - 1 + 0.9 Herblore Adds the Herblore skill. diff --git a/data/plugins/skill-herblore/potion.rb b/data/plugins/skill-herblore/potion.rb index a8d82a75..c0b6cc22 100644 --- a/data/plugins/skill-herblore/potion.rb +++ b/data/plugins/skill-herblore/potion.rb @@ -272,7 +272,7 @@ class FinishedMixingAction < MixingAction name = @potion.item.definition.name.sub('(3)', '') player.send_message("You add the #{ingredient} to the mixture to make an #{name}.", true) - player.skill_set.add_experience(@potion.experience) + player.skill_set.add_experience(HERBLORE_ID, @potion.experience) inventory = player.inventory