Shougao üyesi avatar
Mrb arkadaşlar serverda bleeding eventsini ayarlıyorum yalnız oyunda aktif olmuyor.


[events e_bleeding]			
On=@Hit
if (<src.flags>&statf_stone) || (<src.region.safe>) || (<src.isevent.e_delucia>)
	return 0
elseif (<findlayer(1).type> == t_weapon_sword) && (<swordsmanship> >= 98.0) && (<tactics> >= 100.0)
	if (rand(250) <= <eval (<anatomy> >= 60.0) && !(<src.findid.i_bleeding>) && !(<src.findid.i_bleeding2>)
		src.damage {3 5}
		src.hits (<src.hits> - 10)
		src.skill fail
		var.act <src.act.uid>
		src.newitem i_bleeding
		src.act.equip
		src.newitem i_bleeding2
		src.act.equip
		src.act <var.act>
		src.sayua 075f,6,6,0 * Olumcul Yara Alir *
		return 1
	endif
endif

[events e_bleed]
On=@Death
findid.i_bleeding.remove

[itemdef i_bleeding]
name=bleed
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
src.events +e_bleed
timer 5

On=@UnEquip
cont.events -e_bleed
if !(<cont.flags>&statf_dead)
endif

On=@Timer
timer 5
cont.sayua 075f,6,6,0 * Kan Kaybeder *
cont.damage {2 4}
cont.hits (<cont.hits> - 8)
attr attr_decay
return 1

[itemdef i_bleeding2]
name=bleed2
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
src.events +e_bleed
timer 31

On=@UnEquip
cont.events -e_bleed
if !(<cont.flags>&statf_dead)
endif

On=@Timer
cont.findid.i_bleeding.remove
attr attr_decay
remove
return 1

[ITEMDEF i_potion_bleed]
ID=i_bottle_ORANGE
TYPE=T_POTION
NAME=Bleed Potion
TDATA1=i_bottle_empty

RESOURCES=i_reag_garlic, i_bottle_EMPTY
SKILLMAKE=ALCHEMY 85.1

ON=@Create
COLOR=060
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 048,6,6,0 *Yarasini Tedavi Eder*
		remove
		src.act i_bottle_empty
	else
		src.sms Potion heba oldu.
		remove	
		src.act i_bottle_empty
	endif
endif
	
[eof]

Bu scripti ekledıkten sonra on=@logine events olarak e_bleed ve e_bleeding i verıyorum playerlarda bu eventsler olduğu halde ölümcül yara veremıyorlar bunu nasıl duzeltebılırım?
Araştırmayı Denesene Bu ARada

on=@logine

Direk Bleeding Eventini Verirsen Playelerin Oyuna Girer Girmez Olumcul Yara Alıcaklardır .....

Üye Ol veya Giriş Yap

Bu forum başlığına mesaj atmak istiyorsanız hemen üye olun veya giriş yapın.

Benzer Konular