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


Joined: 20 Mar 2007
Posts: 1

PostPosted: Wed Mar 21, 2007 12:53 am   

Illusion Help
 
I need any help I can get please. I am trying to illusion against a certain Saboteur who uses the following illusions;

An unspeakable, horrific image rises from the bowels of hell to plague you.
You reel as your mind is viciously battered by a mental assault from Renegade.
Your mind is filled with horrifying visions of Hell.

Knowing these illusions will come like this every time, I am wondering how I can proof my system against them. I use the code below, but it doesn't seem to work. Any help is appreciated.

#CLASS {test}
#VAR illusioner {} {Renegade}
#TRIGGER {^An unspeakable, horrific image rises from the bowels of hell to plague you.} {}
#COND {^You reel as your mind is viciously battered by a mental assault from &%willusioner.} {
#if (@illusioner = "Renegade") {
#UNTRIGGER {^An unspeakable, horrific image rises from the bowels of hell to plague you.}
#UNTRIGGER {^You reel as your mind is viciously battered by a mental assault from &%willusioner.}
}
}
#COND {^Your mind is filled with horrifying visions of Hell.} {
#if (@illusioner = "Renegade") {
#UNTRIGGER {^An unspeakable, horrific image rises from the bowels of hell to plague you.}
#UNTRIGGER {^You reel as your mind is viciously battered by a mental assault from &%willusioner.}
#UNTRIGGER {^Your mind is filled with horrifying visions of Hell.}
}
}
#CLASS 0
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Mar 21, 2007 1:40 am   
 
I'm not sure if that &%willusioner syntax is correct. Try changing it just to (%w) and setting it yourself in the script.

Secondly, you don't need to #untrig all the conditions for the trigger. They'll be deleted along with the trigger. I'm not sure why you'd want to DELETE these triggers unless you have a script recreating them though. Just give the trigger an ID (don't need to give all the conditions their own ones) and use #t- and #t+ to turn it on and off.

EDIT: I just realised, you weren't untriggering the trigger you have here, you were untriggering the OTHER triggers that activate your auto-healing. See below for more info on this, but what I say here still applies. If you use #untrig in this situation, you'll probably delete this illusion trigger!

Finally, you might be misunderstanding how multistate triggers work. They'll only ever execute in numerical order - 1-2-3-1-2-3 in this case. Once the first pattern has been detected, it'll wait for the second one and only the second one. Once the second one's detected it'll move to the third. Once the last one's detected it moves back to the start. You can use the #set and #state commands to control which state is active from a script.

If that's the case, you'll need to describe more fully how you're using the script and what's not working about it so we can suggest alternatives.

EDIT: I thought I'd expand on this a bit. By far the simplest way to avoid illusions is just to turn off the triggers for the classes you're not fighting. Organise your triggers by the skill that contains the ability and have aliases to turn the classes on and off when you're fighting different classes. Since saboteurs can't use the abilities he's illusioning, your auto-healing won't be triggered by it.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Mar 21, 2007 2:52 am   
 
He has to be one of the dumber illusioners out there. As far as I know it is impossible to have those 3 lines come in a row in any way other then an illusion. I would suggest as a first step checking %line2 within your existing healing triggers for valid preceding lines. There are only so many possibilities that can actually happen outside of illusions. Read the various combat logs posted on the forums and you will start seeing which are valid.

The next step is make use of valid following lines, this is done with states and usually the Within 1 option settings.

The finally step (and some people actually do this as the first step) is to make use of lines like "An unspeakable, horrific image rises from the bowels of hell to plague you." that are common preceders to illusions and then turn off all the standard healing triggers for a line or 2.

I know this doesn't actually tell you how to do it, but then you also didn't publish anything of the scripts this interacts with. Between what Fang said and the vague concepts above I am sure you can figure out how to make a viable method.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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