23 lines
360 B
Plaintext
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));
|
|
|
|
}
|