19 lines
661 B
Plaintext
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);
|
|
}
|