Would he receive information aboutHow does the creature's vulnerabilities based on what it appears to beMonster Slayer ranger feature Hunter's Sense feature (XGtE, would he receive no information about the creature as if it were hidden from Divination magic or would he just understandp. 43) work with a target that this ishas an illusion based on "magically" part of the ability descriptionit?
(...you gain the ability to peer at a creature and magically discern how best to hurt it...)
Would the Monster Slayer ranger receive information about the creature's damage immunities, resistances, and vulnerabilities based on what it appears to be?
Would they sense that the creature has no damage immunities, resistances, or vulnerabilities, as if it were hidden from divination magic?
Or would they just understand that what they're seeing is an illusion based on the "magically" part of the feature description:
[...] you gain the ability to peer at a creature and magically discern how best to hurt it [...]
...and therefore learn its actual damage immunities, resistances, and vulnerabilities?