Skip to content
Browse files

Won't search for "ran out of bait" message if not using bait/feathers

  • Loading branch information...
1 parent c188d74 commit 06bd0f64706cdee4ea856b0b50afb8677cb67263 @cohenadair cohenadair committed Apr 12, 2012
Showing with 7 additions and 6 deletions.
  1. +7 −6 MSI/Skills/Fishing.simba
View
13 MSI/Skills/Fishing.simba
@@ -274,12 +274,13 @@ begin
break;
// check for the "you're out of bait" text in the chat box
- if (findNPCChatText('left', nothing)) then
- begin
- MSI_Debug('We have run out of fishing bait!');
- result := false;
- break;
- end;
+ if ((fishSpot.constant = FISHSPOT_BAIT) or (fishSpot.constant = FISHSPOT_LURE)) then
+ if (findNPCChatText('left', nothing)) then
+ begin
+ MSI_Debug('We have run out of fishing bait!');
+ result := false;
+ break;
+ end;
// check for the "you need tool to fish" message
if (findNPCChatText('need', nothing)) then

0 comments on commit 06bd0f6

Please sign in to comment.
Something went wrong with that request. Please try again.