28 lines
619 B
Plaintext
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);
|
|
}
|