Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
15
_module/nss/dro_only_priest.nss
Normal file
15
_module/nss/dro_only_priest.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "prc_inc_spells"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPlayer = GetClickingObject();
|
||||
if (!GetLevelByClass(CLASS_TYPE_CLERIC, oPlayer) > 0 && !GetLevelByClass(CLASS_TYPE_FAVOURED_SOUL, oPlayer) > 0)
|
||||
{
|
||||
SendMessageToPC(oPlayer, "Only a priestess may enter this holy place.");
|
||||
}
|
||||
else
|
||||
{
|
||||
object oTarget = GetObjectByTag("DrowBigTemple");
|
||||
AssignCommand (oPlayer, JumpToObject(oTarget));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user