Initial upload
Initial upload
This commit is contained in:
19
_module/nss/ubernpcheal.nss
Normal file
19
_module/nss/ubernpcheal.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
//Can go OnDamaged, OnDisturbed, OnSpellCastAt, creature heartbeats, etc.
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastHostileActor();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oTarget;
|
||||
oTarget = OBJECT_SELF;
|
||||
|
||||
effect eEffect;
|
||||
eEffect = EffectRegenerate(200, 3.0f);
|
||||
|
||||
eEffect = SupernaturalEffect(eEffect);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 3000.0f);
|
||||
|
||||
}
|
Reference in New Issue
Block a user