Jump to content
Forumu Destekleyenlere Katılın ×
Paticik Forumları
2000 lerden beri faal olan, çok şukela bir paylaşım platformuyuz. Hoşgeldiniz.

power hour


salgam

Öne çıkan mesajlar

arkadaşlar bi young sistemi yazdımda yanlız ph ı ayarlayamadım young da ph açık oalcak youngdan çıkınca normal düzeyde şöyle bi scp buldum bunu bana events gibi bişey yapıp ayarlayabilrimisiniz lütfen


[comment power_hour]
place the powerhour stone somewhere players cannot get to(even though they can't see it)
and double click it to start the timer.

n_0 thru n_49 should be set to what you have as adv_rate's in your sphere_skills.scp
n_0 being alchemy and n_49 being necromancy.

(p_advrate 1.5,25.0,75.0) should be set to what you believe are good rates during
the powerhour. (default is set really low!)

[defname power_hour]
ph_timer 1 //how long powerhour lasts in hour's -- kaç saat açık olacakgı
p_advrate 1.5,25.0,75.0 //adv_rate during power hour for all skills! -- ph gücü
ph_message_clr 020 //red sysmessage, beginning and end of ph
ph_message 1 //allow message? (1=yes) (0=no)
powerhour_incr 12 //how often to have powerhour. default(12 hours) -- kaç saatde bi açık olacagı

n_0 10.0,200.0,800.0 //alchemy
n_1 2.5,50.0,200.0 //anatomy
n_2 2.5,50.0,200.0 //animallore
n_3 2.5,50.0,200.0 //itemid
n_4 2.5,50.0,200.0 //armslore
n_5 50.0,300.0,600.0 //parrying
n_6 2.5,50.0,200.0 //begging
n_7 2.5,50.0,200.0 //blacksmithing
n_8 10.0,200.0,800.0 //bowyer
n_9 2.5,50.0,200.0 //peacemaking
n_10 2.5,50.0,200.0 //camping
n_11 2.5,50.0,200.0 //carpentry
n_12 2.5,50.0,200.0 //cartography
n_13 2.5,50.0,200.0 //cooking
n_14 2.5,50.0,200.0 //detecting hidden
n_15 2.5,50.0,200.0 //enticement
n_16 2.5,50.0,200.0 //evalint
n_17 10.0,100.0,250.0 //healing
n_18 2.5,50.0,200.0 //fishing
n_19 2.5,50.0,200.0 //forensics
n_20 2.5,50.0,200.0 //herding
n_21 2.5,50.0,200.0 //hiding
n_22 2.5,50.0,200.0 //provocation
n_23 10.0,200.0,800.0 //in s.cript ion
n_24 2.5,50.0,200.0 //lockpicking
n_25 5.0,75.0,200.0 //magery
n_26 10.0,200.0,800.0 //magicresistance
n_27 10.0,150.0,600.0 //tactics
n_28 2.5,50.0,200.0 //snooping
n_29 2.5,50.0,200.0 //musicianship
n_30 2.5,50.0,200.0 //poisoning
n_31 10.0,200.0,800.0 //archery
n_32 2.5,50.0,200.0 //spiritspeak
n_33 10.0,200.0,800.0 //stealing
n_34 2.5,50.0,200.0 //tailoring
n_35 10.0,200.0,800.0 //taming
n_36 2.5,50.0,200.0 //tasteid
n_37 2.5,50.0,200.0 //tinkering
n_38 2.5,50.0,200.0 //tracking
n_39 10.0,200.0,800.0 //veterinary
n_40 10.0,150.0,600.0 //swordsmanship
n_41 10.0,150.0,600.0 //macefighting
n_42 5.0,155.0,600.0 //fencing
n_43 8.5,120.0,680.0 //wrestling
n_44 2.5,50.0,200.0 //lumberjack
n_45 2.5,50.0,200.0 //mining
n_46 10.0,200.0,800.0 //meditation
n_47 10.0,200.0,800.0 //stealth
n_48 2.5,50.0,200.0 //removetrap
n_49 10.0,200.0,800.0 //necromancy



[itemdef i_power_hour]
id=01172
name=power hour stone [don't remove]
type=t_ s.cript

on=@create
morez=<def.powerhour_incr>
attr=attr_move_never|attr_invis

on=@dclick
for 0 49
tryp 0 serv.skill.<eval <local._for>>.adv_rate=<def.n_<eval <local._for>>>
end
morez=<def.powerhour_incr>
timer=<eval 1*60*60>
src.sysmessage @<def.ph_message_clr> ph rofl.
return 1
endif

on=@timer
if <morez>>1
morez -= 1
timer=<eval 1*60*60>
return 1
elseif <morez>==1
for 0 49
tryp 0 serv.skill.<eval <local._for>>.adv_rate=<def.p_advrate>
end
morez=0
timer=<eval <def.ph_timer>*60*60>
if (<eval <def.ph_message>>==1)
serv.allclients sysmessage @<def.ph_message_clr> power hour basladi!
return 1
endif
return 1
else
for 0 49
tryp 0 serv.skill.<eval <local._for>>.adv_rate=<def.n_<eval <local._for>>>
end
morez=<def.powerhour_incr>
timer=<eval 1*60*60>
if (<eval <def.ph_message>>==1)
serv.allclients sysmessage @<def.ph_message_clr> power hour bitti!
return 1
endif
return 1
Link to comment
Sosyal ağlarda paylaş

×
×
  • Yeni Oluştur...