Initial upload
Initial upload
This commit is contained in:
32
_module/nss/cs_symbolofmight.nss
Normal file
32
_module/nss/cs_symbolofmight.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 1.3
|
||||
|
||||
For download info, please visit:
|
||||
http://www.lilacsoul.revility.com */
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC;
|
||||
|
||||
if (!GetIsPC(GetItemActivatedTarget())
|
||||
){
|
||||
|
||||
SendMessageToPC(GetItemActivator(), "Improper use of item!");
|
||||
return;}
|
||||
|
||||
oPC = GetItemActivator();
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectAbilityIncrease(ABILITY_CONSTITUTION, 25), oTarget, 600.0f);
|
||||
|
||||
oTarget = oPC;
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectAttackIncrease(10), oTarget, 300.0f);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE), oTarget);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user