We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdc160d commit 41a3665Copy full SHA for 41a3665
1 file changed
osrs/interfaces/interfacearea.simba
@@ -57,8 +57,8 @@ Returns True/False if any interface is found open.
57
function TRSInterfaceArea.IsOpen(interfaceType: ERSInterfaceType = ERSInterfaceType.ANY): Boolean;
58
begin
59
case interfaceType of
60
- ERSInterfaceType.CLASSIC: Result := Target.HasColor(3358536, 2, 10000, Self.Bounds);
61
- ERSInterfaceType.PAPER: Result := False;//TODO: SRL.CountColor(CTS2(8693433, 5, 0.10, 1.17), Self.Bounds) > 35000;
+ ERSInterfaceType.CLASSIC: Result := Target.HasColor([$323E47, 0.75, EColorSpace.HSV, [0.778, 1.112, 1.112]], 10000, Self.Bounds);
+ ERSInterfaceType.PAPER: Result := Target.HasColor([$88AABD, 0.4, EColorSpace.HSV, [1.366, 1.437, 0.199]], 10000, Self.Bounds);
62
ERSInterfaceType.ANY: Result := Self.IsOpen(ERSInterfaceType.CLASSIC) or Self.IsOpen(ERSInterfaceType.PAPER);
63
end;
64
0 commit comments