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

[Bug] attribute 410 damage bonus while disguised's mini crit is not working #144

Open
M60TM opened this issue Nov 28, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@M60TM
Copy link
Contributor

M60TM commented Nov 28, 2023

Description

It deals normal damage while disguised.

Reproduce

Steps to reproduce the behavior:

  1. Disguise and shoot with enforcer
  2. See error

Cause

OnTakeDamage is too late to detect disguise. Disguise will disappear when shoot even if it has non-schema attribute keep disguise on attack.

Other information

damage bonus while disguised is used within CTFWeaponBaseGun::GetProjectileDamage.
I have no idea about how to fix this issue. However, it will be implemented in the same way as mod crit type glow

@M60TM M60TM added the bug Something isn't working label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant