[CF-Devel] devourers
dnh
dnh at hawthorn.csse.monash.edu.au
Mon May 7 09:04:02 CDT 2001
Ahh excellent... someone else can cvs commit im busy working on this angel
then im sleeping..
dnh
On Mon, 7 May 2001, gros wrote:
>
Le Lundi 7 Mai 2001 07:56, vous avez écrit :
>
> I am happy to try to solve this, but I will need some help =). Sounds like
>
> a great way to improve my C skills, I have a fair idea what to do.
>
> We need to check if the player is a wraith (or even better if op->race
>
> makes it undead) and if it isn't restore FLAG_UNDEAD. I had alook through
>
> the code but I can't seem to find how to check if that flag is called by
>
> the race (or even class.. necromancer anyone?).
>
>
>
> Thanks, dnh
>
>
>
> On Mon, 7 May 2001, Philipp Currlin wrote:
>
> > Hello
>
> >
>
> > When you start worshipping devourers you become undead. However when you
>
> > change gods again you stay undead and you will be very vulnerable to
>
> > holy word.
>
> >
>
> >
>
> > PhilC
>
> >
>
> > _______________________________________________
>
> > crossfire-devel mailing list
>
> >
crossfire-devel at lists.real-time.com
>
> >
https://mailman.real-time.com/mailman/listinfo/crossfire-devel
>
>
>
> _______________________________________________
>
> crossfire-devel mailing list
>
>
crossfire-devel at lists.real-time.com
>
>
https://mailman.real-time.com/mailman/listinfo/crossfire-devel
>
>
Here is a bugfix for that. Change the update_priest_flag to:
>
>
void update_priest_flag (object *god, object *exp_ob, uint32 flag) {
>
>
if(QUERY_FLAG(god,flag)&&!QUERY_FLAG(exp_ob,flag))
>
SET_FLAG(exp_ob,flag);
>
else if(QUERY_FLAG(exp_ob,flag)&&!QUERY_FLAG(god,flag))
>
{
>
if (!(QUERY_FLAG(arch_to_object(exp_ob->arch),flag)))
>
{
>
printf("Change\n");
>
CLEAR_FLAG(exp_ob,flag);
>
} else {
>
printf("Don't Change\n");
>
};
>
};
>
}
>
More information about the crossfire
mailing list