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
GrayKitten
Newbie


Joined: 28 Feb 2010
Posts: 1

PostPosted: Sun Feb 28, 2010 8:57 am   

Scripting Question regarding a Defensive Trigger against PK
 
Hello Zmud,

I play a Dragonball Z mud named Dragonball Evolution.

1.) If another player attacks me, I'm wondering how to make that player's name a variable, so that I can defend with a special move of my own (aside from auto attacks, basically magic spells. Like Kamehameha, Final Flash, or Superdragonfist).
2.) If anyone attacks me, really, mob or player: I'm wondering how I can set a script just to look for me being attacked first (regardless of the beginning attack, be it a slash or a spirit kamehameha) and counters with superdragonfist even if the beginning attacks vary.
3.) I'm wondering how to set it so if my health gets below a certain point in a fight, I use certain spells.

Thank you!
Reply with quote
myddrun
Wanderer


Joined: 31 Mar 2005
Posts: 58

PostPosted: Mon Mar 01, 2010 12:09 pm   
 
Hi,

If you code post some samples from your mud, I'm sure we'll be able to come up with something. Ideally it would need to include what the mud shows for your hit point counter/monitor and some combat rounds.

I'm by no means an expert but I can try to help.
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