Skip to content
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

Fix Honoured Tattoo of the Tuatara interaction with Stat Conversion jewels #6712

Merged

Conversation

Peechey
Copy link
Contributor

@Peechey Peechey commented Sep 18, 2023

Fixes #6708

Description of the problem being solved:

Stat convert jewels are taking the +4 of the tattoo and treating like +4 of each, converting whichever applicable. This PR changes the stat convert jewels to ignore stat tattoo nodes. Timeless jewels are still adding stats to the nodes. This should only affect stat conversion. Other conversion jewels like Green Nightmare should affect tattoos as before.

Other Ways to Implement:

I thought about adding another field to getSimpleConv and passing true or whatever for the 3 stats when parsed to use in the conditional. Or could check the type of "BASE" as I think that's only parsed by these stat conversion jewels for this function. If you see a cleaner way, lemme know.

Link to a build that showcases this PR:

eNrVHGtz2rj2c_MrNMzsTDubBGzMK5PsDiEvbpOWBdLe-2lHMQK0kS0qy0noTv_7PZJscCh2bPDcndsPKVjnraPzkpPT3188hp6ICCj3zyrWca2CiO_yCfVnZ5X78dVRu_L7bwenAyznn6fnIWVq5beDd6f6M2LkiTDAa1WQxGJG5JeYVP1PILXAvpwT7t_hv7i45pOzyifukwp6wP6Eyviby3AQfMIeOauMXECuIBy4xJ_01s8jwDkW2JVE3Cq23VDyOz6BVSlCWPUw9UfcfSTyWvBwAVJV0BMlzwamfzf4PBwnRKJ-UiRQ6d3pgOElESOJJQrgx1mlC5bBM3KBPfgJ1DALgVTt2HE6Tr1t12zbaVmdSjUT-zwUgdyRxGhByGSFZR07DTsNdCDI5XRKXEmfSE9Q2Ztj301wTMMrCnsXMkkXjBKRkKuRhnHzE3Grlkp-zCVmF4NRwkzNht1oO3az02zaHTsbkcu3NfhK5fycgVF3YaOQ-zOfSrIr9oDTgPv7qPgKN3WfQsbgnOaCHZKAiCcs6YZcqbS590D93Qx4h33c40GOfVKQAyIgDMhCCCPicogcRXkUxLylU5IfspAe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HdqAwWMZdgSW_6h0Rq1NJEqv9TIrVSRVKuU5pQr6gmJIRjQ76FgOauRJ0pX8PI3Jgic5eJIIxBMmP_V6F-I8SoaX56nZssaU9HjEt9hzZ4uB_e6htJPa2_ZpBJg_X1Wi0WJQ3BsEFWAZRzDv0J6j4sgwC2JbreaxQhQJjcxLcL4OsGH9V30BKNnvFik7WzC6E91I9o2CXQ2K5QswSFmiUotBONbQrt7Z31Eixil6VNEX-7Icwjci97bDlszb0lsAtT2JtlvSz7N0pwBquE42GVIIdT0BPKCjH2vifSKcGAxXNGaSG2vq_-9p5HuJgAkyUy9zH7-KCpLfahsP1gN_am0CxrW62yYkxx19zKWhPrTwB88_0pg6obSpR4pSomvZMZnb2doVGOVxaxXtcLGZElhNJ6CRGpvuepdvbEt8qx_86ptrDXO4UxdinD9rRqY99gX9K2OGVFp9IK8517sAJ4QzVUsPcOTXY5e1BaqimjY3R206mo8fcvEkqqVhp7C7J_imsWDQb7Bo-fGZqx0YhIfUGrb0z1K5_cn9JZ_Oa_S-acqYsTQ5r4xFtGf4ogfomzlfwdu23wyb8rECM13kaJX9WMUepvsIm9cvVyaaOdihDQGWWfp_q3MUYS61972HwpNYVN9PtTnDE9lEvaIRtx9aZSjOA038B4_StbP1nitBrv1Wl1889y_Bc1qpbV

Before screenshot:

Efficient Training:
image

After screenshot:

Efficient Training:
image

Lethal Pride:
image

Green Nightmare:
image

@Paliak Paliak added the bug: calculation Numerical differences label Sep 19, 2023
@LocalIdentity LocalIdentity merged commit 27b9fa0 into PathOfBuildingCommunity:dev Sep 20, 2023
@Peechey Peechey mentioned this pull request Oct 16, 2023
3 tasks
@Peechey Peechey deleted the fix/tattoo_attribute_jewels branch October 16, 2023 00:49
shafouz pushed a commit to shafouz/PathOfBuilding that referenced this pull request Dec 8, 2023
…ewels (PathOfBuildingCommunity#6712)

* check if node is tattoo for attr convert jewels

* account for other tattoos that can be converted, like cold res
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: calculation Numerical differences
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Honoured Tattoo of the Tuatara Calculation Error
3 participants