summaryrefslogtreecommitdiff
path: root/npc/items/PoisonedWater.txt
blob: 40e930930475b7bc93cd5aaebe45411cd4452fbc (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), "Debug: Poisoned";
	if (@temp) itemheal 15, 0;
	if (@temp) message strcharinfo(0), "Debug: Healed";
	set @temp, 0;
	return;
}