on click on entity:
if name of clicked entity contains "Kowal":
if player's tool is any sword:
if (random integer between 1 and 2) is 1:
if lore of player's tool contains "&aObrazenia:"
set {_lore} to ("%uncoloured lore of player's tool%".replace("Obrazenia: +", "") parsed as integer)
set {_dodaj} to {_lore}+2
set lore of player's tool to "&aObrazenia: +%{_dodaj}%"
send "Od teraz Twoj przedmiot zadaje +%{_dodaj}% dmg!"
stop
set lore of player's tool to "&aObrazenia: +2"
send "Od teraz Twoj przedmiot zadaje +2 dmg!"
stop
send "Twoj item sie spalil!"
send "Twoim przedmiotem w rece musi byc jakikolwiek miecz!"
on damage:
if player's tool is any sword:
if lore of player's tool contains "&aObrazenia:":
set {_lore} to ("%uncoloured lore of player's tool%".replace("Obrazenia: +", "") parsed as integer)
set {_currentDamage} to (player's damage + {_lore})
set player's damage to {_lore}
Pytanie
Sallciq 0
on click on entity: if name of clicked entity contains "Kowal": if player's tool is any sword: if (random integer between 1 and 2) is 1: if lore of player's tool contains "&aObrazenia:" set {_lore} to ("%uncoloured lore of player's tool%".replace("Obrazenia: +", "") parsed as integer) set {_dodaj} to {_lore}+2 set lore of player's tool to "&aObrazenia: +%{_dodaj}%" send "Od teraz Twoj przedmiot zadaje +%{_dodaj}% dmg!" stop set lore of player's tool to "&aObrazenia: +2" send "Od teraz Twoj przedmiot zadaje +2 dmg!" stop send "Twoj item sie spalil!" send "Twoim przedmiotem w rece musi byc jakikolwiek miecz!" on damage: if player's tool is any sword: if lore of player's tool contains "&aObrazenia:": set {_lore} to ("%uncoloured lore of player's tool%".replace("Obrazenia: +", "") parsed as integer) set {_currentDamage} to (player's damage + {_lore}) set player's damage to {_lore}
Skrypt wywala:
Edytowane przez HeezQWstawiam na obraz bezpośredni
Notatka dodana przez HeezQ
Odnośnik do komentarza
Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi