Initial commit

Initial commit.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-06-13 15:08:33 -04:00
parent c0bd67a6a7
commit a6f6db7303
5236 changed files with 4203994 additions and 0 deletions

30
_module/nss/en6_mq6_s.nss Normal file
View File

@@ -0,0 +1,30 @@
void MoveToAmbush(object oNPC);
void main()
{
int iRandom;
iRandom=Random(2);
if (iRandom==1)
{
DelayCommand(30.0,MoveToAmbush(OBJECT_SELF));
}
}
void MoveToAmbush(object oNPC)
{
object oBoss;
string sTag;
SetLocalInt(oNPC,"Betrayal",1);
sTag=GetLocalString(oNPC,"QuestStep1MobTag");
oBoss=GetObjectByTag(sTag);
object oItemToTake = GetItemPossessedBy(oBoss, GetLocalString(oNPC,"QuestStep1Item"));
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
ChangeFaction(oNPC,oBoss);
AssignCommand(oNPC,JumpToLocation(GetLocation(oBoss)));
}