Alangara_PRC8/_module/nss/killgolem1.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

28 lines
619 B
Plaintext

// * Kill Golems-script
// Modified 15/9 2005 by -Seeker-
// for use on Alangara
//Put this OnUsed
void main()
{
object oPC = GetLastUsedBy();
if (!GetIsPC(oPC)) return;
object oTarget;
effect eEffect;
oTarget = GetObjectByTag("housegolem1");
eEffect = EffectDamage( 10000 );
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget);
oTarget = GetObjectByTag("housegolem2");
eEffect = EffectDamage( 10000 );
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget);
oTarget = GetObjectByTag("housegolem3");
eEffect = EffectDamage( 10000 );
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget);
}