Author Topic: Damage control  (Read 2278 times)

Offline Bonakva

  • Colonel
  • ****
  • Posts: 197
    • View Profile
Damage control
« on: May 17, 2020, 01:34:28 am »
Is there an opportunity in the game to see the damage done in units? Exactly how much was done during the attack, not the expected damage.

There are times when I shoot and hit, but apparently I do not cause damage. I’m frustrated by the ignorance of how much damage I did

Offline R1dO

  • Colonel
  • ****
  • Posts: 437
    • View Profile
Re: Damage control
« Reply #1 on: May 17, 2020, 01:37:20 am »
You probably need oxce for that. It has such functionality (CTRL + h ?)

Offline Bonakva

  • Colonel
  • ****
  • Posts: 197
    • View Profile
Re: Damage control
« Reply #2 on: May 17, 2020, 02:03:03 am »
Well, a window appears in which it says there is a hit or not. Damage not specified ((
ps So many command that I didn’t even know about ....

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Damage control
« Reply #3 on: May 17, 2020, 02:06:40 am »
it says "0" or "hit" (small damage) or "HIT" (big damage)... that's as much as we're willing to show

Offline Bonakva

  • Colonel
  • ****
  • Posts: 197
    • View Profile
Re: Damage control
« Reply #4 on: May 17, 2020, 02:33:04 am »
Well, not bad.
Let's say the weapon has a damage range of 0-100.
0-50 - small damage?
50-100 - big damage?
That is, this "hit" is tied to a weapon, or after a certain number of all weapons will have a lot of damage?

Offline Bobit

  • Colonel
  • ****
  • Posts: 186
    • View Profile
Re: Damage control
« Reply #5 on: May 17, 2020, 02:41:03 am »
Searched through source code using window's findstr. Answer is in line 2312 of TileEngine.cpp at https://github.com/MeridianOXC/OpenXcom/blob/oxce-plus/src/Battlescape/TileEngine.cpp.

A big hit is > 20% of the target's base health (likely not including armors, commendations/transformations).
« Last Edit: May 17, 2020, 02:42:58 am by Bobit »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Damage control
« Reply #6 on: May 17, 2020, 09:42:17 am »
A big hit is > 20% of the target's base health (likely not including armors, commendations/transformations).

including