-
Notifications
You must be signed in to change notification settings - Fork 1
/
daily_boss.sh
executable file
·55 lines (46 loc) · 2.93 KB
/
daily_boss.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash
# day stage_id
# Thursday 524
# Friday 530
echo "[log] ---------- $(date) ----------"
source ./utils/send_request.sh
day_of_week=$(date +%u)
case $day_of_week in
1)
stage_id=506
;;
2)
stage_id=512
;;
3)
stage_id=518
;;
4)
stage_id=524
;;
5)
stage_id=530
;;
6)
stage_id=536
;;
7)
echo 'No stage_id provided.'
exit 0
;;
esac
echo $stage_id
#for i in {1..2}
#do
echo "[log] Start playing daily_boss: $stage_id...$i"
deck="unit_ids[]=15&unit_ids[]=-1&unit_ids[]=-1&unit_ids[]=-1&unit_ids[]=-1&unit_ids[]=-1&unit_ids[]=-1&unit_ids[]=-1&unit_ids[]=-1&unit_ids[]=-1&unit_level[]=50&unit_level[]=0&unit_level[]=0&unit_level[]=0&unit_level[]=0&unit_level[]=0&unit_level[]=0&unit_level[]=0&unit_level[]=0&unit_level[]=0"
# Battle start
send_request \
"cover=2&deck_no=2&stage_id=$stage_id&$deck" \
"https://msattack.snkplaymore.info/world_map/battle_start/kpi1=1&kpi2=$stage_id" > /dev/null
# Win it!
send_request \
"battle_time=18&drop_num=0&stage_id=$stage_id&type=1&eagle_eye=M%2Bc07OfRclnF3oXf330Q0i84KCQzmu7wdNVmpaPU3oWLnyVcqG5Xa7AK1z2T6QjPxqVBRaunovUF4GZgsFj4V0yAJ4CX4Z8%2ByKn25BJZNbXbonOBl9E66aFtG8aTIWgQqUV26C%2BADuBrtuK59bAqDTn%2BQqXzem6%2FN4SI3hVu9MCdbZYvb0QOrdH%2Fy9UXbLeDVvEUE9AzxiYemZsxIwSegt0SsAYGvB7%2FYJM6QfEot6aPX0xngDZXO3yg1j0WXhfe3bx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sIRXryZKXxsCg9WmWuhaEHwqiS2PYXpexTA90anOopfVZ4gd9lFYPDFrHK1DffPgzbDTQNlkVXKZvP6djIDA8G4zE27HmBTriTWzpUUvziEOvQbC2XhcharsUBVsQUaacSuHxVxnb09YBlLPuzQpDYWiLXTw0bEy0HqJ%2BCiNwEXX6HfXEeRkx2%2FxGVlskIc3XLh6dTZvqlfLlyGFP4IQwMy7jDn%2Fcx5k06g1qM18l2IQeMYSVKxS3qjyjjVlBK4vkr" \
"https://msattack.snkplaymore.info/world_map/battle_win/?kpi1=0&kpi2=$stage_id&kpi3=1&kpi4=1" > /dev/null
echo "[log] Mission Complete: $stage_id...$i"
#done