generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
34
_module/nss/cler_paladin_tri.nss
Normal file
34
_module/nss/cler_paladin_tri.nss
Normal file
@@ -0,0 +1,34 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 2.3
|
||||
|
||||
For download info, please visit:
|
||||
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
||||
#include "prc_class_const"
|
||||
|
||||
//Put this script OnEnter
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
int nDivine = GetLevelByClass(CLASS_TYPE_CLERIC, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_SHAMAN, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_BAELNORN, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_BLACKGUARD, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_HOSPITALER, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_MASTER_OF_SHROUDS, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_MORNINGLORD, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_SACREDPURIFIER, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_SOLDIER_OF_LIGHT, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_UR_PRIEST, oPC);
|
||||
|
||||
if (nDivine==0)
|
||||
return;
|
||||
|
||||
SendMessageToPC(oPC, "Your sense of intuition reveals that in addition to whatever traps may exist here, a powerful undead creature lurks about in this immediate area, possibly as a guard for the chests stashed here - you would do best to stay alert. ");
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user