Finished PRC8 integration
Finished PRC8 integration. Moved creature abilities to top hak. Setup tooling. Created release archive
This commit is contained in:
@@ -13,9 +13,12 @@
|
||||
#include "jw_custom_spells"
|
||||
#include "NW_I0_GENERIC"
|
||||
#include "jw_privates_inc"
|
||||
#include "prc_inc_racial"
|
||||
|
||||
void main()
|
||||
{
|
||||
ExecuteScript("prc_npc_userdef", OBJECT_SELF);
|
||||
|
||||
int nUser = GetUserDefinedEventNumber();
|
||||
|
||||
if(nUser == 1001) //HEARTBEAT
|
||||
@@ -86,7 +89,7 @@ void main()
|
||||
else if(nUser == 1002) // PERCEIVE
|
||||
{
|
||||
object oPC=GetLastPerceived();
|
||||
if ((GetIsPC(oPC))&&(GetRacialType(oPC)!=RACIAL_TYPE_HALFLING))
|
||||
if ((GetIsPC(oPC))&&(MyPRCGetRacialType(oPC)!=RACIAL_TYPE_HALFLING))
|
||||
{
|
||||
SetIsTemporaryEnemy(oPC,OBJECT_SELF,TRUE,600.0);
|
||||
if (!GetIsFighting(OBJECT_SELF))
|
||||
|
||||
Reference in New Issue
Block a user