When a game has defense bonuses to specific enemies (+15 percent less damage from aliens), how does the game know the damage being dealt comes from them if they use the sane damage type as another group?
Ask a Game Dev
JUNE 27, 2023
When we’re calculating combat math, we usually just aggregate all of the different damage mods together and apply them at some step along the damage calculation. The most common damage modifier we don’t want players to see would be debug damage mods.
Let's personalize your content