Ok basically what i'm "trying" to do is. Without having to rewrite LOADS of code. Does anyone know of a way i can have variables be used as constants?
The basics of what i'm trying to do is i'm trying to make it so i can specify which affect i want a skill to attach to player in mud. Everything is working except for the part where i need a constant value.
Ie: char *const affectgiven;
the value of affectgiven is already defined.
I just need to be able to get the value out of it.
normally i'd do something like if (xIS_SET(ch->affected_by,AFF_POISON)) or whatever
if i can get this working i'll be one happy camper.