Train Discordance, Peacemaking and Provocation at Prevalia Zoo by golfinh0
Description: Fill your bag with some instruments, go at prevalia zoo, set the skills you want to train and run the script.
1# Author: golfinho
2# Fill your bag with some instruments, go at prevalia zoo, set the skills you want to train and run the script.
3
4# Choose which skills to train (1 = true / 0 = false)
5@setvar! train_discordance 1
6@setvar! train_peacemaking 1
7# Provocation doesn't work yet. WIP
8@setvar! train_provocation 0
9
10if not listexists train_skill
11 @createlist! train_skill
12endif
13clearlist train_skill
14
15if train_discordance == 1
16 pushlist train_skill 'Discordance'
17endif
18if train_peacemaking == 1
19 pushlist train_skill 'Peacemaking'
20endif
21if train_provocation == 1
22 pushlist train_skill 'Provocation'
23endif
24
25foreach _skill in train_skill
26 if skill _skill == 100
27 break
28 endif
29
30 useskill _skill
31 wft
32
33 if findtype "bamboo flute|tambourine|drum|lute|lap harp" backpack as _instrument
34 if insysmsg "What instrument"
35 target _instrument
36 wft
37 endif
38 else
39 sysmsg "Instrument not found!"
40 stop
41 endif
42
43 if findtype "a sand crawler|an anaconda|a wolfhound|a rock guar" ground -1 -1 10 as mob
44 target mob
45 else
46 target self
47 endif
48
49 wait 5000
50endfor
51
52loop