diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 4aef68a37..75c3833f4 100755 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -7967,7 +7967,7 @@ bool PlayerCondition::Meets(Player const* player) const // Check that on proper map if (dbcEntry1->mapId != player->GetMapId()) { - sLog.outErrorDb("CONDITION_COMPLETED_ENCOUNTER (entry %u, DungeonEncounterEntry -value1- %u) is used on wrong map (used on Map %u) by %s", m_entry, m_value1, player->GetMapId(), player->GetGuidStr().c_str()); + sLog.outErrorDb("CONDITION_COMPLETED_ENCOUNTER (entry %u, DungeonEncounterEntry %u) is used on wrong map (used on Map %u) by %s", m_entry, m_value1, player->GetMapId(), player->GetGuidStr().c_str()); return false; } // Select matching difficulties diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 52ba7b0e4..d86a9f513 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1705,6 +1705,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList& case 804: // Explode Bug case 23138: // Gate of Shazzrah case 28560: // Summon Blizzard + case 30769: // Pick Red Riding Hood case 31347: // Doom TODO: exclude top threat target from target selection case 33711: // Murmur's Touch case 38794: // Murmur's Touch (h) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 6762c51db..5803714f4 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -7058,6 +7058,15 @@ void Spell::EffectScriptEffect(SpellEffectEntry const* effect) break; } + case 30769: // Pick Red Riding Hood + { + if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER) + return; + + // cast Little Red Riding Hood + m_caster->CastSpell(unitTarget, 30768, true); + break; + } case 30918: // Improved Sprint { if (!unitTarget) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index f7759e4e5..8014bd927 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 "12145" + #define REVISION_NR "12146" #endif // __REVISION_NR_H__