PDA

Просмотр полной версии : [12148] Improve AreaTrigger teleport requirement checks


newsbot
06.09.2012, 20:30
Автор: cyberium


<pre>m sql/mangos.sql
+ sql/updates/12148_01_mangos_areatrigger_teleport.sql
+ sql/updates/12148_02_mangos_mangos_string.sql
m src/game/DBCStores.cpp
m src/game/DBCStores.h
m src/game/DBCStructure.h
m src/game/Group.cpp
m src/game/Language.h
m src/game/Map.cpp
m src/game/Map.h
m src/game/MapManager.cpp
m src/game/MapPersistentStateMgr.cpp
m src/game/MapPersistentStateMgr.h
m src/game/MiscHandler.cpp
m src/game/MovementHandler.cpp
m src/game/ObjectMgr.cpp
m src/game/ObjectMgr.h
m src/game/Player.cpp
m src/game/Player.h
m src/game/SharedDefines.h
m src/shared/revision_nr.h
m src/shared/revision_sql.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[12148] Improve AreaTrigger teleport requirement checks

Implement AreaLockStatus concept by rsa

Also drop basicly unneeded `areatrigger_teleport`.required_failed_text field.
This concept is still in testing phase, please feedback results of some glitches that might exist!

TODO: Use Player::GetAreaLockStatus or GetAreaTriggerLockStatus for other "CanEnter" checks as well.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com></pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/8ff1eb45c0a342c44a055c52facf85b54bff8923)