aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bindings/scripts/include/sc_creature.cpp2
-rw-r--r--src/game/SpellEffects.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/bindings/scripts/include/sc_creature.cpp b/src/bindings/scripts/include/sc_creature.cpp
index 03b162268d9..48b6efc8295 100644
--- a/src/bindings/scripts/include/sc_creature.cpp
+++ b/src/bindings/scripts/include/sc_creature.cpp
@@ -845,7 +845,7 @@ void LoadOverridenSQLData()
// Sunwell Plateau : Kalecgos : Spectral Rift
goInfo = const_cast<GameObjectInfo*>(GetGameObjectInfo(187055));
if(goInfo && goInfo->type == GAMEOBJECT_TYPE_GOOBER)
- goInfo->type = GAMEOBJECT_TYPE_SPELLCASTER;
+ goInfo->goober.lockId = 57; // need LOCKTYPE_QUICK_OPEN
}
void LoadOverridenDBCData()
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 61064274b8c..85420fcc233 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -677,7 +677,7 @@ void Spell::EffectDummy(uint32 i)
pGameObj->SetRespawnTime(0);
pGameObj->SetOwnerGUID(m_caster->GetGUID());
- pGameObj->SetUInt32Value(GAMEOBJECT_LEVEL, m_caster->getLevel());
+ //pGameObj->SetUInt32Value(GAMEOBJECT_LEVEL, m_caster->getLevel());
pGameObj->SetSpellId(m_spellInfo->Id);
MapManager::Instance().GetMap(creatureTarget->GetMapId(), pGameObj)->Add(pGameObj);
@@ -5576,7 +5576,7 @@ void Spell::EffectSummonObject(uint32 i)
return;
}
- pGameObj->SetUInt32Value(GAMEOBJECT_LEVEL,m_caster->getLevel());
+ //pGameObj->SetUInt32Value(GAMEOBJECT_LEVEL,m_caster->getLevel());
int32 duration = GetSpellDuration(m_spellInfo);
pGameObj->SetRespawnTime(duration > 0 ? duration/1000 : 0);
pGameObj->SetSpellId(m_spellInfo->Id);
@@ -6268,7 +6268,7 @@ void Spell::EffectTransmitted(uint32 effIndex)
pGameObj->SetOwnerGUID(m_caster->GetGUID() );
- pGameObj->SetUInt32Value(GAMEOBJECT_LEVEL, m_caster->getLevel() );
+ //pGameObj->SetUInt32Value(GAMEOBJECT_LEVEL, m_caster->getLevel() );
pGameObj->SetSpellId(m_spellInfo->Id);
DEBUG_LOG("AddObject at SpellEfects.cpp EffectTransmitted\n");
@@ -6288,7 +6288,7 @@ void Spell::EffectTransmitted(uint32 effIndex)
fx, fy, fz, m_caster->GetOrientation(), 0, 0, 0, 0, 100, 1))
{
linkedGO->SetRespawnTime(duration > 0 ? duration/1000 : 0);
- linkedGO->SetUInt32Value(GAMEOBJECT_LEVEL, m_caster->getLevel() );
+ //linkedGO->SetUInt32Value(GAMEOBJECT_LEVEL, m_caster->getLevel() );
linkedGO->SetSpellId(m_spellInfo->Id);
linkedGO->SetOwnerGUID(m_caster->GetGUID() );