- Joined
- Feb 6, 2007
- RedCents
- 1,463¢
I would like the macro to check the skill skill level against the max skill level and do the ability if current is less then max skill level.
Once it has done an ability it should exit the sub and return to the main loop.
Is this coding proper for that to happen:
Once it has done an ability it should exit the sub and return to the main loop.
Is this coding proper for that to happen:
Rich (BB code):
Sub MonkAbilities
/if (${Me.AbilityReady[Flying Kick]}) {
if (${Me.Skill[Flying Kick]}<${Me.Skill[Flying Kick].SkillCap}) {
/doability "Flying Kick"
/return
}
}
/if (${Me.AbilityReady[Dragon Punch]}) {
if (${Me.Skill[Dragon Punch]}<${Me.Skill[Dragon Punch].SkillCap}) {
/doability "Dragon Punch"
/return
}
}
/if (${Me.AbilityReady[Eagle Strike]}) {
if (${Me.Skill[Eagle Strike]}<${Me.Skill[Eagle Strike].SkillCap}) {
/doability "Eagle Strike"
/return
}
}
/if (${Me.AbilityReady[Tiger Claw]}) {
if (${Me.Skill[Tiger Claw]}<${Me.Skill[Tiger Claw].SkillCap}) {
/doability "Tiger Claw"
/return
}
}
/if (${Me.AbilityReady[Round Kick]}) {
if (${Me.Skill[Round Kick]}<${Me.Skill[Round Kick].SkillCap}) {
/doability "Round Kick"
/return
}
}
/if (${Me.AbilityReady[Flying Kick]}) /doability "Flying Kick"
/delay 1
/if (${Me.AbilityReady[Dragon Punch]}) /doability "Dragon Punch"
/delay 1
/if (${Me.AbilityReady[eagle Strike]}) /doability "Eagle Strike"
/delay 1
/if (${Me.AbilityReady[Tiger Strike]}) /doability "Tiger Strike"
/delay 1
/if (${Me.AbilityReady[Round Kick]}) /doability "Round Kick"
/return