on death:
if name of victim is "&cZbrojny Heretyk &b[Poziom 1]":
if attacker is not a Iron Golem:
add 1 to {exp.%attacker%}
if {exp.%attacker%} is more than or equal to {expW.%attacker%}:
add 1 to {lvl.%attacker%}
add {expW.%attacker%}*{lvl.%attacker%} to {expW.%attacker%}
remove {exp.%attacker%} from {exp.%attacker%}
send "&9[&6&lEvolution&e&lYlath&9] &7&oZdobyles poziom %{lvl.%attacker%}%" to attacker
na 5 linijce kod się kończy mam expa 57/50 i nic się nie dzieje może ktoś coś wie dlaczego ?
Pytanie
Nieaktywny
Kod mi wjechał w bagno w 5 linijce:
variables:
{expW.%player%} = 50
{exp.%player%} = 0
{lvl.%player%} = 1
on death:
if name of victim is "&cZbrojny Heretyk &b[Poziom 1]":
if attacker is not a Iron Golem:
add 1 to {exp.%attacker%}
if {exp.%attacker%} is more than or equal to {expW.%attacker%}:
add 1 to {lvl.%attacker%}
add {expW.%attacker%}*{lvl.%attacker%} to {expW.%attacker%}
remove {exp.%attacker%} from {exp.%attacker%}
send "&9[&6&lEvolution&e&lYlath&9] &7&oZdobyles poziom %{lvl.%attacker%}%" to attacker
na 5 linijce kod się kończy mam expa 57/50 i nic się nie dzieje
może ktoś coś wie dlaczego ?
Odnośnik do komentarza
Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi