Code: Select all
|Fixes stacking bug in EQ, currently Aura of Devotion and Blessing of Devotion stacks, and taking up 2 buff slots.
|This code automatically clicks off the one with least duration if you have both
/if (${Me.Buff["Aura of Devotion"].Duration} && ${Me.Buff["Blessing of Devotion"].Duration}) {
/if (${Me.Buff["Aura of Devotion"].Duration} < ${Me.Buff["Blessing of Devotion"].Duration}) {
/echo # Clicking off Aura of Devotion!
/notify BuffWindow Buff${Math.Calc[${Me.Buff["Aura of Devotion"].ID}-1].Int} leftmouseup
} else {
/echo # Clicking off Blessing of Devotion!
/notify BuffWindow Buff${Math.Calc[${Me.Buff["Blessing of Devotion"].ID}-1].Int} leftmouseup
}
}
