I have made a Dual Class / Tripple Class code for smaug FUSS. That is to say I have the dual/trip class code in and have run into afew glitches. the one I'd like to address right now is CAN_CAST here is what my mud.h has
Code will follow below:
---------------------------------------------
#define CAN_CAST(ch) (((ch)->class != 2 && (ch)->class != 3) \
&& ((ch)->dual_class != 2 && (ch)->dual_class != 3) \
&& ((ch)->trip_class != 2 && (ch)->trip_class != 3))
---------------------------------------------
Now obviously I have a problem here :) Can some one give
me a solution that will allow one to cast if the
class is a caster, if the dual_class is a caster, or if the
trip_class is a caster. For instance If I start as a
warrior and dual at a set level to mage I want to have that char be able to cast from that point on.
thanks,
sokol
sokol@eqinterface.com
Code will follow below:
---------------------------------------------
#define CAN_CAST(ch) (((ch)->class != 2 && (ch)->class != 3) \
&& ((ch)->dual_class != 2 && (ch)->dual_class != 3) \
&& ((ch)->trip_class != 2 && (ch)->trip_class != 3))
---------------------------------------------
Now obviously I have a problem here :) Can some one give
me a solution that will allow one to cast if the
class is a caster, if the dual_class is a caster, or if the
trip_class is a caster. For instance If I start as a
warrior and dual at a set level to mage I want to have that char be able to cast from that point on.
thanks,
sokol
sokol@eqinterface.com