Further PRC integration
Further PRC integration. Class & race integration. Updated PoA loot spawn scripts for PRC classes. Integrated PRC NPC event scripts. Full compile.
This commit is contained in:
@@ -5,14 +5,23 @@
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 9/11/2008 12:19:02 PM
|
||||
//:://////////////////////////////////////////////
|
||||
#include "prc_class_const"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
// Restrict based on the player's class
|
||||
int iPassed = 0;
|
||||
if(GetLevelByClass(CLASS_TYPE_SORCERER, GetPCSpeaker()) >= 1)
|
||||
iPassed = 1;
|
||||
if(iPassed == 0)
|
||||
|
||||
int nClass;
|
||||
|
||||
nClass = GetLevelByClass(CLASS_TYPE_SORCERER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_WARMAGE, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_SHADOWCASTER, oPC)
|
||||
+GetLevelByClass(CLASS_TYPE_WARLOCK, oPC);
|
||||
|
||||
if(nClass <= 0)
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user