[Bug Fix] Bard Invisible causing display issues. (#2067)

* [Bug Fix] Bard Invisible causing display issues.

Error occurring due to bard modifiers being applied to invisible spell effect value.

* [Bug Fix] Bard Invisible causing display issues.
This commit is contained in:
KayenEQ authored and GitHub committed 2022-04-02 00:01:38 +02:00
1 parent 5dc76e595b
commit bbe2db7c0f
2 files changed
+10

No files matched your search

+9
View File
@@ -1465,6 +1465,15 @@ bool IsInstrumentModAppliedToSpellEffect(int32 spell_id, int effect)
case SE_BardSongRange:
case SE_TemporaryPets:
case SE_SpellOnDeath:
case SE_Invisibility:
case SE_Invisibility2:
case SE_InvisVsUndead:
case SE_InvisVsUndead2:
case SE_InvisVsAnimals:
case SE_ImprovedInvisAnimals:
case SE_SeeInvis:
case SE_Levitate:
case SE_WaterBreathing:
return false;
default:
return true;