HoS_PRC8/_mod/_module/nss/displacer_cend.nss

12 lines
378 B
Plaintext
Raw Permalink Normal View History

2024-11-25 19:36:07 -05:00
// 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);
}