I'm trying to make a script that changes the attack style by reaching a specific level of one skill so that it starts up another one. Example: I'm going up Defense at level 30 when I reach level 30 I want it to change automatically because of the attack style to climb Attack
In the OSBot Logger the Message appears:
[INFO] [Bot # 1] [03/23 11:29:31 PM]: Defense is 30, attempting to switch attack styles
but does not change the style
Here my code: