[events e_sprit]
[itemdef i_spiritspeak]
name oluler dunyasi
id i_gold
type t_eq_script
weight 0
layer layer_special
on=@create
attr attr_invis|attr_decay
on=@equip
src.act.timer 6
src.spell_say Anh Mi Sah Ko
src.sound 586
src.anim 17
src.events +e_spritspeaking
if (<src.spiritspeak> < 50.0)
src.sd 3
elseif (<src.spiritspeak> >=50.0) && (<src.spiritspeak> <75.1)
src.sd 5/2
elseif (<src.spiritspeak> >=75.1) && (<src.spiritspeak> <90.1)
src.sd 2
elseif (<src.spiritspeak> >=90.1) && (<src.spiritspeak> <98.1)
src.sd 3/2
elseif (<src.spiritspeak> >=98.1)
src.sd 1
endif
on=@timer
if (<cont.hits> >= <cont.str>)
cont.sysmessage @38,1,1 Ruhsal tedaviye ihtiyac duymuyorsunuz.
cont.spiritgain
elseif (<cont.findid.i_rune_poison>)
cont.sysmessage @38,1,1 Zehirli iken baglanti kuramiyorsunuz.
cont.spiritgain
elseif (<cont.findid.i_bleeding>)
cont.sysmessage @38,1,1 Yarali iken baglanti kuramiyorsunuz.
cont.spiritgain
elseif (<cont.hits> < <cont.str>)
cont.hits <eval <cont.hits> + <eval <cont.spiritspeak>/33>>
cont.olumlu * ruhsal gucu ile kendini tedavi eder *
cont.effect 3,0375a,2,10,10
cont.ssfix
cont.spiritgain
else
cont.sysmessage @38,1,1 Ruhani dunya ile baglanti kurmayi basaramadiniz.
endif
cont.events -e_spritspeaking
remove
return 1
[function spiritgain]
if ((<skilllock[32]> == 0) && (<skilltotal> < 700.0))
if (<spiritspeak> < 30.0)
if (rand(4) == 1)
spiritspeak (<spiritspeak> + 1)
endif
elseif (<spiritspeak> < 50.0)
if (rand(6) == 1)
spiritspeak (<spiritspeak> + 1)
endif
elseif (<spiritspeak> < 75.0)
if (rand(8) == 1)
spiritspeak (<spiritspeak> + 1)
endif
elseif (<spiritspeak> < 100.0)
if (rand(12) == 1)
spiritspeak (<spiritspeak> + 1)
endif
endif
endif
[events e_spritspeaking]
On=@GetHit
if (rand(2) == 1)
olumsuz * ruhani dunya ile baglantisi kesilir *
events -e_spritspeaking
src.events -e_spritspeaking
findid.i_spiritspeak.remove
endif
On=@Death
src.events -e_spritspeaking
findid.i_i_spiritspeak.remove
On=@Logout
src.events -e_spritspeaking
findid.i_i_spiritspeak.remove
[function ssfix]
if (<hits> > <str>)
hits=<str>
endif
[EOF]
Total votes: 0
Ultima Online 1 gün önce
Sphere Scripting 4 gün önce
Ultima Online 4 gün önce
Ultima Online 1 hafta önce
Duyurular 2 hafta önce
Sunucular 3 hafta önce
Ultima Online 3 hafta önce
Ultima Online 3 hafta önce
Ultima Online 1 ay önce
Ultima Online 1 ay önce
Sunucular 1 ay önce
Sunucular 1 ay önce
2024-10-31 22:47
2024-10-14 17:45
2024-09-26 14:21
2024-07-08 22:50
2024-07-08 22:34
2024-06-19 22:05
2024-06-01 02:19
2024-05-31 21:17
Yorumlar (0)