aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-01-23Scripts/Frozen Halls: Use std::chrono::duration overloads of EventMap (#25029)Peter Keresztes Schmidt
Contributes to #25012 (cherry picked from commit 19ee4d6254370de3f174718a72e5055aa28b6102)
2022-01-23Scripts/Drak'Tharon Keep: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25028) Contributes to #25012 (cherry picked from commit 65e01053a8dfa713c5ffebe6702d85a3577a9790)
2022-01-23Scripts/Chamber of Aspects: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25027) Contributes to #25012 (cherry picked from commit 42102871a78e4424ee18c243600327f5e1d84945)
2022-01-23Scripts/Coilfang Reservoir: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25025) Contributes to #25012 (cherry picked from commit 5ed6c6a5c348d601c6f144ca2b0df3e297dd2a69)
2022-01-23Scripts/Hellfire Citadel: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25024) Contributes to #25012 (cherry picked from commit d00c95f26f835e681bcadbb68a2476408948d64a)
2022-01-23Scripts/Azjol-Nerub: Use std::chrono::duration overloads of EventMap (#25026)Peter Keresztes Schmidt
Contributes to #25012 (cherry picked from commit 1c3187e596e1d0d483b9ff7d2794ace017c16963)
2022-01-23Scripts/Mana Tombs: Fix Pandemonious Dark Shell event delayShauren
(cherry picked from commit 7e5cf40d4c776bc048f74b8323c435173394772f)
2022-01-23Scripts/Auchindoun: Use std::chrono::duration overloads of EventMap (#25023)Peter Keresztes Schmidt
Contributes to #25012 (cherry picked from commit 4ad80434a2efa046c4f4954221832714225b801d)
2022-01-23Scripts/Outland: Use std::chrono::duration overloads of EventMap (#25022)Peter Keresztes Schmidt
Contributes to #25012 (cherry picked from commit 39fc17e284bf2082d3b5a0c50dfd9e6cde64b582)
2022-01-23Scripts/Northrend: Use std::chrono::duration overloads of EventMap (#25021)Peter Keresztes Schmidt
Contributes to #25012 (cherry picked from commit 29779db58b19384518706299e6e48be0d04eac65)
2022-01-23Scripts/Trial of the Crusader: Use std::chrono::duration overloads of ↵Peter Keresztes Schmidt
EventMap (#25020) Contributes to #25012 (cherry picked from commit a2b2dc7ad0b22bf0f89dfc26dd7eb33fe7bcacfb)
2022-01-23Scripts/EasternKingdoms: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25019) Contributes to #25012 (cherry picked from commit 5ef576d223db0ac019bd803a07976cdc549a26ac)
2022-01-23Scripts/Blackrock Mountain: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25018) Contributes to #25012 (cherry picked from commit ac27c922d1ac0cbae98e98a3f560484dece75604)
2022-01-23Scripts/Kalimdor: Use std::chrono::duration overloads of EventMap (#25016)Peter Keresztes Schmidt
Contributes to #25012 (cherry picked from commit 90d5e7e1e82f1f196fb78844f7cad81fc228877c)
2022-01-23Core/Battlegrounds: Use std::chrono::duration overloads of EventMap (#25015)Peter Keresztes Schmidt
Contributes to #25012 (cherry picked from commit e372f9badb252f67abc29236e715bcce7fe1155d)
2022-01-23Scripts/Kologarn: Fix another "stuck in combat" issue (#24998)Giacomo Pozzoni
(cherry picked from commit ee34a1f19ea6062ffe8612a735eede990dd2840e)
2022-01-23Core/Spells: Check a few aura effects for determining if should be negative ↵Gildor
(#25004) (cherry picked from commit 5e1571062ac05bc3e68ebf1cf9ed04ab54e713bd)
2022-01-23Warning fixShauren
2022-01-23Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. (#23) (#24997)Giacomo Pozzoni
* Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. (#23) Original research by @xvwyh. * Add missing sql update * Fix some build errors * Remove unused enum values * Change artkits from 0-4 to 0-3 * Remove unused code * Code review feedback * Fix sql * Remove artkit4 special case handling * Default initialize artKits * Code review feedback * Split sql into structure and data files Co-authored-by: Warpten <vertozor@gmail.com> (cherry picked from commit 203573db83fb1d3f141b5aadbf1d1ca0a637bf94)
2022-01-23Fix some compiler warnings reported by GCC (#25007)Peter Keresztes Schmidt
* Core/AI: Remove unneeded null checks GetMap() can never return NULL. Fixes additionally -Wunused-variable warnings reported by GCC. * Core/GameObject: Fix a -Wunused-variable warning reported by GCC * Core/Player: Fix a -Wunused-variable warning reported by GCC * Scritps/CavernsOfTime: Fix -Wimplicit-fallthrough warnings reported by GCC * Scritps/CavernsOfTime: Fix a -Wmaybe-uninitialized warning reported by GCC Warning: /home/peterke/DEV/TrinityCore/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp: In member function ‘virtual void npc_arthas_stratholme::npc_arthas_stratholmeAI::UpdateAI(uint32)’: /home/peterke/DEV/TrinityCore/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp:1119:58: warning: ‘emote’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1119 | (*it)->HandleEmoteCommand(emote); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ * Scritps/PitOfSaron: Fix -Wunused-variable warnings reported by GCC * Scritps/EyeOfEternity: Fix a -Wclass-memaccess warning reported by GCC Warning: /home/peterke/DEV/TrinityCore/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp: In member function ‘virtual void boss_malygos::boss_malygosAI::UpdateAI(uint32)’: /home/peterke/DEV/TrinityCore/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp:950:81: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class ObjectGuid’; use assignment or value-initialization instead [-Wclass-memaccess] 950 | memset(_surgeTargetGUID, 0, sizeof(_surgeTargetGUID)); | * Scritps/CoilfangReservoir: Fix a -Wclass-memaccess warning reported by GCC Warning: /home/peterke/DEV/TrinityCore/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp: In member function ‘void boss_leotheras_the_blind::boss_leotheras_the_blindAI::Initialize()’: /home/peterke/DEV/TrinityCore/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp:220:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class ObjectGuid’; use assignment or value-initialization instead [-Wclass-memaccess] 220 | memset(InnderDemon, 0, sizeof(InnderDemon)); | ^ * Scritps/Naxx: Fix a -Wimplicit-fallthrough warning reported by GCC For discussion see https://github.com/TrinityCore/TrinityCore/pull/25007 (cherry picked from commit 10be49bdfe6bd1f4d8e0eaf3a1b4354c5a57a2a9)
2022-01-23Core/DataStores: Port refactors from Update DBC field names to generated ↵Peter Keresztes Schmidt
ones (#24999) (cherry picked from commit c92950b3e1f6366d85d707365a8ad2caddafeecc)
2022-01-22Core/Player: Introduce separate level caps for each expansion (#24989)Max Drosdo.www
(cherry picked from commit 352944266822f8c8d3bfdd6078c6f82d3555dd85)
2022-01-22Scripts/Spells: Move spell_anchor_here to generic because is used by more ↵Aqua Deus
than one boss (#27641)
2022-01-22Core/Auras: Named new proc flags (#27655)Aqua Deus
2022-01-22Core/Units: Fixed typo in unit flag nameShauren
2022-01-22Core/Units: Named unit flags linked to CreatureDifficulty flagsShauren
2022-01-22Core/Units: Named UNIT_FLAG2_UNTARGETABLE_BY_CLIENT and renamed ↵Teleqraph
CREATURE_DIFFICULTYFLAGS_5_CANNOT_SWITCH_TARGETS to CREATURE_DIFFICULTYFLAGS_5_UNTARGETABLE_BY_CLIENT (#27637)
2022-01-22Creature/Script: npc_blackfathom_deeps_event (#24969)Eridium
* Creature/Script: npc_blackfathom_deeps_event * Update blackfathom_deeps.cpp * Update blackfathom_deeps.h * codestyle * Update blackfathom_deeps.cpp Co-authored-by: Killyana <Killyana@users.noreply.github.com> Co-authored-by: Ovah <dreadkiller@gmx.de> (cherry picked from commit 98c37b15e01146d50940d284fc0daac88ff6e3f5)
2022-01-22Core/DBLayer: Fixed false positive msvc analysis warningShauren
2022-01-22Core/Creature: Add null check for charmed creaturesjackpoz
(cherry picked from commit b4adaa838c2e44f4008152cc955410d25ff4d8b0)
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