Prompt help

by Unknown

Back to Mechanic's Corner.

Unknown2010-07-18 02:19:48
I've got myself a basic prompt trigger and it just came to my attention that being PRONE and being ENTANGLED both show up as 'p' on the prompt. I was wondering how some of you may have gotten around this for tracking purposes? Below is what my prompt trigger looks like, it's in Regex for CMUD:
CODE
^(\\d+)h, (\\d+)m, (\\d+)e, (\\d+)p, (\\d+)en, (\\d+)w (?pflags:*)-

health=%1
mana=%2
ego=%3
power=%4
#if (%pos( e, @pflags)) {equilibrium=1} {equilibrium=0}
#if (%pos( x, @pflags)) {balance=1} {balance=0}
#if (%pos( p, @pflags)) {prone=1} {prone=0}
#if (%pos( l, @pflags)) {leftarmbal=1} {leftarmbal=0}
#if (%pos( r, @pflags)) {rightarmbal=1} {rightarmbal=0}
#if (%pos( b, @pflags)) {blindness=1} {blindness=0}
i_auto


As you can see I flag 'p' for prone and when I get entangled it made the whole thing go nuts.

CODE
i_auto:

health_sip=%int(@max_health*7/10)
mana_sip=%int(@max_mana*3/4)
ego_sip=%int(@max_ego*8/10)
#if (@sipping=0 and @elixirs=1 and @stunned=0 and @asleep=0 and @anorexia=0 and @healingdrink=1 and @health<@health_sip) {health}
#if (@sipping=0 and @elixirs=1 and @stunned=0 and @asleep=0 and @anorexia=0 and @manadrink=1 and @mana<@mana_sip) {mana}
#if (@sipping=0 and @elixirs=1 and @stunned=0 and @asleep=0 and @anorexia=0 and @egodrink=1 and @ego<@ego_sip) {ego}
#if (@paralysis=1 and @mana>250 and @focusing=0) {focus body}
#if (@entangled=1 and @writhing=0 and @stunned=0 and @asleep=0) {ww}
#if (@prone=1 and @paralysis=0 and @balance=1 and @equilibrium=1 and @asleep=0 and @stunned=0 and @entangled=0 and @meditating=0 and @autostand=1) {stand}
#if (@asleep=1 and @waking=0 and @autostand=1) {wake}
#if (@balance=1 and @rightarmbal=1 and @leftarmbal=1 and @equilibrium=1 and @leftlegbal=1 and @rightlegbal=1 and @asleep=0 and @paralysis=0 and @stunned=0 and @prone=0 and @entangled=0 and @slain=1) {get @target}
Ssaliss2010-07-18 02:23:47
QUOTE (Aethe @ Jul 18 2010, 04:19 AM) <{POST_SNAPBACK}>
I've got myself a basic prompt trigger and it just came to my attention that being PRONE and being ENTANGLED both show up as 'p' on the prompt. I was wondering how some of you may have gotten around this for tracking purposes? Below is what my prompt trigger looks like, it's in Regex for CMUD:
CODE
^(\\d+)h, (\\d+)m, (\\d+)e, (\\d+)p, (\\d+)en, (\\d+)w (?pflags:*)-

health=%1
mana=%2
ego=%3
power=%4
#if (%pos( e, @pflags)) {equilibrium=1} {equilibrium=0}
#if (%pos( x, @pflags)) {balance=1} {balance=0}
#if (%pos( p, @pflags)) {prone=1} {prone=0}
#if (%pos( l, @pflags)) {leftarmbal=1} {leftarmbal=0}
#if (%pos( r, @pflags)) {rightarmbal=1} {rightarmbal=0}
#if (%pos( b, @pflags)) {blindness=1} {blindness=0}
i_auto


As you can see I flag 'p' for prone and when I get entangled it made the whole thing go nuts.

CODE
i_auto:

health_sip=%int(@max_health*7/10)
mana_sip=%int(@max_mana*3/4)
ego_sip=%int(@max_ego*8/10)
#if (@sipping=0 and @elixirs=1 and @stunned=0 and @asleep=0 and @anorexia=0 and @healingdrink=1 and @health<@health_sip) {health}
#if (@sipping=0 and @elixirs=1 and @stunned=0 and @asleep=0 and @anorexia=0 and @manadrink=1 and @mana<@mana_sip) {mana}
#if (@sipping=0 and @elixirs=1 and @stunned=0 and @asleep=0 and @anorexia=0 and @egodrink=1 and @ego<@ego_sip) {ego}
#if (@paralysis=1 and @mana<250 and @focusing=0) {focus body}
#if (@entangled=1 and @writhing=0 and @stunned=0 and @asleep=0) {ww}
#if (@prone=1 and @paralysis=0 and @balance=1 and @equilibrium=1 and @asleep=0 and @stunned=0 and @entangled=0 and @meditating=0 and @autostand=1) {stand}
#if (@asleep=1 and @waking=0 and @autostand=1) {wake}
#if (@balance=1 and @rightarmbal=1 and @leftarmbal=1 and @equilibrium=1 and @leftlegbal=1 and @rightlegbal=1 and @asleep=0 and @paralysis=0 and @stunned=0 and @prone=0 and @entangled=0 and @slain=1) {get @target}

Personally, I got past it by not triggering it off the prompt. Another possible solution would be to assume you're simply fallen and attempt to stand; if it fails to stand, you're entangled and should WRITHE instead.
Sylphas2010-07-18 02:34:26
Paralysis, meditation, and I think being frozen solid will all count you as prone and add the p to the prompt as well.
Unknown2010-07-18 02:35:01
There are multiple conditions that mark you as prone. The "sprawled" affliction, as many call it, is when you've simply fallen down. Entangled, roped, trussed, and a few others also count you as prone.

What I do is set a variable on the attack that sets one of these afflictions, and if I'm marked as prone on the prompt flags, then the affliction should count as real and not an illusion. When I'm not considered prone, I remove all the prone afflictions from my list. It's not all that complicated. smile.gif
Neos2010-07-18 03:58:46
QUOTE (Zarquan @ Jul 17 2010, 10:35 PM) <{POST_SNAPBACK}>
There are multiple conditions that mark you as prone. The "sprawled" affliction, as many call it, is when you've simply fallen down. Entangled, roped, trussed, and a few others also count you as prone.

What I do is set a variable on the attack that sets one of these afflictions, and if I'm marked as prone on the prompt flags, then the affliction should count as real and not an illusion. When I'm not considered prone, I remove all the prone afflictions from my list. It's not all that complicated. smile.gif


Says you...