summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2019-11-14 17:05:31 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2019-11-14 17:05:31 +0100 |
commit | a4bb64f3cc1142e288a7bd270dd94f11f0f9f5b4 (patch) | |
tree | 4c2db27eb40e57c1f24ee80763697cad5decc8e3 /src/battle/struct | |
parent | 70964517f6f2d3bc04a999358215ef8b8d5bd63d (diff) |
...
Diffstat (limited to 'src/battle/struct')
-rw-r--r-- | src/battle/struct/btl_conditions.erl | 10 |
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} |