aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-01-22Core/Spells: Expose corpseTarget to spell scripts with ↵Ovah
SpellScript::GetHitCorpse() (#24981) Closes #24945 (cherry picked from commit 94a4404e7e0667eab5d79c01444855966c41ad56)
2022-01-22Creature/AI: Remove SetVisible from SmartAI::InitializeAIakrom23
Closes #24184 (cherry picked from commit f99a79cb4301f1d76d95b9c953918216947a2b94)
2022-01-22Core/Spells: Don't select corpses for spell targets that expect to hit unitsShauren
Closes #24980 (cherry picked from commit 14db2215d37c8081aff32a22b0e40b1cb8d6ec96)
2022-01-22Scripts/ICC: fixed a crash in the Lich King encounter caused by invalid ↵Ovah
corpse targets (cherry picked from commit 232628f0a63480d07d28dcf12a7f6445ca07ab43)
2022-01-21DB/Quest: Convert & update support for 'Khu'nok Will Know' to SAIoffl
Closes #24933 (cherry picked from commit c6811d3e4e2f21789f619eff51936796e4cb669f)
2022-01-21Core/Misc: Fixed engrish in static_assert for EnumFlag and restrict ↵Shauren
DEFINE_ENUM_FLAG to enums only (with std::is_enum)
2022-01-21Core/Events: refactored battleground holiday assignments.Ovahlord
Instead of going with shitty bitmasks we now accept plain battleground ids instead (cherry picked from commit 8a82403400ef49415e14530f4b55d55ef38bc74e)
2022-01-21DB/Quest: Convert & update support for 'Chasing A-Me 01' to SAIoffl
Closes #24925 (cherry picked from commit 46ad9fa0d95676a8f047f04ff432b1c033c24196)
2022-01-21DB/Quest: Convert & update scripts from Thousand Needles to SAIoffl
Closes #24924 (cherry picked from commit 18864aeddbfdeca90e07d76e5f497c7862c17c0c)
2022-01-21DB/Quest: Convert & update support for 'Protect Kaya' to SAIoffl
Closes #24923 (cherry picked from commit c29e3b46af49e3baeb3da01f839aa9eb1a44bb7b)
2022-01-21Core/Pools: Attempt to workaround pools being broken since 2015 (#24949)Giacomo Pozzoni
* Core/Pools: Attempt to workaround pools being broken since 2015 Attempt n°2 * Fix warning (cherry picked from commit 8c0a315734840f99455026ef443a21ae73d7bc3b)
2022-01-21Core/PetAI: Validate GetCharmInfo()jackpoz
Fixes #24870 (cherry picked from commit bf62901053d20da790e78394cd9b2a3129d28afa)
2022-01-21Core/Gameobjects: Improve IsValidAttackTarget faction check for traps that ↵Gildor
hasn't owner or have NPC owner (#24931) (cherry picked from commit 2a5f537d6a6ec9344ab1b4e3f3290e925cc7abdb)
2022-01-21Core/Spells: Check a few aura effects for determining if should be negative ↵Gildor
(#24930) * Core/Spells: Check a few aura effects for determining if should be negative * Rename 9999_99_99_99_world_auras.sql to 2020_07_04_00_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 26ba4ecd5140fa13953ca7c3e1ab3f269a85ce71)
2022-01-21DB/Creature: Convert & update support for 'Messenger Torvus' to SAIoffl
Closes #24852 (cherry picked from commit 2ebef0c51c138cc27693599b2b96ccf6cb3ceec4)
2022-01-21Core/Gameobjects: Traps shouldn't ignore IsImmuneToNPC/IsImmuneToPC and ↵Gildor
IsInSanctuary rules if has owner (#24911) (cherry picked from commit 4a4aac61d59c8202166c7bb7065385acc4a11ea7)
2022-01-21Core/Spells: SPELL_AURA_MOD_HEALTH_REGEN_PERCENT should be negative if ↵Gildor
TargetType is enemy and Basepoints are negative (#24902) (cherry picked from commit af1571ce508379895fb4f8f4fbcaccf7c5dbd156)
2022-01-21Core/Spells: SPELL_AURA_MELEE_SLOW should be negative if TargetType is enemy ↵Gildor
or Basepoints are negative (#24901) (cherry picked from commit 7a81ce2f21d5823cfa872cdef8fc880f2c81f94c)
2022-01-21Core/Spells: SPELL_AURA_MOD_MELEE_RANGED_HASTE should be negative if ↵Gildor
Basepoints are negative (#24900) (cherry picked from commit 0759d73777e59d548fa8b8cb7d2707fd9128abba)
2022-01-21Core/Misc: Future msvc warning fixesShauren
2022-01-20Core/Spells: implement corpse target type support and properly fix ↵Giacomo Pozzoni
resurrections (#24921) * Core/Spells: implement corpse target type support and properly fix resurrections (cherry picked from commit df193945d9aff8596985a20e2c654105354b0af7) * Core/Spells: implement TARGET_CORPSE_SRC_AREA_RAID and updated remaining resurrection effect handlers for updated corpse targeting (cherry picked from commit 98b075cb4b0da126d409ab42daa63a1f531a70ea) * Fix no-pch Co-authored-by: Ovahlord <dreadkiller@gmx.de> (cherry picked from commit cc71da35b5dc74abf71f8691161525a23d870bb5)
2022-01-19DB/Quest: Rumors for Kravel outro eventgenion18
Closes #24835 (cherry picked from commit 32aebc14abbb5c559d6a808c4c04d51e3a29b481)
2022-01-19DB/Quest: Convert & update support for 'Escorting Erland' to SAIoffl
Closes #24834 (cherry picked from commit eea3cf14017065dbf11deb0aa12f4cd7dd06abd6)
2022-01-19Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")jackpoz
(cherry picked from commit 54c701cf0db81c0062e8c5020e07db18984d0ffa)
2022-01-19Core/Common: Add macro ASSERT_WITH_SIDE_EFFECTS to be used when asserting ↵jackpoz
conditions that have side effects (cherry picked from commit 49da3533cd4a0fcd8b2ac7ae0bf4b105f40f8c77)
2022-01-19 DB/Quest: Convert & update support for 'Scratches' to SAIoffl
Closes #24824 (cherry picked from commit d526d5d1765a6468d9acb585b3e60c08352edf55)
2022-01-19Core/SAI: Support SMART_TARGET_POSITION in ↵Shauren
SMART_ACTION_BECOME_PERSONAL_CLONE_FOR_PLAYER
2022-01-19Core/Commands: Fixed wrong field being used to determine instance type in ↵Shauren
.lookup map id
2022-01-19Core/Quests: Fixed quest select queryShauren
2022-01-18DB/Quest: Convert Galen's Escape to SAIoffl
Closes #23684 (cherry picked from commit f6211737485ac77c4c31f303209b123cbf76c989)
2022-01-18DB/Quest: Convert & update support for 'City of Light' to SAIoffl
Closes #24814 (cherry picked from commit f2c2210dbb88ffa3571344030d77f80c0a765591)
2022-01-18Core/Quests: Remove RewardMoney from quest_template as it is not a static ↵funjoker
value and depends on receiving player (#27590)
2022-01-18Core/Auras: Store non-unit caster guids in auras (#27625)Jeremy
This allows retrieving any caster object, not just units
2022-01-18Scripts/Spells: Implement OnPrecast scripting hook for spell scripts (#27632)Seyden
* Fires before cast bar starts
2022-01-18Core/SAI: Add SMART_ACTION_BECOME_PERSONAL_CLONE_FOR_PLAYER (#27581)Seyden
2022-01-18Core/Movement: Fixed possible crash in HomeMovementGeneratorModoX
2022-01-18Scripts/Spells: Updated Power Word: Shield scriptShauren
Closes #27630
2022-01-18Script/Creature: script Terokk's encounter (#24871)Rothend
* Script/Creature: script Terokk's encounter. Closes #2029 * Apply suggested changes. * Fix nopch build. * Rename 9999_99_99_99_world_terokk.sql to 2020_06_24_02_world.sql * Update 2020_06_24_02_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com> (cherry picked from commit 3227ed94bc7e8a6833fe67a2edb63debcca90a60)
2022-01-18Core/Player: do not consider FLAG_EXTRA_NO_XP_AT_KILL or pet status when ↵Rothend
deciding if a creature counts as a "gives experience or honor" target. (#24884) Closes #23860 (cherry picked from commit e3bac11837741518479e9e09a99980366f1a64ae)
2022-01-18Core/SAI: do not allow the waypoint pause timer to update while in combat. ↵Rothend
(#24877) (cherry picked from commit 37cb39179629c90afb09324864bd31bddb9bd07c)
2022-01-18Core/SAI: implement SMART_EVENT_SUMMONED_UNIT_DIES (82), useable by ↵Rothend
creatures and gameobjects (#24874) * Core/SAI: implement SMART_EVENT_SUMMONED_UNIT_DIES (82), useable by creatures and gameobjects. Closes #24831 * Update SmartScriptMgr.h (cherry picked from commit 5339d1d3b835fcc8f635d34457ceb6e653e70a1c)
2022-01-18Script/Spell: fix Midsummer's Juggling Torch (#24885)Rothend
* Script/Spell: fix Midsummer's Juggling Torch. Closes #17446 * Remove unneeded GetPosition() call, thanks jackpoz for noticing! * Rename 9999_99_99_99_world_midsummer_torch_juggling.sql to 2020_06_24_01_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 5f35bf9e795ab0c8343d693062d3643dae2b7d8c)
2022-01-17Scripts/Spells: Fix mage Flame On talent (#27622)Aqua Deus
2022-01-17Scripts/Spells: Fix warlock chaos bolt damage (#27616)Aqua Deus
2022-01-17Core/Spells: Using hearthstone will teleport caster to map againModoX
Closes #27623
2022-01-17Core/Auras: Fixed invalid iterator access in ↵Shauren
SPELL_AURA_TRIGGER_SPELL_ON_HEALTH_PCT implementation
2022-01-16Scripts/Spells: Fix warlock immolate periodic (#27615)Aqua Deus
2022-01-16Core/Items: Reagent bank (#27592)Aqua Deus
2022-01-16Core/PacketIO: Allow more CMSG_SET_ACTION_BAR_TOGGLES before triggering ↵Shauren
AntiDOS protection Closes #27619
2022-01-15Core/Conditions: Implemented many more UnitCondition typesShauren