New class seems to have an alignment conflict?

Posted by Firedrak on Tue 27 Mar 2001 04:16 PM — 7 posts, 23,453 views.

USA #0
I made a new class, attached it to a new race, but the race/class combo almost instantly has a mental state meltdown, from 0 to -100. Also to note it says something about getting slaying heathen or face the consequences...I'm not sure what this means? I did try killing, but just ended up falling unconscious. Maybe its an alignment issue, even though my alignment is minalign -1000, maxalign 1000?
If you can figure this out, it'd be great, I've been wracking my brains on this one for days, and nights...heh
Australia Forum Administrator #1
This is the message you mention:


Damn you heathen! Go forth and do evil or suffer the consequences!


This applies for class number 9 if the alignment is greater than -250.

Also, when it gives this message your mental state worsens by 35 points.

You are right about it being an alignment issue. You could avoid the message by being aligned less than -250. eg. In the race definition, start its alignment off at -500.

Amended on Tue 27 Mar 2001 04:57 PM by Nick Gammon
USA #2
Okay, how then do I change that so that the alignment can be above -250? Do I change the class number? The class number was kind of given at creation of the class...
Australia Forum Administrator #3
That particular test applies to class 9. However, there are other tests for other classes.

To fix that in a more general way you would need to recompile the source, after making appropriate changes.
Amended on Tue 27 Mar 2001 07:23 PM by Nick Gammon
USA #4
Okay, then can I change that class # to something other then 9? Or should I start from scratch? About the tests for other classes, what tests can I run for them?
Australia Forum Administrator #5
Well, you could use another class number, that might cause a different test to occur.

The tests are hard-coded into the server, in file update.c, function gain_condition.

You can't add/remove these tests without recompiling the server source code.
USA #6
Well, I still can't get this thing to work, maybe I'll just skip the whole idea of a new class...Can't get any new skills to work, or even the class to function properly. Thanks for the help Nick.