iron431 / irons-spells-n-spellbooks

Other
78 stars 57 forks source link

[Bug] Long Cast type spells can be interrupted when imbued despite having the concentration amulet equipped #590

Open TomatoSoupter opened 1 week ago

TomatoSoupter commented 1 week ago

Observed behaviour

Long Cast type spells (such as Shockwave, Cleanse, etc), which are imbued onto an armor piece, can be interrupted by attacking even when the Amulet of Concentration is equipped. This does not happen if the spell is slotted into a spellbook or imbued onto a weapon.

Expected behaviour

Long Cast spells shouldn't have been able to be interrupted when being used while imbued onto a piece of armor

Steps to reproduce

1: Imbued a piece of armor with a long cast spell 2: Equip the Amulet of Concentration 3: Attempt to cast the spell (easier to test when you are under the effects of the slow spell) 4: Recieve damage 5: Long cast spell gets interrupted, despite wearing the amulet.

Server Type

Dedicated Server

Crashlog

No response

Iron's Spells N Spellbooks version

1.21-3.6.2

Forge version

Neoforge - 21.0.163

Other mods

The mods currently present in Modding Magic Playtest 1.21 - 1.2.0