//****************************************************************************
//EVHACON SERVER by : Lord Leon ©2001-2002
//http://evhacon.igz.it
// All EVHACON script files and formats are copyright Menasoft & Partners.
// This file may be freely edited for personal use, but may not be distributed
// in whole or in part, in any format without express written permission from
// Menasoft & Partners.  All donations and contributions
// become the property of Menasoft & Partners.
//****************************************************************************
// FILE LAST UPDATED: Saturday, April 13, 2002
VERSION=0.55

[ITEMDEF I_LIFE_STONE]
//By Tharok
ID=0ed4
NAME=Restoration Stone
TYPE=86

on=@create
ATTR=10 
COLOR=0048a

CATEGORY=ADDED
SUBSECTION=Stones
DESCRIPTION=Restoration Stone 

ON=@DCLICK
IF (<DISTANCE> > 2) 
SRC.MESSAGE You are too far away.
RETURN 1
ELSEIF (<src.restest i_restoration_stone_timer>)
src.sysmessage -= Delay per 2 minuti =-
RETURN 1
ELSE
SRC.HITS=<SRC.STR> 
SRC.MANA=<SRC.INT> 
SRC.STAM=<SRC.DEX> 
src.sound=0214
SRC.EFFECT=3,0375a,6,15,1
src.newitem=i_restoration_stone_timer
src.act.equip
ENDIF
ENDIF

[ITEMDEF I_RESTORATION_STONE_100_GP]
//By Tharok
ID=0ed4
NAME=Restoration Stone 100 gp
TYPE=86 

on=@create
ATTR=10 
COLOR=0048a

CATEGORY=ADDED
SUBSECTION=Stones
DESCRIPTION=Restoration Stone 100 gp

ON=@DCLICK
IF (<DISTANCE> > 2) 
SRC.MESSAGE You are too far away. 
RETURN 1
ELSE
IF <SRC.RESTEST 100 i_gold>
SRC.CONSUME=100 i_gold 
SRC.HITS=<SRC.STR> 
SRC.MANA=<SRC.INT> 
SRC.STAM=<SRC.DEX> 
src.sound=0214
SRC.EFFECT=3,0375a,6,15,1
RETURN 1
ELSE
SRC.MESSAGE You dont have 100 gold.

[itemdef i_restoration_stone_timer]
id=i_memory
name=Restoration Stone Timer
layer=layer_special
type=t_eq_script

ON=@equip
Timer=120

on=@timer
cont.consume 1 i_restoration_stone_timer


[EOF]