auto Galadriel's Gift
Posted: Sun Feb 28, 2021 8:36 pm
I want to make a macro that checks for debuffs from a list (lets call it debuffs.ini) and auto clicks the Gift.
Code: Select all
Sub Main
|---Spell name of the debuff---
/declare toondebuff1 string outer "Creeping Doom"
/declare toondebuff2 string outer "Blight of Hate"
/declare toondebuff3 string outer "Balance of Zebuxoruk"
/declare toondebuff4 string outer "Skeleton Plague"
/declare toondebuff5 string outer "Shout of the Drakeling"
/declare toondebuff6 string outer "Balance of Zebuxoruk"
/declare toondebuff7 string outer "Malos"
/echo Looking for debuffs.
/call Loop
/return
Sub Loop
/goto :loopstart
:loopstart
|----Legs Section---
/if (${Me.Buff[Vengeance of the Forsaken].ID} == NULL) {
/casting 18851|item
}
|---Toon Debuff Section--- needs Gift of Galadriel
/if (${Me.Buff[${toondebuff1}].ID} || ${Me.Buff[${toondebuff2}].ID} || ${Me.Buff[${toondebuff3}].ID} || ${Me.Buff[${toondebuff4}].ID} || ${Me.Buff[${toondebuff5}].ID} || ${Me.Buff[${toondebuff6}].ID} || ${Me.Buff[${toondebuff7}].ID}) {
/target ${Me}
/casting 17892|item
}
/doevents
/goto :loopstart
/return