|
Deveklem Newbie
Joined: 06 Sep 2006 Posts: 3
|
Posted: Tue Oct 10, 2006 6:16 pm
Need help to get "shielding" up in my health/mana/ |
Hello everyone!
I was hoping for some little advice here about an idea I had for ZMUD (I play Achaea but the stuff I'm looking for should probably be universal).
In Achaea, a person can "shield" or smoke "rebounding" (which stops my attacks) and I want that to put words in my health/mana/endurance/willpower prompt
(Example:
4612h, 3040m, 21960e, 12423w cexkdb- )
And when someone does this...
A nearly invisible magical shield forms around Metzger.
I would like for it to add "SHIELD" (or even Sh) to my Achaean prompt
(4612h, 3040m, 21960e, 12423w cexkdb SHIELD).
Keep in mind that the cexkdb should be ignored and change according to situation.
Anyone have any ideas or hints?
Thank you soooo much in advance!!!
Deveklem |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Tue Oct 10, 2006 7:52 pm |
#TRIGGER {^A nearly invisible magical shield forms around {@Target}.$} {#T+ TargetShielded} "" {notrig|case}
#TRIGGER {^Various {@Target} shield dropping things.$} {#T- TargetShielded} "" {notrig|case}
#TRIGGER "TargetShielded" {%dh, %dm, %de,%dw ([cexdb@])-} {#PSUB {%1%ansi(high,red)SHIELDED%ansi(white)} %x1} "" {prompt|notrig|case} |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
rajasetan Beginner
Joined: 14 Sep 2006 Posts: 11 Location: Jakarta, Indonesia
|
Posted: Tue Oct 10, 2006 9:05 pm |
Or, alternatively you can use (UNTESTED)
#TRIGGER {^You suddenly perceive the vague outline of an aura of rebounding around %w.$} {#VAR enemy_rebounding 1} "" {notrig|case}
#TRIGGER {^A nearly invisible magical shield forms around %w.$} {#VAR enemy_shield 1} "" {notrig|case}
#TRIGGER {^Target performing any action causing the defs to be lost.$} {#VAR enemy_shield 0;#VAR enemy_rebounding 0} "" {notrig|case}
And add these lines somewhere in your current prompt trigger:
#IF (@enemy_shield = 1) {#ECHOP {%ansi(white,red)~[SH~]}}
#IF (@enemy_rebounding = 1) {#ECHOP {%ansi(white,red)~[RB~]}} |
|
|
|
Deveklem Newbie
Joined: 06 Sep 2006 Posts: 3
|
Posted: Thu Oct 12, 2006 5:07 am |
Thank you both so much!!! I really appreciate it.
|
|
|
|
|
|