Skip to content

[Vanilla Bug] AmbientDamage does not take modifiers into account #1033

Open
@Rampastring

Description

@Rampastring

First Check

  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    vanilla-bugSomething isn't working in the original game

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions