mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 16:49:04 +00:00
separate potion and food consume delays
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user