The Hexblade Warlock has the ability to convey a curse on a target with the Hexblade's Curse feature (XGtE, p. 55):
Starting at 1st level, as a bonus action, choose one creature you can see within 30 feet of you. The curse ends early if the target dies, you die, or you are incapacitated. The target is cursed for 1 minute. Until the curse ends, you gain the following benefits:
- You gain a bonus to damage rolls against the cursed target. The bonus equals your proficiency bonus.
- Any attack roll you make against the cursed target is a critical hit on a roll of 19 or 20 on the d20.
- If the cursed target dies, you regain hit points equal to your warlock level + your Charisma modifier.
Words like "magic" and "cast" do not appear anywhere in the description which suggests that, at least RAW, the Hexblade Warlock may use the curse while within an AMF and the targeted creature would still suffer the effects of the curse if it were in an AMF.
Is this correct?