PDA

View Full Version : Lich Char.stance behavior wonky



Blushy
03-13-2008, 11:17 PM
The behavior of the Char.stance variable in Lich seems to be odd. It often reports that I am in offensive stance when in fact I am in defensive stance. Here is a little excerpt of a log illustrating what's happening. I have the script that I am debugging set to echo a line which contains the current value of Char.stance every my character is attacked:


>stance for
You are now in a forward stance.
>
A mongrel kobold swings a handaxe at you!
With blinding speed, you dodge the attack!
>
[calcdodge: 3.0 25 -54 forward evade]
>
A mongrel kobold swings a handaxe at you!
You barely dodge the attack!
>
[calcdodge: 3.0 25 -54 forward evade]
>stance neu
You are now in a neutral stance.
>
A mongrel kobold swings a handaxe at you!
AS: +73 vs DS: +225 with AvD: +41 + d100 roll: +25 = -86
A clean miss.
>
[calcdodge: 3.0 25 -54 neutral not]
>stance guar
You are now in a guarded stance.
>
A mongrel kobold looks a little dubious about her situation.
>
A mongrel kobold heads east.
>
A mongrel kobold swings a handaxe at you!
With blinding speed, you dodge the attack!
>
[calcdodge: 3.0 25 -54 guarded evade]
>stance def
You are now in a defensive stance.
>
A mongrel kobold looks a little dubious about her situation.
>
A mongrel kobold just arrived.
>
A mongrel kobold swings a handaxe at you!
AS: +73 vs DS: +265 with AvD: +41 + d100 roll: +67 = -84
A clean miss.
>
[calcdodge: 3.0 25 -54 offensive not]
>
A mongrel kobold swings a handaxe at you!
You dodge just in the nick of time!
>
[calcdodge: 3.0 25 -54 offensive evade]
A mongrel kobold swings a handaxe at you!
AS: +73 vs DS: +265 with AvD: +41 + d100 roll: +97 = -54
A clean miss.
>
[calcdodge: 3.0 25 -54 offensive not]

See, it's reporting it properly when I'm in stances other than defensive, but when I'm in defensive stance, the value of Char.stance seems to be equal to 'offensive'.

Anbody else notice this? Any thoughts/advice/corrections? Is this a bizarre artifact of the way infomonitor.lic works?

BigWorm
03-14-2008, 02:41 AM
Mine seemed to be working fine. I'm running v3.55 on the Wizard.

Blushy
03-14-2008, 11:14 AM
Mine seemed to be working fine. I'm running v3.55 on the Wizard.
Hmm. I'm running 3.50 with SF. Maybe I should suck it up and install the dev release.

Deathravin
03-14-2008, 11:58 AM
Dev release works great. Only thing I've seen is if you try to imbed Lich commands into a WSE script, doesn't work.

You can still just make any WSE script into a lich script with quotes, commas, and Parens though.