Initial commit
Initial commit. Updated release archive.
This commit is contained in:
18
_module/nss/en6_fm_sr2.nss
Normal file
18
_module/nss/en6_fm_sr2.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "prc_x2_itemprop"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oItem;
|
||||
object oPC;
|
||||
itemproperty ip;
|
||||
int iFameUsed;
|
||||
|
||||
oPC=GetPCSpeaker();
|
||||
oItem=GetItemPossessedBy(oPC,"en6_special_ring");
|
||||
ip=ItemPropertyBonusSpellResistance(IP_CONST_SPELLRESISTANCEBONUS_20);
|
||||
IPSafeAddItemProperty(oItem,ip);
|
||||
|
||||
iFameUsed=GetLocalInt(oPC,"FameUsed");
|
||||
iFameUsed++;
|
||||
SetLocalInt(oPC,"FameUsed",iFameUsed);
|
||||
}
|
||||
Reference in New Issue
Block a user