Skip to content

Commit

Permalink
fix(fishhandler): tweak colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Torwent committed Nov 5, 2024
1 parent e6e6f8a commit 733f2a3
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions optional/handlers/rsfishinghandler.simba
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ procedure TRSFishingHandler.Init();
begin
Self.WaterColor := CTS2(12030823, 35, 0.20, 0.91);
Self.FishSpotColors := [
CTS2(15123359, 7, 0.25, 1.45),
CTS2(14596504, 7, 0.15, 1.4),
CTS2(11641749, 8, 0.13, 1.59),
CTS2(13478023, 14, 0.06, 1.23),
CTS2(15325640, 5, 0.26, 4.58)
CTS2(15389123, 2, 0.86, 1.88),
CTS2(14399121, 4, 0.30, 2.30),
CTS2(14727323, 4, 0.08, 0.68),
CTS2(11439730, 5, 0.14, 0.32),
CTS2(14795946, 5, 0.12, 3.15)
];
Self.DisableDebugging := True;
end;
Expand Down Expand Up @@ -320,8 +320,7 @@ begin
tmp := tpa.Cluster(MainScreen.NormalizeDistance(22));
tmp := tmp.ExcludeSize(MainScreen.NormalizeDistance(26), __LT__);

if tmp = [] then
Exit;
if tmp = [] then Exit;

shore := Self.GetMSShoreLine();
normalizedDistance := MainScreen.NormalizeDistance(12);
Expand Down Expand Up @@ -720,8 +719,7 @@ function TRSFishingHandler.ClickSpot(): Boolean; overload;
var
atpa: T2DPointArray;
begin
if Self.FindSpot(atpa) then
Result := Self.ClickSpot(atpa);
Result := Self.FindSpot(atpa) and Self.ClickSpot(atpa);
end;

var
Expand Down

0 comments on commit 733f2a3

Please sign in to comment.