Commit Graph
28009 Commits
Author SHA1 Message Date
tkrokli c4ec0d8cfc [WIP] Core/Scripts: Gnomish Mind Control Cap and Gnomish Universal Remote (#17374)
(cherry picked from commit b651bf271b047d3c79d7e8fc2c558913d20c9e15)

Rename 2016_09_09_20_world.sql to 2016_10_15_00_world.sql
(cherry picked from commit d03b3e26438e12bda9069969041d50c36119c24b)
2017-10-03 16:56:48 +02:00
ariel- b2f9e0c95b Core/AI: initial support for monster sparring (#17673)
(cherry picked from commit 303066509d907d4836a935371492092f05d47c7e)

Remove deprecated procEx usage.
(cherry picked from commit 84439ff4d77abbdbdd06f5276d2fe6b17bf9070f)
2017-10-03 16:53:35 +02:00
Keader c514227479 Core/Scripts: Implemented right Snobold Vassal behavior on Gormok fight. (#17934)
(cherry picked from commit 8fb2dce01774bc0e1bcd96eddbfc1239200ae4ee)
2017-10-03 16:28:15 +02:00
iridinite fd53cbc5f2 [3.3.5] AHBot Characters (#17885)
(cherry picked from commit 6dc0a9f04ad62e3bb7165a210b894d177ceffc05)
2017-10-03 16:02:32 +02:00
Keader ff90a3f3c4 Core/Unit: Remove incorrect check that dont allow units attack your vehicle/passenger (#17932)
(cherry picked from commit f0cd28be3d1b3ca3632d2b92cce55858f6025071)
2017-10-03 15:31:22 +02:00
SnapperRy 53dde7e2ca Core/SAI: always use DespawnOrUnsummon() for SMART_ACTION_FORCE_DESPAWN.
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)
2017-10-03 15:31:09 +02:00
Gustavo d4fa2cf43f Core/Scripts Boss Lady DeathWhisper improvements (#17389)
(cherry picked from commit 8e82d8a9e79ba95fbd780fa093416ebe7431a1c0)

Rename 2016_99_99_99_world.sql to 2016_10_14_05_world.sql
(cherry picked from commit b4b8a7477bcab15cb25a15bd3271279ae3220c94)
2017-10-03 15:28:39 +02:00
joschiwald 3106b8b333 Scripts/AQ20: Fixed crash in npc_buru_egg and removed hack in spell_egg_explosion 2017-10-03 13:40:03 +02:00
Gacko 25111b09df Fix non-PCH build. 2017-09-25 21:34:15 +02:00
Shauren d184768bbc Core/Misc: Improved error message reported by ASSERT_NOTNULL 2017-09-24 23:53:33 +02:00
joschiwald 0fcf6043b7 Core/Misc: Changed some SpellMgr::GetSpellInfo calls 2017-09-24 23:15:56 +02:00
Shauren 65af89e4e6 Warning fixes 2017-09-22 19:39:04 +02:00
Shauren 91626f0339 Core/Bnet: Moved loading account info from rest service to session
* This improves concurrency by removes thread synchronization when checking login tickets
* Also allows users to use external (web based) login systems
2017-09-22 18:26:00 +02:00
Shauren 0c0f099dd6 Build fix 2017-09-21 22:09:15 +02:00
Shauren 3269a68427 Core/Bnet: Implement a way to handle turn protobuf service calls into async requests 2017-09-21 21:59:59 +02:00
Ryan 115dffde98 Core/Items: Implement ItemLevelSelector.db2 (#20325)
ItemLevelSelector replaced ITEM_BONUS_ITEM_LEVEL_OVERRIDE in 7.2
2017-09-15 21:23:41 +02:00
Shauren 6eb9973947 Core/Weather: Fixed weather updates to be thread safe 2017-09-14 22:33:40 +02:00
Shauren 6d2bc7abf4 Warning fix 2017-09-13 22:43:53 +02:00
Warpten 9a461126b7 Core/Spells: Implement SPELL_ATTR0_ON_NEXT_SWING_2. 2017-09-13 11:42:27 +02:00
Shauren b2fc329adf Core/Items: Implemented glowing new items in inventory 2017-09-11 22:35:55 +02:00
Shauren e0b2bad7d5 Core/Creatures: Changed NearestAttackableUnitInObjectRangeCheck to only consider neutral units as targets if they are already in combat with target searching unit
Closes #13630
Closes #20205

(cherry picked from commit c8fdda7f86f5dbe90525636a7291186fe603f61d)
2017-09-09 23:32:21 +02:00
Golrag 96f0086860 Core/Quests: Sync QuestFlags with WPP (#20285) 2017-09-08 15:59:42 +02:00
Shauren 8023905611 Core/Spells: Fixed typos in spell script validators 2017-09-06 23:16:36 +02:00
joschiwald 26f65ec1d2 Core/Packets: Enabled CMSG_CLOSE_INTERACTION, thanks @Rochet2
Closes #20235
2017-09-06 18:36:29 +02:00
joschiwald 2c4246f341 Fixed build 2017-09-06 16:10:32 +02:00
Kittnz a755a78f9c Core/Event: Change Midsummer Music container to vector
(cherry picked from commit e0c2482fa17abddd6e5993270bc742df5bb07c6a)
2017-09-06 16:04:47 +02:00
Kittnz c41a4f39f6 Core/Event: Change Midsummer Music to search grid only
(cherry picked from commit 30a3a93ef9829114dde350dcce7c16a3e1259035)
2017-09-06 16:04:23 +02:00
SnapperRy a2fce3a486 Script/Creature: Scarshield Infiltrator/Vaelan.
(cherry picked from commit fdc4ab4ab4ab99657cb64b42e9e30272aebc5527)
2017-09-06 16:01:55 +02:00
ariel- d7c85d7193 Core/SmartScripts: fixup SMART_EVENT_FLAG_WHILE_CHARMED behaviour to only mean charmed creatures (#17738 follow-up)
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)
2017-09-06 15:35:04 +02:00
ariel- 6ea0095817 Core/Unit: disallow parry for totems
(cherry picked from commit b1777979c3e8801cd67c27e2cce55df791b38e93)
2017-09-06 13:36:06 +02:00
ariel- 49648b6681 Core/AI: added container independent wrappers for WorldObject::GetxxxInGrid
(cherry picked from commit 271dd0788d1c01adbb741c1d9b3686f80978ddbc)
2017-09-06 13:36:05 +02:00
ariel- f3e4f322b2 Core/Entities: fix dynamic linking
(cherry picked from commit 4b5350c0a64b3483959fa80794715b2a9e0a0c0c)
2017-09-06 13:36:05 +02:00
SnapperRy 36b84462f0 Core/Item: fix wrong error message triggered when trying to equip two items with the same ItemLimitCategory.
(cherry picked from commit f9068a02f059f296f04a76262d5f93716819181f)
2017-09-06 13:36:05 +02:00
ariel- 0d22e4f3f4 Core/Entities: extend available containers for WorldObject::GetxxxInGrid
(cherry picked from commit 1667dd3b7ad93b67298d27d0b759f886188ebcfa)
2017-09-06 13:12:41 +02:00
ariel- a6c0bf0099 Core/Scripts: Fix runtime error
(cherry picked from commit 4a1f6eb3b177d50f22df6295d712b85b81a95581)
2017-09-06 13:08:54 +02:00
ariel- 56be2b47ce Core/Spell: do not automatically set proc Family Name if no Family Flags present
Closes #18075

(cherry picked from commit 8167d6d4a0a38f2499aa8b84b9976bc1d5b5ccd2)
2017-09-06 12:57:15 +02:00
ariel- 42656c8fd0 Core/Spells: fix auto repeat spells triggering auras
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)
2017-09-06 12:45:40 +02:00
ariel- 9106c0f272 Core/Auras: don't ignore SPELL_ATTR3_ONLY_TARGET_PLAYERS in area auras.
Also, start abusing the arbitrary containers for searchers introduced in 8775f8b28a5ad4403371577787131ff81f14332b

(cherry picked from commit 449ec0d6ff74ccd1874bc09073353d97c1d0151c)
2017-09-06 11:06:03 +02:00
Shauren 09d6cc4601 Core/Items: Defined all item flags
(partial cherry picked from commit 1c7f0992973c3c05b0560ff6f7e1e89fcbed57f0)
2017-09-06 10:47:27 +02:00
SnapperRy 27b0905594 Core/Loot: limit unique items check introduced in ea69115 to affect only items that start a quest.
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)
2017-09-06 10:38:52 +02:00
Shauren 30ff2620c2 Core/Spells: Add missing SpellFamilyFlags to priest and monk variants of Gift of the Naaru
* Fixes quest Rescue the Survivors

Closes #20240
Closes #20245
2017-09-05 22:05:29 +02:00
SnapperRy 65077985e0 Script/Quest: Apply Heat and Stir.
Enjoy one of the most frustrating quests in Northrend!

(cherry picked from commit 387b18775d6f7b7d6e8cf669d36328867e5f39d5)
2017-09-05 19:34:49 +02:00
ariel- 63b2551870 Core/Creature: Call SetSpawnHealth after JustReachedHome in HomeMovementGenerator
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)
2017-09-05 19:19:37 +02:00
ariel- f65897f3be Core/SmartAI: There's a function for that
(cherry picked from commit e2a8cf6809bdb2fbe118d38f3cdf49bbee3078f9)
2017-09-05 19:19:21 +02:00
joschiwald 187addf77b Fixed warning 2017-09-05 17:32:53 +02:00
SnapperRy 8cb5368062 Core/SAI: don't reset event phase when npc evades/resets.
The scripts themselves should take care of that.

(cherry picked from commit 5267381e39c23797bfad22c5433910ecf155145c)
2017-09-05 12:14:15 +02:00
ariel- 0b4088fdb8 Core/Spell: Fix 2 more off by one probability calc and duplicated logic in spell hit roll
(cherry picked from commit 4cdbc1a09bf9a90d1ab756ca6a3ad084ff4199bb)
2017-09-05 12:14:01 +02:00
ariel- f7263b6d4b Core/Auras: moved check for CC auras out of proc handler, and fixed its logic
(cherry picked from commit 86903f701540fab062c4d7772c201507fc031c63)
2017-09-05 12:04:42 +02:00
ariel- b86150352d Core/Scripts: added missing null checks for DamageInfo struct
(cherry picked from commit 666422d82751439aaf3ddd05dae086900dffcbf2)

# Conflicts:
#	src/server/scripts/Spells/spell_dk.cpp
#	src/server/scripts/Spells/spell_mage.cpp
#	src/server/scripts/Spells/spell_paladin.cpp
#	src/server/scripts/Spells/spell_priest.cpp
#	src/server/scripts/Spells/spell_rogue.cpp
#	src/server/scripts/Spells/spell_shaman.cpp
#	src/server/scripts/Spells/spell_warlock.cpp
#	src/server/scripts/Spells/spell_warrior.cpp
2017-09-05 11:57:29 +02:00
SnapperRy d9ababbc2c Core/Wintergrasp: fix ownership of workshops at the beginning of a new battle.
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)
2017-09-05 11:49:50 +02:00