29 lines
752 B
Plaintext
29 lines
752 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("CHANTINGMONK");
|
|
AssignCommand(oTarget, ActionAttack(oPC));
|
|
|
|
|
|
oTarget = GetObjectByTag("CHOIRBOY");
|
|
AssignCommand(oTarget, ActionAttack(oPC));
|
|
|
|
|
|
oTarget = GetObjectByTag("CHOIRBOY2");
|
|
AssignCommand(oTarget, ActionAttack(oPC));
|
|
|
|
object oCaster;
|
|
oCaster = OBJECT_SELF;
|
|
oTarget = OBJECT_SELF;
|
|
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_HEAL, oTarget, METAMAGIC_ANY, TRUE, 0, PROJECTILE_PATH_TYPE_DEFAULT, FALSE));
|
|
DelayCommand(4.0,ActionJumpToObject(GetObjectByTag("PRISONCELL")));
|
|
effect eEffect;
|
|
eEffect = EffectDamage(1000, DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_NORMAL);
|
|
DelayCommand(20.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, OBJECT_SELF));
|
|
|
|
}
|
|
|