Attack

The_Dark_Brawlers

Kızıltaş Madencisi
En iyi cevaplar
0
Kod:
command /kilic:
    trigger:
        give a wooden sword named "&a&lSaldiri" to player
on rightclick with wooden sword:
    name of player's tool is "&a&lSaldiri":
        if {zaman.%player%} is true:
            send "&4&lEnch icin 12 saniye bekle!"
            cancel event
            wait 12 real seconds
            set {zaman.%player%} to false
        else:
            enchant the player's tool with sharpness 1
            set {zaman.%player%} to true
on damage:
    name of attacker's tool is "&a&lSaldiri":
        execute console command "katla"
        disenchant the attacker's tool
katla komutu her vuruşta yazıyor sadece enchant olduğunda yazması lazım
 

MeeRach

Vi3e
En iyi cevaplar
0
Kod:
command /kilic:
    trigger:
        give a wooden sword named "&a&lSaldiri" to player
on rightclick with wooden sword:
    name of player's tool is "&a&lSaldiri":
        if {zaman.%player%} is true:
            execute console command "/give %player% wood_sword 1 0 name:&c&lSaldiri"
            send "&4&lEnch icin 12 saniye bekle!"
            cancel event
            wait 12 real seconds
            set {zaman.%player%} to false
        else:
            enchant the player's tool with sharpness 1
            set {zaman.%player%} to true
on damage:
    name of attacker's tool is "&c&lSaldiri":
        execute console command "/effect %victim% 22 22 22"
        disenchant the attacker's tool
        remove 1 wooden sword named "&c&lSaldiri" from attacker
        give a wooden sword named "&a&lSaldiri" from attacker
 
Son düzenleme:

The_Dark_Brawlers

Kızıltaş Madencisi
En iyi cevaplar
0
sistem söyle olabilir adam sağ klik yapınca adı saldri2 olan bir encli bir kılıç gelir o kılıçla adam vurursa saldiri kılcını geri alır ve /effect 22 222 22 yazar
 

MeeRach

Vi3e
En iyi cevaplar
0
Kod:
command /kilic:
    trigger:
        give a wooden sword named "&a&lSaldiri" to player
on rightclick with wooden sword:
    name of player's tool is "&a&lSaldiri":
        if {zaman.%player%} is true:
            execute console command "/give %player% wood_sword 1 0 name:&c&lSaldiri"
            send "&4&lEnch icin 12 saniye bekle!"
            cancel event
            wait 12 real seconds
            set {zaman.%player%} to false
        else:
            enchant the player's tool with sharpness 1
            set {zaman.%player%} to true
on damage:
    name of attacker's tool is "&c&lSaldiri":
        execute console command "/effect %victim% 22 22 22"
        disenchant the attacker's tool
        remove 1 wooden sword named "&c&lSaldiri" from attacker
        give a wooden sword named "&a&lSaldiri" from attacker
Birde böyle dene, çalışmayabilir.
 
Üst