mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-06 02:02:25 +00:00
[Bug Fix] Fix Bard Invisibility Songs breaking every 4 ticks (#3783)
# Notes - Fixes #2361.
This commit is contained in:
parent
703862d977
commit
5cc87cbda7
@ -3885,7 +3885,7 @@ bool Mob::SpellOnTarget(
|
|||||||
// Prevent double invising, which made you uninvised
|
// Prevent double invising, which made you uninvised
|
||||||
// Not sure if all 3 should be stacking
|
// Not sure if all 3 should be stacking
|
||||||
//This is not live like behavior (~Kayen confirmed 2/2/22)
|
//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 (IsEffectInSpell(spell_id, SE_Invisibility)) {
|
||||||
if (spelltar->invisible) {
|
if (spelltar->invisible) {
|
||||||
spelltar->MessageString(Chat::SpellFailure, ALREADY_INVIS, GetCleanName());
|
spelltar->MessageString(Chat::SpellFailure, ALREADY_INVIS, GetCleanName());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user