You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make_timeline is ignoring abilities from combatants with empty names because ignoredCombatants includes an empty string ('') as a combatant to be ignored. Removing that element from the array fixes the issue. But I'm not sure whether that's something we should do, or if there's history on why we ignore empty-name combatants when making a timeline.
In the case of the Aloalo log (and I imagine most if not all cases where an ability is used by an empty-name combatant), the ability used also does not have a name, so make_timeline will only generate "--sync--" lines anyway. I think there's a couple options:
Leave as-is. On the off-chance an empty-name combatant uses an ability that might be relevant for timelines or triggers, we'll let whoever is coding it figure out what's going on and manually add lines on the (remote) off-chance they are needed.
Add empty-name-combatant timeline entries, but only if a named ability is used. Minor improvement to the above that could catch a future edge case where we'd want the timeline entry. Seems low-probability, but it's arguably better than the current state.
Include abilities from empty-name combatants. This will eliminate the gap, but leaves more work for those creating timelines to identify and remove these syncs if not useful.
I think I lean toward option 2, but I don't feel very strongly about it. If no one else has an opinion, that's probably what I'll do.
(cc: @JLGarber )
The text was updated successfully, but these errors were encountered:
Well, that has been there since the beginning. I don't think we need to worry too much about what was originally intended given that it's just sort of always been that way.
I think you're right that option 2 is a good compromise. There's the potential for future content that would be more understandable under option 3, but I think if there's a comment in-line explaining the rationale, that should be good enough. (Plus, there will be the PR linking to this issue for further explanation, so it should be simple enough for future timeline work to reference this.)
Closes#18.
(ref discussion in quisquous#5943).
Instead of ignoring all abilities used by combatants with an empty name
field, `make_timeilne` will now include entries in the timeline and the
timeline ability table if the empty-name combatant uses a named ability.
…#19)
Closes#18.
(ref discussion in quisquous#5943).
Instead of ignoring all abilities used by combatants with an empty name
field, `make_timeilne` will now include entries in the timeline and the
timeline ability table if the empty-name combatant uses a named ability. 58e9a9a
Initial discussion in quisquous#5943.
make_timeline
is ignoring abilities from combatants with empty names becauseignoredCombatants
includes an empty string ('') as a combatant to be ignored. Removing that element from the array fixes the issue. But I'm not sure whether that's something we should do, or if there's history on why we ignore empty-name combatants when making a timeline.In the case of the Aloalo log (and I imagine most if not all cases where an ability is used by an empty-name combatant), the ability used also does not have a name, so
make_timeline
will only generate "--sync--" lines anyway. I think there's a couple options:I think I lean toward option 2, but I don't feel very strongly about it. If no one else has an opinion, that's probably what I'll do.
(cc: @JLGarber )
The text was updated successfully, but these errors were encountered: