2025/07/15 Update
Added PEPS AI. Updated module name. Set all henchmen to have a random race &/or class based name using a custom version of Markshire's Nomeclature scripts, as well as appearance. Set Constructs, Undead, Outsiders & Elementals to not require food or drink. Full compile.
This commit is contained in:
14
_module/nss/0c_remove_effect.nss
Normal file
14
_module/nss/0c_remove_effect.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
/*//////////////////////////////////////////////////////////////////////////////
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user