summaryrefslogblamecommitdiff
path: root/npc/items/poisonedwater.txt
blob: 54e404156ec5a6feedbb54bb5a79fc4014b21055 (plain) (tree)
1
2
3
4
5
6
7
8
9

                        
              
          
                    


                                        
 
                                                 

                                              
                                  


                     
// Evol scripts.	
// Authors:
//    Alastrim
//    Reid
//    Vasily_Makarov
// Description:
//    1/4 chances to get poisoned.
//    3/4 chances to get healed (15 HP).

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