|***************************************|
| Check Self Buff |
| |
|***************************************|
Sub CheckBuffs
/call ChatMsg "Checking self buffs..."
/if (${Me.Buff[Form of Endurance II].ID} > 0) {
/if (${Me.Buff[Form of Endurance II].Duration} < 60) {
/call cast "Veil of the Inferno" item
/delay 1s
}
} else {
/call cast "Veil of the Inferno" item
/delay 1s
}
/if (${Me.Buff[Eternal Ward].ID} > 0) {
/if (${Me.Buff[Eternal Ward].Duration} < 60) {
/call cast "Prismatic Ring of Resistance" item
/delay 1s
}
} else {
/call cast "Prismatic Ring of Resistance" item
/delay 1s
}
/if (${Me.Buff[Pious Fury].ID} > 0) {
/if (${Me.Buff[Pious Fury].Duration} < 60) {
/call cast "Pious Fury" gem7
/delay 1s
}
} else {
/call cast "Pious Fury" gem7
/delay 1s
}
/if (${Me.Buff[Armor of Unrelenting Faith].ID} > 0) {
/if (${Me.Buff[Armor of Unrelenting Faith].Duration} < 60) {
/call cast "Armor of Unrelenting Faith" gem6
/delay 1s
}
} else {
/call cast "Armor of Unrelenting Faith" gem6
/delay 1s
}
/if (${Me.Buff[Brell's Stony Guard].ID} > 0) {
/if (${Me.Buff[Brell's Stony Guard].Duration} < 60) {
/call cast "Brell's Stony Guard" gem8
/delay 1s
}
} else {
/call cast "Brell's Stony Guard" gem8
/delay 1s
}
/if (${Me.Buff[Frostreaver's Blessing].ID} > 0) {
/if (${Me.Buff[Frostreaver's Blessing].Duration} < 60) {
/call cast "Ring of Dain Frostreaver IV" item
/delay 1s
}
} else {
/call cast "Ring of Dain Frostreaver IV" item
/delay 1s
}
/call ChatMsg "All buffs checked and are good.....ready to go!"
/return