[crossfire] Dragon ability bug

Mark Wedel mwedel at sonic.net
Sun Dec 6 23:41:53 CST 2009


Nicolas Weeger wrote:
> Hello.
> 
> On trunk, an interesting issue: a dragon praying on an altar to become 
> follower of a god will lose burning hands / medium fireball abilities.
> 
> 
> The issue seems to be "become_follower" (server/gods.c), which removes the 
> FLAG_STARTEQUIP spells - including those abilities.
> 
> I'd say to exclude spells from this processing, as they are handled 
> specifically by "check_special_prayers".
> 
> 
> Opinions?

  That seems a correct solution.  If that doesn't work for some reason, the 
key/value lists could be used to denote the source of such spells instead of 
overloading FLAG_STARTEQUIP meaning.




More information about the crossfire mailing list