[CF-Devel] more questions on new god code

Jan Echternach echter at informatik.uni-rostock.de
Fri Jan 5 06:17:44 CST 2001


On Thu, Jan 04, 2001 at 11:15:15PM -0800, Peter Mardahl wrote:
>
     
      I was able to re-enchant a weapon, apparently? It
     
     >
     
      got reconsecrated to a new god I think?
     
     
I've no idea how this can happen.  There's a god_examines_item() check
right at the beginning of god_enchants_weapon(), and the next thing
that happens is that weapons without a title get the god's title.  This
should be even better than the old code because the old code didn't
always set a title before enchanting the weapon, allowing certain
weapons to be enchanted by different gods.

Did the weapon have a title before it got reconsecrated?  What was the
weapon's title after this had happened?

-- 
Jan

    
    


More information about the crossfire mailing list