Page 1 of 1
spell trainer
Posted: Tue Sep 15, 2009 4:33 pm
by FearTheJourney
Well I just came back to the game after 2 years. I used to be half way decent at writing simple macros but I have forgotten just about everything I used to know. I am looking for a simple spell trainer. Something that will cast spell gem #1, check mana and cast again if mana is OK. You get the idea. Perhaps something where it will also check the curser and auto inventory anything between spells.
I had something like this a while back for summoning food and water. I am pretty sure I posted the macro on here, but can not find it anywhere. So thought I might as well ask, because doing spell training by hand is getting really old.. Thanks in advance.
Posted: Tue Sep 15, 2009 5:18 pm
by Magoo
Something simple like,
Code: Select all
Sub Main
:castspell
/if (${Me.PctMana}<10) /call Med
/cast 1
/delay 5s
/if (${Cursor.ID}) /destroy
/goto :castspell
/return
Sub Med
:Med
/if (!${Me.Sitting} && !${Me.Mount.ID}) /sit
/echo Medding.
/delay 10s
/if (${Me.PctMana} < 100) /goto :Med
/return
EDIT: Fixed the /goto :castspell line
Posted: Tue Sep 15, 2009 6:10 pm
by FearTheJourney
thank you for the quick reply. I will check this out tonight.
Posted: Wed Sep 16, 2009 12:59 am
by matadormix
If using a mount and the lowest mana spells you can find of each type, I doubt the medding routine will ever be invoked. At least this has been the case for my newest creation.
Posted: Wed Sep 16, 2009 6:55 am
by Magoo
Didn't buy a mount for the toons I used it on, but that is true.
Posted: Sun Oct 04, 2009 5:21 pm
by FearTheJourney
Looks like you need to change one line
I changed /goto :castspells into /goto :castspell
would not work without that change.
Sub Main
:castspell
/if (${Me.PctMana}<10) /call Med
/cast 1
/delay 5s
/if (${Cursor.ID}) /destroy
/goto :castspell
/return
Sub Med
:Med
/if (!${Me.Sitting} && !${Me.Mount.ID}) /sit
/echo Medding.
/delay 10s
/if (${Me.PctMana} < 100) /goto :Med
/return
Posted: Mon Oct 05, 2009 1:54 pm
by Magoo
Ooops, that is right, edited my post.