Ktoś pomoże? Niby działa, 0 błędów, ale jak się kliknie na byle jakim przedmiocie to wyskakuje ze włączyły się wszystkie akcesoria.
Z góry dziękuje.
on click:
if player's tool is iron ingot named "&6Tarcza":
set {Ar::g::%player%::bransoleta} to true
send "&4Zalozyles Tarcze"
if player's tool is minecart with chest named "&5Bransoleta":
set {Ar::g::%player%::bransoleta} to true
send "&4Zalozyles Bransolete"
if player's tool is nether wart named "&3Naszyjnik":
set {Ar::g::%player%::naszyjnik} to true
send "&4Zalozyles Naszyjnik"
if player's tool is minecart with hopper named "&4Pas":
set {Ar::g::%player%::pas} to true
send "&4Zalozyles pas"
on damage of player:
if {Ar::g::%victim%::tarcza} is true:
chance of 20%:
cancel event
if {Ar::g::%victim%::pas} is true:
chance of 20%:
cancel event
if {Ar::g::%attacker%::bransoleta} is true:
chance of 10%:
damage victim by 0.2
if {Ar::g::%attacker%::naszyjnik} is true:
chance of 10%:
damage victim by 0.3
if {Ar::g::%attacker%::pas} is true:
chance of 10%:
damage victim by 0.3
on drop:
if event-item is iron ingot named "&6Tarcza":
set {Ar::g::%player%::tarcza} to false
if event-item is minecart with chest named "&5Bransoleta":
set {Ar::g::%player%::bransoleta} to false
if event-item is nether wart named "&3Naszyjnik":
set {Ar::g::%player%::naszyjnik} to false
if event-item is minecart with hopper named "&4Pas":
set {Ar::g::%player%::pas} to false
Pytanie
Armormen 0
Ktoś pomoże? Niby działa, 0 błędów, ale jak się kliknie na byle jakim przedmiocie to wyskakuje ze włączyły się wszystkie akcesoria.
Z góry dziękuje.
on click: if player's tool is iron ingot named "&6Tarcza": set {Ar::g::%player%::bransoleta} to true send "&4Zalozyles Tarcze" if player's tool is minecart with chest named "&5Bransoleta": set {Ar::g::%player%::bransoleta} to true send "&4Zalozyles Bransolete" if player's tool is nether wart named "&3Naszyjnik": set {Ar::g::%player%::naszyjnik} to true send "&4Zalozyles Naszyjnik" if player's tool is minecart with hopper named "&4Pas": set {Ar::g::%player%::pas} to true send "&4Zalozyles pas" on damage of player: if {Ar::g::%victim%::tarcza} is true: chance of 20%: cancel event if {Ar::g::%victim%::pas} is true: chance of 20%: cancel event if {Ar::g::%attacker%::bransoleta} is true: chance of 10%: damage victim by 0.2 if {Ar::g::%attacker%::naszyjnik} is true: chance of 10%: damage victim by 0.3 if {Ar::g::%attacker%::pas} is true: chance of 10%: damage victim by 0.3 on drop: if event-item is iron ingot named "&6Tarcza": set {Ar::g::%player%::tarcza} to false if event-item is minecart with chest named "&5Bransoleta": set {Ar::g::%player%::bransoleta} to false if event-item is nether wart named "&3Naszyjnik": set {Ar::g::%player%::naszyjnik} to false if event-item is minecart with hopper named "&4Pas": set {Ar::g::%player%::pas} to false
Edytowane przez LjayPL789Wstawiam w code.
Wstawiam w code.
Notatka dodana przez bludis
Odnośnik do komentarza
https://skript.pl/temat/29686-potrzebuj%C4%99-pomocy-z-akcesoriom/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi