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
Cry of the Eternal Soul Ritual non-functional #1632
Comments
Huh? The rune layout should be exactly the same. Furthermore, the diviner tooltip is incapable of showing a different amount of runes than are used in the ritual because the tooltip is built from the component description in the ritual class. I'll take a look at it. |
If addCornerRunes puts 4 runes in the same place that could explain it no? |
addCornerRunes adds 4 runes in each |x|,|x| offset. |
Obvious mistake on my part then, thanks for finding and fixing it! |
No worries, more concerned by the ritual not working at all no matter which structure though! Could you have a look at the patch I posted above (can turn it into a PR if that's easier for you) and let me know if I'm doing anything silly with capabilities? It's not something I'm overly familiar with. |
I'm busy right now, I'll look at it in a bit. |
I'll change a couple things, I seem to have requested a merge before finishing it (obviously, as it is not working), it's not using a couple mechanics that are new in BM2 to deal with areas and altar locations. |
I think I discovered this for myself, see #1633 |
Issue Description:
The Cry of the Eternal Soul ritual does not function.
Further, since its structure was changed in the refactor, the ritual diviner lists it as requiring more ritual stones than it actually uses. It currently consumes 73 ritual stones, though the diviner still lists the old requirement of 76. This is due to it requiring 3 fewer fire runes. It is possible this is due to the order of arguments on this line being wrong, with offset and y reversed:
https://github.com/WayofTime/BloodMagic/blob/1.12/src/main/java/WayofTime/bloodmagic/ritual/types/RitualEternalSoul.java#L89
What happens:
The cry of the eternal soul ritual activates when right clicked with an activation crystal, but does not do anything further. The nearby blood altar is not filled.
Structure is changed from previous versions, count of ritual stones is not accurately reflected in the diviner.
What you expected to happen:
The nearby blood altar to be filled.
Ritual diviner to accurately specify requirements or structure to be the same as previous versions.
Steps to reproduce:
/bloodmagic ritual create eteranal_soul
just below a blood altarAffected Versions (Do not use "latest"):
Further details
The following line can never evaluate to false, thus the method is always terminated early:
https://github.com/WayofTime/BloodMagic/blob/1.12/src/main/java/WayofTime/bloodmagic/ritual/types/RitualEternalSoul.java#L48
Should be obtaining the BloodAltar from the tile's capability and using that.
I attach below a working fix, but as I am fairly unfamiliar at this point with Forge's capabilities I have not submitted a PR as it can likely be improved upon.
The text was updated successfully, but these errors were encountered: