[Bug Fix] Fix Bard Invisibility Songs breaking every 4 ticks (#3783)

# Notes
- Fixes #2361.
This commit is contained in:
Alex King authored and GitHub committed 2023-12-18 18:10:28 -06:00
1 parent 703862d977
commit 5cc87cbda7
1 file changed
+1 -1
+1 -1
View File
@@ -3885,7 +3885,7 @@ bool Mob::SpellOnTarget(
// Prevent double invising, which made you uninvised
// Not sure if all 3 should be stacking
//This is not live like behavior (~Kayen confirmed 2/2/22)
if (!RuleB(Spells, AllowDoubleInvis)) {
if (!RuleB(Spells, AllowDoubleInvis) && !IsActiveBardSong(spell_id)) {
if (IsEffectInSpell(spell_id, SE_Invisibility)) {
if (spelltar->invisible) {
spelltar->MessageString(Chat::SpellFailure, ALREADY_INVIS, GetCleanName());