HiddenTradition_PRC8/_module/nss/oe_crusaderarms.nss
2024-06-20 15:47:42 -04:00

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);
}
}