I have a ton of Immortals on the MUD I'm coding at, and I wanted an easier way to change do_sac and what not, so I wouldn't have to do if checks for alignment, so I made a new variable in act, like this:

case 'G':
   i = (ch->alignment < -749) ? "Immname" : (ch->alignment > -750 &&
        ch->alignment < -499) ? "Immname" : "Immname";
   break;

I shortened the amount of imms, but otherwise the code is right on.

Now, whenver someone sacrifices an object, or does anything with this code in it, it goes:

Player makes a sacrifices to  <@@@>  .

I know what <@@@> is, but can't figure out how it's bugged.

Any ideas would be greatly appreciated.

Michael

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


Reply via email to