- Joined
- Sep 25, 2021
- RedCents
- 35¢
I know there must be a simple plugin/Lua/macro to summon continuously items with an enchanter for trade skills. For the life of me I'm not finding it.... a little help
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
|
| File name : Enchant.mac
| Command : /mac Enchant
| Load Enchanting spell on Gem 13 (Line 20)
| Check casting time of your spell and add 2 or 3 seconds.
| Line 21 => "/delay 18s"
|
#event OutOfStuff "You are missing some required components."
#include spell_routines.inc
Sub Main
:Loop
/doevents
:ClearCursor
/if (${Cursor.ID}) {
/autoinventory
/goto :ClearCursor
}
/cast 13
/delay 9,6s
/goto :Loop
Sub Event_OutOfStuff
/endmacro
/return
| Command : /mac Enchant2
| Load Enchanting spell on Gem 1
#event outofitems "You are missing#*#"
Sub Main
/declare SpellDelay int outer
/varset SpellDelay ${Math.Calc[${Int[${Math.Calc[${Me.Gem[1].MyCastTime} / 1000]}]} + 2]}
:mainloop
/doevents
/if (${Me.CurrentMana} < ${Me.Gem[1].Mana}) /call med
/cast 1
/delay ${SpellDelay}s
/if (${Cursor.ID}) /autoinv
/delay 1s
/goto :mainloop
/return
Sub Event_outofitems
/bc Ending Macro .... ${Me.Name}
/endm
/return
Sub med
/if (!${Me.Sitting}) /sit on
:medloop
/if (${Me.PctMana} < 100) /goto :medloop
/return
${Math.Calc[${Int[${Math.Calc[${Me.Gem[1].MyCastTime} / 1000]}]} + 3]}
${Me.Gem[1].Mana}