Rafix1423 2 Opublikowano 13 października 2017 Udostępnij Opublikowano 13 października 2017 Witam czemu po wbiciu 3 lvl automatycznie przeskakuje wszystkie lvl i kończy na ostatnim https://code.skript.pl/5mmEPaVz/ gdzie jest błąd ? @close Naprawione PRIV Odnośnik do komentarza https://skript.pl/temat/22154-poprawa/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 kaol48s 211 Opublikowano 13 października 2017 Udostępnij Opublikowano 13 października 2017 tu masz lepszą wersje Spoiler variables: {exp::%player%} = 0 {lvl::%player%} = 1 {neededExp::2} = 100 #potrzebny exp na lvl 2# {neededExp::3} = 250 #potrzebny exp na lvl 3# {neededExp::4} = 750 #itd...# {neededExp::5} = 1000 {neededExp::6} = 1200 {neededExp::7} = 1400 {neededExp::8} = 1600 {neededExp::9} = 1800 {neededExp::10} = 2500 command /lvl: trigger: send "&f&lTwoj Lvl: &b%{lvl::%player%}%" send "&f&lTwoj Exp: &b%{exp::%player%}%&8/&a%{neededExp::%{lvl::%player%}+1%}%" command /resetlvl: trigger: set {lvl::%player%} to 1 set {pexp::%player%} to 100 set {exp::%player%} to 0 on death: if victim is zombie: if attacker is player: if name of victim is "&4&lMlody Zombie.LvL 1": add 15 to {exp::%attacker%} send "&a[&2EXP&a] &2Dodano &a15 &bExpa" to attacker set {progress.%attacker%} to {exp::%attacker%} / {pexp::%attacker%} set level progress of the attacker to {progress.%attacker%} set attacker's level to {lvl::%attacker%} # #LVLE # on death: if attacker is a player: if victim is a zombie: if name of victim is "&4&lMlody Zombie.LvL 1": if {exp::%attacker%} >= {neededExp::%{lvl::%attacker%}+1%}: add 1 to {lvl::%attacker%} send "&aAwansowales na &6%{lvl::%attacker%}% &6LVL" to attacker Odnośnik do komentarza https://skript.pl/temat/22154-poprawa/#findComment-151087 Udostępnij na innych stronach Więcej opcji udostępniania...
0 LordYu 296 Opublikowano 14 października 2017 Udostępnij Opublikowano 14 października 2017 Problem został rozwiązany. Odnośnik do komentarza https://skript.pl/temat/22154-poprawa/#findComment-151088 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
Rafix1423 2
Witam czemu po wbiciu 3 lvl automatycznie przeskakuje wszystkie lvl i kończy na ostatnim https://code.skript.pl/5mmEPaVz/ gdzie jest błąd ?
@close Naprawione PRIV
Odnośnik do komentarza
https://skript.pl/temat/22154-poprawa/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi