mirror of
https://github.com/mangosfour/server.git
synced 2025-12-29 07:37:05 +00:00
[12195] 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>
This commit is contained in:
parent
7901613472
commit
9022705faf
22 changed files with 304 additions and 162 deletions
|
|
@ -83,7 +83,6 @@ struct AreaTrigger
|
|||
uint32 heroicKey2;
|
||||
uint32 requiredQuest;
|
||||
uint32 requiredQuestHeroic;
|
||||
std::string requiredFailedText;
|
||||
uint32 target_mapId;
|
||||
float target_X;
|
||||
float target_Y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue