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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Varazet
Newbie


Joined: 05 Aug 2004
Posts: 5

PostPosted: Tue Feb 28, 2006 6:47 pm   

Buff and Debuff String List
 
Alright, I was considering having a window that will list detailed information about my current buffs and debuffs. Below is an example of the command word 'affect' in the game will display. I was hoping to gag it out, or move it to a different window for processing.

EX:
Code:

You are affected by the following spells:
 Spell: globe of force  modifies armor class by -320 for 16 hours
 Spell: phase           adds phasing defense permanently
 Spell: fly             modifies none by 0 for 16 hours


I was thinking maybe a variable string list would work. Although I am not sure exactly how to code it to have the information pulled off and each line being added to the list.

Spell: {@aff1} {adds|modifies} {@aff2} by {@aff3} for {@aff4}
<-- Not really code, just example.

Then I could have detailed information (Aff 1-4) listed in a seperate window and a short list of just aff1 in my side status window.

I don't really enjoy the thought of having to have 'affect 'periodically triggered and gagged to pull the information, but I can't really think of another way unless I just used the spell cast line...

EX:

You are surrounded by a globe of force!
and
Your globe of force disipates.

Unfortunately I can see that being really messy if I ever had to turn off triggers, and also I don't get an idea of how much longer they'll last.

I am doing this rather than just typing "affect" to see them is it is diffcult to maintain what buffs and debuffs you have when you are in some hideous combat spam and the affect list just whips right by...
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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