Resolve which strike mode a combat action should act on, per the hybrid rule:
If context.scope.strikeModeId is set, use that mode (the combat-tab
anchors always pass it; a macro may too). An id that matches no mode
resolves to undefined with a warning.
Otherwise, if the item has exactly one strike mode, use it — so a
single-mode weapon or a combat technique (which always has exactly one)
never prompts.
Otherwise (two or more modes, none specified), prompt the user to choose
with a picker dialog.
Resolve which strike mode a combat action should act on, per the hybrid rule:
context.scope.strikeModeIdis set, use that mode (the combat-tab anchors always pass it; a macro may too). An id that matches no mode resolves toundefinedwith a warning.