public class SimplePrayers
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SimplePrayers.Prayers |
Constructor and Description |
---|
SimplePrayers(ClientContext ctx) |
Modifier and Type | Method and Description |
---|---|
int |
maxPoints()
will return your max prayer points based on your level
|
int |
points()
returns your current prayer points
|
boolean |
prayer(SimplePrayers.Prayers prayer)
will toggle specified {prayer} ON
|
boolean |
prayer(SimplePrayers.Prayers prayer,
boolean toggle)
will toggle specified {prayed} to {toggle}(on or off), returns {true} if state is = to {toggle} otherwise {false} (sleeps 150ms * 20 times)
|
boolean |
prayer(SimplePrayers.Prayers prayer,
boolean toggle,
boolean waitTillToggled)
will toggle specified {prayed} to {toggle}(on or off), returns {true} if state is = to {toggle} otherwise {false} (sleeps 150ms * 20 times)
|
boolean |
prayerActive(SimplePrayers.Prayers prayer)
returns if you current have {prayer} active, {true} = prayer is active, {false} = prayer not active
|
int |
prayerPercent()
will return your current prayer based on a percentage out of {100}
|
boolean |
quickPrayers()
returns {true} if quick prayer is currently toggled, {false} if quick prayer is not currently toggled
|
boolean |
quickPrayers(boolean toggle)
will toggle quick prayer to value of {toggle}, either ON or OFF dependent on {toggle}, will return if {current quick prayer state} = {toggle}
|
public SimplePrayers(ClientContext ctx)
public boolean prayer(SimplePrayers.Prayers prayer)
prayer
- public boolean prayer(SimplePrayers.Prayers prayer, boolean toggle)
prayer
- toggle
- public boolean prayer(SimplePrayers.Prayers prayer, boolean toggle, boolean waitTillToggled)
prayer
- toggle
- waitTillToggled
- - if {false} the script will not sleep to confirm the prayer has actually been enabled, {true} will sleeppublic boolean prayerActive(SimplePrayers.Prayers prayer)
prayer
- public int points()
public int maxPoints()
public int prayerPercent()
public boolean quickPrayers()
public boolean quickPrayers(boolean toggle)
toggle
-