Jump to content

Bloodhorn(p) upgrade2(II) Stampede damage vs buildings too high when buffed with Tainted Enrage


Jolares

Recommended Posts

NAME: Bloodhorn(p) upgrade2(II) Stampede damage vs buildings too high when buffed with Tainted Enrage

DESCRIPTION:

Bloodhorn(p) upgrade2(II) Stampede damage = 9.000

Bloodhorn(p) upgrade2(II) Tainted Enrage = The unit will deal 100% more damage

9.000 = 100%

x = 100% + 100%

x = 200%

18.000 = 200% (am i rite or am i rite?) I am calculating this in this way based on the damage done to units. Normally 200(100%), when buffed 400(200%).

Bloodhorn(p) upgrade2(II) Stampede vs 2x Comet Catcher(5.000 hp each)

Bloodhorn(p) upgrade2(II) Stampede destroys one Comet Catcher(5.000hp) and one Comet Catcher survives with 1.000hp. A total of 9.000 damage has been done.

Bloodhorn(p) upgrade2(II) Stampede with Tainted Enrage vs 6x Comet Catcher(5.000 hp each)

What I expected, 3 Comet Catchers dead, one left with 2.000hp

What happened, all died. How is 9.000 + 100%more damage greater than 30.000hp

REPRODUCIBILITY:  Always in the Forge.

SCREENSHOT/VIDEO: 

LOG: [This is really important. Attach/upload your log file! This provides us with the data we need to fix your problems. You can find your log in the Documents/BattleForge/Diag directory as _log_proxy_latest.log if you didn't restart your game yet, _log_proxy_0.log if you restarted your game once, _log_proxy_1.log if you restarted your game twice, and so on. If your game crashed, please also include the crashdata.mdmp.]

ADDITIONAL INFORMATION: -/-

 

_log_proxy_latest.log

Link to comment
Share on other sites

Only happens when the innitial target gets destroyed. If the innitial target has >19'800 (>2* 9'900) effectiv HP (a.e. Comet Catcher with Skyelf Commander ~33'333 eHP), then the damage amount applied is correctly. 

However if the initial target is destroyed, I've calculated a total damage of up to ~86'667 damage (see testsetup below, everything gets destroyed). 

It's quite inconsistant. At least too inconsistant for me to grasp what's really happening. Depending on the setup the (buffed) ability deals inconsistant damage values depending on the number of buildings destroyed:

19'800 (none destroyed)
~24'000 (dont remember the setup)
48'093 (3 buildings destroyed)
86'667 (4 buildings destroyed)

Note: There doesn't have to be a relation on # entities killed to the max damage value, this is just my conculusion after a couple of tests.

image.png

Jolares likes this
Link to comment
Share on other sites

maybe it has a max amount of damage, as you've stated. and the carried-over-damage is then multiplied again?
this way it only works if the initial target is destroyed so subsequent targets get the damage mulitplier applied additional times.

Edited by Jolares
meaning
Link to comment
Share on other sites

some interesting numbers:

game computes that first building is attacked with 9900 DMG which get boosted to 24800 DMG 😮 (total damage done is 0 -> 24800 + 0 -> 14800 overkill 🤦‍♂️)
second building is attacked with 14800 DMG which get boosted to 34600 DMG 😮 (total damage done is 24800 -> 34600 + 14800 -> 24600 overkill 🤦‍♂️)

3rd building is attacked with 24600 DMG which get boosted to 54200 DMG 😮 (total damage done is 0 -> 54200 + 0 -> 44200 overkill 🤦‍♂️)

4rd building is attacked with 44200 DMG which get boosted to 93400 DMG 😮 (total damage done is 0 -> 93400 + 0 -> 83400 overkill 🤦‍♂️)

5rd building (with commander) is attacked with 83400 DMG which get boosted to 30020.002 DMG 😮 (total damage done is 0 -> 30020.002 + 0 -> 20020.002 overkill 🤦‍♂️)

6rd building (with commander) is attacked with 20020.002 DMG which get boosted to 11006.001 DMG 🤔 (total damage done is 0 -> 11006.001 + 0 -> 1006.001 overkill 🤦‍♂️)

in short WTF???

not even clue where to start looking for what is wrong, is there at least one number right? 🤣

Jolares likes this
Link to comment
Share on other sites

atleast it gets broken consistently until the 6th where it seems to get a .5 multiplier instead of 2.0

how is the 24.800 formed?

9.900 x 2 + ___ ?
where do the 5.000 come from?

 

additionl insight:

I mean this could be a longshot, but the building has exactly 5k life. is this where the addition 5k come from? that'd be hillarious.

Edited by Jolares
a word, additionl insight
Link to comment
Share on other sites

46 minutes ago, Jolares said:

maybe it has a max amount of damage, as you've stated. and the carried-over-damage is then multiplied again?

This would explain exactly my observations:

BhB: Bloodhorn Buff, factor 2 = +100%

{[(9'900 *BhB - 5'000) *BhB - 5'000] *BhB - 33'333⅓} *BhB = 31733⅓ = 4760 /15 *100

4760 /15 *100 corresponds exactly to the last Comet Catcher with 240 HP remaining.
Thus, yes. Your assuption hits the nail on its head: the Bloodhorn buff gets applied to the overkill damage after damage calculation.

If this assumption is correct, you should be able to hit damage numbers which oneshot even the beffiest of entities with the right setup of course.

Edited by Mynoduesp
Jolares likes this
Link to comment
Share on other sites

6 minutes ago, Mynoduesp said:

If this assumption is correct, you should be able to hit damage numbers which oneshot even the beffiest of entities with the right setup of course.

imagine this only works because buildings take lotsa dmg.

imagine many small hp targets, like 5hp s-troops.

does charging stack dmg the same way against units if done correctly?^^

hardly abuseable because of all the circumstances, but if done right can oneshot anything

Edited by Jolares
a word
Link to comment
Share on other sites

First building:

Spoiler

{
  "DamageTaken": [
    {
      "name": "building_damage",
      "saved_name": "",
      "id": 3,
      "duration": {
        "secs": 0,
        "nanos": 0
      },
      "inner_events": [
        {
          "DamageTaken": [
            {
              "name": "entity_take_damage",
              "saved_name": "",
              "id": 4,
              "duration": {
                "secs": 0,
                "nanos": 0
              },
              "inner_events": []
            },
            {
              "Squad": {
                "entity": 718,
                "entity_type": "Building",
                "job": "Idle",
                "source": 730,
                "special_case": 1,
                "position": {
                  "x": 176.75,
                  "y": 50.0,
                  "z": 150.15
                },
                "flags": 0,
                "weapon_and_damage_before": {
                  "weapon": "MeleeXL",
                  "damage": 9900.0
                },
                "weapon_and_damage_after": {
                  "weapon": "MeleeXL",
                  "damage": 19800.0
                },
                "damage_taken_before": {
                  "hp_left": 3.0964957e-31,
                  "total_hp_lost": 3.0966621e-31,
                  "overkill_damage": 4.6639964e24
                },
                "damage_taken_after": {
                  "hp_left": 0.0,
                  "total_hp_lost": 19800.0,
                  "overkill_damage": 0.0
                }
              }
            }
          ]
        },
        {
          "UpdateDamageTaken": [
            {
              "name": "UpdateDamageTaken",
              "saved_name": "",
              "id": 5,
              "duration": {
                "secs": 0,
                "nanos": 0
              },
              "inner_events": []
            },
            {
              "before": {
                "hp_left": 0.0,
                "total_hp_lost": 19800.0,
                "overkill_damage": 0.0
              },
              "after": {
                "hp_left": 0.0,
                "total_hp_lost": 24800.0,
                "overkill_damage": 14800.0
              },
              "hp_after": 0.0,
              "hp_before": 5000.0,
              "dmg": 19800.0
            }
          ]
        }
      ]
    },
    {
      "Squad": {
        "entity": 718,
        "entity_type": "Building",
        "job": "Crush",
        "source": 730,
        "special_case": 1,
        "position": {
          "x": 176.75,
          "y": 50.0,
          "z": 150.15
        },
        "flags": 0,
        "weapon_and_damage_before": {
          "weapon": "MeleeXL",
          "damage": 9900.0
        },
        "weapon_and_damage_after": {
          "weapon": "MeleeXL",
          "damage": 24800.0
        },
        "damage_taken_before": {
          "hp_left": 2.572031e-38,
          "total_hp_lost": 3.096742e-31,
          "overkill_damage": 1.1027396e-8
        },
        "damage_taken_after": {
          "hp_left": 0.0,
          "total_hp_lost": 24800.0,
          "overkill_damage": 14800.0
        }
      }
    }
  ]
}

second building:

Spoiler

{
  "DamageTaken": [
    {
      "name": "building_damage",
      "saved_name": "",
      "id": 6,
      "duration": {
        "secs": 0,
        "nanos": 0
      },
      "inner_events": [
        {
          "DamageTaken": [
            {
              "name": "entity_take_damage",
              "saved_name": "",
              "id": 7,
              "duration": {
                "secs": 0,
                "nanos": 0
              },
              "inner_events": []
            },
            {
              "Squad": {
                "entity": 717,
                "entity_type": "Building",
                "job": "Idle",
                "source": 730,
                "special_case": 1,
                "position": {
                  "x": 176.75,
                  "y": 50.0,
                  "z": 150.15
                },
                "flags": 0,
                "weapon_and_damage_before": {
                  "weapon": "MeleeXL",
                  "damage": 14800.0
                },
                "weapon_and_damage_after": {
                  "weapon": "MeleeXL",
                  "damage": 29600.0
                },
                "damage_taken_before": {
                  "hp_left": 3.0964957e-31,
                  "total_hp_lost": 3.0966621e-31,
                  "overkill_damage": 4.6639964e24
                },
                "damage_taken_after": {
                  "hp_left": 0.0,
                  "total_hp_lost": 29600.0,
                  "overkill_damage": 0.0
                }
              }
            }
          ]
        },
        {
          "UpdateDamageTaken": [
            {
              "name": "UpdateDamageTaken",
              "saved_name": "",
              "id": 8,
              "duration": {
                "secs": 0,
                "nanos": 0
              },
              "inner_events": []
            },
            {
              "before": {
                "hp_left": 0.0,
                "total_hp_lost": 29600.0,
                "overkill_damage": 0.0
              },
              "after": {
                "hp_left": 0.0,
                "total_hp_lost": 34600.0,
                "overkill_damage": 24600.0
              },
              "hp_after": 0.0,
              "hp_before": 5000.0,
              "dmg": 29600.0
            }
          ]
        }
      ]
    },
    {
      "Squad": {
        "entity": 717,
        "entity_type": "Building",
        "job": "Crush",
        "source": 730,
        "special_case": 1,
        "position": {
          "x": 176.75,
          "y": 50.0,
          "z": 150.15
        },
        "flags": 0,
        "weapon_and_damage_before": {
          "weapon": "MeleeXL",
          "damage": 14800.0
        },
        "weapon_and_damage_after": {
          "weapon": "MeleeXL",
          "damage": 34600.0
        },
        "damage_taken_before": {
          "hp_left": 0.0,
          "total_hp_lost": 24800.0,
          "overkill_damage": 14800.0
        },
        "damage_taken_after": {
          "hp_left": 0.0,
          "total_hp_lost": 34600.0,
          "overkill_damage": 24600.0
        }
      }
    }
  ]
}

3rd:

Spoiler

{
  "DamageTaken": [
    {
      "name": "building_damage",
      "saved_name": "",
      "id": 9,
      "duration": {
        "secs": 0,
        "nanos": 0
      },
      "inner_events": [
        {
          "DamageTaken": [
            {
              "name": "entity_take_damage",
              "saved_name": "",
              "id": 10,
              "duration": {
                "secs": 0,
                "nanos": 0
              },
              "inner_events": []
            },
            {
              "Squad": {
                "entity": 719,
                "entity_type": "Building",
                "job": "Idle",
                "source": 730,
                "special_case": 1,
                "position": {
                  "x": 176.74136,
                  "y": 50.0,
                  "z": 158.15
                },
                "flags": 0,
                "weapon_and_damage_before": {
                  "weapon": "MeleeXL",
                  "damage": 24600.0
                },
                "weapon_and_damage_after": {
                  "weapon": "MeleeXL",
                  "damage": 49200.0
                },
                "damage_taken_before": {
                  "hp_left": 3.096522e-31,
                  "total_hp_lost": 3.0966885e-31,
                  "overkill_damage": 4.6639964e24
                },
                "damage_taken_after": {
                  "hp_left": 0.0,
                  "total_hp_lost": 49200.0,
                  "overkill_damage": 0.0
                }
              }
            }
          ]
        },
        {
          "UpdateDamageTaken": [
            {
              "name": "UpdateDamageTaken",
              "saved_name": "",
              "id": 11,
              "duration": {
                "secs": 0,
                "nanos": 0
              },
              "inner_events": []
            },
            {
              "before": {
                "hp_left": 0.0,
                "total_hp_lost": 49200.0,
                "overkill_damage": 0.0
              },
              "after": {
                "hp_left": 0.0,
                "total_hp_lost": 54200.0,
                "overkill_damage": 44200.0
              },
              "hp_after": 0.0,
              "hp_before": 5000.0,
              "dmg": 49200.0
            }
          ]
        }
      ]
    },
    {
      "Squad": {
        "entity": 719,
        "entity_type": "Building",
        "job": "Crush",
        "source": 730,
        "special_case": 1,
        "position": {
          "x": 176.74136,
          "y": 50.0,
          "z": 158.15
        },
        "flags": 0,
        "weapon_and_damage_before": {
          "weapon": "MeleeXL",
          "damage": 24600.0
        },
        "weapon_and_damage_after": {
          "weapon": "MeleeXL",
          "damage": 54200.0
        },
        "damage_taken_before": {
          "hp_left": 6.711467e-9,
          "total_hp_lost": 0.0,
          "overkill_damage": 0.0
        },
        "damage_taken_after": {
          "hp_left": 0.0,
          "total_hp_lost": 54200.0,
          "overkill_damage": 44200.0
        }
      }
    }
  ]
}

4th:

Spoiler

{
  "DamageTaken": [
    {
      "name": "building_damage",
      "saved_name": "",
      "id": 12,
      "duration": {
        "secs": 0,
        "nanos": 0
      },
      "inner_events": [
        {
          "DamageTaken": [
            {
              "name": "entity_take_damage",
              "saved_name": "",
              "id": 13,
              "duration": {
                "secs": 0,
                "nanos": 0
              },
              "inner_events": []
            },
            {
              "Squad": {
                "entity": 720,
                "entity_type": "Building",
                "job": "Idle",
                "source": 730,
                "special_case": 1,
                "position": {
                  "x": 176.73705,
                  "y": 50.0,
                  "z": 162.15
                },
                "flags": 0,
                "weapon_and_damage_before": {
                  "weapon": "MeleeXL",
                  "damage": 44200.0
                },
                "weapon_and_damage_after": {
                  "weapon": "MeleeXL",
                  "damage": 13260.001
                },
                "damage_taken_before": {
                  "hp_left": 3.096522e-31,
                  "total_hp_lost": 3.0966885e-31,
                  "overkill_damage": 4.6639964e24
                },
                "damage_taken_after": {
                  "hp_left": 0.0,
                  "total_hp_lost": 13260.001,
                  "overkill_damage": 0.0
                }
              }
            }
          ]
        },
        {
          "UpdateDamageTaken": [
            {
              "name": "UpdateDamageTaken",
              "saved_name": "",
              "id": 14,
              "duration": {
                "secs": 0,
                "nanos": 0
              },
              "inner_events": []
            },
            {
              "before": {
                "hp_left": 0.0,
                "total_hp_lost": 13260.001,
                "overkill_damage": 0.0
              },
              "after": {
                "hp_left": 0.0,
                "total_hp_lost": 18260.0,
                "overkill_damage": 8260.001
              },
              "hp_after": 0.0,
              "hp_before": 5000.0,
              "dmg": 13260.001
            }
          ]
        }
      ]
    },
    {
      "Squad": {
        "entity": 720,
        "entity_type": "Building",
        "job": "Crush",
        "source": 730,
        "special_case": 1,
        "position": {
          "x": 176.73705,
          "y": 50.0,
          "z": 162.15
        },
        "flags": 0,
        "weapon_and_damage_before": {
          "weapon": "MeleeXL",
          "damage": 44200.0
        },
        "weapon_and_damage_after": {
          "weapon": "MeleeXL",
          "damage": 18260.0
        },
        "damage_taken_before": {
          "hp_left": 6.7114634e-9,
          "total_hp_lost": 0.0,
          "overkill_damage": 0.0
        },
        "damage_taken_after": {
          "hp_left": 0.0,
          "total_hp_lost": 18260.0,
          "overkill_damage": 8260.001
        }
      }
    }
  ]
}

5th:

Spoiler

{
  "DamageTaken": [
    {
      "name": "building_damage",
      "saved_name": "",
      "id": 15,
      "duration": {
        "secs": 0,
        "nanos": 0
      },
      "inner_events": [
        {
          "DamageTaken": [
            {
              "name": "entity_take_damage",
              "saved_name": "",
              "id": 16,
              "duration": {
                "secs": 0,
                "nanos": 0
              },
              "inner_events": []
            },
            {
              "Squad": {
                "entity": 722,
                "entity_type": "Building",
                "job": "Idle",
                "source": 730,
                "special_case": 1,
                "position": {
                  "x": 176.72409,
                  "y": 50.0,
                  "z": 174.15
                },
                "flags": 0,
                "weapon_and_damage_before": {
                  "weapon": "MeleeXL",
                  "damage": 8260.001
                },
                "weapon_and_damage_after": {
                  "weapon": "MeleeXL",
                  "damage": 2478.0005
                },
                "damage_taken_before": {
                  "hp_left": 3.096522e-31,
                  "total_hp_lost": 3.0966885e-31,
                  "overkill_damage": 4.6639964e24
                },
                "damage_taken_after": {
                  "hp_left": 0.0,
                  "total_hp_lost": 2478.0005,
                  "overkill_damage": 0.0
                }
              }
            }
          ]
        },
        {
          "UpdateDamageTaken": [
            {
              "name": "UpdateDamageTaken",
              "saved_name": "",
              "id": 17,
              "duration": {
                "secs": 0,
                "nanos": 0
              },
              "inner_events": []
            },
            {
              "before": {
                "hp_left": 0.0,
                "total_hp_lost": 2478.0005,
                "overkill_damage": 0.0
              },
              "after": {
                "hp_left": 2521.9995,
                "total_hp_lost": 4956.001,
                "overkill_damage": 0.0
              },
              "hp_after": 2521.9995,
              "hp_before": 5000.0,
              "dmg": 2478.0005
            }
          ]
        }
      ]
    },
    {
      "Squad": {
        "entity": 722,
        "entity_type": "Building",
        "job": "Idle",
        "source": 730,
        "special_case": 1,
        "position": {
          "x": 176.72409,
          "y": 50.0,
          "z": 174.15
        },
        "flags": 0,
        "weapon_and_damage_before": {
          "weapon": "MeleeXL",
          "damage": 8260.001
        },
        "weapon_and_damage_after": {
          "weapon": "MeleeXL",
          "damage": 4956.001
        },
        "damage_taken_before": {
          "hp_left": 6.711474e-9,
          "total_hp_lost": 0.0,
          "overkill_damage": 0.0
        },
        "damage_taken_after": {
          "hp_left": 2521.9995,
          "total_hp_lost": 4956.001,
          "overkill_damage": 0.0
        }
      }
    }
  ]
}

6th:

Spoiler

{
  "DamageTaken": [
    {
      "name": "building_damage",
      "saved_name": "",
      "id": 18,
      "duration": {
        "secs": 0,
        "nanos": 0
      },
      "inner_events": [
        {
          "DamageTaken": [
            {
              "name": "entity_take_damage",
              "saved_name": "",
              "id": 19,
              "duration": {
                "secs": 0,
                "nanos": 0
              },
              "inner_events": []
            },
            {
              "Squad": {
                "entity": 721,
                "entity_type": "Building",
                "job": "Idle",
                "source": 730,
                "special_case": 1,
                "position": {
                  "x": 176.72409,
                  "y": 50.0,
                  "z": 174.15
                },
                "flags": 0,
                "weapon_and_damage_before": {
                  "weapon": "MeleeXL",
                  "damage": 0.0
                },
                "weapon_and_damage_after": {
                  "weapon": "MeleeXL",
                  "damage": 0.0
                },
                "damage_taken_before": {
                  "hp_left": 3.096522e-31,
                  "total_hp_lost": 3.0966885e-31,
                  "overkill_damage": 4.6639964e24
                },
                "damage_taken_after": {
                  "hp_left": 0.0,
                  "total_hp_lost": 0.0,
                  "overkill_damage": 0.0
                }
              }
            }
          ]
        },
        {
          "UpdateDamageTaken": [
            {
              "name": "UpdateDamageTaken",
              "saved_name": "",
              "id": 20,
              "duration": {
                "secs": 0,
                "nanos": 0
              },
              "inner_events": []
            },
            {
              "before": {
                "hp_left": 0.0,
                "total_hp_lost": 0.0,
                "overkill_damage": 0.0
              },
              "after": {
                "hp_left": 5000.0,
                "total_hp_lost": 0.0,
                "overkill_damage": 0.0
              },
              "hp_after": 5000.0,
              "hp_before": 5000.0,
              "dmg": 0.0
            }
          ]
        }
      ]
    },
    {
      "Squad": {
        "entity": 721,
        "entity_type": "Building",
        "job": "Idle",
        "source": 730,
        "special_case": 1,
        "position": {
          "x": 176.72409,
          "y": 50.0,
          "z": 174.15
        },
        "flags": 0,
        "weapon_and_damage_before": {
          "weapon": "MeleeXL",
          "damage": 0.0
        },
        "weapon_and_damage_after": {
          "weapon": "MeleeXL",
          "damage": 0.0
        },
        "damage_taken_before": {
          "hp_left": 2521.9995,
          "total_hp_lost": 4956.001,
          "overkill_damage": 0.0
        },
        "damage_taken_after": {
          "hp_left": 5000.0,
          "total_hp_lost": 0.0,
          "overkill_damage": 0.0
        }
      }
    }
  ]
}

If anyone is interested in more details of these numbers PM me on discord

Link to comment
Share on other sites

5 hours ago, Kubik said:

If anyone is interested in more details of these numbers PM me on discord

Kubik and me worked out a solution that was also applied with

The damage value now applies correctly and the overflow no longer gets multiplied by Tainted Enrage or Unholy Hero or the likes.

Damage was off only if overflow happened to buildings. Damage to Units done remains the same pre and post changes. That should only affect Units with the Stampede ability. like Mo, Bloodhorn, Juggernaut.

Xamos and Mynoduesp like this
Link to comment
Share on other sites

it was using overkill damage including all buffs as remaining damage (when hitting buildings) plus exactly same issue as (read as copy paste of same bugged code, I am 98% sure it was copied by human working for EA, and not compiler optimization)

Fixing the issue specifically for all stampede abilities is possible. (And btw melee attack have exact copy of this issue too 😄 and I expect to encounter the wrong formula on quite a few other places, and each can/should/must be fixed separately)

Fixing this is quite limited scope, so lets hope designers approve 🙂

All credit for the formula to @wibryz all his research and testing make this fix relatively easy.

Edited by Kubik
Mynoduesp likes this
Link to comment
Share on other sites

  • 4 months later...

For me damage works properly vs buildings now.

Potentially new issue: Once squads are also killed with the same stampede damage is no longer correct.

(Could be usual overkill bug or something else already existing which is related to squads, or maybe it is new, very hard to tell.)

Edited by LEBOVIN
Link to comment
Share on other sites

  • 1 month later...
Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use