-
Notifications
You must be signed in to change notification settings - Fork 5
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
Derived Creature DV is incorrect #4
Comments
This bug also hid the fact that DV needed the sValue as a low-high string, which was changed a while ago to be a raw dice value string for dice tooltip. Not sure how to fix this as my python is not that powerful yet |
skill is now named weaponskill to avoid the vague references.
Is there something else we wanted to do here yet? Looks pretty good to me after the changes y'all made. |
I think that it's mostly good aside from stuff like Q Girl having quills and also a body armor that she can't equip, but is calculated anyway. as well as creatures with multiple items for the same slot, so we have to figure out which one is being worn |
Made some progress with 100d557 the other day (forgot to link the commit). Going to leave myself assigned for now but not sure if I can work on this for a week or two. If someone else is feeling ambitious before that, just ping me and feel free to do as you will. |
Is this still an issue? |
The calculation we have now is fairly good but it still doesn't really account for all the details that it should. For example, we still don't handle the Q Girl / Quills scenario outlined above properly. The extra logic would mostly need to better take mutations and equipment into account, and would need to be added here: hagadias/hagadias/qudobject_props.py Lines 1161 to 1184 in c1c71b4
At one point in time, I started writing (whether that is worth the effort is probably up for debate - I haven't felt particularly interested in finishing that module anytime recently - it's a lot of work for probably minimal gain on a few wiki pages where it matters) |
#18 might be another way to handle this, but that is also a somewhat complicated solution |
When DV is specified, it is a sum to the already base 6 DV in addition to agility + spry/tumble. If self.stat_DV_Value is a pointless check because all creatures inherit a base bonus +0 DV. however, in this conditional branch it only returns that bonus without calculating the rest of the agility. (see: cave spider with an DV of 2 in code, but in game has 9 because 6+ 2(bonus) + 1 (agi modifier) )
The text was updated successfully, but these errors were encountered: