Welcome!

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

Sign up now!

Question How to select spell for automatic casting?

Joined
Oct 3, 2018
Messages
3
Hello, my approach was to find the interface component such as
InterfaceComponent spellSelectorComponent = new InterfaceComponentQueryBuilder().actions("Choose spell").results().last();

It gives me the right component and I am able to select a spell such as Fire Strike or Fire Bolt with a secondary component
InterfaceComponent autoSpellComponent = new InterfaceComponentQueryBuilder().actions("Fire Strike").results().last();

My problem is that I do not know how to check if a spell is already ready for automatic casting using any normal staff such as a regular Fire staff.

Before the last update i was able to compare sprite IDs but now all IDs are the same regardless if a spell is selected or not. For me it just keeps selecting Fire Strike in endless loop.

Is there a better way interacting with the combat menu with staves?
 
Top