Ok so you all stated I should do something for myself... so here I wrote this FD code. I don't know how to check to see if a skill failed or not or whether or not it is possible to do that. If so please let me know how. Also tear this code apart . The idea of it is so when you are in a battle it checks your health, when below 40 you mend, when 30 and below it tries to FD you. Not that I would need to explain anyways...so here it is:
Code: Select all
|--------------------------------------------------------------------------------
|SUB: Check Health
|--------------------------------------------------------------------------------
Sub Checkhealth
/if (${Me.PctHPs}<40) {
/doability "Mend"
}
/if (${Me.PctHPs}<30) {
/attack off
/doability "Feign Death"
/look
/echo << ${Me.PctHPs}% LOW HP - FD >>
:Mendanchor1
/doability "Mend"
/if (${Me.PctHPs}>80{
/stand
/call Gotoanchor
}
/if (${Me.PctHPs}<85){
/goto :Mendanchor1
}
}
/if (${Me.PctHPs}<20) {
/doability "Feign Death"
/look
/echo << ${Me.PctHPs}% LOW HP - FD1 FAILED - TRY 2 >>
:Mendanchor2
/doability "Mend"
/if (${Me.PctHPs}>80{
/stand
/call Gotoanchor
}
/if (${Me.PctHPs}<85){
/goto :Mendanchor2
}
}
/if (${Me.PctHPs}<10) {
/doability "Feign Death"
/look
/echo << ${Me.PctHPs}% LOW HP - FD2 FAILED - TRY 3(Better Fucking Work) >>
/echo /loc
:Mendanchor3
/doability "Mend"
/if (${Me.PctHPs}>80{
/stand
/call Gotoanchor
}
/if (${Me.PctHPs}<85){
/goto :Mendanchor3
}
}
/if (${Me.PctHPs}==0) {
/doability "Feign Death"
/look
/echo << FUCK I DIED >>
/quit
/endmacro
}
}

