View Issue Details

IDProjectCategoryLast Update
0028911Heart Of The MachineBug - GameplayJun 26, 2024 11:51 am
Reportermblazewicz Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.552 No Flicker 
Fixed in Version0.560 Resource Trends 
Summary0028911: Gameplay - Damage from behind multiplier might not be applied despite unit being behind the enemy
DescriptionDescription:
Sometimes when player unit is behind enemy unit with damage multiplier from behind the multiplier isn't applied.

Steps to Reproduce:
1. Spawn a unit with damage from behind multiplier from an event
2. Place your unit behind the enemy unit at a slight angle
3. Observe that sometimes the damage multiplier isn't applied
TagsNo tags attached.

Activities

mblazewicz

Jun 20, 2024 3:09 pm

manager   ~0069347

Adding attachments:
28911_Save.save (3,752,948 bytes)
28911_Screenshot.jpg (2,280,356 bytes)

Mintdragon

Jun 26, 2024 11:08 am

developer   ~0069505

Confirmed in v0.559
No damage from behind.save (3,571,978 bytes)
20240626110337_1.jpg (639,165 bytes)

Chris_McElligottPark

Jun 26, 2024 11:51 am

administrator   ~0069512

Thanks!

* Fixed an issue where "damage from behind" bonuses were not calculating if the two angles being compared were on opposite sides of the 360 degrees cutoff.
** For example, comparing 352 degrees with 8 degrees was showing as a difference of 344 degrees, and thus "not behind," when in reality the difference between those two is only 16 degrees, and very much behind, because of how degrees wrap around. I already had some logic in place to deal with this, but not enough.
** Related, I have thus reduced the angle difference required back to 90 degrees rather than 110 degrees.

Issue History

Date Modified Username Field Change
Jun 20, 2024 3:03 pm mblazewicz New Issue
Jun 20, 2024 3:03 pm mblazewicz Status new => assigned
Jun 20, 2024 3:03 pm mblazewicz Assigned To => mblazewicz
Jun 20, 2024 3:09 pm mblazewicz Note Added: 0069347
Jun 20, 2024 3:09 pm mblazewicz File Added: 28911_Save.save
Jun 20, 2024 3:09 pm mblazewicz File Added: 28911_Screenshot.jpg
Jun 20, 2024 3:12 pm Jan Kuzior Assigned To mblazewicz => Chris_McElligottPark
Jun 26, 2024 11:08 am Mintdragon Note Added: 0069505
Jun 26, 2024 11:08 am Mintdragon File Added: No damage from behind.save
Jun 26, 2024 11:08 am Mintdragon File Added: 20240626110337_1.jpg
Jun 26, 2024 11:51 am Chris_McElligottPark Status assigned => resolved
Jun 26, 2024 11:51 am Chris_McElligottPark Resolution open => fixed
Jun 26, 2024 11:51 am Chris_McElligottPark Fixed in Version => 0.560 Resource Trends
Jun 26, 2024 11:51 am Chris_McElligottPark Note Added: 0069512