[Soru] Chestler Hakkında

BraveHero

Dobloyu n'aptın
En iyi cevaplar
1
Söyliceğim Şeyi Koda Çevirebilirseniz Sevinirim :
Sandığın Adını Değişicem mesela saldiri yapıcam.


saldiri adlı sandığı açtığında
%60 = tahta kılıç %40 = taş kılıç %20 = Demir Kılıç Çıkıcak.
Ama Her Açtığında Olmıcak.

 

ta1ha

Sosyal Medya Yöneticisi
Emektar Üye
En iyi cevaplar
1
Saldırı isimli chest kullanacağına trapped chest kullanmanı öneririm. Buyur kodu:
Kod:
on rightclick on a trapped chest:
    cancel event
    chance of 60%:
        if {_a} is not set:
            set {_a} to 0
            give 1 wood sword to player
            send "&e1 Tahta Kılıç kazandınız."
    chance of 40%:
        if {_a} is not set:
            set {_a} to 0
            give 1 stone sword to player
            send "&e1 Taş Kılıç kazandınız."
    chance of 20%:
        if {_a} is not set:
            set {_a} to 0
            give 1 iron sword to player
            send "&e1 Demir Kılıç kazandınız."
    create a safe explosion of force 1 at the block
    set block to air
 

__NiqhtRide__

Bedrock Kaşifi
En iyi cevaplar
0
ChestRegen Pluginiydi galiba tam adını bilmiyorum

Telefondan Yazıyorum Hatalı Yazarsam Şimdiden Özür Dilerim.
 

BraveHero

Dobloyu n'aptın
En iyi cevaplar
1
Saldırı isimli chest kullanacağına trapped chest kullanmanı öneririm. Buyur kodu:
Kod:
on rightclick on a trapped chest:
    cancel event
    chance of 60%:
        if {_a} is not set:
            set {_a} to 0
            give 1 wood sword to player
            send "&e1 Tahta Kılıç kazandınız."
    chance of 40%:
        if {_a} is not set:
            set {_a} to 0
            give 1 stone sword to player
            send "&e1 Taş Kılıç kazandınız."
    chance of 20%:
        if {_a} is not set:
            set {_a} to 0
            give 1 iron sword to player
            send "&e1 Demir Kılıç kazandınız."
    create a safe explosion of force 1 at the block
    set block to air
Sağol.
 
H

hsndmrts_

Ziyaretçi
Saldırı isimli chest kullanacağına trapped chest kullanmanı öneririm. Buyur kodu:
Kod:
on rightclick on a trapped chest:
    cancel event
    chance of 60%:
        if {_a} is not set:
            set {_a} to 0
            give 1 wood sword to player
            send "&e1 Tahta Kılıç kazandınız."
    chance of 40%:
        if {_a} is not set:
            set {_a} to 0
            give 1 stone sword to player
            send "&e1 Taş Kılıç kazandınız."
    chance of 20%:
        if {_a} is not set:
            set {_a} to 0
            give 1 iron sword to player
            send "&e1 Demir Kılıç kazandınız."
    create a safe explosion of force 1 at the block
    set block to air
acaba şu if _a kısımları 3 ünden biri çıkması için dimi hepsi çıkmasın diye? eğer öylese benden de bi teşekkür bana acil lazımdı konu açmaktan kurtuldum.
 
Üst