Major update
Fixed CCOH, Fixed starting GP, Fixed DMFI languages, Fix cep weapon appearances, Fixed new player start up system. Added PC deleter. Added ACP 4.1. Full compile. Updated release archive.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
first time.
|
||||
*/
|
||||
//:://////////////////////////////////////////////////
|
||||
|
||||
#include "prc_inc_spells"
|
||||
#include "nw_i0_generic"
|
||||
|
||||
void main()
|
||||
@@ -15,6 +15,8 @@ void main()
|
||||
// * if not runnning normal or better Ai then exit for performance reasons
|
||||
// * if not runnning normal or better Ai then exit for performance reasons
|
||||
if (GetAILevel() == AI_LEVEL_VERY_LOW) return;
|
||||
|
||||
ExecuteScript("prc_npc_percep", OBJECT_SELF);
|
||||
|
||||
object oPercep = GetLastPerceived();
|
||||
int bSeen = GetLastPerceptionSeen();
|
||||
@@ -72,7 +74,7 @@ void main()
|
||||
{ // SpawnScriptDebugger();
|
||||
//MyPrintString("GetIsEnemy: TRUE");
|
||||
// We spotted an enemy and we're not already fighting
|
||||
if(!GetHasEffect(EFFECT_TYPE_SLEEP)) {
|
||||
if(!PRCGetHasEffect(EFFECT_TYPE_SLEEP)) {
|
||||
if(GetBehaviorState(NW_FLAG_BEHAVIOR_SPECIAL))
|
||||
{
|
||||
//MyPrintString("DetermineSpecialBehavior");
|
||||
@@ -161,6 +163,7 @@ void main()
|
||||
////////////////////////
|
||||
// Werewolf Addon
|
||||
location lTransform = GetLocation(OBJECT_SELF);
|
||||
object oSelf = OBJECT_SELF;
|
||||
object oTarget = GetFirstObjectInShape(SHAPE_SPHERE,10.0,lTransform,FALSE,OBJECT_TYPE_CREATURE);
|
||||
string sNPCTag = GetTag(oTarget);
|
||||
string sMyTag = GetTag(OBJECT_SELF);
|
||||
@@ -204,3 +207,4 @@ void main()
|
||||
//Get next object.
|
||||
oTarget = GetNextObjectInShape(SHAPE_SPHERE,10.0,lTransform,FALSE,OBJECT_TYPE_CREATURE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user