cdda-itembrowser icon indicating copy to clipboard operation
cdda-itembrowser copied to clipboard

Incorrect values for some objects (in Cooper)

Open slitherrr opened this issue 9 years ago • 1 comments

Check out http://cdda-trunk.estilofusion.com/survivor_suit. Bash and Cut are given as 24 and 40, when they are listed as 12 and 18 in-game. I suppose the definitions for cut_resist and bash_resist in https://github.com/CleverRaven/Cataclysm-DDA/blob/9db58e12ccb961109000157273d5c4f70baeda20/src/item.cpp have changed, which seems like an annoying thing to have to keep up with.

In an unrelated note, I get why https://github.com/Sheco/cdda-itembrowser/pull/3 happened now: https://github.com/CleverRaven/Cataclysm-DDA/blob/9db58e12ccb961109000157273d5c4f70baeda20/src/item_factory.cpp#L656.

slitherrr avatar Apr 05 '15 15:04 slitherrr

Thank you for your report.

It seems the *_resist() methods have changed somewhat.

We would have to update /src/app/models/Item.php protection(), we might have to split that method into separate methods for each damage type.

Regarding #3... that's funny.

Sheco avatar Apr 05 '15 16:04 Sheco