Jones Posted May 29, 2014 Share Posted May 29, 2014 Could somebody please help with the formula for a prayer alerter? 'One dose of a prayer potion restores Prayer points rounded down using this simple equation, where x is equal to your Prayer level:' 7+(x/4) How would I incorporate this into a piece of code, do I replace X with a method to grab the prayer level? Cheers. Link to comment Share on other sites More sharing options...
Nitrousek Posted May 29, 2014 Share Posted May 29, 2014 int x = client.getSkills().getLevel(Skill.PRAYER); Link to comment Share on other sites More sharing options...
Eliot Posted May 29, 2014 Share Posted May 29, 2014 OSBot 2: int x = skills.getDynamic(Skill.PRAYER); Link to comment Share on other sites More sharing options...