Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoy commander dying to tacnuke/nuke #4300

Open
MeSaber opened this issue Feb 8, 2025 · 1 comment
Open

Decoy commander dying to tacnuke/nuke #4300

MeSaber opened this issue Feb 8, 2025 · 1 comment
Assignees
Labels
Bug Something isn't working Gadget Synced gameplay code Good First Issue Good for newcomers

Comments

@MeSaber
Copy link

MeSaber commented Feb 8, 2025

Description

Decoy commander gets thrown into the air and dies due to landing on the side or from the fall height.

Expected Behaviour

Not fly/die due to tacnuke/nuke.

Actual Behaviour

Knockback into air.

Reproduction steps

No response

Other

2025-02-08_17-29-12-724_Avalanche 3_2025.01.6.sdfz.zip

@MeSaber MeSaber added the Bug Something isn't working label Feb 8, 2025
@SethDGamre SethDGamre self-assigned this Feb 26, 2025
@SethDGamre SethDGamre added Good First Issue Good for newcomers Gadget Synced gameplay code labels Feb 26, 2025
@SethDGamre
Copy link
Collaborator

local function isValidCollisionDirection(unitID)

this function handles mitigating damage based on the angle the unit falls. That's what you're seeing. There needs to be an additional check for overall velocity that if it's not greater than some empirically tested number, negate damage. Or something like that. EZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Gadget Synced gameplay code Good First Issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants