25 lines
481 B
Plaintext
25 lines
481 B
Plaintext
|
|
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oCaster;
|
|
oCaster = OBJECT_SELF;
|
|
|
|
object oTarget;
|
|
oTarget = OBJECT_SELF;
|
|
|
|
AssignCommand(oCaster, ActionCastFakeSpellAtObject(SPELL_HEAL, oTarget, PROJECTILE_PATH_TYPE_DEFAULT));
|
|
|
|
DelayCommand(3.0,ActionJumpToObject(GetObjectByTag("PRISONCELL2")));
|
|
|
|
effect eEffect;
|
|
eEffect = EffectDamage(10000, DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_NORMAL);
|
|
|
|
DelayCommand(20.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, OBJECT_SELF));
|
|
|
|
}
|
|
|