Files
PoA_PRC8/_module/nss/0c_remove_effect.nss
Jaysyn904 cbf0febd8b 2025/10/21 Update
Added PEPS AI.
Hopefully stopped "bleed" bug after being healed from dying.
Full compile.
2025-10-21 10:30:05 -04:00

15 lines
560 B
Plaintext

/*//////////////////////////////////////////////////////////////////////////////
Script:0c_remove_effect
Programmer:Philos
////////////////////////////////////////////////////////////////////////////////
Actions Taken script that removes an effect from OBJECT_SELF.
Param: nEffect - the EFFECT_TYPE_* number to remove.
*///////////////////////////////////////////////////////////////////////////////
#include "0i_spells"
void main ()
{
int nEffect = StringToInt (GetScriptParam ("nEffectType"));
ai_RemoveASpecificEffect (OBJECT_SELF, nEffect);
}