PWE_PRC8/_module/nss/spawnswordspider.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

23 lines
360 B
Plaintext

void main()
{
object oPC = GetLastKiller();
if (!GetIsPC(oPC)) return;
object oTarget;
object oSpawn;
oTarget = oPC;
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "NW_SPIDGIANT", GetLocation(oTarget));
oTarget = oSpawn;
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
//AssignCommand(oTarget, DetermineCombatRound(oPC));
}