Vinifera icon indicating copy to clipboard operation
Vinifera copied to clipboard

[Vanilla Bug] `AmbientDamage` does not take modifiers into account

Open Rampastring opened this issue 1 year ago • 0 comments

First Check

  • [X] I added a very descriptive title to this issue.
  • [X] I used the GitHub search to find a similar issue and didn't find it.
  • [X] I have attached as much information as possible (screenshots, debug and exception logs, etc).

Description

When a unit deals damage through AmbientDamage=, be it through railguns, particles, or sonic beams, the unit's modifiers do not get applied to the damage.

For example, if a Titan picks up a firepower crate, its damage gets doubled, but if your railgun-equipped Mammoth Mk. II picks up a firepower crate, it does nothing.

The same bug applies to the FIREPOWER veterancy bonus, as well as the house's Firepower= multiplier.

Required Code (optional)

No response

Steps To Reproduce

Pick up a firepower crate with a Mammoth Mk. II and observe the damage.

Expected Behaviour

The Mammoth Mk. II should deal more damage.

Actual Behaviour

The Mammoth Mk. II does not deal more damage.

Additional Context

No response

Rampastring avatar Sep 03 '23 09:09 Rampastring