Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
gankzer
Newbie


Joined: 18 Apr 2010
Posts: 5

PostPosted: Mon Apr 19, 2010 3:18 am   

Dumb Nuke Casting
 
Not being a script writer - w/ CMUD beta can i write a script (or is it possible) to have a single button/alias that checks my available spells and casts based on a priority I set? I would have a button called :Nukes: and one called :Heals: Both would for the most part start with the highest circle spell and move to the next circle when out. My spell syntax looks like this (spell circle, number of spells, spell name):


You have memorized the following spells:
( 7th circle) 3 - greater soul disturbance
( 6th circle) 5 - greater mending
( 5th circle) 6 - molten spray
( 4th circle) 5 - scorching touch
2 - mending
( 3rd circle) 8 - scalding blast
( 2nd circle) 9 - flameburst
( 1st circle) 1 - spirit armor

And you are currently memorizing the following spells:
5 seconds: ( 1st) spirit armor

You can memorize 8 1st circle spell(s)

If anyone has a script/macro that does something similiar I'd like to see if I can adapt it to what I want to do.

Thanks!
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Mon Apr 19, 2010 6:28 am   
 
Yes, it's possible. Maybe it's just because I'm tired, but I'm not certain I see the priority here? You're saying that you have a spell list (which is what you presumably gave us) and you want it to cast those when you hit it, but the question is: Do you rotate through those? Or do they follow a set of rules based on input you get from your MUD. If it's the latter, we need to know what those rules are and how you get that information.

For example, if you only cast (5th circle) 6 - molten spray when your mana is greater than 567, and you get mana from a line in your prompt, we need to know that.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
gankzer
Newbie


Joined: 18 Apr 2010
Posts: 5

PostPosted: Mon Apr 19, 2010 2:50 pm   
 
Chamenas: Yes I rotate through the spells. There are no rules limiting which spells I can cast as long as I am at the appropriate level AND have the spell memorized (i.e. the MUD doesn't use mana). An example of what I'm looking for:

Group enters a room and commences massive combat spam. I target and just just click my "NUKE" button and it casts my highest circle nuke spell that I've defined. When I'm out of those circle spells //MUD will prompt with: "You do not have that spell memorized!" // the nuke button then automatically casts the next available nuke in the next lower circle. When it gets to the last spell it will send the command to "Rest, Memorize, Meditate" - to regain spells and refresh my list.

Once I get this set up - and understand the 'logic' I can then look at target discriminators such as not casting fire based spells on fire type mobs.

thanks for any feedback and suggestions on where to start.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Mon Apr 19, 2010 5:41 pm   Re: Dumb Nuke Casting
 
gankzer wrote:

You have memorized the following spells:
( 7th circle) 3 - greater soul disturbance
( 6th circle) 5 - greater mending
( 5th circle) 6 - molten spray
( 4th circle) 5 - scorching touch
2 - mending
( 3rd circle) 8 - scalding blast
( 2nd circle) 9 - flameburst
( 1st circle) 1 - spirit armor


So,
Nuke: Greater Soul > Molten > Scorching Touch > Scalding Blast > Flameburst
Heal: Greater Mending > Mending > Spirit Armor?

And you want to spam the top spell until you get the message that you need to memorize it again? Then move to the second, then third, and when you get the message for the last one you want to send the commands "rest, then memorize, and them meditate"? All on a separate line or is that one command?
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
gankzer
Newbie


Joined: 18 Apr 2010
Posts: 5

PostPosted: Tue Apr 20, 2010 2:11 am   
 
They would be separate lines.
>rest (puts character in sitting position)
> memorize (starts rememorizing the spells)
>meditate (% chance to rememorize quicker)

Character has to be resting in order to memorize and has to be memorizing in order for chance at meditate success.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sat Apr 24, 2010 5:08 am   
 
I may try to give this script a shot this weekend if no one else does it. I have schoolwork priorities.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sat Apr 24, 2010 8:18 pm   
 
What is the echo for successfully memorizing a spell?
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net