mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Fix bug introduced in previous commit
This commit is contained in:
@@ -65,8 +65,8 @@ GRAPHIC_HEIGHT = 100
|
||||
|
||||
# Inserts an `AlchemySpell` into the hash of available alchemy spells.
|
||||
def alchemy(_name, hash)
|
||||
unless hash.has_keys?(:button, :level, :runes, :animation, :graphic, :multiplier, :experience)
|
||||
fail 'Hash must have button, level, runes, animation, graphic, multiplier, experience keys.'
|
||||
unless hash.has_keys?(:button, :level, :fires, :animation, :graphic, :multiplier, :experience)
|
||||
fail 'Hash must have button, level, fires, animation, graphic, multiplier, experience keys.'
|
||||
end
|
||||
|
||||
id, multiplier = hash[:button], hash[:multiplier]
|
||||
|
||||
Reference in New Issue
Block a user