Jump to content

[Bug] Spell 23019 Crystal Prison Dummy DND for quest 7583


Recommended Posts

Posted

When you try to loot the gameobject it says "YOU CAN'T OPEN THAT"

if i remove this line

pGameObj->SetUInt32Value(GAMEOBJECT_LEVEL, m_caster->getLevel() );

it will work but i don't know if this is the right way to fix it thats why i post it on bug reports section :)

diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 5ccab32..6c922a1 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -954,7 +954,6 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)

                    pGameObj->SetRespawnTime(creatureTarget->GetRespawnTime()-time(NULL));
                    pGameObj->SetOwnerGUID(m_caster->GetGUID() );
-                    pGameObj->SetUInt32Value(GAMEOBJECT_LEVEL, m_caster->getLevel() );
                    pGameObj->SetSpellId(m_spellInfo->Id);

                    creatureTarget->ForcedDespawn(); 

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use