Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upBayonet attached as gunmod to gun does not give increased damage, including for reach attacks (regression) #20214
Comments
keyspace
referenced this issue
Feb 6, 2017
Merged
[RDY] [CR] item: point to mod item (not the base firearm item) from mod's "gun mode" #20215
Coolthulhu
closed this
in
#20215
Feb 16, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
keyspace commentedFeb 6, 2017
•
edited
Noticed on the forums.
Using latest
git master(0.C-21030-gd8dd123670).Current code has this in
item::damage_melee()(line numbers are from a bisect I'm doing now, disregard):It seems that the
e.second.target != thischeck is alwaysfalse, and nothing is pushed toopts.So far checked 5c119f4 good, fc7b3ba bad.
EDIT: Bisected to 339e67d (PR #19515).
EDIT2: Possibly related: PR #18735, introduction of
TOOLMOD.I've been testing with:
makeshift_bayonetof typeGENERIC(hasgunmod_datadefined),sword_bayonetof typeTOOL(hasgunmod_data).Guess should have also included:
pistol_bayonetof typeGUNMOD(nogunmod_data).