İşlem çok basit
öncelikle herhangi bi scpye şu item ı ekliyoruz..
[itemdef i_firekontrol]
id i_gold
type t_normal
name fire field kontrol
on=@create
attr attr_invis
timer 0
on=@timer
foritems 0
if (<type> == t_spell) && ((<region.isevent.r_house_private>) || (<region.isevent.r_house_public>))
remove
endif
endfor
remove
return 1
sonra da sphere_spells.scp deki ( orijinal packde böyle geçiyor yada spells.scp diye de geçebilir ) Fire Field büyüsünü buluyoruz ve bu büyünün altına aşağıdaki kodu ekliyoruz.
on=@success
serv.newitem i_firekontrol
serv.new.p <targp>
local.targx <targp.x>
local.targy <targp.y>
for x 1 4
local.targx += 1
serv.newitem i_firekontrol
serv.new.p <dlocal.targx>,<dlocal.targy>
endfor
local.targx <targp.x>
local.targy <targp.y>
for x 1 4
local.targy += 1
serv.newitem i_firekontrol
serv.new.p <dlocal.targx>,<dlocal.targy>
endfor
local.targx <targp.x>
local.targy <targp.y>
for x 1 4
local.targx -= 1
serv.newitem i_firekontrol
serv.new.p <dlocal.targx>,<dlocal.targy>
endfor
local.targx <targp.x>
local.targy <targp.y>
for x 1 4
local.targy -= 1
serv.newitem i_firekontrol
serv.new.p <dlocal.targx>,<dlocal.targy>
endfor
ve artık eve fire field atınca büyünün eve giren kısmı siliniyor.
Not: Bu fixi diğer büyüler için de kullanabilirsiniz, energy field, wall of stone, vb.
Yapmanız gereken tek şey 2. verdiğim kodu sphere_spells.scp deki wall of stone büyüsünü falan bulup onun altına eklemek, aynı fire field ın altına eklediğiniz gibi.
Trina
Total votes: 0
Sunucular 1 hafta önce
Ultima Online 1 hafta önce
Ultima Online 1 hafta önce
Ultima Online 1 hafta önce
Ultima Online 2 hafta önce
Sunucular 3 hafta önce
Sunucular 3 hafta önce
Ultima Online 4 hafta önce
Sunucular 1 ay önce
2024-04-09 16:53
2024-04-06 18:20
2024-04-06 17:43
2024-04-06 17:21
2024-03-28 17:47
2024-03-25 02:51
2024-03-22 18:08
2024-03-22 14:46
Yorumlar (0)