-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Respect Force unarmed
martial art style when calculating stamina cost
#61863
Respect Force unarmed
martial art style when calculating stamina cost
#61863
Conversation
Is smashing the same as performing an attack? To me it would seem reasonable that wielding a sledge hammer to smash something you can't destroy with your bare hands would actually use the tool wielded, rather than performing a shoulder smash. I'd test attacking a summoned zombie as well (regardless of the answer to the question above) and verify that all the attack parameters (time, stamina, damage, possibly something else I've missed) are as expected. |
I doubt it. The terrain/furniture you're smashing is very rarely trying to actively dodge your attacks and/or attack you in their turn, unlike most monsters in the game. I'd say smashing is much more "relaxed" compared to performing an attack.
What about wielding not a sledgehammer, but a long stick instead? A glass bottle? Still use tool wielded no matter what? If one has purposefully selected Force unarmed style when trying to smash something, then one can expect that game will follow his orders, even if one can't destroy this something with his unarmed attacks, and that game won't be trying to pretend that it's smarter than player.
Attacking how exactly? With a sledgehammer? With a sledgehammer but with Force unarmed? Truly unarmed? |
I would expect a player to typically have selected Force Unarmed and leave it at that to use it for, well, attacks. However, I accept the argument that such a player ought to realize they're using unarmed smashing after failing for a while, switch style, smash, and switch back. It is rather annoying to have your delicate vase (or whatever) damaged when pulping a zombie normally, after all. Attacking wielding a sledgehammer while having Force Unarmed applied to verify that the sledgehammer's only effect on the attacks is to make attacks using the arms and hands unavailable (or that the sledgehammer is disposed of to enable the use of the hands). |
My changes didn't affect anything related to arms and hands availability. The changes only affect stamina cost with Force Unarmed enabled. |
If, for some reason, the sledgehammer actually IS used for the attack then the stamina cost for the attack should remain unchanged, as the change would tackle only half of the problem, which wouldn't be suitable. If, on the other hand, the issue was that unarmed attacks were made while still penalizing them with the sledgehammer penalties the change is reasonable, but it should still be verified that the end result is the expected one. If arm/hand attacks were made while still holding the sledgehammer I agree that's a partially different error that should be registered and then dealt with in a separate PR. |
I suppose you meant "the sledgehammer actually IS used for the attack even with Force Unarmed enabled"? If so, then no, there wasn't any issue on this matter, at least I haven't heard anything about this.
This is exactly the original issue was about.
Tested right now. Attacked with wielded sledgehammer - stamina cost for sledgehammer. |
Thanks. Sorry for the miscommunication and being a pain in the butt. |
Summary
Bugfixes "Respect
Force unarmed
martial art style when calculating stamina cost"Purpose of change
Describe the solution
In
get_standard_stamina_cost
added a check forForce Unarmed
martial art style.Describe alternatives you've considered
None.
Testing
Wielded heavy sledgehammer. Smashed the wall, checked stamina cost. Set Force Unarmed style, smashed wall once again, checked stamina cost.
Additional context
None.