Okay, my head is screwed on backwards today.

Affects:
struct    affect_data
{
    AFFECT_DATA *  next;
    bool           valid;
    sh_int         where;
    sh_int         type;
    sh_int         level;
    sh_int         duration;
    sh_int         location;
    sh_int         modifier;
    int            bitvector;
};

When applying an affect to an object without a spell, say, hitroll +10,
My question is this.  Just for clarification,

What would aff->where be?
What would aff->location be?
What would aff->type be?

I *think* it's
aff->where = TO_OBJECT;
aff->location = APPLY_HITROLL;
aff->type = (Not sure, I usually put 0 or -1.)

I get these three very, very confused.  Mostly aff->type.

Thank you.



Reply via email to