-
Notifications
You must be signed in to change notification settings - Fork 41
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
Adjust aspect value based on the item type #16
Adjust aspect value based on the item type #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, should be done! Bows and Crossbows also scale by 2. I added it in a suggestion.
Added Bow and Crossbow to the doublehanded weapons Co-authored-by: Jo <[email protected]>
Sorry, fighting with the system a bit. I accepted the suggestion and it keeps saying Changes requested so trying to figure out what's up. :-D |
Yeah, I think even after accepting the suggestion I have to approve. Because I theory I could have other comments apart from the suggestion. Approved! :) |
You have to adapt the read_descr_test.py. As this is an amulet: https://github.com/aeon0/d4lf/blob/main/test/assets/item/read_descr_legendary_1920x1080_1.png. It now has different value for the aspect. (correct value for the aspect that is :) Adapt here: https://github.com/aeon0/d4lf/blob/2dbe9678ac9620d4832713927c3161bb2991575a/test/item/read_descr_test.py#L44 |
…et -> reported 22)
…ithub.com/tomas-davidovic/d4lf into dev/adjust_aspect_value_base_on_item_type
Adapted |
The current version reads the aspect variable value as is.
But those values are scaled by 1.5x for Amules and by 2x for two handed weapons.
I propose to scale them back down to the "canonical" values.
(I am not running Rogue, so I don't know whether Bows and Crossbows scale to 2x as well, please adjust accordingly)