Facebook
From Lorax, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 219
  1. ###################################################
  2. lvl-aktualny lvl
  3. exp-aktualne punkty expa
  4. pexp-exp potrzebny na wbicie danego lvla
  5.                        **Lvle by Loraxik**
  6. ###################################################
  7. variables:
  8.         {exp::%player%} = 1
  9.         {lvl::%player%} = 1
  10.         {pexp::%player%} = 200
  11.                
  12. command /lvl:
  13.         trigger:
  14.                 send "&f&lTwoj Lvl: &b%{lvl::%player%}%"
  15.                 send "&f&lTwoj Exp: &b%{exp::%player%}%&8/&a%{pexp::%player%}%"
  16.  
  17. command /poziom:
  18.         trigger:
  19.                 send "&6&lTwoj Lvl: &b%{lvl::%player%}%"
  20.                 send "&6&lTwoj Exp: &b%{exp::%player%}%&8/&a%{pexp::%player%}%"
  21.                
  22. command /resetlvl:
  23.         trigger:
  24.                 set {lvl::%player%} to 1
  25.                 set {pexp::%player%} to 200
  26.                 set {exp::%player%} to 1
  27.  
  28. #########
  29. Levele
  30. #########
  31.  
  32. ###
  33. 1-10
  34. ###
  35.  
  36. on death:
  37.         if attacker is player:
  38.                 if victim is zombie:
  39.                         if name of victim is "Zombie lvl. 1"
  40.                                 add 4 to {exp::%player%}
  41.  
  42. on death:
  43.         if attacker is player:
  44.                 if victim is zombie:
  45.                         if name of victim is "Zmutowany Zombie lvl. 5"
  46.                                 add 5 to {exp::%player%}
  47.  
  48. on death:
  49.         if attacker is player:
  50.                 if victim is zombie:
  51.                         if name of victim is "Niezniszczalny Zombie lvl. 8"
  52.                                 add 8 to {exp::%player%}
  53.                        
  54. if {exp::%player%} is greater than 200:
  55.         if {lvl::%player%} is 1:
  56.                 set {lvl::%player%} to 2
  57.                 set {pexp::%player%} to 300
  58.                 send "&b&3Awansowales na &62 &6poziom" to attacker
  59.  
  60. if {exp::%player%} is greater than 300:
  61.         if {lvl::%player%} is 2:
  62.                 set {lvl::%player%} to 3
  63.                 set {pexp::%player%} to 400
  64.                 send "&b&3Awansowales na &63 &6poziom" to attacker
  65.  
  66. if {exp::%player%} is greater than 400:
  67.         if {lvl::%player%} is 3:
  68.                 set {lvl::%player%} to 4
  69.                 set {pexp::%player%} to 500
  70.                 send "&b&3Awansowales na &64 &6poziom" to attacker
  71.  
  72. if {exp::%player%} is greater than 500:
  73.         if {lvl::%player%} is 4:
  74.                 set {lvl::%player%} to 5
  75.                 set {pexp::%player%} to 600
  76.                 send "&b&3Awansowales na &65 &6poziom" to attacker
  77.  
  78. if {exp::%player%} is greater than 600:
  79.         if {lvl::%player%} is 5:
  80.                 set {lvl::%player%} to 6
  81.                 set {pexp::%player%} to 700
  82.                 send "&b&3Awansowales na &66 &6poziom" to attacker
  83.  
  84. if {exp::%player%} is greater than 700:
  85.         if {lvl::%player%} is 6:
  86.                 set {lvl::%player%} to 7
  87.                 set {pexp::%player%} to 800
  88.                 send "&b&3Awansowales na &67 &6poziom" to attacker
  89.  
  90. if {exp::%player%} is greater than 800:
  91.         if {lvl::%player%} is 7:
  92.                 set {lvl::%player%} to 8
  93.                 set {pexp::%player%} to 900
  94.                 send "&b&3Awansowales na &68 &6poziom" to attacker
  95.  
  96. if {exp::%player%} is greater than 900:
  97.         if {lvl::%player%} is 8:
  98.                 set {lvl::%player%} to 9
  99.                 set {pexp::%player%} to 1000
  100.                 send "&b&3Awansowales na &69 &6poziom" to attacker
  101.  
  102. if {exp::%player%} is greater than 1000:
  103.         if {lvl::%player%} is 9:
  104.                 set {lvl::%player%} to 10
  105.                 set {pexp::%player%} to 1200
  106.                 send "&b&3Awansowales na &610 &6poziom" to attacker
  107.                 send "&b&6 Gracz &b&2%player% &b&6awansowal na 10 poziom!      
  108.