View Full Version : Find if prayer is lower then a procents?
weeps
12-25-2011, 08:17 AM
I know there is a HPPercent is lower then, but is there one for prayer (icon)?
YoHoJo
12-25-2011, 08:24 AM
Lol, good question, I can't seem to find one very odd.
Would be easy to mod the HP one for payer, someone should do this and add it to SRL
Brandon
12-25-2011, 08:25 AM
From The Up n Coming Armoured Zombie Killer:
Function CheckPrayer: Boolean;
var
PrayerLevel: Integer;
ColourString: String;
begin
PrayerLevel:= GetMMLevels('Prayer', ColourString);
if (PrayerLevel < WTP) then
begin
MakeCompass('E');
wait(1500);
if (FindAltar = False) then
begin
if FindLadder then //Climb Ladder..
begin
FindAltar;
end else
WalkToLadder;
FindAltar;
ClimbDown;
end;
end;
end;
YoHoJo
12-25-2011, 08:27 AM
Thanks ggzz.
Check out gametab.scar and you will see
{Function GetMMLevels(LevelType : String;var ColorSign : String): integer;
By: Raymond / Wizzup / Sabzi / NCDS
Last Edit: 29 June 2010
Description: Returns the level shown next to the minimap.
Colorsign returns the color of the text (Green,Yellow,Orange,Red).
Returns -1 if failed. }
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.