Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 18:13:22 -04:00
parent 684ef76c20
commit 499aba4eb3
5734 changed files with 4843758 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
// Set up Custom Token for Enchanted Anivl/Holy Altar
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iResult = FALSE;
string sTag = GetTag(OBJECT_SELF);
if (sTag=="ASG_ENANVIL")
{
SetCustomToken(1970001,"Enchanted Anvil");
int iSor = GetLevelByClass(CLASS_TYPE_SORCERER,oPC);
int iWiz = GetLevelByClass(CLASS_TYPE_WIZARD,oPC);
if (iSor>0 || iWiz>0) iResult = TRUE;
}
else
{
SetCustomToken(1970001,"Holy Altar");
int iClr = GetLevelByClass(CLASS_TYPE_CLERIC,oPC);
int iDrd = GetLevelByClass(CLASS_TYPE_DRUID,oPC);
if (iClr>0 || iDrd>0) iResult = TRUE;
}
return iResult;
}