aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/MapScripts.cpp
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2012-04-13 20:50:34 +0100
committerNay <dnpd.dd@gmail.com>2012-04-13 20:51:07 +0100
commita28742bffeca3764468b3f307a86c14e2f3e3607 (patch)
tree669f9c09db0760bb9b29cac82f1bcbabc639a0d2 /src/server/game/Scripting/MapScripts.cpp
parentb9c50a8b6ee4335a98518a7329fe94133e5ee69b (diff)
Core/BG: When starting a battleground teleport the player to start location if it goes outside of the allowed "waiting" area (for example, getting out of the "bubble" in EotS)
Allowed waiting area is calculated as the distance specified in database (battleground_template.StartMaxDist) and the battleground start point for each team A distance of 0 is ignored (not used in SotA nor arenas) The values in DB might need some tweaks, open a pull request if you calculate better ones Closes #180 Initial patch and idea by Rat Also added validation (DBError log) to some fields in battleground_template table
Diffstat (limited to 'src/server/game/Scripting/MapScripts.cpp')
0 files changed, 0 insertions, 0 deletions