[TF] recasting
Brought to you by:
kenkeys
|
From: jobs at sans.c. (jobs) - 2003-04-01 17:39:43
|
David Moore wrote:
>>/def -ag -msimple -E{spellsystem} -t'^You lost your concentration while
>>trying to cast energy shield.' Energy_Shield_fail=\
>> /echo -aBCyellow %P1%;\
>> /test store_spell("c 'energy shield'")
>
>
> This trigger isn't matching at all, since ^ is literal when you use
> -msimple.
>
>
I said yeah, it was matching, but only sometimes.
And I tried it with and without the ^ and as -mregexp as well with the same results.
c 'energy shield'
<---Successful storage (note blank line)
** Recasting 1 worn-off spells/skills **
energy shield <---UNsuccessful storage and leads into a auto recast
** Recasting finished **
energy shield <---UNsuccessful storage and leads into a auto recast
energy shield <---UNsuccessful storage and leads into a auto recast
<---Successful storage (tho it could go as many times as it wants with auto
recast before a successful storage happens
I did this:
/def -ag -mregexp -E{spellsystem} -t'(\
You feel less protected from destructive energies.|\
You lost your concentration while trying to cast energy shield.\
)' spells_energy_shield = \
/echo -aBCred Energy Shield%;\
/test store_spell("c 'energy shield'")
And this at least works by way of making the color red rather than just a blank line, but it still
has the occasional fail with the automatic recaster in place.
But i'd rather have it display with the yellow rather than the red :-)
--
Jason Weiss
Technical Recruiter
SANS Consulting, Inc.
90 John street, #313
New York, NY 10038
Phone: 212-616-4800
Fax: 212-616-4805
Email: Ja...@sa...
AOL Instant Messenger: JasonWSans
|