variables:
{poziom.%player%} = 0
{monety.%player%} = 0
{exp.%player%} = 0
on chat:
set the player's display name to "&8[&6Poziom %{poziom.%player%}%&8] &b&l%player%"
on death:
if victim is wolf:
if name of victim is "&6Młody wilk &7[&6lvl 1 &7]":
add 0.25 to {poziom.%attacker%}
send "&6Zabiles Moba +25expa"
on death:
if victim is cavespider:
if name of victim is "&6Lesny straznik &8[&4&lBoss&8]":
add 2 to {poziom.%attacker%}
send "&6Zabiles Moba +25expa"
send "&6Gracz %attacker% zabil Bossa Lesnego straznika!"
on death:
if victim is spider:
if name of victim is "&6Obronca Lasu &8[&6Lvl 1&8]":
add 0.50 to {poziom.%attacker%}
send "&6Zabiles Moba +25expa"
on death:
if victim is wolf:
if name of victim is "&6Wilcza Krolowa &8[&4&lBoss&8]":
add 1 to {poziom.%attacker%}
send "&6Zabiles bossa! &2+1lvl"
execute console command "bc &6Gracz %attacker% zabil &3Wilczą królową"
on death:
if victim is skeleton:
if name of victim is "&6Snieżny szkielet &8[&6Poziom 1&8]"
add 0.75 to {poziom.%attacker%}
send "&6Zabiles moba"
on death:
if victim is IronGolem:
if name of victim is "&f&lYeti &8[&4&lBoss&8]"
add 5 to {poziom.%attacker%}
execute console command "bc &6Gracz %attacker% zabil &3Yetiego!"
Pytanie
MisiolPl 2
witam mam problem w pisze:
victim is not an stack
kod jest taki:
variables:
{poziom.%player%} = 0
{monety.%player%} = 0
{exp.%player%} = 0
on chat:
set the player's display name to "&8[&6Poziom %{poziom.%player%}%&8] &b&l%player%"
on death:
if victim is wolf:
if name of victim is "&6Młody wilk &7[&6lvl 1 &7]":
add 0.25 to {poziom.%attacker%}
send "&6Zabiles Moba +25expa"
on death:
if victim is cavespider:
if name of victim is "&6Lesny straznik &8[&4&lBoss&8]":
add 2 to {poziom.%attacker%}
send "&6Zabiles Moba +25expa"
send "&6Gracz %attacker% zabil Bossa Lesnego straznika!"
on death:
if victim is spider:
if name of victim is "&6Obronca Lasu &8[&6Lvl 1&8]":
add 0.50 to {poziom.%attacker%}
send "&6Zabiles Moba +25expa"
on death:
if victim is wolf:
if name of victim is "&6Wilcza Krolowa &8[&4&lBoss&8]":
add 1 to {poziom.%attacker%}
send "&6Zabiles bossa! &2+1lvl"
execute console command "bc &6Gracz %attacker% zabil &3Wilczą królową"
on death:
if victim is skeleton:
if name of victim is "&6Snieżny szkielet &8[&6Poziom 1&8]"
add 0.75 to {poziom.%attacker%}
send "&6Zabiles moba"
on death:
if victim is IronGolem:
if name of victim is "&f&lYeti &8[&4&lBoss&8]"
add 5 to {poziom.%attacker%}
execute console command "bc &6Gracz %attacker% zabil &3Yetiego!"
Odnośnik do komentarza
https://skript.pl/temat/21720-problem-z-victim/Udostępnij na innych stronach
11 odpowiedzi na to pytanie
Rekomendowane odpowiedzi