- Joined
- May 6, 2015
- Messages
- 16
- Thread Author
- #21
Yes, I'm using the normal spellbook. For me, it opens the prayer window and then doesn't select a prayer.Prayers are working fine for me on that setup, you are using the normal spellbook correct? Also, I'm not familiar with what you're talking about in your last sentence.
Code:
package com.designdecay.barrows;
import com.runemate.game.api.script.framework.task.Task;
import com.runemate.game.api.rs3.local.hud.Powers;
public class Fight extends Task {
@Override
public boolean validate() {
return true;
}
@Override
public void execute() {
Powers.Prayer.PROTECT_FROM_MELEE.toggles();
}
}
If you have both an on hand and off hand magic weapon equipped it will ask you this what to set the spell for.
https://i.imgur.com/s98oVds.png
Can you confirm what the proper behavior is for .isSelected();?