Initial Upload
Initial Upload
This commit is contained in:
21
_module/nss/spellresdecrease.nss
Normal file
21
_module/nss/spellresdecrease.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 1.3
|
||||
|
||||
For download info, please visit:
|
||||
http://www.lilacsoul.revility.com */
|
||||
|
||||
//Put this OnOpen
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastOpenedBy();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectSpellResistanceDecrease(10), oTarget, 120.0f);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user