generated from Jaysyn/ModuleTemplate
2025/12/23 Update
Hooked up new GUI module event. Updated PRC8 includes Full compile.
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "prc_inc_spells"
|
||||
#include "inc_utility"
|
||||
#include "prc_inc_itmrstr"
|
||||
#include "true_inc_trufunc"
|
||||
|
||||
|
||||
// This function holds all functions that are supposed to run before the actual
|
||||
@@ -42,6 +43,16 @@ int TruePreUtterCastCode()
|
||||
|
||||
int nContinue = !ExecuteScriptAndReturnInt("prespellcode",oTrueSpeaker);
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Block forsakers from using truenaming
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
if(GetLevelByClass(CLASS_TYPE_FORSAKER, oTrueSpeaker) > 0)
|
||||
{
|
||||
SendMessageToPC(oTrueSpeaker, "Forsakers cannot use the power of truenaming.");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Break any spell require maintaining concentration
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user