edoux.
on damage:
attacker is player
victim is player
attacker's event-item is diamond sword:
chance of 20%:
apply poison 1 for 1 second to victim
send "%attacker% sana saldırdığı için %%20 şans ile zehirlendin!" to victim
send "%victim% adlı oyuncuyu %%20 şans ile zehirledin!" to attacker
attacker's event-item is diamond sword kısmı hata atıyorJavaScript:on damage: attacker is player victim is player attacker's event-item is diamond sword: chance of 20%: apply poison 1 for 1 second to victim send "%attacker% sana saldırdığı için %%20 şans ile zehirlendin!" to victim send "%victim% adlı oyuncuyu %%20 şans ile zehirledin!" to attacker
JavaScript:on damage: attacker is player victim is player attacker's event-item is diamond sword: chance of 20%: apply poison 1 for 1 second to victim send "%attacker% sana saldırdığı için %%20 şans ile zehirlendin!" to victim send "%victim% adlı oyuncuyu %%20 şans ile zehirledin!" to attacker
edoux.
skript sürümünüz eski olduğu için olabilir aşağıdaki kod ile tekrar deneyinon damage:
attacker is player
victim is player
if lore of attacker's held item contains "&bElmas Kılıç":
chance of 100%:
apply poison 1 to victim for 5 second
send "%attacker% sana saldırdığı için %%20 şans ile zehirlendin!" to victim
send "%victim% adlı oyuncuyu %%20 şans ile zehirledin!" to attacker
böyle yaparak düzelttim ancak apply posion 1 to victim for 5 seconds kısmı hatalı efekti vermiyor
on damage:
attacker is player
victim is player
attacker's held item is diamond sword:
chance of 20%:
apply poison 2 to the victim for 1 second
send "%attacker% sana saldırdığı için %%20 şans ile zehirlendin!" to victim
send "%victim% adlı oyuncuyu %%20 şans ile zehirledin!" to attacker
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!