Closed varenx closed 1 year ago
When using NWNX_Player_ToggleDM to remove the pseudo DM status from a player, it breaks EffectTimeStopImmunity. To test:
NWNX_Player_ToggleDM(oPlayer, TRUE);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectTimeStopImmunity(), OBJECT_SELF, 120.0f);
OBJECT_SELF
oPlayer
NWNX_Player_ToggleDM(oPlayer, FALSE);
When using NWNX_Player_ToggleDM to remove the pseudo DM status from a player, it breaks EffectTimeStopImmunity. To test:
NWNX_Player_ToggleDM(oPlayer, TRUE);
(I have it on a chat command)ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectTimeStopImmunity(), OBJECT_SELF, 120.0f);
from the nwscript window,OBJECT_SELF
set tooPlayer
.NWNX_Player_ToggleDM(oPlayer, FALSE);
oPlayer
will no longer be immune.