mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 00:38:11 +00:00
@@ -92,7 +92,7 @@ class ItemSpellAction < SpellAction
|
||||
if illegal_item?
|
||||
mob.send_message('You cannot use that spell on this item!')
|
||||
stop
|
||||
next
|
||||
return false
|
||||
end
|
||||
|
||||
id = @item.id
|
||||
@@ -132,7 +132,7 @@ on :message, :magic_on_item do |player, message|
|
||||
message.terminate
|
||||
else
|
||||
enchant = ENCHANT_SPELLS[message.id]
|
||||
|
||||
|
||||
if !enchant.nil? && enchant.button == spell
|
||||
slot = message.slot
|
||||
item = player.inventory.get(slot)
|
||||
|
||||
Reference in New Issue
Block a user