Npcye Sağ Tıkladığında Verimlilik Arttırma?

  • Konuyu Başlatan Konuyu Başlatan goksan
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.091
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

goksan

Oyna.RegendNW.Com
Katılım
11 Şubat 2017
Mesajlar
198
Elmaslar
160
Puan
6.560
Yaş
30
Minecraft
Goksanxx
Merhabalar Benim Bir Skript İsteğim Olacaktı Yapılabilir mi Bilmiyorum . Olay Şudur Oyuncu Elindeki Kazmayla Npc ye Sağ Tıklayınca Verimlilik 1 Artacak Sınırı 70 Olacak Her Tıkladığına Verimliliği 1 İse 1 Artıp Verimlilik 2 Olacak Yapabilecek Arkadaşlara Şimdiden Teşekkürler!
[DOUBLEPOST=1518584976,1518556741][/DOUBLEPOST]Yardım Edecek Arkadaşlar Varmı?
 
Kod:
on rightclick on entity:
    if display name of clicked entity is "&4Büyücü":
        if player is holding a pickaxe:
            if level of efficiency of the player's tool is smaller than 71:
                set {_e.%player%} to level of efficiency of the player's tool+1
                enchant the player's tool with efficiency {_e.%player%}
            else:
                send "Verimlilik Büyüsü 70'den Fazla Olamaz!" to player
        else:
            send "Sadece Kazmalara Büyü Basabilirsin!" to player

DENENMEDİ!
 
Son düzenleme:
Teşekkürler Deneyeceğim.[DOUBLEPOST=1518798488,1518780700][/DOUBLEPOST]
Kod:
on rightclick on entity:
    if display name of clicked entity is "&4Büyücü":
        if player is holding a pickaxe:
            if level of efficiency of the player's tool is smaller than 71:
                set {_e.%player%} to level of efficiency of the player's tool+1
                enchant the player's tool with efficiency {_e.%player%}
            else:
                send "Verimlilik Büyüsü 70'den Fazla Olamaz!" to player
        else:
            send "Sadece Kazmalara Büyü Basabilirsin!" to player

DENENMEDİ!
HOCAM PEKİ ŞEY EKLERMİSİN RegendCoin İsimli Paperla Arttırılacak?[DOUBLEPOST=1518810330][/DOUBLEPOST]DrDre İşe Yaramadı Hocam.
 
Kod:
on rightclick on entity:
    if display name of clicked entity is "&4Büyücü":
        if player is holding a pickaxe:
            if level of efficiency of the player's tool is smaller than 71:
                if level of efficiency of the player's tool is 1:
                    enchant the player's tool with efficiency 2
                if level of efficiency of the player's tool is 2:
                    enchant the player's tool with efficiency 3
                if level of efficiency of the player's tool is 3:
                    enchant the player's tool with efficiency 4
                if level of efficiency of the player's tool is 22:
                    enchant the player's tool with efficiency 23
                if level of efficiency of the player's tool is 47:
                    enchant the player's tool with efficiency 48
                if level of efficiency of the player's tool is 56:
                    enchant the player's tool with efficiency 57
                if level of efficiency of the player's tool is 69:
                    enchant the player's tool with efficiency 70
            else:
                send "Verimlilik Büyüsü 70'den Fazla Olamaz!" to player
        else:
            send "Sadece Kazmalara Büyü Basabilirsin!" to player

Bu Kodun Çalışması Lazım Fakat Her Büyü İçin Koda Örnek Yaptığım Gibi Yapmalısın.
NPC'nin Adı İse "&4Büyücü" Olmalı
 
DrDre
mesela
if level of efficiency of the player's tool is 1:
enchant the player's tool with efficiency 2
if level of efficiency of the player's tool is 2:
enchant the player's tool with efficiency 3
if level of efficiency of the player's tool is 3:
enchant the player's tool with efficiency 4

böyle 5 6 diye gideceğim değilmi ?
 
Aynen :D 70'e Kadar Yolun Var :D Ama Tabları Ayarla
 
Hadi Bakalım DrDre :D Birşey Diyeceğim Regend İsimli Paperle Nasıl Yükseltirim 5 papere 1 yükseltme
 
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