Apaec Posted May 15, 2014 Share Posted May 15, 2014 isPrayerOn() doesn't seem to work for Piety & Chivalry? Works fine for all prayers apart from these two. Anyone else experiencing this? It goes to the prayer tab as if isPrayerOn is returning false, then when it goes to activate piety it stops itself when it realises that it is already on... I'm confused... I do not believe this is anything to do with my code... Also I understand that the setPrayer() automatically checks isPrayerOn but i tried deleting the !isprayeron in the if loop and it still did the same. Any input/help is appreciated. Like i said, works fine with all other prayers other than these. Link to comment Share on other sites More sharing options...
thepecher Posted May 15, 2014 Share Posted May 15, 2014 If it really doesn't work you can always use interfaces for those two prayers. Link to comment Share on other sites More sharing options...
Apaec Posted May 15, 2014 Author Share Posted May 15, 2014 If it really doesn't work you can always use interfaces for those two prayers. yeah I could. I'm just curious if/why it isn't working thats all. Link to comment Share on other sites More sharing options...
Swizzbeat Posted May 15, 2014 Share Posted May 15, 2014 Use a bitmask to check if the bit which represents Piety is turned on. You should be able to get it easy checking for config changes (pretty sure the config is 83). 2 Link to comment Share on other sites More sharing options...