fi_class

Handle PC classes

string GetClassName(int nClass);
Parameters:
  • nClass – A CLASS_TYPE_*

Returns:

2da name of class

Return name of class CLASS_TYPE_*

int GetCreatureHasClass(object oCreature, int nClass);
Parameters:
  • oCreature – The creature

  • nClass – A CLASS_TYPE_*

Returns:

TRUE or FALSE

Return TRUE if creature has at least one level of said class.