For combining things like Vials of Vicious Mana, or even Mass Imbuing a stack of Emeralds. Just mem the spell in any slot and follow the instructions.
Instructions
Will run until you run out of resources.
[CODE lang="ini" title="SpellCombine.mac"]
#warning
#event OuttaStuff "#*#You are missing some required components#*#"
#define /banner "/echo \ag[\amSpell Combine\ag]\ay"
Sub Main
/declare scSpell string local
/if (${Macro.Params} != 1) {
/banner Syntax: /macro spellcombine.mac "Spell Name"
/banner Example: /macro spellcombine.mac "Mass Thicken Mana"
/endmacro
}
/if (${Defined[Param0]}) {
/varset scSpell ${Param0}
}
:Loop
/doevents
/if (${Cursor.ID}) {
/autoinventory
}
/if (${Me.PctMana} > 15) {
/if (${Me.SpellReady[${scSpell}]}) {
/cast "${scSpell}"
}
} else {
/if (!${Me.Sitting}) {
/banner Need mana. Resting.
/sit on
}
}
/goto :Loop
/return
Sub Event_OuttaStuff
/banner Out of one or more combine items.
/endmacro
/return
[/CODE]
Instructions
Syntax: /macro SpellCombine.mac "Spell Name"
Example: /macro SpellCombine.mac "Mass Thicken Mana"
Spells with spaces (multiple words) or other weird characters must be surrounded in quotes.Will run until you run out of resources.
[CODE lang="ini" title="SpellCombine.mac"]
#warning
#event OuttaStuff "#*#You are missing some required components#*#"
#define /banner "/echo \ag[\amSpell Combine\ag]\ay"
Sub Main
/declare scSpell string local
/if (${Macro.Params} != 1) {
/banner Syntax: /macro spellcombine.mac "Spell Name"
/banner Example: /macro spellcombine.mac "Mass Thicken Mana"
/endmacro
}
/if (${Defined[Param0]}) {
/varset scSpell ${Param0}
}
:Loop
/doevents
/if (${Cursor.ID}) {
/autoinventory
}
/if (${Me.PctMana} > 15) {
/if (${Me.SpellReady[${scSpell}]}) {
/cast "${scSpell}"
}
} else {
/if (!${Me.Sitting}) {
/banner Need mana. Resting.
/sit on
}
}
/goto :Loop
/return
Sub Event_OuttaStuff
/banner Out of one or more combine items.
/endmacro
/return
[/CODE]
Attachments
Last edited:

