Initial commit. Updated release archive.
This commit is contained in:
14
_module/nss/ox_crusaderarms.nss
Normal file
14
_module/nss/ox_crusaderarms.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "prc_inc_racial"
|
||||
|
||||
void main()
|
||||
{
|
||||
object o_pc = GetExitingObject();
|
||||
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);
|
||||
DeleteLocalObject(o_crusader, "nonhuman");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user