-
Notifications
You must be signed in to change notification settings - Fork 7
/
05_boiling_mine.txt
66 lines (56 loc) · 1.36 KB
/
05_boiling_mine.txt
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
56
57
58
59
60
61
62
63
64
65
66
/*
Copyright © 2019-2022, Matjaž Guštin
<dev@matjaz.it> <https://matjaz.it>
Released under the BSD 3-clause license.
Level: Boiling Mine
*/
var loadouts = import my/loadouts
func equip_melee()
equipL sword *9 aether
equipR shield *10 aether +3
func equip_dps()
equipL sword *9 aether
equipR sword *10
func equip_dashing()
equipL sword *9 aether
equipR shield *10 dashing
func equip_ranged_healing()
equipL crossbow *10
equipR ouroboros
func equip_ranged_shield()
equipL crossbow *10
equipR shield *10 aether +3
func equip_armor_piercing()
equipL warhammer *10 poison +5
equipR warhammer *10 +8
?loc = mine
// Small enemies
?foe = master
^ | foe = elemental
^ | foe = geyser
^ | foe = walker
?foe.distance > 8
equip_dashing()
:?foe.armor > 0
equip_armor_piercing()
:
equip_melee()
:?hp < 10
activate potion
loadouts.healwalk()
?loc = bronze_guardian
?time > 600 & foe.distance > 10
// Guardian is now attackable from afar
equip_ranged_shield()
?pos.y > 0 & foe.distance > 5
// Guardian hits, we jump on its hand
equip_dashing()
:?foe.distance <= 5
// We are on its arm, close to its face
?foe.armor > 0
equip_armor_piercing()
:
equip_dps()
:?hp < 10
activate potion
loadouts.healwalk()