Yaralanir veriince adamlar bleed pot içince 20 tane bleed potun hepsini içiyor bunu nasıl tek tek içebilebilinir hale getirebilirim ??
scp şoyle
Kod:
[ITEMDEF i_potion_bleed]
ID=i_bottle_yellow
TYPE=T_POTION
NAME=Bleed Potion
TDATA1=i_bottle_empty
RESOURCES=8 i_reag_garlic,1 i_bottle_EMPTY
SKILLMAKE=ALCHEMY 85.1
on=@Click
message @1153 <name>
return 1
ON=@Create
COLOR=0901
MORE1=s_Cure
MORE2=40.1
ON=@DClick
if !(rand(5) == 1)
if (<src.findid.i_bleeding>)
src.findid.i_bleeding.remove
src.effect snd_spell_poison
src.effect 3,0376a,2,10,1
src.sayua 075f,6,6,0 *Yarasini Tedavi Eder*
remove
src.act i_bottle_empty
else
src.sysmessage @1153 Potion heba oldu.
remove
src.act i_bottle_empty
endif
endif