separate potion and food consume delays

This commit is contained in:
thispixel
2016-02-02 11:10:44 +00:00
parent 9720574310
commit e7229e7f61
3 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ end
class Potion < Consumable
def initialize(id, name, doses)
super(name, id, Constants::DRINK_POTION_SOUND, Constants::POTION_DELAY)
super(name, id, Constants::DRINK_POTION_SOUND, Constants::POTION_DELAY, ConsumableType::POTION)
@doses = doses
end