RoT2_PRC8/_module/nss/cb_mindoops.nss
Jaysyn904 499aba4eb3 Initial upload
Initial upload
2023-09-25 18:13:22 -04:00

22 lines
462 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
object oCaster;
oCaster = OBJECT_SELF;
object oTarget;
oTarget = oPC;
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_FLESH_TO_STONE, oTarget, METAMAGIC_ANY, TRUE, 0, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
oCaster = OBJECT_SELF;
oTarget = oPC;
DelayCommand(120.0,AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_STONE_TO_FLESH, oTarget, METAMAGIC_ANY, TRUE, 0, PROJECTILE_PATH_TYPE_DEFAULT, TRUE)));
}