Skip to content

[TF2] Condition 76 (TF_COND_HALLOWEEN_IN_HELL) interferes with Your Eternal Reward/Wanga Prick disguise-on-backstab functionality #4477

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

Open
FlaminSarge opened this issue Nov 3, 2022 · 1 comment · May be fixed by ValveSoftware/source-sdk-2013#1279

Comments

@FlaminSarge
Copy link

Backstabbing a target that has cond 76 (therefore 'killing' them and turning them into a ghost) with either Your Eternal Reward or the Wanga Prick results in the killer not disguising as the stabbed target. This is particularly an issue on Graveyard, which uses cond 76 for all players for the entirety of each round, but this issue is present on all maps that make use of cond 76 and its behavior in relation to player death and cond 77.

Repro:

  1. Add condition 76 to a target player.
  2. Equip the Your Eternal Reward on attacker player.
  3. Attacker backstabs target player.
  4. Attacker does not automatically disguise as target player, and instead loses their disguise (due to attacking).
@FlaminSarge
Copy link
Author

I believe this is because CTFKnife::PrimaryAttack does not check for condition 77 (TF_COND_HALLOWEEN_GHOST_MODE) when checking for a successful backstab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants