Initial commit. Updated release archive.
This commit is contained in:
14
_module/nss/oe_crusaderarms.nss
Normal file
14
_module/nss/oe_crusaderarms.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
#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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user