Çözüldü Özel Efektli Eşya

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

göktuğ_2002

Birisi mi Spawnlandı?
Katılım
15 Ağustos 2016
Mesajlar
8
Elmaslar
1
Puan
0
Minecraft
xGoktug
Merhaba, skript ile eyşalara potion efekti vermek istiyorum ama bir sürlü yapamadım yardım edebilecek varmı?
Örneğin; bir makas olsun ona acele büyüsü verilsin adam eline makası aldığında acele verilsin ona.
 
Şöyle yapabiliriz:
Kod:
on tool change:
    event-tool is shear
    while player's tool is shear:
        apply haste 2 to the player for 4 seconds
        wait 4 seconds
 
Şöyle yapabiliriz:
Kod:
on tool change:
    event-tool is shear
    while player's tool is shear:
        apply haste 2 to the player for 4 seconds
        wait 4 seconds
oyuncuya give eventi ile yapamıyormuyuz mesela büyü eklemek gibi ?
 
Nasıl yani? Eğer büyülü bir makası eline alırsa mı bu sistem çalışsın?
Kod:
/give @p shears 1 0 {
    AttributeModifiers: [
        {
            AttributeName: "generic.movementSpeed",
            Name: "generic.movementSpeed",
            Amount: 2,
            Operation: 2,
            UUIDMost: 44481,
            UUIDLeast: 689423
        }
    ]
}
Bunun gibi ama hız yerine acele olacak ve skriptle olacak
 
Kod:
/give @p shears 1 0 {
    AttributeModifiers: [
        {
            AttributeName: "generic.movementSpeed",
            Name: "generic.movementSpeed",
            Amount: 2,
            Operation: 2,
            UUIDMost: 44481,
            UUIDLeast: 689423
        }
    ]
}
Bunun gibi ama hız yerine acele olacak ve skriptle olacak
Kod:
command /makasver <player>:
    permission: op
    permission message: &7Bu komutu kullanamazsın.
    trigger:
        give a shear with lore "&6Acele II &7sağlar." to arg 1

on tool change:
    event-tool is shear
    while player's tool is shear with lore "&6Acele II &7sağlar.":
        apply haste 2 to the player for 4 seconds
        wait 4 seconds
 
Kod:
command /makasver <player>:
    permission: op
    permission message: &7Bu komutu kullanamazsın.
    trigger:
        give a shear with lore "&6Acele II &7sağlar." to arg 1

on tool change:
    event-tool is shear
    while player's tool is shear with lore "&6Acele II &7sağlar.":
        apply haste 2 to the player for 4 seconds
        wait 4 seconds
Teşekkür Ederim İlgilendiğin için,
ama ben anlatamadım istediğimi galiba ama yineden kullanırım bunu teşekkür ederim.
 
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