Module commit
Module commit.
This commit is contained in:
18
_module/nss/dh2healingwater.nss
Normal file
18
_module/nss/dh2healingwater.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
//////////////////////////////////////////////////////////
|
||||
// Desert Heat - Special water script provided for a demo
|
||||
// Healing Water
|
||||
// By Deva Bryson WInblood
|
||||
// 10/12/2003
|
||||
//////////////////////////////////////////////////////////
|
||||
// How to use. On your water source set the name of the
|
||||
// trigger to @dh2healingwater
|
||||
//////////////////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC=GetItemActivator();
|
||||
effect eVFX=EffectVisualEffect(VFX_DUR_CESSATE_NEGATIVE);
|
||||
effect eHealing=EffectHeal(d8());
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,eVFX,oPC,5.0);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,eHealing,oPC,1.0);
|
||||
}
|
Reference in New Issue
Block a user