How to play a ranged / caster Revenant?
Hammer is slow so you want to nearly always crit.
For leveling,
Unlock assassin stance (shiro) and the invocation trait line. Select traits that give fury.
Use runes of the citadel and/or rage for fury.
Use sigils of perception and accuracy.
Once you have everything unlocked I recommend going with glint and another stance of your choice. Run either berserker gear or marauders with strength runes and sigil of force/bloodlust. Your food/utility buffs will vary depending on your gear stat choice but generally a food with boon duration is best and the utility will be either precision for berserkers or power for marauders. Staff generally makes the best swap weapon for hammer due to it’s utility.
WvW play with hammer rev,
https://youtu.be/iCd3jw2ovI4
https://youtu.be/Gkp3_P16DCI