mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 16:49:12 +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.
|
# Inserts an `AlchemySpell` into the hash of available alchemy spells.
|
||||||
def alchemy(_name, hash)
|
def alchemy(_name, hash)
|
||||||
unless hash.has_keys?(:button, :level, :runes, :animation, :graphic, :multiplier, :experience)
|
unless hash.has_keys?(:button, :level, :fires, :animation, :graphic, :multiplier, :experience)
|
||||||
fail 'Hash must have button, level, runes, animation, graphic, multiplier, experience keys.'
|
fail 'Hash must have button, level, fires, animation, graphic, multiplier, experience keys.'
|
||||||
end
|
end
|
||||||
|
|
||||||
id, multiplier = hash[:button], hash[:multiplier]
|
id, multiplier = hash[:button], hash[:multiplier]
|
||||||
|
|||||||
Reference in New Issue
Block a user