No, you wouldn't touch your wear_obj or your remove_obj functions. There is
two other functions called equip_char and unequip_char. Those are the
functions that wear the eq onto the person and add the affects. Or take the
item off and remove the affects.

----- Original Message ----- 
From: "Witt Hinton" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, December 25, 2003 2:48 PM
Subject: Objects and Affects Bug


> Hey,
> I don't know if anyone has run into this before, but I have a small bug
> where if I have an object that adds the invis affect (or any affect) and a
> stat, hp, str, con, etc... when I remove the item the stats stay and if
> you we-wear the object you get the affects all over again.  Such as a ring
> that adds 150hp, keep removing and wearing to gain lots of hp.  Also, the
> spell isn't stripped from the char that is wearing the object when
> removed.  I checked all over the bug fixes and nothing shows up.  I can
> post the unequip_char and all other various functions.  The only thing I
> changed was the wear_obj function - but that shouldn't affect the
> remove_obj should it?  Any ideas would be great!
> Thanks,
> --Witt
>
>
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>


Reply via email to