diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp index 4fd8ae8d7..aba2c6502 100644 --- a/src/game/MiscHandler.cpp +++ b/src/game/MiscHandler.cpp @@ -1603,8 +1603,6 @@ void WorldSession::HandleObjectUpdateFailedOpcode(WorldPacket& recv_data) recv_data.ReadGuidMask<6, 7, 4, 0, 1, 5, 3, 2>(guid); recv_data.ReadGuidBytes<6, 7, 2, 3, 1, 4, 0, 5>(guid); - DEBUG_LOG("WORLD: Received CMSG_OBJECT_UPDATE_FAILED from %s (%u) guid: %s", - - GetPlayerName(), GetAccountId(), guid.GetString().c_str()); + DEBUG_LOG("WORLD: Received CMSG_OBJECT_UPDATE_FAILED from %s (%u) guid: %s", GetPlayerName(), GetAccountId(), guid.GetString().c_str()); } diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 66b309a7e..2f32785a6 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3233,6 +3233,34 @@ void Spell::EffectDummy(SpellEffectEntry const* effect) return; } break; + + switch (m_spellInfo->Id) + { + case 21562: // Power Word: Fortitude + { + Unit* target = unitTarget; + if (!target) + target = m_caster; + + if (m_caster->GetTypeId() != TYPEID_PLAYER || target->GetTypeId() != TYPEID_PLAYER) + return; + + m_caster->CastSpell(target, ((Player*)m_caster)->GetGroup() != ((Player*)target)->GetGroup() ? 79104 : 79105, true, NULL, NULL, m_caster->GetObjectGuid()); + return; + } + case 27683: // Shadow Protection + { + Unit* target = unitTarget; + if (!target) + target = m_caster; + + if (m_caster->GetTypeId() != TYPEID_PLAYER || target->GetTypeId() != TYPEID_PLAYER) + return; + + m_caster->CastSpell(target, ((Player*)m_caster)->GetGroup() != ((Player*)target)->GetGroup() ? 79106 : 79107, true, NULL, NULL, m_caster->GetObjectGuid()); + return; + } + } } case SPELLFAMILY_DRUID: { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index ed410514a..f02dd32e6 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12732" + #define REVISION_NR "12733" #endif // __REVISION_NR_H__