[events e_bleeding]
On=@Hit
if (<src.flags>&statf_stone) || (<src.region.safe>)
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]
shield : Arkadaşlar merhaba;
Bleeding.scp'm var bunu silahlara entegre etmek istiyorum.Yardımcı olabilirmisiniz?
[events e_bleeding] On=@Hit if (<src.flags>&statf_stone) || (<src.region.safe>) 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]
[itemdef i_gatana]
id i_katana
on=@create
color 0454
on=@equip
src.events +e_Bleeding
on=@unequip
src.events -e_bleeding
/////////////////////////////////////////////////////////////////////////////
// Scripter Name: -
// Shard Name: The Rosario Game
// Shard Web Page : www.rosario.gen.tr
// Sphere Version: 0.56b
//
// Bu dosya içindeki kodlar TheRaskol tarafından yazılmış veya editlenmiştir
// The codes were written or edited by Raskol Serna
/////////////////////////////////////////////////////////////////////////////
[events e_bleeding]
On=@Hit
if (<src.flags>&statf_stone) || (<src.region.safe>)
return 0
elseif (<findlayer(1).type> == t_weapon_sword) && (<swordsmanship> >= 98.0)
if (rand(350) <= <eval (<tactics> / 20)>) && !(<src.findid.i_bleeding>) && !(<src.findid.i_bleeding2>)
src.damage {4 8}
src.hits (<src.hits> - 9)
src.skill fail
var.act <src.act.uid>
src.newitem i_bleeding
new.equip
new.link=<uid>
serv.newitem i_bleeding2
new.equip
new <var.act>
src.sayua 020,6,6,0 * ölümcül yara alır *
return 1
endif
endif
[events e_bleed]
On=@Death
findid.i_bleeding.remove
[itemdef i_bleeding]
name=osman aga 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 020,6,6,0 * kan kaybeder *
cont.damage {3 5} 0001 <link.uid>
cont.hits (<cont.hits> - 9)
attr attr_decay
return 1
[itemdef i_bleeding2]
name=Editin Osman Aga
id=i_gold
type=t_eq_script
weight=0
layer=layer_special
On=@Equip
src.events +e_bleed
timer 30
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
[eof]