summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle/struct/btl_conditions.erl')
-rw-r--r--src/battle/struct/btl_conditions.erl10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/battle/struct/btl_conditions.erl b/src/battle/struct/btl_conditions.erl
index 564f559..76f80ea 100644
--- a/src/battle/struct/btl_conditions.erl
+++ b/src/battle/struct/btl_conditions.erl
@@ -52,7 +52,8 @@
[
type/0,
ref/0,
- visibility/0
+ visibility/0,
+ single/0
]
).
@@ -140,13 +141,6 @@ apply_trigger (Context, IXtoRef, S0Update, RelevantIndices, Conditions) ->
Module,
apply,
[
- % TODO:
- % Provide Ref instead of Condition. This ensures that
- % the condition will use its most up-to-date status
- % and, more importantly, will not overwrite changes
- % made to itself by previous conditions.
- % This comes at the cost of an additional Condition
- % lookup, but whatever.
IXtoRef(IX),
CurrentUpdate,
{Trigger, ReadOnlyData, CurrentVolatileData}