summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle')
-rw-r--r--src/battle/attack.erl3
-rw-r--r--src/battle/movement.erl2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/battle/attack.erl b/src/battle/attack.erl
index 7384f78..9baf798 100644
--- a/src/battle/attack.erl
+++ b/src/battle/attack.erl
@@ -28,7 +28,8 @@
critical/0,
attack_category/0,
attack_effect/0,
- attack_desc/0
+ attack_desc/0,
+ attack_order_with_parry/0
]
).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/src/battle/movement.erl b/src/battle/movement.erl
index 720b60c..588fad9 100644
--- a/src/battle/movement.erl
+++ b/src/battle/movement.erl
@@ -49,7 +49,7 @@ cross (Battlemap, ForbiddenLocations, [Step|NextSteps], Cost, Location) ->
-spec cross
(
battlemap:struct(),
- array:array(location:type()),
+ list(location:type()),
list(direction:enum()),
location:type()
)