jmarsiglio 0 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
Nuclear Nezz 2094 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.
pharaoh 131 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
Nuclear Nezz 2094 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.
Diddy 265 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!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.