Sol Reklam
  • Moderatör Ekibi Alımları Aktif!
    Merhaba Ziyaretçi!, Forumumuzun moderatör ekibine katılmak ister misiniz? Yetkili market, yetkili sistemi ve başvuru formu gibi birçok bilgiye ulaşmak için buraya tıklayın.

LifeSteal Sword

Durum
Mesaj gönderimine kapalı.

UmutcanTR123

Zombi Geldi, Beni Yedi
Katılım
12 Kasım 2016
Mesajlar
236
Elmaslar
14
Puanlar
13.420
Arkadaşlar Şöyle Bir Skript Yazabilirmisiniz?
Örnek
--------------------------------------------
Vurunca:
2 kalbini alsın
Ve Chate
%player% Adlı Oyuncudan 2 can çaldın
---------------------------------------------------
 
Kod:
on damage:
    if attacker is player:
            chance of 10%:
                add 2 to health of attacker
                remove 2 from health of victim
                send "&8[&3Sistem&8] &cCan Calma &byetenegin ile &c%victim%&b'den 2 kalp caldin&8!" to attacker
                send "&8[&3Sistem&8] &b%attacker% &cCan Calma &3yetenegini kullanarak senden 2 kalp caldi&8!" to victim
 
ben artık skript isteme yazıcağınızı tahmin etmiştim :D[DOUBLEPOST=1506173252,1506173220][/DOUBLEPOST]
Kod:
on damage:
    if attacker is player:
            chance of 10%:
                add 2 to health of attacker
                remove 2 from health of victim
                send "&8[&3Sistem&8] &cCan Calma &byetenegin ile &c%victim%&b'den 2 kalp caldin&8!" to attacker
                send "&8[&3Sistem&8] &b%attacker% &cCan Calma &3yetenegini kullanarak senden 2 kalp caldi&8!" to victim
peki bunu özel kılıca ekleyebilir miyiz?
 
Denemedim deneyiniz.
Kod:
options:
    p: &8[&3Xasa&8]
    perm: &cYou Don't have the permission!
    ap: xasa.admin
   
command /lsw [<text>]:
    permission: {@ap}
    permission message: {@perm}
    trigger:
        if arg 1 is "al" or "take":
            give diamond sword named "&c&lLife steal sword" to player
            send "{@p} &fYou tooked life steal sword"
        if arg 1 is not set:
            send "{@p} &cLife steal sword help page."
            send " "
            send "{@p} &6&l/lsw <al,take>"
       
       
on damage:
    if attacker's tool is diamond sword:
        if display name of attacker's tool contains "&c&lLife steal sword":
            chance of 25%:
                remove 2 from healt of victim
                add 2 to healt of attacker
                send "{@p} &a%attacker% &fstoled your 2 hearts!" to victim
                send "{@p} &fYou're stoled 2 hearts from &c%victim%" to attacker

[DOUBLEPOST=1506969905,1506540372][/DOUBLEPOST]Sorun Çözüldüyse Lütfen Belirtiniz.
 
daha önceden bulmuştum ama daha değişiğini Elemental sword skriptini kullandım Bildirmeyide unuttum kusura bakmayın
 
Durum
Mesaj gönderimine kapalı.
Neden altınlarını Discord sunucumuzda kazmıyorsun? TIKLA VE KATIL!
Yukarı