- Joined
- Nov 11, 2007
- Messages
- 2
- Reaction score
- 0
Hello there,
i want use Flying Mounts regular on the old maps, but i think there is one think i can find to make in useable.
I edit the follow .cpp
I think, that it must work, but is doesnt!
Is there another trigger, or must the DBC files edit?
I would search this forum, but i can find any search button, sorry
greetings nik
i want use Flying Mounts regular on the old maps, but i think there is one think i can find to make in useable.
I edit the follow .cpp
Code:
Index: MovementHandler.cpp
===================================================================
GetPlayer()->SetSemaphoreTeleport(false);
// remove new continent flight forms
- if(mEntry->MapID != 530) // non TBC map
+/* if(mEntry->MapID != 530) // non TBC map
{
GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_MOD_SPEED_MOUNTED_FLIGHT);
GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_FLY);
}
+*/
GetPlayer()->SendInitialPacketsBeforeAddToMap();
MapManager::Instance().GetMap(GetPlayer()->GetMapId(), GetPlayer())->Add(GetPlayer());
Index: Spell.cpp
===================================================================
case SPELL_AURA_FLY:
{
// not allow cast fly spells at old maps
- MapEntry const* mEntry = sMapStore.LookupEntry(m_caster->GetMapId());
+/* MapEntry const* mEntry = sMapStore.LookupEntry(m_caster->GetMapId());
if(!IsExpansionMap(mEntry))
return SPELL_FAILED_NOT_HERE;
+*/
+ // all ok
+ return 0;
};break;
I think, that it must work, but is doesnt!
Is there another trigger, or must the DBC files edit?
I would search this forum, but i can find any search button, sorry

greetings nik