Fixing use of CustomMeleeGroups to split into its two actual components:
Fundamental changes in form (to be applied in set construction at the
beginning), and transitory customizations (to be applied in set construction
at the end).
The form value is kept in state.CombatForm (single value, not a list).
Also, changed TPWeapon to state.CombatWeapon.
Adjust weapon determination and gear set naming for new state vars.
Need to assign them values.
Adjust high/max haste groups to be appended to set construction.
Use state.CombatForm for Adoulin areas instead of CustomMeleeGroups.
Fix to avoid nil reference.
Update gear.
Update to use combat form for Footwork, and melee groups for HF/Impetus.
Gear updates.
Use gear.ElementalBelt.
Add an iLvl offense mode to use all iLvl gear, but not using hybrid def gear.
Add function for auto-Presto.  Comment out usage for the time being.
Fix recast lookup, since the function just returns a table of all recasts,
rather than returning the recast of the argument.
Remove unused code.
Refine strategem checks to only apply to appropriate spells.
Add state.Buff values for all strategems, and update on aftercast/buff gain/loss.
Add reset_active_strategems function so that it can be reset on an Update call.
Check state.Buff when applying grimoire bonus gear.
Allow Impact to use grimoire bonuses, but not to use Ebullience (since that
uses the head slot).
Remove unused function.
Rename function.
Fix and simplify fast cast sets.
Fix lots of sets.