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

[knockback3] knockback3 ignore air units by default #387

Conversation

Cokemonkey11
Copy link
Contributor

Closes #385

The underlying issue here is that SetUnitFlyHeight always obeys unit min flyheight.

Note that Get/Set min fly height is not working with new blizzard natives, so there's no safe way to knockback3 flying units.

Another reasonable solution here would be to automatically provide a 2D knockback for flying units

@Frotty
Copy link
Member

Frotty commented Apr 6, 2021

constant unittype UNIT_TYPE_FLYING = ConvertUnitType(3)

@Frotty Frotty merged commit 3c1ff4f into wurstscript:master Apr 6, 2021
Overkane pushed a commit to Overkane/WurstStdlib2 that referenced this pull request Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Knockback3 doesn't behave appropriately with flying units
2 participants