Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death of sheep:
- loop 10 times:
- if {quests.current.%loop-number%} = "Sheep Kills":
- set {_activeQuest} to loop-number
- if {_activeQuest} is set:
- add 1 to {quests.data::%attacker%::%{_activeQuest}%::progress}
- if {quests.data::%attacker%::%{_activeQuest}%::progress} >= yaml value "quests.cat%{quests.category}%.%{_activeQuest}%.target" from file "../Daily Quests":
- set {quests.data::%attacker%::%{_activeQuest}%::completed} to true
- 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