Skript Bug ?

Thraenkost

Lapis Toplayıcısı
Mesajlar
936
En iyi cevaplar
1
Beğeniler
400
Puanları
990
Ruh hali
Bug var. Zombiyi öldürüyoruz bir şey olmuyor. tabii ki İstilacı isimli zombi
PHP:
on death of zombie:
    attacker is player:
        victim is a zombie:
            if name of victim is "&b[1. Seviye] &aİstilacı":
                if {lvl.%attacker%} is equal to 1:
                    add 4 to {exp.%attacker%}
                    send "&4&l[SonEfsane] &aİstilacı Öldürüldüğünüz İçin [4 Tecrübe Puanı] Eklendi." to attacker
                if {lvl.%attacker%} is equal to 2:
                    add 3.2 to {exp.%attacker%}
                    send "&4&l[SonEfsane] &aİstilacı Öldürüldüğünüz İçin [3.2 Tecrübe Puanı] Eklendi." to attacker
                if {lvl.%attacker%} is equal to 3:
                    add 2.4 to {exp.%attacker%}
                    send "&4&l[SonEfsane] &aİstilacı Öldürüldüğünüz İçin [2.4 Tecrübe Puanı] Eklendi." to attacker
                if {lvl.%attacker%} is greater than 4:
                    add 0.2 to {exp.%attacker%}
                    send "&4&l[SonEfsane] &aİstilacı Öldürüldüğünüz İçin [0.2 Tecrübe Puanı] Eklendi." to attacker
                chance of 30%:
                    send "&a&nKazanılan Eşya: &bBasit Kılıç" to attacker
                    execute console command "playsound random.anvil_land %attacker%"
                    give 1 wood sword named "&aBasit Kılıç" with lore "&cHasar: 3" to attacker
                chance of 36%:
                    send "&aAltın Para Kazandınız!" to attacker
                    execute console command "playsound random.levelup %attacker%"
                    give 1 gold nugget named "&6Altın" with lore "&aAlışveriş yapmaya ne dersin ?" to attacker
 


MhaWTHoR

Obsidyen Madencisi
Mesajlar
1,208
En iyi cevaplar
1
Beğeniler
1,161
Puanları
3,230
{lvl.%attacker%} 1 olmadığı için olabilir mi ? :/
 
S

Switcher

Ziyaretçi
on death of zombie:
victim zombie ne ya .s

neyse isim düzgün girilmemiş olblr .s
 

Üst