-
Notifications
You must be signed in to change notification settings - Fork 7
/
03_mushroom_forest.txt
54 lines (45 loc) · 1.16 KB
/
03_mushroom_forest.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
/*
Copyright © 2019-2022, Matjaž Guštin
<dev@matjaz.it> <https://matjaz.it>
Released under the BSD 3-clause license.
Level: Mushroom Forest
*/
var loadouts = import my/loadouts
func equip_melee()
equipL sword *10 +7
equipR shield *10 poison
func equip_armor_piercing()
equipL warhammer *10 poison +5
equipR warhammer *10 +8
func equip_dashing()
equipL sword *10
equipR shield *10 dashing
func equip_staff()
equip staff *10 poison
func equip_ranged_healing()
equipL crossbow *10
equipR ouroboros
?loc = fungus_forest
?hp = maxhp | foe.distance <= 23
// Healed completely or enemy too close
equip_staff()
:
// Try to heal while attacking from afar
equip_ranged_healing()
?hp <= 10
activate potion
loadouts.healwalk()
?loc = fungus_forest_boss // Boss room
?foe = mushroom_boss_skinny // Enoki
equip_staff()
:?foe = mushroom_boss // Angry or Morel
?foe.distance >= 6
// Morel's hand keeps you at distance 5
equip_dashing()
:?foe.armor > 0
equip_armor_piercing()
:
equip_melee()
?hp <= 10
activate potion
loadouts.healwalk()