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
Martial art styles are using Bashing Weapons instead of Unarmed Combat #23454
Comments
Added 'confirmed' tag because I saw some complains from users in some forum. |
@illi-kun Unable to duplicate. Tested builds 7297 to 7310. I did not have any existing characters to test with (they died) but I did experience this bug in 7308 on an existing character which led to me testing in the first place. My control variables: All stats 8 On all builds, unarmed damage and experience gain was as expected. I have a feeling that this issue is with characters that existed prior to the introduction of the changes in an unknown build, possibly pre-7297. @papersplease -- please create a new character on your current build and see if the issue persists. If things are working normally, that confirms my theory that it could be because of changes somewhere not being applied retroactively. UPDATE: Did some additional testing -- created a character on build 7300 and then updated the same character to 7310. Issue was not present. |
@MisterFox Well I was specificially talking about newly created characters, although I'm getting this with old characters too. Styles are broken for me in every build starting with 7299 and up. Verified it once again just now on 7310 with all default settings and a new character as described in the OP, still the same. My build was: Infected, Blackbelt, 10-8-10-10, dodging to 12, Muay Thai; the traits were: Animal Discord, Far and Near-Sighted, Heavy Sleeper, Poor Hearing, Lactose Intolerance, Squeamish, Thin-Skinned, Truth Teller, Addiction Resistant, Packmule, Robust Genetics. However, I was able to repro this on entirely different builds. Muay Thai, Taekwondo and Zui Quan all seemed to be broken by this. |
I guess it is related to Line 275 in 085b6e2
We could add EDIT: It seems it already has this flag in its definition, but not in the memory. Cataclysm-DDA/data/json/items/generic.json Lines 58 to 67 in 085b6e2
|
Aha -- I can confirm this is happening to Muay Thai, but not Brawling. I'm going to check what martial arts styles are affected. |
After testing with all the martial arts styles it seems that this issue is only happening to Muay Thai and Taekwondo as of build 7312. I was not able to reproduce this with Zui Quan |
What if we change std::set<std::string> item_tags = { "PSEUDO", "UNARMED_WEAPON", "TRADER_AVOID" }; |
Please don't add properties to the null item. An "unarmed_attack" pseudo item would be ok, special casing skill and attack code when the null item is encountered is ok, but treating the null item as a real item is not |
Could be related - #23466. |
Unlike what is said above, I can confirm it's happening to more than just Muay Thai and Taekwondo. I am trying to play with the Dragon Kung Fu martial art and I am dealing with the same bug. |
It's definitely not properly fixed. After creating a Blackbelt character with Missed scenario and everything else at default, Muay Thai still does 2-5 damage per attack. |
I can say that in the case of Dragon Kung Fu, it is fixed. Martial art is trained properly and the damage gets higher when it level up, meaning it use the proper skill. Since it still affect Muay Thai and Taekwondo, maybe it's related to the fact that those martial art can be use while still holding something in your hand? |
@ZelteHonor In my experience it only affects particular attacks, not styles. For example, only power kicks from Brawling deal lowered damage, while all special attacks from Muay Thai, Karate, Taekwondo, Judo and probably some others seem to be affected. |
It's true that I haven't reach special attack yet with my character. I'm still at level 3. Edit: I did reach level 4 and I have to say, I do feel like the grab attack and the counter-attack aren't doing as much damage as they should. So yeah, it's still a thing. |
I can confirm that kick attacks still aren't doing damage correctly, skill gain works fine, though. On a side note, Coolthulu is right in that reach attacks with |
Game version: latest
Operating system: Windows 7
Tiles or curses: tiles
Mods active: N/A
Expected behavior
When using martial arts without a weapon, the unarmed combat skill should be used.
Actual behavior
The bashing weapons skill is used instead, the damage output is very low.
Steps to reproduce the behavior
Create a Blackbelt character, choose Muay-Thai as a preffered style (should work with any style, it's just the one I typically use), try to punch some zombies. Watch yourself dealing ridiculously low damage and training Bashing Weapons instead of Unarmed Combat. Upon selecting "No style" everything works as intended.
Looks like the bug was introduced in one of these commits 651fce6 4c1e7f3 063f797 cc3b717
The text was updated successfully, but these errors were encountered: