Poison resistance mixin prevents further processing of poison logic by other mods
SilverAndro opened this issue ยท 6 comments
This came up over discord from someone using RPGStats, because you fast cancel status effects on poison, the lv25 effect for rpgstats which is supposed to make you immune to poison never runs. https://github.com/acikek/purpeille/blob/fabric-1.19/src/main/java/com/acikek/purpeille/mixin/StatusEffectMixin.java
I think we both need to modify our mixins to use modifyarg on the damage call here? Im fairly sure that one is chainable which should allow our logic to work in tandem
Hmm, nice catch. I'll see what I can do tonight if I have time. Is there any reasonable way to test compatibility though?
Im working on pushing a version that should have a more compatible mixin rn, once thats out can just throw them together, /rpgcheat
yourself magic 50 or something, and see if poison effects you or not.
Published, should be good to test against
https://modrinth.com/mod/rpgstats/version/4.4.1
SilverAndro/RPGStats@9ef4576
Try this alpha version
718818c (kinda stole your code)
Tested in singleplayer. When player has magic 50, poison is negated, even when they're holding a Malaise item.
Yep seems to be working for me as well, very cool!
And yeah that's why I linked it haha, figured it might be helpful, thanks much!