HoS_PRC8/_mod/_module/nss/displacer_cend.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

12 lines
378 B
Plaintext

// displacer beast combat end
void main()
{
object oMe=OBJECT_SELF;
if (GetHasSpellEffect(SPELL_DISPLACEMENT)==FALSE)
{ // cast displacement on self
AssignCommand(oMe,ActionCastSpellAtObject(SPELL_DISPLACEMENT,oMe,METAMAGIC_ANY,TRUE,0,PROJECTILE_PATH_TYPE_DEFAULT,TRUE));
} // cast displacement on self
ExecuteScript("nw_c2_default3", OBJECT_SELF);
}