Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Class Bat unability to jump #30

Open
Kruimeldief opened this issue Mar 26, 2020 · 2 comments
Open

Class Bat unability to jump #30

Kruimeldief opened this issue Mar 26, 2020 · 2 comments

Comments

@Kruimeldief
Copy link

In the following scenario, the Bat was unable to jump until it touches the ground to refill its jumps.

  1. Game of 2+ players.
  2. Before the starting zombie(s) is chosen after 10 seconds, double jump into mid-air.
  3. Stay mid-air while you're chosen as the starting zombie with the class Bat.
  4. You, as Bat, cannot jump until you refilled your jumps by touching the ground.

I have not tested if the above result applies to all scenarios where a human without any jumps left is turned into a Bat.

@Kaffeine
Copy link
Collaborator

There is the same issue if you're infected on the fly (you have to fall down before you can fly).

@teoman002
Copy link
Contributor

It is possible to change m_AirJumpCounter = 0 in
CCharacter::ClassSpawnAttributes()

sequence of events during class allocation:
CPlayer::SetClass(int newClass) --> CCharacter::SetClass(int ClassChoosed) --> CCharacter::ClassSpawnAttributes()

I don't want to test it though, just to provide the idea.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants