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,37 @@
#include "prc_class_const"
//Put this script OnOpen
void main()
{
object oPC = GetLastOpenedBy();
int nGoodEvil = GetAlignmentGoodEvil(oPC); //:: 2 = Good
int nLawChaos = GetAlignmentLawChaos(oPC); //:: 4 = Lawful
int nAlignment = nGoodEvil + nLawChaos;
string sAllow;
if (!GetIsPC(oPC)) return;
if ((GetHasFeat(FEAT_TURN_UNDEAD, oPC) && nAlignment == 6))
/*if ((GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
+GetLevelByClass(CLASS_TYPE_SOHEI, oPC)
+GetLevelByClass(CLASS_TYPE_SOLDIER_OF_LIGHT, oPC)
+GetLevelByClass(CLASS_TYPE_SACREDPURIFIER, oPC)
+GetLevelByClass(CLASS_TYPE_MORNINGLORD, oPC) >8))*/
{
sAllow="Your great purity of spirit allows you to disturb this ancient evil and open the coffin to put an end to Razhids true power.";
SendMessageToPC(oPC, sAllow);
return;
}
AssignCommand(oPC, ClearAllActions());
object oSelf = OBJECT_SELF;
AssignCommand(oPC, ActionMoveAwayFromObject(oSelf));
}