Advertisement
Guest User

Untitled

a guest
Jun 30th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.59 KB | None | 0 0
  1. on death of sheep:
  2.     loop 10 times:
  3.         if {quests.current.%loop-number%} = "Sheep Kills":
  4.             set {_activeQuest} to loop-number
  5.  
  6.     if {_activeQuest} is set:
  7.         add 1 to {quests.data::%attacker%::%{_activeQuest}%::progress}
  8.         if {quests.data::%attacker%::%{_activeQuest}%::progress} >= yaml value "quests.cat%{quests.category}%.%{_activeQuest}%.target" from file "../Daily Quests":
  9.             set {quests.data::%attacker%::%{_activeQuest}%::completed} to true
  10.             send "&6Congratulations! You managed to &6&o%{quests.data::%attacker%::%{_activeQuest}%::desc}%&6. '&6&o/quests&6' to claim your reward." to attacker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement