mattgodbolt / xania

Xania MUD source
Other
58 stars 13 forks source link

After being poisoned wears off, !Cure Poison! is shown instead of You feel less sick #209

Closed pierrewery closed 4 years ago

pierrewery commented 4 years ago

During a fight I saw !Cure Poison! instead of You feel less sick. I don't have cure Poison so wasn't me doing it.

mattgodbolt commented 4 years ago

That's the msg_off for the skill_table. I wonder what's going on there!

mattgodbolt commented 4 years ago

Ah! I refactored this. THis is a new definition of "refactor" which actually means "broke terribly"

mattgodbolt commented 4 years ago

Really weird: are you certain it was !Cure Poison! ?

Tried to repro and got:

You feel less sick.

I wonder what spell is being cast on you? Is there any chance you have the log up still? We know there's possibly a problem with the spells maybe being a bit out of sync (see #207 ) so it would be helpful!

Failing that: who were you fighting ?

mattgodbolt commented 4 years ago

It could be dispel magic! the mob might have cast it on you...checking. I also "refactored" that

mattgodbolt commented 4 years ago

Ah probably not. Fight was against the king in gnome village. so will try to repro later.

mattgodbolt commented 4 years ago

The king has spec_cast_mage; investigating.

snellers commented 4 years ago

This is fixed now, it was a regression due to #194 which is now rolled back. If you got affected by 'poison' e.g. by eating guts, then disconnected then logged in again, the pfile loader would misinterpret the poison affect line as 'cure poison'. This would then decay over several ticks and show the placeholder fade message.