hello friends.
I've been playing a lot of the demo... and I love it... but the combat always felt a little off to me and I couldn't put my finger on it. Coming from Diablo 4, where you press a button and the thing just... happens.
Now that the game has been delayed and a lot of the steam forum posts are complaints about the combat, i figure I might chime in...
So I opened up the code. As one does.
Turns out there are a few things going on... and none of them are in your head.
1. The full stop when you swing
Every time you attack, your character plants their feet and stops dead. Then the animation plays. Then you can move again.
// PlayerAttack.EnterState (the game)
if (owner.currentAttack.stopPlayer)
{
owner.StopVelocity();
owner.CanRotate = false;
}
That's... fine, on paper. But it kills all the momentum. In Diablo you're kiting, swinging, sliding around the pack... here it's walk, stop, swing, walk, stop, swing. It feels like the game keeps hitting the brakes for you.
I saw the interview with Cygnus talking about how they've been working on it, but didn't want it to feel like the player is skating... makes sense... I think they just went a bit too far in the other direction.
2. The spell keys that don't fire
This is the one that bugged me the most. You press 2 to trigger a spell... nothing. You press it again... maybe.
Two reasons.
First, every spell key has a hidden 1 second wait on it. After you press it, the key "waits" until a full second has passed... and anything you press during that second is just thrown away.
// SkillHandler.CreateActionsForSkill (the game)
HoldingModule skillHoldingModule = new HoldingModule(0f, 1f); // 1 s minimum hold
// HoldingModule (the game)
if (!isWaiting) // a press during the wait... gone
{ ... }
So if you're mashing a spell as the cooldown runs out (which... we all do), the presses right before it's ready get eaten, and the spell comes out up to a second late.
Second, if you're busy... mid-swing, between combo hits, getting hit, dodging... the press is just dropped. Not saved for later. Dropped.
// SkillHandler.CallSkill (the game)
if (!CanUseSkill || index >= mainSlots.Count || !player.CanPerformSkills)
return; // and that's the end of that press
And `CanPerformSkills` is off during almost every combat state. Swinging, combo checks, getting hit, dodging, stunned... So in a fight you're almost always in one of those... and almost every press lands at the wrong moment.
Same thing with dodge, by the way. Press space a hair too early and... nothing. And if you click attack during a roll, the game literally just logs "Dodge combined attack" and moves on. So you have to be frame perfect coming out of the roll.
3. Getting stun locked by chickens
Yes... chickens.
Every hit from any enemy staggers you. Even a hit for 0 damage. The stagger freezes you for 0.3 seconds... no attacks, no spells, no dodge... and any key you press during it is dropped.
The only thing stopping the next stagger is a cooldown that comes from the game's data, and a pack of anything can stagger you again pretty much right as you recover. So you get surrounded, and you just... stand there twitching. Pressing buttons. That do nothing.
Elden Ring, for comparison, has poise... it takes a few hits to stagger you, and big attacks don't get interrupted by a stick. You don't need all that... but you need something.
So... what I did about it
I make a few mods for the demo, latest is on github... and the latest Better Combat has fixes for all of this. At least it has sliders for all of these.... you can test some of these values and report back.
- Move while attacking: your swings don't stop you anymore, you steer through the swing. There's a slider for how much you slow down when you perform a strike... 100% is full speed, 0% is the game's full stop. So you can find what feels right to you.
- Every spell press counts: no 1 second wait. And if you press while you're busy, or just before the cooldown is up, the press is remembered for 0.4 seconds and fires the moment it can. Like Diablo does.
- A spell can cut a swing short... but only after the swing's hit has landed. So you never lose the hit, just the follow-through.
- Dodge and attack presses are remembered too. Click attack near the end of a roll and the attack comes out the moment you land.
- No stun lock: after a stagger, you can't be staggered again for half a second (you still take the damage). Enough to actually fight back. There's also a slider for how long a stagger lasts... the game's 0.3 seconds, all the way down to never.
- Before / after button: turns all of it off and back on, so you can feel the difference yourself... or `/gamecombat` in chat.
The core of the spell fix is pretty small, honestly:
// Better Combat
static void Press(Key k)
{
if (TryCast(k)) return; // can cast now? cast now.
var c = Slot(k);
if (c != null && !c.isActive && c.cooldownLeft <= buffer)
k.BufferedUntil = Time.unscaledTime + buffer; // can't yet? remember it for a moment, try every frame
}
And for the devs, if they wander in here...
None of this needs a big rework. If I could suggest...
- Drop the 1 second minimum hold for spells that can't be held anyway.
- Remember a spell or dodge press for about 0.3 to 0.5 seconds instead of throwing it away.
- Let a spell cancel the end of a swing once the hit has landed.
- Some kind of gap between staggers... or a few hits before you stagger... so a pack of chickens can't lock you down.
- And maybe... keep a little movement during attacks. Even a slow walk feels better than a full stop.
I.. honestly think the combat is really close. It's just the inputs getting lost that make it feel sluggish.
Anyhow... the mod pack is on GitHub if you want to try it: https://github.com/sabba2u/emberville.multiplayer/releases
Press Insert key to enter the mod menu.
Let me know if it feels better to you... or if I'm crazy.
Also take a peek... lots of cool stuff in there... including Twitch integration for streamers... I was getting it ready for release day today...
Cheers and votes can set off heals, loot, monster raids, lightning storms or a random weapon swap every few seconds, right in your game. Chat can spin a wheel, roll dice, pull slots, drop a Plinko ball, cheer on a monster race, form a raid party where every raider shows up as a monster wearing their name... and bet on whether you'll survive. Any how - if anyone wants to test this with me let me know.