Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#include "nw_i0_generic"
//Put this on action taken in the conversation editor
void main()
{
object oPC = GetPCSpeaker();
object oTarget = GetWaypointByTag("wp_mob_landing");
object oMob = GetObjectByTag("YasharaMcDaggart");
object oVic = GetObjectByTag("nasemp");
effect eEffect = EffectDeath();
location lTarget = GetLocation(oTarget);
object oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "yasharamcdaggar", lTarget);//spawn mob
AssignCommand(oMob, ActionAttack(oVic));//attack emporer
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oVic); //kill him
AssignCommand(oMob, ActionSpeakString("Old Fool!Now you are dead, and so my friends are you.."));// the gloat
AdjustReputation(oPC,oMob, -100); //go hostile and attack pc speaker
AssignCommand(oMob, ActionAttack(oPC));
AssignCommand(oMob, DetermineCombatRound(oPC));
}