mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 08:39:11 +00:00
New remove method in Inventory
- Document transaction classes
This commit is contained in:
@@ -68,7 +68,7 @@ class FishingAction < DistancedAction
|
||||
fish = options.sample # TODO: it's a ~70/30 chance, not 50/50
|
||||
|
||||
if successful_catch(fishing_level, fish.level)
|
||||
inventory.remove(bait) unless bait.nil?
|
||||
inventory.remove(bait, 1) unless bait.nil?
|
||||
inventory.add(fish.id)
|
||||
|
||||
name = fish.name
|
||||
|
||||
Reference in New Issue
Block a user