Pve builds don’t perform well in WwW, and WwW builds don’t perform well in pve. The support you’re providing is different in those two. Pve requires a lot of team oriented comps and active defense via consecrations and virtues, and WwW builds are often shout oriented. So, you could take a build for both, but you’ll be underperforming in those two gamemodes.
For WwW, the zerg meta is either x/x/x/6/6 or x/x/6/6/x. The first one is far more team oriented, but loose all the personal survivability from AH, so it’s not a noob friendly build. In solo roaming, meditations builds are good, anything with monk’s focus and the remaining traits are for gw2 gold to decide.
For pve, the usual group spec is 4/5/0/0/5, it gives you a ton of support via blind spam, aegis, condi removal or stability on virtues, and consecrations. There’s a lot of different specs for solo/ group play to optimize your dps when you don’t need MoC or absolute resolution, but the one above is good pretty much everywhere. In fractals, you want an hammer spec.
GS/ sword focus for general pve, scepter for large hitbox bosses ( lupicus, ac endbosses, etc), hammer for fractal. You should carry all weapons on you to adapt, but those are the one you will be using the most. Staff is meh in pve because the might stacks are too short and overwrite longer might stacks, and you’re stuck with an awful weapon if you switch to it in combat. In www zergs, all 2 handed weapon are good choices, so either gs/hammer, gs/staff, or staff hammer. For roaming, greatsword+ sword focus are a solid choice for meditation but it can be swapped for something else.