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

Prevent counterattacking with large/fragile items #36704

Merged
merged 1 commit into from
Jan 5, 2020

Conversation

anothersimulacrum
Copy link
Member

@anothersimulacrum anothersimulacrum commented Jan 4, 2020

Summary

SUMMARY: Bugfixes "Prevent attacking with items that take very many moves to attack with"

Purpose of change

Fixes #36517
Attempting to attack with very large items could lead to move starvation, where the player would spend several turns doing nothing but attacking.

Additionally, attacking with large items made of glass could break your arms because the damage from breaking glass items is due to volume.

Describe the solution

Prevent counter-attacking with items made of glass, because this can break them, where the player may not want this to occur.

Prevent attacking with items than take more than 10 turns to attack with, to prevent the move starvation bug.

Describe alternatives you've considered

Different numbers for the move prevention.

Testing

image

Attempting to attack with very large items could lead to move
starvation, where the player would spend several turns doing nothing but
attacking.
Additionally, attacking with large items made of glass could break your
arms because the damage from breaking glass items is due to volume.

Prevent counter-attacking with items made of glass, because this can
break them, where the player may not want this to occur.

Prevent attacking with items than take more than 10 turns to attack
with, to prevent the move starvation bug.
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.

Strange issue with counterattacks causing massive damage to player's arm
2 participants