- Joined
- Oct 3, 2018
- Messages
- 3
- Thread Author
- #1
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?
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?