Initial commit
Initial commit. Updated release archive.
This commit is contained in:
19
_module/nss/en6_unequip.nss
Normal file
19
_module/nss/en6_unequip.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "prc_x2_itemprop"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oItem=GetPCItemLastUnequippedBy();
|
||||
object oPC=GetPCItemLastUnequipped();
|
||||
|
||||
ExecuteScript("x2_mod_def_unequ",OBJECT_SELF);
|
||||
|
||||
|
||||
if (GetLocalString(oItem,"PCWielder") != "")
|
||||
{
|
||||
IPRemoveAllItemProperties(oItem,DURATION_TYPE_TEMPORARY);
|
||||
SetLocalString(oItem,"PCWielder","");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user