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

Stun and knockback for player #441

Merged
merged 30 commits into from
Nov 13, 2024
Merged

Stun and knockback for player #441

merged 30 commits into from
Nov 13, 2024

Conversation

snipercup
Copy link
Collaborator

Requires #440

Mobs can now attack the player with stun and knockback effects.

I made the following changes:

  1. removed melee damage property and instead assigned a damage number to the target attributes
  2. split the target attributes into "any of" and "all of" so that every attack can target the specified attribute each time
  3. implemented a stun attribute, which will prevent the player from moving while active
  4. Added melee attack cooldown to better balance the mob attacks
  5. added a knockback distance so mobs can attack using knockback.
  6. added the iron stalker mob to two urban maps.

@snipercup snipercup added the enhancement New feature or request label Nov 11, 2024
@snipercup snipercup mentioned this pull request Nov 11, 2024
@snipercup snipercup merged commit 3a6ef9b into Khaligufzel:main Nov 13, 2024
@snipercup snipercup deleted the stun branch November 13, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant