I want to add in my script the option that when you reach a specific level in "Attack, force or defense" change the attack form to start uploading another melee skill
Ex: reach level 30 of attack and I want to change to the mode of "Block" so that it raises defense and later that it changes to "Stab" to raise force when it reaches certain levels.
Can you help me with that?
if (getSkills().getStatic(Skill.DEFENCE) < 30) {
}
else if (getSkills().getStatic(Skill.DEFENCE) >=30) {
log ("Defence level es 30.");
this.stop (false);
}
I have this code but the only thing it can do is when it reaches level 30 of Defense it stops and I want it to change from Defense to Attack or Force ... to keep reaching melee levels.
Please help guys!