(cherry picked from commit b651bf271b047d3c79d7e8fc2c558913d20c9e15)
Rename 2016_09_09_20_world.sql to 2016_10_15_00_world.sql
(cherry picked from commit d03b3e26438e12bda9069969041d50c36119c24b)
SmartAI uses that same method internally, so there's no need to handle it in two different ways.
Does not affect functionality, but prevents useless SAI error log in case the target creature is not using SAI.
(cherry picked from commit 727f77ec6ab9b507d86ffc482b2801fb5b9b907e)
(cherry picked from commit 8e82d8a9e79ba95fbd780fa093416ebe7431a1c0)
Rename 2016_99_99_99_world.sql to 2016_10_14_05_world.sql
(cherry picked from commit b4b8a7477bcab15cb25a15bd3271279ae3220c94)
* This improves concurrency by removes thread synchronization when checking login tickets
* Also allows users to use external (web based) login systems
Unit::IsControlledByPlayer is a expected value for TempSummons (like some triggers used in quests, summoned by spells).
Previous logic broke a lot of quests which use triggers to do stuff.
Allow JustSummoned and events linked from other events with flag set also in charmed (prevents breaking event chains)
Allow vehicles (needed for vehicles with SmartAI, eg Iron Rune Constructs and You: Rocket Jumping)
(cherry picked from commit 3e596376a7fae9fd585fac12e5122fd8f1b7ce14)
Auto repeat spells are casted as triggered and didn't register procs properly if the aura can't proc with triggered
(cherry picked from commit aaa1a43204c7dbb9c5bd5f9622b7b3d6065407e2)
Also, start abusing the arbitrary containers for searchers introduced in 8775f8b28a5ad4403371577787131ff81f14332b
(cherry picked from commit 449ec0d6ff74ccd1874bc09073353d97c1d0151c)
Turns out epic and legendary items are excluded from this limitation (or it could be just instanced content that is immune to this). Other qualities are affected as normal. Sorry for the mishap.
(cherry picked from commit fffeae0da222eb84145880278ee9ac07e6076853)
Core/Loot: revert unique item check introduced in ea69115.
Proven to be wrong in its current form. Will reintroduce later either in the same method or via db conditions.
(cherry picked from commit 41445e0d3eae87a37a1199018afaa0059691965f)
Fixes issues with quests that rely on this behaviour (eg Free your Mind)
Also updated SetSpawnHealth so it doesn't do anything in case spawn is manual (SetHealth(GetHealth()) does modify things depending on deathstate)
(cherry picked from commit b8a1a18a5a44185c0e84d23910c35ebf2706e1b5)
Those two, together with the two workshop in the Keep, always belong to the defender team. The SouthEast and SouthWest ones always belong to the attacker team.
(cherry picked from commit b8bb1545ecd9abcca55dc1abaebb0a7eda1d00a3)