summaryrefslogtreecommitdiff
path: root/npc/items/PoisonedWater.txt
blob: 6986e27ac8da2f1d1cfb391d9f4ebcca50e22c64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Evol scripts.	
// Authors:
//    Alastrim, Vasily_Makarov, Reid
// Description:	
//    Heal of 25hp and add 1/4 bad luck to be poisoned.

function	script	usePoisonedWater	{
	set @temp, rand(4);
	if (!@temp) sc_start sc_poison, 1, 50;
	if (!@temp) message strcharinfo(0);
	if (@temp) itemheal 15, 0;
	if (@temp) message strcharinfo(0);
	set @temp, 0;
	return;
}