this post was submitted on 30 Nov 2025
-9 points (15.4% liked)

Gamedev

407 readers
1 users here now

https://lemmy.world/c/Gamedev A Lemmy community to share game development news and info!

founded 2 years ago
MODERATORS
 

DR = Defense / dmg you get (max 80% DR, can increase through passive/trait/class/...)

Or

FinalDamage = Dmg × (1 - Defense/Dmg) Clamp DR between 0% and 80%. (No minimum DR. Only maximum DR.)

Ex: Monster hit: 10,000 dmg

Player DEF: 500 → DR = 500 / 10,000 = 5% → Damage taken = 9,500

Player DEF: 2,500 → DR = 2,500 / 10,000 = 25% → Damage taken = 7,500

Monster hit: 1,000 dmg

Player DEF: 2,500 → Raw DR = 2,500 / 1,000 = 250% → Capped at 80% max → Damage taken = 200

This fix late scaling, fix tank, fix MMO balance, fix Rpg

Hmm sorry you guy, wrong screenshot, fix the right formula

you are viewing a single comment's thread
view the rest of the comments
[–] phatdat06vn@lemmy.zip -2 points 3 weeks ago

My twitter name is Hỗn Loạn Tà Thần, if someone see that formula good, help me escape the martrix twitter