Skocz do zawartości
  • 0

RANGI NA RPG NA ZDOBYCIE 10 LVL !!


Pytanie

To jest moj script na serverze i chcial bym zeby przy 10 lvl dodawalo automatycznie range ranga1 na 20 lvl dodawalo range ranga2 itp itd tylko podstawe ktos by mógł napisać ?

 

 

 

variables:
    {exp.%player%} = 0
    {lvl.%player%} = 1
    {pexp.%player%} = 0
        
command /poziom:
    trigger:
        send "      &2Poziom: &e%{lvl.%player%}%"
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 name of victim is "&2&lZombie &4&llvl 1":
            add 15 to {exp.%attacker%}
            send "&a[&2EXP&a] &2Dodano &a15 &bExpa" to attacker
            set {Zmienna.%attacker%} to {exp.%attacker%} / {pexp.%attacker%}
            set level progress of the attacker to {Zmienna.%attacker%}
            set attacker's level to {lvl.%attacker%}        
on death:    
    if attacker is a player:        
        if victim is a zombie:
            if name of victim is "&2&lZombie &4&llvl 1":
#
#
#
#
#
            if {exp.%attacker%} is greater than 10:
                if {lvl.%attacker%} is 1:
                    set {lvl.%attacker%} to 2
                    set {pexp.%attacker%} to 250
                    send "&aAwansowales na &62 &6LVL" to attacker
            if {exp.%attacker%} is greater than 250:
                if {lvl.%attacker%} is 2:
                    set {lvl.%attacker%} to 3
                    set {pexp.%attacker%} to 750
                    send "&aAwansowales na &63 &aLVL" to attacker
            if {exp.%attacker%} is greater than 750:
                if {lvl.%attacker%} is 3:
                    set {lvl.%attacker%} to 4
                    set {pexp.%attacker%} to 1000
                    send "&aAwansowales na &64 &aLVL" to attacker
            if {exp.%attacker%} is greater than 1000:
                if {lvl.%attacker%} is 4:
                    set {lvl.%attacker%} to 5
                    set {pexp.%attacker%} to 1500
                    send "&aAwansowales na &65 &aLVL" to attacker
            if {exp.%attacker%} is greater than 1500:
                if {lvl.%attacker%} is 5:
                    set {lvl.%attacker%} to 6
                    set {pexp.%attacker%} to 2000
                    send "&aAwansowales na &66 &aLVL" to attacker
            if {exp.%attacker%} is greater than 2000:
                if {lvl.%attacker%} is 6:
                    set {lvl.%attacker%} to 7
                    set {pexp.%attacker%} to 2500
                    send "&aAwansowales na &67 &aLVL" to attacker
            if {exp.%attacker%} is greater than 2500:
                if {lvl.%attacker%} is 7:
                    set {lvl.%attacker%} to 8
                    set {pexp.%attacker%} to 3000
                    send "&aAwansowales na &68 &aLVL" to attacker
            if {exp.%attacker%} is greater than 3000:
                if {lvl.%attacker%} is 8:
                    set {lvl.%attacker%} to 9
                    set {pexp.%attacker%} to 4000
                    send "&aAwansowales na &69 &aLVL" to attacker
            if {exp.%attacker%} is greater than 4000:
                if {lvl.%attacker%} is 9:
                    set {lvl.%attacker%} to 10
                    set {pexp.%attacker%} to 5000
                    send "&aAwansowales na &610 &aLVL" to attacker
            if {exp.%attacker%} is greater than 5000:
                if {lvl.%attacker%} is 10:
                    set {lvl.%attacker%} to 11
                    set {pexp.%attacker%} to 6000
                    send "&aAwansowales na &611 &aLVL" to attacker
            if {exp.%attacker%} is greater than 6000:
                if {lvl.%attacker%} is 11:
                    set {lvl.%attacker%} to 12
                    set {pexp.%attacker%} to 7000
                    send "&aAwansowales na &612 &aLVL" to attacker
            if {exp.%attacker%} is greater than 7000:
                if {lvl.%attacker%} is 12:
                    set {lvl.%attacker%} to 13
                    set {pexp.%attacker%} to 9000
                    send "&aAwansowales na &613 &aLVL" to attacker
            if {exp.%attacker%} is greater than 9000:
                if {lvl.%attacker%} is 13:
                    set {lvl.%attacker%} to 14
                    set {pexp.%attacker%} to 15000
                    send "&aAwansowales na &614 &aLVL" to attacker
            if {exp.%attacker%} is greater than 15000:
                if {lvl.%attacker%} is 14:
                    set {lvl.%attacker%} to 15
                    set {pexp.%attacker%} to 20000
                    send "&aAwansowales na &615 &aLVL" to attacker
            if {exp.%attacker%} is greater than 20000:
                if {lvl.%attacker%} is 15:
                    set {lvl.%attacker%} to 16
                    set {pexp.%attacker%} to 30000
                    send "&aAwansowales na &616 &aLVL" to attacker
            if {exp.%attacker%} is greater than 30000:
                if {lvl.%attacker%} is 16:
                    set {lvl.%attacker%} to 17
                    set {pexp.%attacker%} to 40000
                    send "&aAwansowales na &617 &aLVL" to attacker
            if {exp.%attacker%} is greater than 40000:
                if {lvl.%attacker%} is 17:
                    set {lvl.%attacker%} to 18
                    set {pexp.%attacker%} to 60000
                    send "&aAwansowales na &618 &aLVL" to attacker
            if {exp.%attacker%} is greater than 60000:
                if {lvl.%attacker%} is 18:
                    set {lvl.%attacker%} to 19
                    set {pexp.%attacker%} to 90000
                    send "&aAwansowales na &619 &aLVL" to attacker
            if {exp.%attacker%} is greater than 90000:
                if {lvl.%attacker%} is 19:
                    set {lvl.%attacker%} to 20
                    set {pexp.%attacker%} to 120000
                    send "&aAwansowales na &620 &aLVL" to attacker
            if {exp.%attacker%} is greater than 120000:

Odnośnik do komentarza
https://skript.pl/temat/26200-rangi-na-rpg-na-zdobycie-10-lvl/
Udostępnij na innych stronach

0 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Nie udzielono jeszcze odpowiedzi na to pytanie

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...