> >Well instead of: > if (GET_CLASS(ch) != CLASS_WARRIOR != CLASS_PALADIN) { >I have this: > if (GET_CLASS(ch) != CLASS_WARRIOR && GET_CLASS(ch) != CLASS_PALADIN) { > > There is probably a better statement than that, but this was the first >think that I ever coded in my life, and it works fine ;) > Why not just remove that check? I was just about to do so myself because of the adding of new classes.... if the class can't practice it, the skill will always fail anyways.... Brazil - IMP of AddictMUD tolkien.realms.org 4000 or addict.realms.org 4000 or 206.185.33.2 4000
This archive was generated by hypermail 2b30 : 12/18/00 PST