Initial commit
Initial commit [v9.7]
This commit is contained in:
20
_module/nss/is_a_drd.nss
Normal file
20
_module/nss/is_a_drd.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "prc_class_const"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
int iDivine = GetLevelByClass(CLASS_TYPE_DRUID, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_SHAMAN, oPC);
|
||||
|
||||
// Restrict based on the player's class
|
||||
int iPassed = 0;
|
||||
/* if(GetLevelByClass(CLASS_TYPE_DRUID, GetPCSpeaker()) >= 1)
|
||||
iPassed = 1;
|
||||
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_GIANT, GetPCSpeaker()) >= 1))
|
||||
iPassed = 1; */
|
||||
if(iDivine == 0)
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
Reference in New Issue
Block a user