mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 00:38:14 +00:00
Update all plugins to conform to Rubocop.
This commit is contained in:
@@ -7,7 +7,8 @@ BANK_BOOTH_ID = 2213
|
||||
BANK_BOOTH_SIZE = 1
|
||||
|
||||
# The npcs with a 'bank' menu action.
|
||||
BANKER_NPCS = [ 166, 494, 495, 496, 497, 498, 499, 1036, 1360, 1702, 2163, 2164, 2354, 2355, 2568, 2569, 2570 ]
|
||||
BANKER_NPCS = [166, 494, 495, 496, 497, 498, 499, 1036, 1360, 1702, 2163, 2164, 2354, 2355, 2568,
|
||||
2569, 2570]
|
||||
|
||||
# A distanced action to open a new bank.
|
||||
class BankAction < DistancedAction
|
||||
@@ -25,7 +26,7 @@ class BankAction < DistancedAction
|
||||
end
|
||||
|
||||
def equals(other)
|
||||
return (get_class == other.get_class and @position == other.position)
|
||||
get_class == other.get_class && @position == other.position
|
||||
end
|
||||
end
|
||||
|
||||
@@ -43,4 +44,4 @@ on :message, :second_npc_action do |player, message|
|
||||
player.start_action(BankAction.new(player, npc.position))
|
||||
message.terminate
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user