Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ############## #
- # Skrypt #
- # By LordGumisiek#
- # Name BlackSmith
- #
- # Version: 1.0 #
- # ############## #
- options:
- #------------------------#
- tag: Miecz
- #------------------------#
- #------------------------#
- wmsz1: 1
- wmsz2: 2
- wmsz3: 3
- wmsz4: 4
- wmsz5: 5
- wmsz6: 6
- wmsz7: 7
- #------------------------#
- #------------------------#
- kmsz1: 2
- kmsz2: 3
- kmsz3: 4
- kmsz4: 5
- kmsz5: 6
- kmsz6: 7
- kmsz7: 8
- #------------------------#
- #------------------------#
- zmsz1: 3
- zmsz2: 4
- zmsz3: 5
- zmsz4: 6
- zmsz5: 7
- zmsz6: 8
- zmsz7: 9
- #------------------------#
- #------------------------#
- dmsz1: 4
- dmsz2: 5
- dmsz3: 6
- dmsz4: 7
- dmsz5: 8
- dmsz6: 9
- #------------------------#
- #Cena za ulepszenie
- #Miecze drewniane
- #------------------------#
- wmszc1: 2
- wmszc2: 5
- wmszc3: 8
- wmszc4: 10
- wmszc5: 12
- wmszc6: 15
- wmszc7: 18
- #------------------------#
- #Miecze kamienne
- #------------------------#
- kmszc1: 10
- kmszc2: 15
- kmszc3: 20
- kmszc4: 25
- kmszc5: 30
- kmszc6: 35
- kmszc7: 40
- #------------------------#
- #Miecze zelazne
- #------------------------#
- zmszc1: 40
- zmszc2: 50
- zmszc3: 60
- zmszc4: 70
- zmszc5: 80
- zmszc6: 90
- zmszc7: 100
- #------------------------#
- #Miecze diaxowe
- #------------------------#
- dmszc1: 100
- dmszc2: 150
- dmszc3: 200
- dmszc4: 250
- dmszc5: 300
- dmszc6: 350
- #------------------------#
- variables:
- {ms.%player%} = true
- on damage:
- if attacker's tool is wooden sword:
- if name of attacker's tool is "&0Drewniany miecz +1":
- set damage to 3
- if name of attacker's tool is "&0Drewniany miecz +2":
- set damage to 4
- if name of attacker's tool is "&0Drewniany miecz +3":
- set damage to 5
- if name of attacker's tool is "&0Drewniany miecz +4":
- set damage to 6
- if name of attacker's tool is "&0Drewniany miecz +5":
- set damage to 7
- if name of attacker's tool is "&0Drewniany miecz +6":
- set damage to 8
- if attacker's tool is stone sword:
- if name of attacker's tool is "&8Kamienny miecz +1":
- set damage to 5
- if name of attacker's tool is "&8Kamienny miecz +2":
- set damage to 6
- if name of attacker's tool is "&8Kamienny miecz +3":
- set damage to 7
- if name of attacker's tool is "&8Kamienny miecz +4":
- set damage to 8
- if name of attacker's tool is "&8Kamienny miecz +5":
- set damage to 9
- if name of attacker's tool is "&8Kamienny miecz +6":
- set damage to 10
- if attacker's tool is iron sword:
- if name of attacker's tool is "&7Zelazn miecz +1":
- set damage to 6
- if name of attacker's tool is "&7Zelazn miecz +2":
- set damage to 7
- if name of attacker's tool is "&7Zelazn miecz +3":
- set damage to 8
- if name of attacker's tool is "&7Zelazn miecz +4":
- set damage to 9
- if name of attacker's tool is "&7Zelazn miecz +5":
- set damage to 10
- if name of attacker's tool is "&7Zelazn miecz +6":
- set damage to 11
- if attacker's tool is diamond sword:
- if name of attacker's tool is "&bDiamentowy miecz +1":
- set damage to 7
- if name of attacker's tool is "&bDiamentowy miecz +2":
- set damage to 8
- if name of attacker's tool is "&bDiamentowy miecz +3":
- set damage to 9
- if name of attacker's tool is "&bDiamentowy miecz +4":
- set damage to 10
- if name of attacker's tool is "&bDiamentowy miecz +5":
- set damage to 11
- if name of attacker's tool is "&bDiamentowy miecz +6":
- set damage to 13
- command /kowal:
- permission: koodsh.gracz
- trigger:
- open chest with 5 rows named "&6Kowal" to player
- format slot 0 of player with 1 of wooden sword named "&0Drewniany miecz +1" with lore "Szansa spalenia: {@wmsz1} | Cena: {@wmszc1}" to run "sudo %player% kowalspal miecz w +1 %player%"
- format slot 1 of player with 1 of wooden sword named "&0Drewniany miecz +2" with lore "Szansa spalenia: {@wmsz2} | Cena: {@wmszc2}" to run "sudo %player% kowalspal miecz w +2 %player%"
- format slot 2 of player with 1 of wooden sword named "&0Drewniany miecz +3" with lore "Szansa spalenia: {@wmsz3} | Cena: {@wmszc3}" to run "sudo %player% kowalspal miecz w +3 %player%"
- format slot 3 of player with 1 of wooden sword named "&0Drewniany miecz +4" with lore "Szansa spalenia: {@wmsz4} | Cena: {@wmszc4}" to run "sudo %player% kowalspal miecz w +4 %player%"
- format slot 4 of player with 1 of wooden sword named "&0Drewniany miecz +5" with lore "Szansa spalenia: {@wmsz5} | Cena: {@wmszc5}" to run "sudo %player% kowalspal miecz w +5 %player%"
- format slot 5 of player with 1 of wooden sword named "&0Drewniany miecz +6" with lore "Szansa spalenia: {@wmsz6} | Cena: {@wmszc6}" to run "sudo %player% kowalspal miecz w +6 %player%"
- format slot 7 of player with 1 of stone sword named "&8Kamienny miecz +1" with lore "Szansa spalenia: {@wmsz7} | Cena: {@wmszc7}" to run "sudo %player% kowalspal miecz w +7 %player%"
- format slot 9 of player with 1 of stone sword named "&8Kamienny miecz +1" with lore "Szansa spalenia: {@kmsz1} | Cena: {@kmszc1}" to run "sudo %player% kowalspal miecz k +1 %player%"
- format slot 10 of player with 1 of stone sword named "&8Kamienny miecz +2" with lore "Szansa spalenia: {@kmsz2} | Cena: {@kmszc2}" to run "sudo %player% kowalspal miecz k +2 %player%"
- format slot 11 of player with 1 of stone sword named "&8Kamienny miecz +3" with lore "Szansa spalenia: {@kmsz3} | Cena: {@kmszc3}" to run "sudo %player% kowalspal miecz k +3 %player%"
- format slot 12 of player with 1 of stone sword named "&8Kamienny miecz +4" with lore "Szansa spalenia: {@kmsz4} | Cena: {@kmszc4}" to run "sudo %player% kowalspal miecz k +4 %player%"
- format slot 13 of player with 1 of stone sword named "&8Kamienny miecz +5" with lore "Szansa spalenia: {@kmsz5} | Cena: {@kmszc5}" to run "sudo %player% kowalspal miecz k +5 %player%"
- format slot 14 of player with 1 of stone sword named "&8Kamienny miecz +6" with lore "Szansa spalenia: {@kmsz6} | Cena: {@kmszc6}" to run "sudo %player% kowalspal miecz k +6 %player%"
- format slot 16 of player with 1 of iron sword named "&7Zelazny miecz +1" with lore "Szansa spalenia: {@kmsz7} | Cena: {@kmszc7}" to run "sudo %player% kowalspal miecz k +7 %player%"
- format slot 18 of player with 1 of iron sword named "&7Zelazny miecz +1" with lore "Szansa spalenia: {@zmsz1} | Cena: {@zmszc1}" to run "sudo %player% kowalspal miecz z +1 %player%"
- format slot 19 of player with 1 of iron sword named "&7Zelazny miecz +2" with lore "Szansa spalenia: {@zmsz2} | Cena: {@zmszc2}" to run "sudo %player% kowalspal miecz z +2 %player%"
- format slot 20 of player with 1 of iron sword named "&7Zelazny miecz +3" with lore "Szansa spalenia: {@zmsz3} | Cena: {@zmszc3}" to run "sudo %player% kowalspal miecz z +3 %player%"
- format slot 21 of player with 1 of iron sword named "&7Zelazny miecz +4" with lore "Szansa spalenia: {@zmsz4} | Cena: {@zmszc4}" to run "sudo %player% kowalspal miecz z +4 %player%"
- format slot 22 of player with 1 of iron sword named "&7Zelazny miecz +5" with lore "Szansa spalenia: {@zmsz5} | Cena: {@zmszc5}" to run "sudo %player% kowalspal miecz z +5 %player%"
- format slot 23 of player with 1 of iron sword named "&7Zelazny miecz +6" with lore "Szansa spalenia: {@zmsz6} | Cena: {@zmszc6}" to run "sudo %player% kowalspal miecz z +6 %player%"
- format slot 25 of player with 1 of diamond sword named "&bDiamentowy miecz +1" with lore "Szansa spalenia: {@zmsz7} | Cena: {@zmszc7}" to run "sudo %player% kowalspal miecz z +7 %player%"
- format slot 27 of player with 1 of diamond sword named "&bDiamentowy miecz +1" with lore "Szansa spalenia: {@dmsz1} | Cena: {@dmszc1}" to run "sudo %player% kowalspal miecz d +1 %player%"
- format slot 28 of player with 1 of diamond sword named "&bDiamentowy miecz +2" with lore "Szansa spalenia: {@dmsz2} | Cena: {@dmszc2}" to run "sudo %player% kowalspal miecz d +2 %player%"
- format slot 29 of player with 1 of diamond sword named "&bDiamentowy miecz +3" with lore "Szansa spalenia: {@dmsz3} | Cena: {@dmszc3}" to run "sudo %player% kowalspal miecz d +3 %player%"
- format slot 30 of player with 1 of diamond sword named "&bDiamentowy miecz +4" with lore "Szansa spalenia: {@dmsz4} | Cena: {@dmszc4}" to run "sudo %player% kowalspal miecz d +4 %player%"
- format slot 31 of player with 1 of diamond sword named "&bDiamentowy miecz +5" with lore "Szansa spalenia: {@dmsz5} | Cena: {@dmszc5}" to run "sudo %player% kowalspal miecz d +5 %player%"
- format slot 32 of player with 1 of diamond sword named "&bDiamentowy miecz +6" with lore "Szansa spalenia: {@dmsz6} | Cena: {@dmszc6}" to run "sudo %player% kowalspal miecz d +6 %player%"
- stop
- command /kowalspal [<text>] [<text>] [<text>] [<player=%player%>]:
- permission: koodsh.gracz
- trigger:
- if arg 1 is "miecz":
- if arg 2 is "w":
- if arg 3 is "+1":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@wmsz1}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is wooden sword:
- if player's balance is more than or equal to {@wmszc1}:
- remove {@wmszc1} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove wooden sword from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is wooden sword:
- if player's balance is more than or equal to {@wmszc1}:
- remove {@wmszc1} from player's balance
- set {ms.%player%} to false
- remove wooden sword from player
- wait 1 tick
- give wooden sword named "&0Drewniany miecz +1" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- if arg 3 is "+2":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@wmsz2}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is wooden sword:
- if name of player's tool is "&0Drewniany miecz +1":
- if player's balance is more than or equal to {@wmszc2}:
- remove {@wmszc2} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove wooden sword named "&0Drewniany miecz +1" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is wooden sword:
- if name of player's tool is "&0Drewniany miecz +1":
- if player's balance is more than or equal to {@wmszc2}:
- remove {@wmszc2} from player's balance
- set {ms.%player%} to false
- remove wooden sword named "&0Drewniany miecz +1" from player
- wait 1 tick
- give wooden sword named "&0Drewniany miecz +2" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+3":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@wmsz3}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is wooden sword:
- if name of player's tool is "&0Drewniany miecz +2":
- if player's balance is more than or equal to {@wmszc3}:
- remove {@wmszc3} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove wooden sword named "&0Drewniany miecz +2" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is wooden sword:
- if name of player's tool is "&0Drewniany miecz +2":
- if player's balance is more than or equal to {@wmszc3}:
- remove {@wmszc3} from player's balance
- set {ms.%player%} to false
- remove wooden sword named "&0Drewniany miecz +2" from player
- wait 1 tick
- give wooden sword named "&0Drewniany miecz +3" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+4":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@wmsz4}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is wooden sword:
- if name of player's tool is "&0Drewniany miecz +3":
- if player's balance is more than or equal to {@wmszc4}:
- remove {@wmszc4} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove wooden sword named "&0Drewniany miecz +3" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is wooden sword:
- if name of player's tool is "&0Drewniany miecz +3":
- if player's balance is more than or equal to {@wmszc4}:
- remove {@wmszc4} from player's balance
- set {ms.%player%} to false
- remove wooden sword named "&0Drewniany miecz +3" from player
- wait 1 tick
- give wooden sword named "&0Drewniany miecz +4" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+5":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@wmsz5}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is wooden sword:
- if name of player's tool is "&0Drewniany miecz +4":
- if player's balance is more than or equal to {@wmszc5}:
- remove {@wmszc5} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove wooden sword named "&0Drewniany miecz +4" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is wooden sword:
- if name of player's tool is "&0Drewniany miecz +4":
- if player's balance is more than or equal to {@wmszc5}:
- remove {@wmszc5} from player's balance
- set {ms.%player%} to false
- remove wooden sword named "&0Drewniany miecz +4" from player
- wait 1 tick
- give wooden sword named "&0Drewniany miecz +5" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+6":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@wmsz6}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is wooden sword:
- if name of player's tool is "&0Drewniany miecz +5":
- if player's balance is more than or equal to {@wmszc6}:
- remove {@wmszc6} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove wooden sword named "&0Drewniany miecz +5" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is wooden sword:
- if name of player's tool is "&0Drewniany miecz +5":
- if player's balance is more than or equal to {@wmszc6}:
- remove {@wmszc6} from player's balance
- set {ms.%player%} to false
- remove wooden sword named "&0Drewniany miecz +5" from player
- wait 1 tick
- give wooden sword named "&0Drewniany miecz +6" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+7":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@wmsz7}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is wooden sword:
- if name of player's tool is "&0Drewniany miecz +6":
- if player's balance is more than or equal to {@wmszc7}:
- remove {@wmszc7} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove wooden sword named "&0Drewniany miecz +6" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is wooden sword:
- if name of player's tool is "&0Drewniany miecz +6":
- if player's balance is more than or equal to {@wmszc7}:
- remove {@wmszc7} from player's balance
- set {ms.%player%} to false
- remove wooden sword named "&0Drewniany miecz +6" from player
- wait 1 tick
- give stone sword named "&8Kamienny miecz +1" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 2 is "k":
- if arg 3 is "+1":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@kmsz1}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is stone sword:
- if player's balance is more than or equal to {@kmszc1}:
- remove {@kmszc1} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove stone sword from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is stone sword:
- if player's balance is more than or equal to {@kmszc1}:
- remove {@kmszc1} from player's balance
- set {ms.%player%} to false
- remove stone sword from player
- wait 1 tick
- give stone sword named "&8Kamienny miecz +1" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- if arg 3 is "+2":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@kmsz2}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is stone sword:
- if name of player's tool is "&8Kamienny miecz +1":
- if player's balance is more than or equal to {@kmszc2}:
- remove {@kmszc2} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove stone sword named "&8Kamienny miecz +1" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is stone sword:
- if name of player's tool is "&8Kamienny miecz +1":
- if player's balance is more than or equal to {@kmszc2}:
- remove {@kmszc2} from player's balance
- set {ms.%player%} to false
- remove stone sword named "&8Kamienny miecz +1" from player
- wait 1 tick
- give stone sword named "&8Kamienny miecz +2" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+3":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@kmsz3}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is stone sword:
- if name of player's tool is "&8Kamienny miecz +2":
- if player's balance is more than or equal to {@kmszc3}:
- remove {@kmszc3} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove stone sword named "&8Kamienny miecz +2" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is stone sword:
- if name of player's tool is "&8Kamienny miecz +2":
- if player's balance is more than or equal to {@kmszc3}:
- remove {@kmszc3} from player's balance
- set {ms.%player%} to false
- remove stone sword named "&8Kamienny miecz +2" from player
- wait 1 tick
- give stone sword named "&8Kamienny miecz +3" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+4":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@kmsz4}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is stone sword:
- if name of player's tool is "&8Kamienny miecz +3":
- if player's balance is more than or equal to {@kmszc4}:
- remove {@kmszc4} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove stone sword named "&8Kamienny miecz +3" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is stone sword:
- if name of player's tool is "&8Kamienny miecz +3":
- if player's balance is more than or equal to {@kmszc4}:
- remove {@kmszc4} from player's balance
- set {ms.%player%} to false
- remove stone sword named "&8Kamienny miecz +3" from player
- wait 1 tick
- give stone sword named "&8Kamienny miecz +4" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+5":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@kmsz5}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is stone sword:
- if name of player's tool is "&8Kamienny miecz +4":
- if player's balance is more than or equal to {@kmszc5}:
- remove {@kmszc5} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove stone sword named "&8Kamienny miecz +4" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is stone sword:
- if name of player's tool is "&8Kamienny miecz +4":
- if player's balance is more than or equal to {@kmszc5}:
- remove {@kmszc5} from player's balance
- set {ms.%player%} to false
- remove stone sword named "&8Kamienny miecz +4" from player
- wait 1 tick
- give stone sword named "&8Kamienny miecz +5" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+6":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@kmsz6}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is stone sword:
- if name of player's tool is "&8Kamienny miecz +5":
- if player's balance is more than or equal to {@kmszc6}:
- remove {@kmszc6} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove stone sword named "&8Kamienny miecz +5" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is stone sword:
- if name of player's tool is "&8Kamienny miecz +5":
- if player's balance is more than or equal to {@kmszc6}:
- remove {@kmszc6} from player's balance
- set {ms.%player%} to false
- remove stone sword named "&8Kamienny miecz +5" from player
- wait 1 tick
- give stone sword named "&8Kamienny miecz +6" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+7":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@kmsz7}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is stone sword:
- if name of player's tool is "&8Kamienny miecz +6":
- if player's balance is more than or equal to {@kmszc7}:
- remove {@kmszc7} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove stone sword named "&8Kamienny miecz +6" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is stone sword:
- if name of player's tool is "&8Kamienny miecz +6":
- if player's balance is more than or equal to {@kmszc7}:
- remove {@kmszc7} from player's balance
- set {ms.%player%} to false
- remove stone sword named "&8Kamienny miecz +6" from player
- wait 1 tick
- give iron sword named "&7Zelazny miecz +1" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 2 is "z":
- if arg 3 is "+1":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@zmsz1}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is iron sword:
- if player's balance is more than or equal to {@zmszc1}:
- remove {@zmszc1} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove iron sword from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is iron sword:
- if player's balance is more than or equal to {@zmszc1}:
- remove {@zmszc1} from player's balance
- set {ms.%player%} to false
- remove iron sword from player
- wait 1 tick
- give iron sword named "&7Zelazny miecz +1" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- if arg 3 is "+2":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@zmsz2}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is iron sword:
- if name of player's tool is "&7Zelazny miecz +1":
- if player's balance is more than or equal to {@zmszc2}:
- remove {@zmszc2} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove iron sword named "&7Zelazny miecz +1" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is iron sword:
- if name of player's tool is "&7Zelazny miecz +1":
- if player's balance is more than or equal to {@zmszc2}:
- remove {@zmszc2} from player's balance
- set {ms.%player%} to false
- remove iron sword named "&7Zelazny miecz +1" from player
- wait 1 tick
- give iron sword named "&7Zelazny miecz +2" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+3":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@zmsz3}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is iron sword:
- if name of player's tool is "&7Zelazny miecz +2":
- if player's balance is more than or equal to {@zmszc3}:
- remove {@zmszc3} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove iron sword named "&7Zelazny miecz +2" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is iron sword:
- if name of player's tool is "&7Zelazny miecz +2":
- if player's balance is more than or equal to {@zmszc3}:
- remove {@zmszc3} from player's balance
- set {ms.%player%} to false
- remove iron sword named "&7Zelazny miecz +2" from player
- wait 1 tick
- give iron sword named "&7Zelazny miecz +3" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+4":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@zmsz4}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is iron sword:
- if name of player's tool is "&7Zelazny miecz +3":
- if player's balance is more than or equal to {@zmszc4}:
- remove {@zmszc4} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove iron sword named "&7Zelazny miecz +3" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is iron sword:
- if name of player's tool is "&7Zelazny miecz +3":
- if player's balance is more than or equal to {@zmszc4}:
- remove {@zmszc4} from player's balance
- set {ms.%player%} to false
- remove iron sword named "&7Zelazny miecz +3" from player
- wait 1 tick
- give iron sword named "&7Zelazny miecz +4" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+5":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@zmsz5}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is iron sword:
- if name of player's tool is "&7Zelazny miecz +4":
- if player's balance is more than or equal to {@zmszc5}:
- remove {@zmszc5} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove iron sword named "&7Zelazny miecz +4" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is iron sword:
- if name of player's tool is "&7Zelazny miecz +4":
- if player's balance is more than or equal to {@zmszc5}:
- remove {@zmszc5} from player's balance
- set {ms.%player%} to false
- remove iron sword named "&7Zelazny miecz +4" from player
- wait 1 tick
- give iron sword named "&7Zelazny miecz +5" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+6":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@zmsz6}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is iron sword:
- if name of player's tool is "&7Zelazny miecz +5":
- if player's balance is more than or equal to {@zmszc6}:
- remove {@zmszc6} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove iron sword named "&7Zelazny miecz +5" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is iron sword:
- if name of player's tool is "&7Zelazny miecz +5":
- if player's balance is more than or equal to {@zmszc6}:
- remove {@zmszc6} from player's balance
- set {ms.%player%} to false
- remove iron sword named "&7Zelazny miecz +5" from player
- wait 1 tick
- give iron sword named "&7Zelazny miecz +6" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+7":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@zmsz7}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is iron sword:
- if name of player's tool is "&7Zelazny miecz +6":
- if player's balance is more than or equal to {@zmszc7}:
- remove {@zmszc7} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove iron sword named "&7Zelazny miecz +6" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is iron sword:
- if name of player's tool is "&7Zelazny miecz +6":
- if player's balance is more than or equal to {@zmszc7}:
- remove {@zmszc7} from player's balance
- set {ms.%player%} to false
- remove iron sword named "&7Zelazny miecz +6" from player
- wait 1 tick
- give diamond sword named "&bDiamentowy miecz +1" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 2 is "d":
- if arg 3 is "+1":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@dmsz1}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is diamond sword:
- if player's balance is more than or equal to {@dmszc1}:
- remove {@dmszc1} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove diamond sword from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is diamond sword:
- if player's balance is more than or equal to {@dmszc1}:
- remove {@dmszc1} from player's balance
- set {ms.%player%} to false
- remove diamond sword from player
- wait 1 tick
- give diamond sword named "&bDiamentowy miecz +1" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- if arg 3 is "+2":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@dmsz2}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is diamond sword:
- if name of player's tool is "&bDiamentowy miecz +1":
- if player's balance is more than or equal to {@dmszc1}:
- remove {@dmszc1} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove diamond sword named "&bDiamentowy miecz +1" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is diamond sword:
- if name of player's tool is "&bDiamentowy miecz +1":
- if player's balance is more than or equal to {@dmszc2}:
- remove {@dmszc2} from player's balance
- set {ms.%player%} to false
- remove diamond sword named "&bDiamentowy miecz +1" from player
- wait 1 tick
- give diamond sword named "&bDiamentowy miecz +2" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+3":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@dmsz3}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is diamond sword:
- if name of player's tool is "&bDiamentowy miecz +2":
- if player's balance is more than or equal to {@dmszc3}:
- remove {@dmszc3} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove diamond sword named "&bDiamentowy miecz +2" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is diamond sword:
- if name of player's tool is "&bDiamentowy miecz +2":
- if player's balance is more than or equal to {@dmszc3}:
- remove {@dmsz3} from player's balance
- set {ms.%player%} to false
- remove diamond sword named "&bDiamentowy miecz +2" from player
- wait 1 tick
- give diamond sword named "&bDiamentowy miecz +3" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+4":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@dmsz4}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is diamond sword:
- if name of player's tool is "&bDiamentowy miecz +3":
- if player's balance is more than or equal to {@dmszc4}:
- remove {@dmszc4} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove diamond sword named "&bDiamentowy miecz +3" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is diamond sword:
- if name of player's tool is "&bDiamentowy miecz +3":
- if player's balance is more than or equal to {@dmszc4}:
- remove {@dmszc4} from player's balance
- set {ms.%player%} to false
- remove diamond sword named "&bDiamentowy miecz +3" from player
- wait 1 tick
- give diamond sword named "&bDiamentowy miecz +4" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+5":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@dmsz5}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is diamond sword:
- if name of player's tool is "&bDiamentowy miecz +4":
- if player's balance is more than or equal to {@dmszc5}:
- remove {@dmszc5} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove diamond sword named "&bDiamentowy miecz +4" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is diamond sword:
- if name of player's tool is "&bDiamentowy miecz +4":
- if player's balance is more than or equal to {@dmszc5}:
- remove {@dmszc5} from player's balance
- set {ms.%player%} to false
- remove diamond sword named "&bDiamentowy miecz +4" from player
- wait 1 tick
- give diamond sword named "&bDiamentowy miecz +5" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if arg 3 is "+6":
- if arg 4 is set:
- set {ms.%player%} to false
- wait 1 tick
- chance of {@dmsz6}%:
- set {ms.%player%} to true
- if {ms.%player%} is true:
- if player's tool is diamond sword:
- if name of player's tool is "&bDiamentowy miecz +5":
- if player's balance is more than or equal to {@dmszc6}:
- remove {@dmszc6} from player's balance
- send "{@tag} &aUlepszanie zakonczone porazka!!!"
- remove diamond sword named "&bDiamentowy miecz +5" from player
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
- if {ms.%player%} is false:
- if player's tool is diamond sword:
- if name of player's tool is "&bDiamentowy miecz +5":
- if player's balance is more than or equal to {@dmszc6}:
- remove {@dmszc6} from player's balance
- set {ms.%player%} to false
- remove diamond sword named "&bDiamentowy miecz +5" from player
- wait 1 tick
- give diamond sword named "&bDiamentowy miecz +6" to player
- send "{@tag} &aUlepszanie zakonczone sukcesem!!!"
- else:
- send "&aNie posiadasz tyle pieniedzy!!!"
- stop
- else:
- send "{@tag} &aNie posiadasz tego miecza!!!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement