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,25 +5,16 @@
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 9/11/2008 11:46:37 AM
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "prc_class_const"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
// Restrict based on the player's class
|
||||
|
||||
int nClass;
|
||||
|
||||
nClass = GetLevelByClass(CLASS_TYPE_DRUID, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_HATHRAN, oPC);
|
||||
|
||||
if(nClass <= 0)
|
||||
return FALSE;
|
||||
|
||||
// Restrict based on the player's class
|
||||
int iPassed = 0;
|
||||
if(GetLevelByClass(CLASS_TYPE_DRUID, GetPCSpeaker()) >= 1)
|
||||
return TRUE;
|
||||
|
||||
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user