generated from Jaysyn/ModuleTemplate
20255/12/20 Update
Hooked up new GUI event. Updated PRC8 includes.
This commit is contained in:
@@ -75,6 +75,15 @@ int PsiPrePowerCastCode()
|
||||
|
||||
int nContinue = !ExecuteScriptAndReturnInt("prespellcode", oManifester);
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Forsakers can't use psionics
|
||||
//---------------------------------------------------------------------------
|
||||
if (nContinue && GetLevelByClass(CLASS_TYPE_FORSAKER, oManifester))
|
||||
{
|
||||
FloatingTextStringOnCreature("Forsakers cannot manifest psionic powers!", oManifester, FALSE);
|
||||
nContinue = FALSE;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Break any spell require maintaining concentration
|
||||
//---------------------------------------------------------------------------
|
||||
@@ -209,3 +218,4 @@ int PsiPrePowerCastCode()
|
||||
return nContinue;
|
||||
}
|
||||
|
||||
//:: void main (){}
|
||||
Reference in New Issue
Block a user