jmarsiglio 0 Share Posted June 30, 2016 Hi, Just started making a bot. I want to kill the bot when I am not able to cast the spell anymore, any suggestions on how to do this? I was thinking just tracking inventory changes when runes in the inventory get below the cost of the current spell but how do I get the cost of the current spell? Thanks Link to comment Share on other sites More sharing options...
Nuclear Nezz 2052 Share Posted June 30, 2016 You'll have to make an enum or something in order to figure out spell costs. I may add in some stuff soon for spell cost related calls though. Link to comment Share on other sites More sharing options...
pharaoh 130 Share Posted June 30, 2016 You'll have to make an enum or something in order to figure out spell costs. I may add in some stuff soon for spell cost related calls though. pls do thank u Link to comment Share on other sites More sharing options...
Nuclear Nezz 2052 Share Posted July 2, 2016 In the next release of the client spells will have 1. required level, gained experience, max hit(if applicable, otherwise 0), prayer experience gained (for the raise dead spells), and rune cost (including unpowered orbs for powered orb spells) I also added a canCast(Spell s) to magic, but it does *not* account for any staffs equipped. Link to comment Share on other sites More sharing options...
Diddy 265 Share Posted July 2, 2016 In the next release of the client spells will have 1. required level, gained experience, max hit(if applicable, otherwise 0), prayer experience gained (for the raise dead spells), and rune cost (including unpowered orbs for powered orb spells) I also added a canCast(Spell s) to magic, but it does *not* account for any staffs equipped. SENPAI!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.