Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Variables:
- {xp.%player%} = 0
- {level.$player%} = 1
- {xpmax.%player%} = 10
- {xpupgrade.%player%} =10
- on death:
- attacker is a player
- victim is a monster:
- add 3 to {xp.%attacker%}
- send "&7Mob oldurdugun icin &e%{xp.attacker%}% &f( &6+3 &f) kazandin." to attacker
- victim is a animal:
- add 3 to {xp.%attacker%}
- send "&7Mob oldurdugun icin &e%{xp.attacker%}% &f( &6+3 &f) kazandin." to attacker
- victim is a player:
- add 3 to {xp.%attacker%}
- send "&7Mob oldurdugun icin &e%{xp.attacker%}% &f( &6+3 &f) kazandin." to attacker
- if {xp,%attacker%} is greater than or equal to {xpmax.%attacker%}:
- add {xpupgrade.%player%} to {xpmax.%player%}
- add 10 to {xpupgrade.%player%}
- set {xp.%attacker%} to 0
- add 1 to {level.%attacker%}
- send "&aLevel atladin &f( &f%{level.%attacker%}% &7)" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement