[İSTEK SKRİPT] Birini öldürünce can ve açlık fullenmesi

Kovalski

Hayalet Avcısı
En iyi cevaplar
0
Başlıktada gördüğünüz gibi bu küçücük isteğimi yaparmısınız :)

Not: Mod'lu survival server geliyor bu yaz sıkılmak yok :D
 

XectioNN

Elmas Madencisi
En iyi cevaplar
0
Oldurunce Can Verme:
on death of player:
heal the attacker
send "&6Canlandırıldın." to attacker
Send Satirini Silebilirsin Istersen
Oldurunce Aclik Doldurma:
On Death:
execute console command "/feed %attacker%"
send "&6Acliginiz Dolmustur"
Send Satirini Silebilirsin Istersen
 

Gavatos

Demir Madencisi
En iyi cevaplar
3
Kod:
on death of player:
    attacker is player
    add 10 to attacker's hunger bar
    heal the attacker
 

Gavatos

Demir Madencisi
En iyi cevaplar
3
kardeşim bunu biraz daha detaylandırma gibi bi şansın daha varmı bi kaç özellik daha
Kod:
on death of player:#Oyuncu eğer ölürse olacaklar:
    attacker is player#Öldüren oyuncu ise.
    add 10 to attacker's hunger bar#Öldüren kişinin 10 açlık barı dolacak.
    heal the attacker#Öldüren kişinin canı dolacak.
    send "Can & Açlık barın dolduruldu." to attacker#Öldüren kişiye mesaj atacak.
 

Kovalski

Hayalet Avcısı
En iyi cevaplar
0
Kod:
on death of player:#Oyuncu eğer ölürse olacaklar:
    attacker is player#Öldüren oyuncu ise.
    add 10 to attacker's hunger bar#Öldüren kişiye 10 açlık barı dolacak.
    heal the attacker#Öldüren kişinin canı dolacak.
    send "Can & Açlık barın dolduruldu." to attacker#Öldüren kişiye mesaj atacak.
yok kardeşim onu demedim ben ne yaptın sil o fazlalıkları :D bi kaç özellik daha ekleticektim kabul edersen :)
 

Gavatos

Demir Madencisi
En iyi cevaplar
3
adam öldürünce 3lvl atlicak hız 2 efekti kazanıcak 10 saniyelik ve 10 saniye içinde 1 kişi daha öldürürse bu hız 3 olcak böyle böyle hız 5 e kadar gidicek en fazla :)
Kod:
on login:
    if {kill.%player%} is not set:
        set {kill.%player%} to 0

on death of player:
    attacker is player
    add 10 to attacker's hunger bar
    heal the attacker
    give attacker xp to 3
    apply speed 2 to the attacker for 10 seconds
    add 1 to {kill.%attacker%}
    if {kill.%attacker%} is greater than 1:
        remove speed from attacker
        apply speed 3 to the attacker for 10 seconds
    if {kill.%attacker%} is greater than 2:
        remove speed from attacker
        apply speed 4 to the attacker for 10 seconds
    if {kill.%attacker%} is greater than 3:
        remove speed from attacker
        apply speed 5 to the attacker for 10 seconds
        set {kill.%attacker%} to 0
 
Son düzenleme:

Kovalski

Hayalet Avcısı
En iyi cevaplar
0
Kod:
on login:
    if {kill.%player%} is not set:
        set {kill.%player%} to 0

on death of player:
    attacker is player
    add 10 to attacker's hunger bar
    heal the attacker
    give attacker xp to 3
    apply speed 1 to the attacker for 10 seconds
    add 1 to {kill.%attacker%}
    if {kill.%attacker%} is greater than 1:
        remove speed from attacker
        apply speed 2 to the attacker for 10 seconds
        set {kill.%attacker%} to 0
yapmanı hiç beklemiyodum xd eve gidince hemen test edicem

Kod:
on login:
    if {kill.%player%} is not set:
        set {kill.%player%} to 0

on death of player:
    attacker is player
    add 10 to attacker's hunger bar
    heal the attacker
    give attacker xp to 3
    apply speed 2 to the attacker for 10 seconds
    add 1 to {kill.%attacker%}
    if {kill.%attacker%} is greater than 1:
        remove speed from attacker
        apply speed 3 to the attacker for 10 seconds
        set {kill.%attacker%} to 0
fakat anladığım kadarıyla max speed 3 oluyor
 
Üst