Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
#include "prc_class_const"
string sAllow;
//Put this script OnOpen
void main()
{
object oPC = GetLastOpenedBy();
int nClass;
nClass = GetLevelByClass(CLASS_TYPE_CLERIC, oPC)
+GetLevelByClass(CLASS_TYPE_FAVOURED_SOUL, oPC)
+GetLevelByClass(CLASS_TYPE_HEALER, oPC)
+GetLevelByClass(CLASS_TYPE_SHAMAN, oPC)
+GetLevelByClass(CLASS_TYPE_ARCHIVIST, oPC);
if (!GetIsPC(oPC)) return;
if (nClass > 9)
{
sAllow="You feel the power of your pathos wash over you as you open the container.";
SendMessageToPC(oPC, sAllow);
return;
}
AssignCommand(oPC, ClearAllActions());
object oSelf = OBJECT_SELF;
AssignCommand(oPC, ActionMoveAwayFromObject(oSelf));
}