aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-01-06DB/Account: update account_access table cherry-pick take 2 (with refactors)ForesterDev
(cherry picked from commit 8e0365d8a6ca5628ad17e6684743d9ab2138c068)
2022-01-06Script: Remove npc_avatar_of_martyred converted to SAIKillyana
Ref https://github.com/TrinityCore/TrinityCore/commit/5924e038d648e2074191ffc322732e875d37c39c (cherry picked from commit 75bc0f6771e6fe744123c1bb865469c585e1d31b)
2022-01-06Scripts/VioletHold: Limit the number of current summons before the waves startjackpoz
(cherry picked from commit 54e30d4ebae11e0c8da77af6104a3cc0a6a11365)
2022-01-06Log number of Creatures and GameObject per map (#24809)Giacomo Pozzoni
* Shared/Metric: Allow to specify tags in metrics * Core/Metric: Log number of Creatures and GameObject per map * Apply feedback * Codestyle changes * Codestyle changes * Remove whitespace * Update Grafana dashboards to v7.0.3 * Fix missing filter on realm * Include Creatures and Gameobjects in Maps dashboard * Show instances with a different color (cherry picked from commit 4e1dbd1cf808c9cf1f310b6d498f7e304dfb4147)
2022-01-06Core/Spells: SPELL_AURA_MOD_ATTACK_POWER_PCT should be negative if ↵Gildor
TargetType or Basepoints are negative (#24837) (cherry picked from commit 7d88891983d5c7d2673be760e11bff12df958d41)
2022-01-06Additional cmake entry for configsipriver
Closes #24812 Co-authored-by: Carbenium <carbenium@outlook.com> (cherry picked from commit dc467ee0f6d0a49be4bd20b621f141228dfec736)
2022-01-06Core/Players: do not update position data on character creationOvahlord
Retail does not have a zone id for newly created character until their first login so we do the same as well. This will drastically improve performance on character creations as we no longer unnecessarily load grids and map data. (cherry picked from commit c50bb00ac7481c1dc09ed0dc7f72ef8e6ea487f5)
2022-01-06Creature/Scripts: Remove deprecated scriptsKillyana
Ref https://github.com/TrinityCore/TrinityCore/commit/bd609caf09bc29f0b20ffad52118a46a8d884d02 (cherry picked from commit 8b5549c0f1bad44babece99f2323d9f6f877994e)
2022-01-06Worldserver/CLI: console printf fix (#24802)Max Drosdo.www
* Remove extra cli printf call for non-Windows systems * Codestyle changes Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 1e9c84a3ea0c3f255779eada0d804fab15e2e434)
2022-01-06Core/SmartAI: allow AreaTrigger SAI scripts to use the player triggering it ↵Rothend
as base object for actions and targeting (#24817) * Core/SmartAI: allow AreaTrigger SAI scripts to use the player triggering it as base object for actions and targeting. Closes #23669 Closes #24791 Closes #24792 Closes #24793 * Apply suggested changes. * Initialize atPlayer in the constructor Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit e7a714f66c371cdeb6585846ddedb1bc445e695f)
2022-01-06game/AI: Convert SelectAggroTarget to enum class (#24818)Peter Keresztes Schmidt
* game/AI: Convert SelectAggroTarget to enum class * game/AI: Rename SelectAggroTarget to SelectTargetMethod (cherry picked from commit 418c3b1fd50664aad035bd975a65281e82ba2dea)
2022-01-06Core/SAI: implement SMART_ACTION_ATTACK_STOPOvahlord
Unlike SMART_ACTION_AUTO_ATTACK, this action is actually stopping the entire attack procedure, rather than just hack-disabling auto-attacks. Keep in mind that this action requires a passive react state to prevent a immediate AttackStart ai reaction (cherry picked from commit 152ea6011694518017a47dc23fdbb7175bfa5481)
2022-01-06DB/Instance: Convert some Uldaman scripts to DBoffl
Closes #24744 (cherry picked from commit a117450ce9178c4afc769b3b747a24fbc6100912)
2022-01-06DB/Quest: Convert & update support for 'All Along the Watchtowers' to SAIoffl
Closes #24732 (cherry picked from commit 8bccb258ba027c013ee4e6e5d59f184129d27d5c)
2022-01-06DB/Quest: Convert & update support for WP Scourge cauldrons quests to SAIoffl
Closes #24730 (cherry picked from commit d70eb96c85ab6b117e785261932ca7c454a5fad2)
2022-01-06DB/Quest: Convert & update support for 'Escape from the Catacombs' to SAIoffl
Closes #24728 (cherry picked from commit e47f302fc95d4e3f4d16b19950ce6172b549b166)
2022-01-06Scripts/Commands: Add .debug objectcount <optional map id> chat commandjackpoz
Add .debug objectcount <optional map id> chat command to show the number of Creatures and GameObjects (cherry picked from commit cd37a17103b88a56ec1fde2156c4325b74989e08)
2022-01-06Core/Spells: Prevent manual cancelling of channelled spells that have ↵Shauren
SPELL_ATTR0_CANT_CANCEL (cherry picked from commit dacb1e58025b69f61a965a78ffbe89c55a61e34b)
2022-01-06Scripts/ShadowfangKeep: Fixed a crash in spellscriptKeader
(cherry picked from commit be48fbc32ac49673ce2415b76cb447a61585ed01)
2022-01-06Scripts/Naxxramas: Fix Kel'thuzad evade mode when he dies (#24763)Gildor
(cherry picked from commit aeb41e67a92b7cd0c75683a269fb0ca75309e9a0)
2022-01-06Core/AI: refactor SpellHit and SpellHitTarget. (#24691)ForesterDev
* Core/AI: refactor SpellHit and SpellHitTarget. - now caster/target is WorldObject instead of Unit - remove SpellHitByGameObject / SpellHitTargetGameObject (handled by SpellHit / SpellHitTarget) - rename parameters in scripts according parent methods * Restore logic in Algalon script * Changed check for REMORSELESS_WINTER hit to avoid dublicate call, because it has TARGET_UNIT_CASTER for effects 0/1 and TARGET_GAMEOBJECT_SRC_AREA for effect 2 * Fix build after merge (cherry picked from commit e3b232fe0e5c21a87d3fe71813e9d750259823f1)
2022-01-06Scripts/Naxxramas: Noth the Plaguebringer improvements (#24724)Gildor
(cherry picked from commit 1181b636c0cec174367906808c999641ca7897fc)
2022-01-06Core/Misc: Fixed resistance calculate for Mutated Transformation and ↵Keader
Twilight Bloodbolt (#24717) Ref: 9f7b464a6aa5b64bf5ec5c0f586853fbc71029c6 - Implemented a new SpellScript hook that allow control Resistance/Absorb amount of a damage spell. (cherry picked from commit d81a9e5bc3b3e13b47332b3e7817bd0a0b228cbc)
2022-01-06Core/Misc: Fix static analysis issues reported by Coverity Scanjackpoz
(cherry picked from commit adc7cd3ceec969488cd8d8fa93edc281f0169102)
2022-01-06Core/Units: flight and hover checks will now consider movement template data ↵Ovah
as well as manually set flight states - manually set flight states via auras and scripts will no longer be ignored - restored movement template consideration when generating pathings - renamed IsLevitating to IsGravityDisabled to reflect the referenced movement flag's name (cherry picked from commit 43ef610fe059c3da4cc1ad2036f83cfa67ce0fee)
2022-01-06Core/Misc: Fix Clang 10 build warningsjackpoz
(cherry picked from commit 48c5c0d7a2424df73343df127d415ee18eb84296)
2022-01-06Scripts/Ulduar: Codestyle fixKeader
* Making jackpoz happy xD (cherry picked from commit a72197911e24e7496f565cc0ca2d8bb544c4a1ef)
2022-01-06Scripts/BloodFurnace: Fixed Broggok stopping work after wipeKeader
By: Rushor (cherry picked from commit 00bc6e7d54e924dabaf4636a4b8084f0db067194)
2022-01-06Scripts/Ulduar: Fixed XT002 Heart health regenerationKeader
(cherry picked from commit 05eeaade3e4e15028143575dcb16267959a2153d)
2022-01-06Scripts/Pet: Fixed Mirror Image trying attacking invalid targetsKeader
(cherry picked from commit 456aaf2cea40160ad8f8b2504a003a1991db741a)
2022-01-06Scripts/Trial Of The Crusader: Fixed Anub'arak Pursuing Spikes movement (#24715)Gildor
(cherry picked from commit 6c1a874e5702a2dbefd4b4685c41a9d6c51dd2bb)
2022-01-06Core/Networking: Switch to intrusive variant of MPSC queue to halve the ↵Shauren
number of memory allocations for packet sending (#24659) (cherry picked from commit f0060496f9c8c4a21c28552a95928f2d05e031a9)
2022-01-06Scripts/Ulduar: Fix Flame Leviathan movement (#24673)Gildor
(cherry picked from commit 3ab970aa4742dde354e1d903304da850f05d6e09)
2022-01-06DB/Quest: Convert & update support for 'Mark V is Alive!' to SAIoffl
Closes #24686 (cherry picked from commit e48c4151560049a876418f69cd25153a259f50eb)
2022-01-06DB/Quest: Convert & update support for 'When the Cows Come Home' to SAIoffl
Closes #24685 (cherry picked from commit 1316ca482d1d20d03bbdfa5aa338955d96dd03bb)
2022-01-06 DB/Quest: Convert & update support for 'Cuergo's Gold' to SAIoffl
Closes #24675 (cherry picked from commit 0e7cabd7f10eaa9ffad20f9fcd03fca8cb88fa68)
2022-01-06Scripts/RuinsOfAhnQiraj: Crystal handling (#24679)NoName
+ make crystal usable with animation and despawn after use; + small code update; + spell rearrange; + define some magic numbers; + update crystal coordinates from sniffed data (cherry picked from commit 89193c3548c4da307ca08884c53b593b56ab47d1)
2022-01-06Scripts/Icecrown Citadel: Fix Sindragosa movement when Wipe in fly phase ↵Gildor
(#24665) (cherry picked from commit dd3fbf426c7455558825777b02f630f1b0d702c9)
2022-01-06Entities/Player: Restore old checks for UpdatePvPFlag (#24372)NoName
Partly revert 671052575a36624b06379ee5e13a7fea26870194 + implemented timer reset to 300s after relog never worked, therefore removing that part; + reverting other parts with 300s timer changes, as not needed; (cherry picked from commit 2efaf1dda8ce19533b1d99e030ac25a0de5735b4)
2022-01-06DB/Quest: Convert "HELP!" & "Corki's Gone Missing Again!" & "Cho'war the ↵Killyana
Pillager" to SAI Closes #24649 (cherry picked from commit fd66e291b5595635411116b5b0946b476719a2ab)
2022-01-06DB/Quest: Convert & update support for 'Prisoners of Wyrmskull' to SAIoffl
Closes #24650 (cherry picked from commit 2008cb7dd33411a381911c6b64e4ebf96fa8c39f)
2022-01-06DB/GameObject: Convert & update support for Shrine of the Eagle / Falcon / ↵offl
Hawk to SAI Closes #24647 (cherry picked from commit 0cfd63fd26312c8abb475cf36fcd164e65fc3eec)
2022-01-06DB/Creature: Convert Sayge to SAIoffl
Closes #24663 (cherry picked from commit 626aeb5817a42efc026e3623a65362eef355abb1)
2022-01-06Scripts/Misc: Fix issues reported by ASanjackpoz
(cherry picked from commit 013301088d862f634cd5b817cb3949c58454f924)
2022-01-06DB/GameObject: Convert & update support for Tablet of Madnessoffl
Closes #24670 (cherry picked from commit 9c1c34a79420b2513ee0009fcd84726c3ff95bfe)
2022-01-06Core/Creature: Allow to disable HP regen in Raids even if the target is ↵Giacomo Pozzoni
unreachable (#24646) (cherry picked from commit 247564a7ab7dc6f640bb8f4fd32c30ffdc9076d2)
2022-01-06DB/GameObject: Convert & update support for Jump-a-tron 4000 to DB scriptKillyana
Closes #24668 (cherry picked from commit 6b9a14ca940a2104a89cfadf07978a2759acb47a)
2022-01-06DB/Quest: Convert Escape from Umbrafen to SAIoffl
Closes #24648 (cherry picked from commit cfe6b651bc38239de58d6a3f95e8897bfb7d1869)
2022-01-06DB/GameObject: Convert & update support for Fel & Bash'ir crystalforgesoffl
Closes #24643 (cherry picked from commit c3e4420a2b8584f97e49d7ae9a5b2f3140d50984)
2022-01-06DB/Quest: Convert support for 'Strength of One' to SAIoffl
Closes #24641 (cherry picked from commit 44aba5dcdf403797de777586bd7f10e9d76eaf53)