The solarian's Corona revelation states:
As a standard action, you can surround your body with an envelope of fiery plasma. You gain cold resistance 10, and any adjacent creature that hits you with a natural weapon or a melee weapon takes 2d6 fire damage.
Does this mean they actually have to hit you or "hit" you? I assumed they just have to attempt since AC is subjective as to how it works (i.e. failing to meet or beat AC = I dodged or my armor absorbed the attack).
Also, for reference I used the Electrostatic Field armor upgrade, which is worded differently and states:
This field over your armor grants you electricity resistance, and any creature that touches you or deals damage to you with a melee weapon takes electricity damage.
Also when does this damage actually happen before or after they deal damage or simultaneously?