[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
2022-04-01 18:01:38 -04:00
committed by GitHub
parent 5dc76e595b
commit bbe2db7c0f
2 changed files with 10 additions and 0 deletions
+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;