BUG: sneak 2005-01-02 - By Mark Trainor
Back Greetings, list people,
Having been away quite some time, I am glad to be back in the thick of it again.
This is quite basic, and likely has been noted, before, but it seems odd, to me, that initiating a fight doesn't automatically remove the AFF_SNEAK flag, as it does for invis and hide. At least, it seems to me, that it would be extremely difficult to remain sneaky, whilst whooping up on a mob :p
Anyhoo, if you agree with me, then to fix this, you need to go into fight.c and find the function:
ch_ret damage()
scroll way down (this is a monster function!), and find this:
/* * Inviso attacks ... not. */ if (IS_AFFECTED(ch, AFF_INVISIBLE)) { affect_strip(ch, gsn_invis); affect_strip(ch, gsn_mass_invis); xREMOVE_BIT(ch->affected_by, AFF_INVISIBLE); act(AT_MAGIC, "$n fades into existence.", ch, NULL, NULL, TO_ROOM); }
right after that, add the following code:
/* what is this?!? Sneak needs to go away, too! --Sadiq */ if (IS_AFFECTED(ch, AFF_SNEAK)) { affect_strip(ch, gsn_sneak); xREMOVE_BIT(ch->affected_by, AFF_SNEAK); }
Anyhoo...not even sure, whether it is a bug, or not, or if it has been addressed already, or not...if so, give me a break...been out of touch, for 2-3 years ;)
And btw....good to be back ;)
Happy Mudding!
Sadiq
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
|
|