Marium's Soulslike Weaponry

Marium's Soulslike Weaponry

4M Downloads

The Mob Effect Magic Resistance protects only against indirect_magic damage sources

SuperHeroBaga opened this issue ยท 1 comments

commented

The effect Magic Resistance only protects against the damage sources of type "indirect_magic" and not "magic".
I believe this is due to this line of code:
"(source.isOf(DamageTypes.INDIRECT_MAGIC) || source.isOf(DamageTypes.INDIRECT_MAGIC)"
One of the conditions should probably be: "source.isOf(DamageTypes.MAGIC)"

By the way I love your mod.

commented

Yeah that is definitely a typo, thanks for pointing it out!