15 lines
408 B
Plaintext
15 lines
408 B
Plaintext
#include "prc_inc_racial"
|
|
|
|
void main()
|
|
{
|
|
object o_pc = GetEnteringObject();
|
|
object o_crusader = GetObjectByTag("crusader3");
|
|
int nonhumancheck = GetLocalInt(o_crusader, "nonhumancheck");
|
|
int newnonhumancheck = nonhumancheck + 1;
|
|
if (MyPRCGetRacialType(o_pc) != RACIAL_TYPE_HUMAN)
|
|
{
|
|
SetLocalInt(o_crusader, "nonhumancheck", newnonhumancheck);
|
|
SetLocalObject(o_crusader, "nonhuman", o_pc);
|
|
}
|
|
}
|