HoS_PRC8/_mod/_module/nss/dh2healingwater.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

19 lines
661 B
Plaintext

//////////////////////////////////////////////////////////
// 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);
}