Further PRC integration
Further PRC integration. Updated racial & class hooks. Updated NPC AI for PRC NPC events. Updated loot generation tables for PRC classes.
This commit is contained in:
@@ -5,20 +5,14 @@
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 9/11/2008 12:18:32 PM
|
||||
//:://////////////////////////////////////////////
|
||||
#include "prc_class_const"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
|
||||
// Restrict based on the player's class
|
||||
|
||||
int nClass;
|
||||
|
||||
nClass = GetLevelByClass(CLASS_TYPE_RANGER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_TOTEMIST, oPC);
|
||||
|
||||
if(nClass <= 0)
|
||||
int iPassed = 0;
|
||||
if(GetLevelByClass(CLASS_TYPE_RANGER, GetPCSpeaker()) >= 1)
|
||||
iPassed = 1;
|
||||
if(iPassed == 0)
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user