Çözüldü Sınırlama nasıl yapabilirim

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

DeapyPeapy

Odunlara Vur Vur Vur!
Katılım
1 Temmuz 2019
Mesajlar
46
Elmaslar
6
Puan
3.820
Yaş
28
Minecraft
Kydroexe
Kod:
options:
  level: 5

command yükselt:
  trigger:
    if level of player is greater than or equal to {@level}:
      remove {@level} from level of player
      set {_s} to level of fortune of player's tool otherwise 0
      enchant player's tool with "fortune %{_s}+1%" parsed as enchantment type

Bu kodu servet 15 ten işe yaramamasını istiyorum bide sadece kazmada uygulanabilir olsun servet 15ten sonra yükseltmeye çalıştığında "Maksimum seviyeye ulaştı" yazısı çıksın
 
Kod:
options:
    level: 5

command yükselt:
    trigger:
        if level of player is greater than or equal to {@level}:
            if level of fortune of player's tool is smaller than 16:
                remove {@level} from level of player
                set {_s} to level of fortune of player's tool otherwise 0
                enchant player's tool with "fortune %{_s}+1%" parsed as enchantment type
            else:
                send "Maximum seviyeye ulaştın." to player
 
Kod:
options:
    level: 5

command yükselt:
    trigger:
        if level of player is greater than or equal to {@level}:
            if level of fortune of player's tool is smaller than 16:
                remove {@level} from level of player
                set {_s} to level of fortune of player's tool otherwise 0
                enchant player's tool with "fortune %{_s}+1%" parsed as enchantment type
            else:
                send "Maximum seviyeye ulaştın." to player
2020-05-26_15.25.28.png


böyle bir hata verdi
 
Kod:
options:
    level:  5

command /yükselt:
    trigger:
        if level of player is greater than or equal to {@level}:
            if level of fortune of player's tool is smaller than 16:
                if player's tool is a pickaxe:
                    remove {@level} from level of player
                    set {_s} to level of fortune of player's tool otherwise 0
                    enchant player's tool with "fortune %{_s}+1%" parsed as enchantment type
                else:
                    send "Sadece kazmalarda kullanabilirsin."
            else:
                send "Maximum seviyeye ulaştın." to player
Bunu dener misin?
 
Kod:
options:
    level:  5

command /yükselt:
    trigger:
        if level of player is greater than or equal to {@level}:
            if level of fortune of player's tool is smaller than 16:
                if player's tool is a pickaxe:
                    remove {@level} from level of player
                    set {_s} to level of fortune of player's tool otherwise 0
                    enchant player's tool with "fortune %{_s}+1%" parsed as enchantment type
                else:
                    send "Sadece kazmalarda kullanabilirsin."
            else:
                send "Maximum seviyeye ulaştın." to player
Bunu dener misin?
İşe yaradı teşekkür ederim konu kilit
 
Kod:
options:
    level: 5

command yükselt:
    trigger:
        if player's tool is pickaxe:
            if level of player is greater than or equal to {@level}:
                if level of fortune of player's tool is smaller than 15:
                    remove {@level} from level of player
                    set {_s} to level of fortune of player's tool otherwise 0
                    enchant player's tool with "fortune %{_s}+1%" parsed as enchantment type
                else:
                    send "&cMaximum seviyeye ulaştın." to player
            else:
                send "&cYetersiz seviye."
        else:
            send "&cElinde bir kazma tutmalısın"
 
Son düzenleme:
Kod:
options:
    level: 5

command yükselt:
    trigger:
        if player's tool is pickaxe:
            if level of player is greater than or equal to {@level}:
                if level of fortune of player's tool is smaller than 15:
                    remove {@level} from level of player
                    set {_s} to level of fortune of player's tool otherwise 0
                    enchant player's tool with "fortune %{_s}+1%" parsed as enchantment type
                else:
                    send "&cMaximum seviyeye ulaştın." to player
            else:
                send "&cYetersiz seviye."
        else:
            send "&cElinde bir kazma tutmalısın"
En iyi cevap veren kişi
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst