[CF-Devel] God-given prayers

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sun Apr 18 01:42:45 CDT 2004


Nicolas Weeger wrote:
>
     
      Hello.
     
     >
     
     
     >
     
      On cf.mf.net, a player has 2 times 'wall of thorns', one spell, one force.
     
     >
     
       From the code & such, it seems the force used to be special prayer marker.
     
     >
     
      A change from Mark (2003-11-09) changed that force to use 'startequip'.
     
     >
     
     
     >
     
      But still find_special_prayer_mark (apply.c) and check_special_prayers 
     
     >
     
      (gods.c) use the force, with 'slaying == special prayer', to check those 
     
     >
     
      prayers.
     
     >
     
     
     >
     
      So I guess the force for the player can be removed, and probably the 
     
     >
     
      code should be fixed? :)
     
     
  Yeah - I don't know why I left that original marking code there - perhaps for 
backwards compatbility.  It was certainly broken, in that learning a special 
prayer no longer put a marker into the player.

  This would basically mean that if you switched gods, you probably weren't 
losing any special spells you had either.  I've fixed up the code now.


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list