Disclaimer:
It's such a shame Yanqing isn't in CW in S2, because him and Yunli were working so well together on the wolf hunt team. I don't know why YQ didn't just ask her out back then, I mean, everyone on the team thought they make a cute couple. But now uncle Blade is on Yunli's team and he's been acting intimidating and scaring him off. Yanqing if you are reading this, comment below with time and place, and we can help you two arrange a date. Uncle Blade doesn't have to find out.
Power level:
My Yunli is E1S1 (no Eagle set), so your results will vary. Apparently not many people have her so Yunli mains in CW is a minority.
Yunli's power level can be all over the place because a lot of it actually depend on the enemy and their affix, she's one of the harder units in CW to play as main DPS due to this inconsistency. Piloting Yunli is quite hard because she's manual-heavy, her Ult must be timed correctly, and she doesn't always play nice with her teammates on field, but it's a big pay-off when you know what you are doing.
* im only including screen shot of a few imperfect runs when I was dicking around with setup, there are plenty of SSS clears with Yunli as dps.
Strength:
Hyper-carry, easy stat stacking (if you are lucky). Flexible team-comp (so flexible she end up not the main DPS). GIANT SWORD THAT PULVERIZES YOUR ENEMY!!
Weakness:
Require fast or frequent attacking enemies to maximize DPS potential. No synergy with HP-based counter bond-team members but still need them. Need actual skill for manual control.
Core Mechanism
Counter-dmg increases with the number of counter member in the back-rank. YL scale off ATK while Mydei/Blade are HP scaling dmg, so there's no synergy between them other than the bond-buff. Bond member in the front-line also tend to throw off single target buffer like S.Robin or Sunday. So in no circumstance should you put 2 counter team members in-front.
Yunli plays like energy characters like Eva due to her dual Ult bar, and her Ult is her main dmg source. She also does small amount of dmg with her counter attack after getting hit. Her skill can heal herself and provide energy, but has very little dmg.
An explanation on her ultimate, which is one of the weirdest because it puts her in a short wait state, which only last until the end of next enemy's or FRONTLINE ally's turn (including herself). If she get hit by any attack in this state, she unleash her enhanced ultimate attack, this is the money maker shot with huge dmg multiplier. But if her teammate takes a turn first, she would only release a weaker version and wasted a lot of the DPS. For every time she use the small ult, the next time she would use the enhanced ult if she isn't attacked in the wait state. Confused yet? Yeah it's weird as heck, which is why Hoyo only implemented this convoluted thing once and never again.
Her Ult is also a bounce attack and not true AOE. Bounce attack is weak against enemies that likes to summon trash mobs, since a lot of the bounce attack end up hitting the summons, but very strong vs. single target. At least you won't have to worry about over-kill dmg much.
To Blade or Not to Blade, that's the question
One of the most pivotal decision in YL counter team is whether and when to switch to Blade, and it depends on how the run is going. If YL is working out well and she's close to 3* when i see Blade, I usually keep going with her in the front. If things are going badly, switch to blade ASAP and he can usually eek out a win at the end. If you really don't like YL's play style, you can still use her until Blade is available.
The rest of the guide provides strategy for both routes.
Affix, Strategies, and Plot armor:
There are some affix that benefit counter team, such as general plane buff that increase speed or any affix that action advance enemy (beyond endurance, synchronized action, etc). Counter teams are beefy so they can shrug off the extra dmg from enemy and deal more dmg of their own.
Counter can also easily mitigate other awful affix like heavy football (since Yunli is so slow anyway) and magma bombardment (you want to be hit more in the first slot)
If you plan to use Blade, self-defense and Permanent Trauma is actually EXTREMELY helpful to him and boost his DPS instead of being a debuff. Permanent trauma is hilarious when you use Blade, especially if there's corrosion.
The best starting environment is obviously either counter-related or Xianzhou fleet related. Starting with a counter emblem is extremely helpful to get to counter-4 because you would only need 1 other bond-mate. Getting a defender or heal bond is also OK.
Endfire plot armor works great on her due to the dual ult bar. If you get the shifu plot it's also very useful because you can copy the energy bond from S.Robin (assuming not switching to Blade). But generally anything that raises on-field strength is also very good due to all the firestore/colossal armor stacking that's available.
Team Flexibility:
Yunli team comp is quite flexible. You can go with her as main DPS, as sub-dps for a Feixiao follow-up team, or act as dual-DPS in a XianZhou Fleet team, or just be an early game carrier before you switch to blade. But switching strategy half-way in the run without planning ahead can lead to disaster if you aren't collecting their team members as you progress.
Welt: Do not use Welt with counter-bond! His delay/spd reduction mechanism means you get hit a lot less and decreases over-all DPS.
Whether you use Blade or Yunli, Mydei/Clara will always be the bond filler on the back-line. Clara is better since Svarog's snap command bring a lot of useful buff and utility. Mydei just won't do much except being a filler (he really needs beast garden/restaurant bond)
Fu Xuan is required: she can reduce and also distribute dmg. The distribute dmg is slightly problematic for a YL hyper-carry team because you can't put squishy buffers in the front. When FX is on the team, make sure you have a strong healer so your supports won't die late game.
Main healer: required but flexible. Early game this is usually Lingsha to form XZ bond. If you don't care about XZ fleet, use Bailu instead. Eventually Luocha or Hyacine would take over. Luocha's heal-on-attack synergize extremely well with counter-attack while Hyacine increases team HP. Huohuo is also a great choice because she can buff energy. Yulin mains only need FX + Hyacine or Luocha. If you switch to Blade, the 6 healer thing is mostly just a meme. You need 4 sustains at most, usually a combination of FX/Hyacine/Luocha, with Bailu or Huohuo being optional. If you got a Healer or defender emblem, use them for heal-4 or defender-2
Sunday and 2 Robin's: Great early game buffer. Both Sunday and S.Robin can be back-liner and they provide extra energy + AA + buffs. Regular Robin is OK if you use dual DPS Xianzhou with Feixiao. All this AA can screw up her ult timing a bit because she would suddenly leap frog ahead of an enemy and causing her ult not to trigger properly. But all the extra turns and energy means YL does more dmg over-all.
Cerydra isn't very helpful since skill isn't YL's main dmg source. Sparkle also isn't great because she's front-line only and YL isn't very SP hungry.
Late game, switch to m.blade + Tribbie as extra buffers. You can swap out Sunday/Robin if you are short on space, but keep S.Robin. Cyrene is also a great buffer for end-game and she can do a decent dmg herself. But you really need perpetual engine to get that ult going.
YL and Blade mostly share their buffers so no special consideration is really needed here.
My end-game usually have a combination of these members: Blade/YL/FX/Clara + Hyacine/Huocha + S.Robin/Tribbie/mBlade/Cyrene. The exact combo changes depending on how many slots and emblems you get.
Bond:
Xianzhou fleet could be a nice early game carry bond. I generally use XZ + DoT first plane before I gather up all the necessary buffer/healer for YL. Once you have all her full team, ditch XZ and go full Counter.
Little giant can be helper bond here since you are definitely using FX and Tribbie, plus Huohuo sometimes.
Regardless of DPS, counter-4 is usually the most you need. Start with FX+YL for counter-2, then later add 2 more. Clara is the only other helpful counter member because the other bond member only acts as bond filler in the back. If you have 1 emblem, it help you achieve counter-4 when you put them on your buffer/healers.
Counter-6 is only a good idea if you get multiple emblems and not try to use all the counter-bond members.
Items:
For Yunli, her best setup is the same as Fei Xiao. Perpetual motion is a must, with either 2x fire-storm, or firestorm, pun generator, perpetual engine depending on other source of lucky strike rate. Colossal armor is a good alternative when firestorm isn't available. Even though it only generate 50-60% of the firestorm stack, it has dmg reduction and lucky strike to compensate.
BUT....if you do plan to switch to Blade at some point, this is not the setup you want. Due to his heal=dmg mechanism, it's possible to stack colossal armor to 99 stacks, so Blade wants 2x Colossal armor + something else depending on lucky strike rate, and no Perpetual engine
To keep things flexible, I generally use 1 firestorm, 1 colossal armor, 1 perpetual engine on Yunli. If I switch to Blade later, firestorm/armor gets transferred to him and perpetual engine gets put on S.Robin or Cyrene. Then I craft one more colossal armor for blade if available. If your luck is really bad, firestorm CAN work but usually it only has 30+ stack when colossal max out at 99 already. Still, it's not too bad
Plane Progression
If you don't get Yunli + all her buffers to start, the best alternative is to start with Xianzhou + DoT. It's also possible to get to 4 XZ early and just use XZ bond by itself. This will be enough to get you to plane 2. Other starting strategy is possible too, just remember to collect her buffer/healers. Just don't keep this up too long because every character saved in the inventory is one that's not earning interest.
Once you get YL's full team going, hopefully things will be a bit easier. 2* YL should get you through plane 2, as long as your buffers can keep up and you get a good plot-armor and items.
Around late plane 2/early plane 3 is usually when Blade comes in and when your 2* YL runs out of DPS to clear stages. This is when you need to decide whether to switch. I can't comment on this since every game is different. I've had Blade come in at plane 1, and I've had Blade not shown up until 3-5.
Bosses matter as well because there are some bosses that just doesn't attack much.