Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Powers.Magic#activate() bug

Joined
Nov 26, 2014
Messages
616
The method works fine when using:
  • Modern Interface with EOC Combat
  • Modern Interface with Legacy Combat
  • Legacy Interface with EOC Combat
However when using it with Legacy Interface with Legacy Combat, the bot will just open the Magic tab and not click the spell.
Code:
if (!Powers.Magic.HIGH_LEVEL_ALCHEMY.isSelected()) {
    Painter.status = "Spell not selected";
    Powers.Magic.HIGH_LEVEL_ALCHEMY.activate();
} else {
    Painter.status = "Spell is selected";
}
 
Top