r/TunicGame • • Mar 25 '22

Basic Damage Mechanics

Okay, still working on a lot of details here, but I think I've figured out enough of the basics to go over how damage is handled in the game. Hopefully this will be helpful to people. There's more I want to cover, but that'll have to wait until the weekend so I can work on it some more.

 

First off, let's talk about the basic stats. For HP, SP and MP, you begin the game with 80 points each, and each upgrade gives you an extra 20 points (so full amount for each would be 60+20*Lv). Each full bar you see in these stats is 40 points.

Your Potion begins healing 30 HP, and each upgrade improves it by 10 points (so the formula would be 20+10*Lv).

This leaves ATT and DEF, which are a bit more complicated. We'll treat them as just their base level. So you begin the game at 1 ATT and 1 DEF, and each upgrade increases these stats by 1.

 

Each enemy in the game has their own ATT and DEF stat. For example, the Pink and Blue Slimes have 1 ATT, 1 DEF. Rudelings have 1 ATT, 2 DEF. Envoys have 3 ATT, 3 DEF. Sniper Scavengers have 5 ATT, 5 DEF.

Now, every attack used by either yourself or an enemy has a base damage. This is the damage it deals when the ATT of the attacker is equal to the DEF of the target. As some examples: the Stick deals 4 damage per hit, the Sword deals 10 damage per hit (and 6x 1.5x final damage on thrust) (EDIT: The 6x figure was for Envoys: they apparently take 4x Thrust damage). Pink Slimes hit you for 10 damage, Blue Slimes for 20 damage, Rudelings swing their sword for 25 damage, Sniper Scavengers shoot for 40 damage, and Envoys do 50 damage on hit.

However, if ATT and DEF are not equal, a bonus multiplier is applied (rounding down) based on how much difference there is between them. This is as follows:

ATT DiffMultiplier
+4 or more200%
+3180%
+2160%
+1130%
0100%
-180%
-260%
-3 or less50%

So when you're running around with 1 ATT/1 DEF, the 50 damage the Envoys can deal is multiplied by 160%, resulting in 80 damage. Similarly, your Sword attacks would be reduced to 60% of normal, dealing 6 per hit. (Sticks are hit even worse for the Envoy, since that particular enemy actually has a special attribute of resisting the Stick, so it takes half damage from it.)

It's also worth noting that your ATT stat only affects your Stick and Sword damage. Magic and Bombs seem to be unaffected. (For the record, the Wand does 7 damage, Firecrackers do 60 damage, Fire Bombs do 20 on hit and 5 per Fire tick, and I haven't tested the Gun yet against something that has more than 100 HP, so that'll have to wait.)

 

Anyways, the upshot of all this is that ATT and DEF appear to have limits on how useful they are, since once your ATT is 4 points higher than any other enemy, you won't deal any more damage on further increases. Similarly with DEF, which caps out once it's 3 points higher than the highest enemy ATT.

I will admit I haven't tested this against bosses yet, so there may still be some room for extra stats to shine there. Also, I've been unable to find any easy cap to the other 4 stats, which look like they can go to truly silly levels.

 

Lastly, it might be worth mentioning the 'Guts' mechanic. As you've no doubt noticed, many times you can take a lethal hit but still survive with minimum HP remaining. This is basically surviving with 0 HP left. Death only occurs when you take a certain amount of damage based on your current HP. If you have 40 or more HP, it looks like you will always survive (tested up to 80 damage taken). If you have 0 HP left, you will obviously never survive taking another hit. Between 1 to 39 HP though, to survive a final hit, the damage dealt must be no higher than 20+Current HP. That means at 5 HP left, you can survive up to a 25 damage hit but no higher.

 

 

Anyways, still lots of stuff I want to try and document, but like I said, it'll have to wait for the weekend. Enjoy!

20 Upvotes

7 comments sorted by

3

u/Dismal_Trout Mar 25 '22 edited Mar 25 '22

The 'Guts' mechanic seems to be affected by tincture in some manner, as I saw a streamer get one-shot from full health by the Heir's 1st "fight", although in that case it may have been intentionally disabled. Me and a friend both survived that same attack, having gone to it without tincture equipped.

I recall the streamer also being one-shot by the scavenger snipers when he had IIRC level 3 defense and 3 HP, tincture equipped, and full health(120hp?). I'll have to check again. edit: checked and it was level 2 HP and 4 DEF, he was being one-shot by the scavenger snipers and swordmen when above 80 HP. Tincture seems to be deal some amount of extra damage, take double damage, given the 40 damage you found for the snipers becoming 50 damage at 4 DEF, and it very strongly looks to be turning off the 'Guts' mechanic.

3

u/TFMurphy Mar 25 '22 edited Mar 26 '22

Okay, figured out why the one-shot is occurring. The problem isn't the Tincture (which just makes it more visible). It's the Corruption/Despair prevalent in the Quarry, which has a rather strange influence on Guts: at Lv4 DEF+Lv2 HP (so 100 Max HP), having lost 17 Max HP to Corruption is enough for a 104 damage attack to kill you from full health (83 HP at that point). Without any Corruption, you'd be safe until you hit 50 HP. So again, more testing required to nail how this alters the formula.

 

EDIT: Right, think I've got a hypothesis for this. If you have any Corruption at all (including not enough to even drop Max HP by 1 point), then the Max Range criteria is ignored. In other words, Corruption will immediately make it that you can't rely on having >=50% MaxHP to survive.

Otherwise, the formulas are the same, only that Max HP now includes any reduction from Corruption. So an attack can now kill you at full health if it does 25% more damage than your current Max HP (which is why having 83 Max HP from Corruption allows a 104 damage attack to instakill). Don't know whether this is intentional design or a bug, but worth knowing either way.

1

u/TFMurphy Mar 25 '22 edited Mar 25 '22

Tincture doubles the damage you take. I can confirm that Snipers can kill at higher than 40 HP at the stats you listed, where they do 104 damage (40 * 1.3 * 2), but the Guts mechanic was definitely not disabled: 50 HP was enough to survive. Also, Tincture seems to interact strangely: a Blue Slime doing 40 damage couldn't kill me so long as I had at least 1 HP left (normally, an Envoy dealing 40 damage to me at 4 DEF could kill me if I had less than 20 HP). So yeah, going to need a bit more work to properly figure this out.

Thanks for the heads-up, nonetheless.

EDIT: Hmm, looks like there's also interaction with your Max HP stat, which probably threw off my original dataset. Will work on that.

 

EDIT 2: Okay, I have a new hypothesis, and it's kind of a weird one, but it fits the current data.

Max Range: If your Current HP is at least 50% of your Max HP, the next hit cannot kill you, and you can survive with 0 HP remaining if the damage is equal or higher to your Current HP.

Min Range: If your Current HP is 0, the next hit will always kill you.

Mid Range: If your Current HP is under 50% of your Max HP but higher than 0, then the next hit will only kill you if it is higher than 'Current HP + Max HP / 4'.

So basically, higher than 50% Max HP looks safe. 0% Max HP is definitely not safe. Between that, a hit that would take you through 0 and past -25% Max HP will kill you. And that explains the Blue Slime too, since I was testing at 200 Max HP for it at that point.

2

u/hansenpansen Oct 03 '22

Do not know, if anybody was ever so late to a party... But I really appreciate your work here!

Tunic just released on PS5 and your analysis really helps me understand the mechanics.

1

u/TobiasAmaranth helper Mar 25 '22

If you break into datamining for the cards, exactness on those values could be applied to my Cards image.

1

u/its_wilsaaan Mar 25 '22

Side note, there's apparently a massive multiplier for landing hits after a successful parry. :)

2

u/Brendoshi Mar 26 '22

Can confirm, figured out the parry timing on heir and I could kill it in 3-4 parries