Initial Upload
Initial Upload
This commit is contained in:
38
_module/nss/asg_resdesk_06t.nss
Normal file
38
_module/nss/asg_resdesk_06t.nss
Normal file
@@ -0,0 +1,38 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName resref
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 2/18/03 2:54:15 AM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
/*
|
||||
// Restrict based on the player's class
|
||||
int iPassed = 0;
|
||||
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_CLERIC, GetPCSpeaker()) >= 1))
|
||||
iPassed = 1;
|
||||
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_SORCERER, GetPCSpeaker()) >= 1))
|
||||
iPassed = 1;
|
||||
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_DRUID, GetPCSpeaker()) >= 1))
|
||||
iPassed = 1;
|
||||
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_WIZARD, GetPCSpeaker()) >= 1))
|
||||
iPassed = 1;
|
||||
if(iPassed == 0)
|
||||
return FALSE;
|
||||
*/
|
||||
string sArDiv = GetLocalString(OBJECT_SELF,"ASG_MIC_MAGICTYPE");
|
||||
string sTag;
|
||||
if (sArDiv=="A")
|
||||
{
|
||||
sTag="ASG_ENANVIL";
|
||||
}
|
||||
else
|
||||
{
|
||||
sTag="ASG_ENALTER";
|
||||
}
|
||||
object oTarget = GetNearestObjectByTag(sTag,OBJECT_SELF);
|
||||
ExecuteScript("asg_rul_micscfx",oTarget);
|
||||
|
||||
return TRUE;
|
||||
}
|
Reference in New Issue
Block a user