What Exactly IS The Damage Formula?

Talk about any unintentional game issues here.
Post Reply
Flashlight237
Posts:2252
Joined:Tue Jul 16, 2019 3:01 am
What Exactly IS The Damage Formula?

Post by Flashlight237 » Mon Nov 25, 2019 10:06 am

Hey there. So... What is the damage formula supposed to be? Because here's the thing. Here's the damage input for myself when I have full fencing gear, a sledgehammer, and a strength rating of 57.: https://prnt.sc/q1ofm5

With a sledgehammer (which has a power of 12), I can only deal 1 to 3 damage on a swamp crab.

At the same time, here's the damage input got with the same equipment and strength stat except with a pitchfork: https://prnt.sc/q1ofv1

With a pitchfork (which has a power of 13), I can deal 10 to 17 damage to a swamp crab.

What exactly is the damage formula and, just as important, what exactly is the crab's defense stat?

Jakub34
Posts:477
Joined:Wed Jul 17, 2019 11:03 pm

Re: What Exactly IS The Damage Formula?

Post by Jakub34 » Mon Nov 25, 2019 3:13 pm

Tested a sledgehammer vs hockey stick, and it looks likes those work perfectly fine. Took off some of my armor (r.i.p 60k atm pls robby) and that took a massive chunk out of my damage. Taking off the riot body piece (which is +4 strength) dropped my damage from 120s to 60s. My guess is that either your strength stat is really low, or you are using weak armor.

User avatar
Robby
Site Admin
Posts:4167
Joined:Mon Jul 08, 2019 2:59 pm

Re: What Exactly IS The Damage Formula?

Post by Robby » Mon Nov 25, 2019 3:43 pm

To summarize, the damage you deal is basically as follows below. The example below uses strength as an example, but archery, artillery, or magic could also be substituted just the same.

A crab's base defense is 30.

finalWeaponPower = theWeaponsPower + allArmorStrength
damageOutput = finalWeaponPower * yourCharacterStrength

enemyTotalDefense = enemyBaseDefense * enemyBaseDefense

damageToEnemy = damageOutput - enemyTotalDefense
damageToEnemy = damageToEnemy / 5 (Note that I just reduce it by 5 so make it a smaller amount).

So yea, hopefully that makes sense and I typed it right. damageToEnemy will them be randomly generated between 75% to 125% of that value to make the damage vary slightly. That does seem odd that your damage would just that significantly, but maybe that's just how the numbers work out. If you happen to plug your numbers in or still feel something isn't right, just let me know and I'll have to do something testing and maybe there is a bug somewhere if so.

Flashlight237
Posts:2252
Joined:Tue Jul 16, 2019 3:01 am

Re: What Exactly IS The Damage Formula?

Post by Flashlight237 » Mon Nov 25, 2019 11:22 pm

Seems about right. Plugging this all in in the correct order, I got a value of 2.4 and 13.8 under the same circumstances for the Sledgehammer and Pitchfork respectively.

Also, I've experimented with the new knowledge and got the following defense values for the game's monsters.:

Squisher: 1
Fanged Squisher: 2
Petunia: 4
Shagdaw: 7
Spiked Squisher: 13
Ground Spitter: 17

User avatar
Robby
Site Admin
Posts:4167
Joined:Mon Jul 08, 2019 2:59 pm

Re: What Exactly IS The Damage Formula?

Post by Robby » Tue Nov 26, 2019 2:22 pm

Ok great, thanks for the feedback. Glad to hear it's working right then. Wow, lol nice work figuring the defenses out. Those are indeed all of the correct defenses currently. =P

Post Reply