mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
Merge branch 'master' into Playerbot
# Conflicts: # src/server/game/World/IWorld.h # src/server/game/World/World.cpp # src/server/game/World/World.h # src/server/scripts/Commands/cs_server.cpp
This commit is contained in:
@@ -11035,6 +11035,11 @@ void Player::LeaveBattleground(Battleground* bg)
|
||||
// xinef: reset corpse reclaim time
|
||||
m_deathExpireTime = GameTime::GetGameTime().count();
|
||||
|
||||
// Remove all dots
|
||||
RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE);
|
||||
RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE_PERCENT);
|
||||
RemoveAurasByType(SPELL_AURA_PERIODIC_LEECH);
|
||||
|
||||
// pussywizard: clear movement, because after porting player will move to arena cords
|
||||
GetMotionMaster()->MovementExpired();
|
||||
StopMoving();
|
||||
|
||||
Reference in New Issue
Block a user