aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-22DB: Fix last part of DB errorsKillyana
(cherry picked from commit a974707d471f169a5e744437d5207f46858f781d)
2021-06-21DB: Fix mode DB errorsKillyana
(cherry picked from commit 671665aec638ab22e6c90237351cc784b1d4f4fb)
2021-06-21Core/Spells: prevent creatures to focus channeled spells without ↵ariel-
SPELL_ATTR1_CHANNEL_TRACK_TARGET - Creatures stuck here wouldn't try attacking because of this - Remove one workaround in halion script, now it's unneeded Ref #11311 (cherry picked from commit 29f7258dc824659cb2de81c5ff3b3b3853de2a8b)
2021-06-21DB/SAI: Fix some DB errors related to the event "health pct" used with ↵Killyana
"invoker target" (cherry picked from commit 637dda815c39952dd7eee22577a6a22dececa95b)
2021-06-21DB/SAI: Fix some DB errors related to the event "on text over" used with ↵Killyana
"invoker target" (cherry picked from commit c5eed8a1833b3e427416524f326a08e9a646a106)
2021-06-21Scripts/Commands: add AI/ScriptName to .gobject info (PR #21419)Gooyeth
(cherry picked from commit 42a11e97d5ef785bfe0e41f74469da3ec7aec697)
2021-06-21Core/Combat: Unify combat permitted checks between CvC and PvC - only ↵Treeston
require "not friendly" in all cases. Fixes Yogg-Saron encounter. Closes #21380. Also some bonus cleanup to Yogg's script to make transition cleaner. (cherry picked from commit 4da9321d2bdde17ddf1a55b92ab130216e9af27b)
2021-06-21Scripts/SmartAI: SetData now has an invoker (if the setting is done by ↵Treeston
something using SmartAI). Also, some refactors. SMARTAI IS SUCH A FUCKING CLUSTERFUCK I SWEAR. (cherry picked from commit cfc77fd84355d28737f3f85f2ba318be5caacdea)
2021-06-21Core/Scripts: Add bossId in state error log. (#21421)Gooyeth
(cherry picked from commit b9aec3b4d3ea7a2a98214d6a9b923b3a9675fd4d)
2021-06-21Core/Auras: make area and dynauras condition compliant by using the ↵ariel-
spellarea searcher instead of script searchers Closes #17317 (cherry picked from commit f1f6976f91952806f8b2bcc23fbbef5a8075fe73)
2021-06-21Core/Handlers: fix bogus check that skipped CMSG_CAST_SPELL packet under ↵ariel-
certain conditions, missing a target change Closes #21390 (cherry picked from commit a145a14166d12cd14a0018171fd4dd818b3a2fe5)
2021-06-21Core/Spells: fixed server being too overzealous with autoshotariel-
- Interrupting it when casting another spell and switching targets Ref #21390 (cherry picked from commit 93cbe815cb6dfc1cd7535db2cabf81d42bf60da7)
2021-06-21Core/Scripts: Fixed some delayed enrageKeader
Closes #15367 (cherry picked from commit 63c436f5fb6924b872050cf5838a4052d9034935)
2021-06-21DB: Fix some DB errors related to wrong SAI targetKillyana
(cherry picked from commit a478d78a769294816111c15023de74e65d8d1aae)
2021-06-21DB/SAI: Update SAI that was using threat list target on aggroKillyana
target_type 2, 3, 4, 5, 6 musn't be used with the event 4 (cherry picked from commit 3135aaea9d6ef268d769e2a51d78c8d62bc692dd)
2021-06-21Core/Scripts: implemented Seed of Corruption scaling damage toleranceariel-
(cherry picked from commit df5afca27859058f725c3dc9964d967aa89ff756)
2021-06-20Core/Spells: Port refactors from 1826437c094966ae339a154844df8587b2122888ariel-
(cherry picked from commit 1826437c094966ae339a154844df8587b2122888)
2021-06-20Entities/GO: Add forceRespawnTimer support to DespawnOrUnsummon. Use it in SAI.Treeston
(cherry picked from commit 264d4e1d30debcf6feacee3d29982875672a7bbe)
2021-06-20DB: Fixing a typo from a previous commitKillyana
Ref https://github.com/TrinityCore/TrinityCore/commit/9f59fb54fc16e06f81a1e99df4076c939bdb3339 (cherry picked from commit 826b3cf09e1638c27f6d47bef35cc041f4a17381)
2021-06-20Entities/GO: GameObjects now support (delayed) despawning in a reasonable ↵Treeston
manner. Closes #21406. (cherry picked from commit f071fa9e931533c28e6b9d8b0e38ed8878ce2b45)
2021-06-20oops, now it builds (and a bonus refactor that annoyed me)Treeston
(cherry picked from commit 2cd5992f37fe386786ddd906cd4dd691125ad2b6)
2021-06-20Scripts/SmartAI: Forward invoker to invoked action list actions. Also ↵Treeston
JustAppeared -> InitializeAI. (cherry picked from commit 6fb0bc10387b73836cea9a3c0eaaafcf58794b7d)
2021-06-20Scripts/TheBarrens: Fix "The Escape" (863) - I don't think this one ever ↵Treeston
worked, honestly. (cherry picked from commit 0e401c7d963f983d31573d108ccd2343fda40094)
2021-06-20DB/Condition: Placing Beacon TorchKillyana
Closes #21244 (cherry picked from commit f91a9f8b14e6c8276e620caa77a7e36a5af5f755)
2021-06-20DB/Quest: Rescue from Town SquareKillyana
Closes #20102 (cherry picked from commit 2f575f09746571151be0c43032be6532760ab624)
2021-06-20DB/SAI: Runed Stone GiantKillyana
(cherry picked from commit 40954d0b6aafa2c2f199350a077b3fab2df3cf93)
2021-06-20Scripts/SmartAI: SMART_TARGET_INVOKER cleanup step 1. The core will now log ↵Treeston
errors on start-up if SMART_TARGET_INVOKER abuse is found, but will continue to load the scripts as deprecated for now. Note that a lot of these scripts may either not currently work, not work reliably, or may be prone to breaking unexpectedly when core internals change. SMART_TARGET_INVOKER is undefined behavior on any event that doesn't directly specify its invoker. (We are considering options for allowing INVOKER to make sense in timed action lists in a reliable fashion, so they are exempted at this time.) (cherry picked from commit 482328bddf1c5fcd367268525d2f904793239bc9)
2021-06-20DB/SAI: Fix wrong event type for npcs summoned by Flight MasterKillyana
Closes #21244 (cherry picked from commit adae429aa01028911337443166b336a2ea8a6762)
2021-06-20Core/Spell: Properly remove REACT_PASSIVE on permanent feign death unapply. ↵Treeston
Fixes and closes #21156. (cherry picked from commit ac8b9be5d67ccaba3f51663eeccca60ae86cea5b)
2021-06-20Scripts/AzjolNerub: Clean up Hadronox to hopefully avoid any further evade ↵Treeston
issues. Tag #20310. (cherry picked from commit fe3b4de1cd2a0924674c34d439f682c95d3a784a)
2021-06-20DB: Add a missing action_param to the previous commitKillyana
Gobs always requires respawn time with the action 41, otherwise they will never respawn (cherry picked from commit 9f59fb54fc16e06f81a1e99df4076c939bdb3339)
2021-06-20SAI/Quest: SabotageKillyana
Closes #20881 (cherry picked from commit c9811a48c4ee98be9971664c1c5de446aa9337db)
2021-06-20DB/Loot: Reference template 24064 correctionsTeppic1
Closes #21385 (cherry picked from commit 75b975b4e8a26e9edcc3825b4c27837bf947aefc)
2021-06-20Core/Movement: fe1ba18905 followupccrs
ref https://github.com/TrinityCore/TrinityCore/commit/fe1ba1890540283b8d330fe98b96770fe372ba8d#r27507316 plus I noticed a logic error on speedchange call (cherry picked from commit 28c6db0807a604b0178abe24daa0e4eb21f560fb)
2021-06-20Core/Scripts: fix Tenacity Aurascript (target is null on UpdatePeriodic)ariel-
- also aura amount increases with stack so we lose spellid info, calculate it from basepoints directly - aura should be SPELL_AURA_MOD_HEALING_PCT instead of SPELL_AURA_MOD_HEALING_DONE_PERCENT (ie taken instead of done, confusing names) (cherry picked from commit bc2a4c816d6dc893b9b0c8d5bf0a15fe085506c5)
2021-06-20Core/Unit: kill unused parameter from SpellxxxBonusTakenariel-
(cherry picked from commit c7095375c37c3812d14fbc865b95c8442b8712cf)
2021-06-20Core/Scripts: remove Tenacity hack, implemented with proper auraariel-
(cherry picked from commit 404240fb6820ab997b65740b234305c4c654c543)
2021-06-20Archaedas should properly start now when clicking on the altar. (#21401)Wilcalaf
(cherry picked from commit 0c1aaac219545b3dacf930ce0dd956bd5d7c4b40)
2021-06-20Core/Unit: corrected calculation for ↵ariel-
SPELL_AURA_MOD_DAMAGE_TAKEN/SPELL_AURA_MOD_HEALING auras - Spell bonus calculation and penalty was done twice, but it's simply flat +SP, which should be taken into account before other bonuses - Fixed missing code from SpellDamageBonusDone/SpellHealingBonusDone and killed multiplication by stack amount twice for default coefficient spells (already multiplied on level penalty) (cherry picked from commit 4d14f613f3d0dc579e2ca4b8dead65ac6e43965d)
2021-06-19Core/Spells: Do not apply SpellModOp::CritChance to spells that can't critariel-
2021-06-19Core/Spells: add log on load about improper use of attribute ↵ariel-
PROC_ATTR_REQ_SPELLMOD (cherry picked from commit dfa861593ea3adf06a52cbddbe9e60131dcfe626)
2021-06-19Core/Spells: implement SPELLVALUE_CRIT_CHANCEariel-
(cherry picked from commit 546a605bd0cd0e828def81e26697f1c116a3f1b7)
2021-06-19Core/Spells: calculate crit chance only for spells that do damage/healingariel-
Refs #18813 (cherry picked from commit 52873a7072ceb1f88d9caeefdda6084e6bb1d4af)
2021-06-19Scripts/CoT4: Stratholme Residents should no longer rudely interrupt Arthas ↵Treeston
by punching him in the face while he's giving a righteous sermon on his reasons for wiping them all out. (cherry picked from commit bf3973dc611935b13045c55e64f484352b6530bd)
2021-06-19Core/AI: EscortAI init logic moved from JustAppeared to InitializeAI. There ↵Treeston
are no escort NPCs using compatibility mode anymore, so this is equivalent. As a result, inheriting scripts calling Start in on-create hooks (like JustSummoned) will now work properly again. Tagging #20310. (cherry picked from commit e4e6e2209c8ad6cc534460a4ec9f6da469761d15)
2021-06-19Scripts/AzjolNerub: Hadronox is a big spider mommy, and needs more room to ↵Treeston
pet her spider pets properly. Hopefully this'll reduce the number of evades happening during the encounter. Tag #20310. (cherry picked from commit b243a7929bac02509594f5f25da476cfcea3d64a)
2021-06-19DB/Quest: fix Territorial Trespass SmartScript to use proper target type ↵Treeston
(tag #20310) (cherry picked from commit 92a8f652036d99b0b28407a879d956d554a1905a)
2021-06-19Core/Movement: WaypointMovementGenerator cleanupTreeston
(cherry picked from commit fe1ba1890540283b8d330fe98b96770fe372ba8d)
2021-06-19Core/Movement: Creatures' idle movement generator can no longer override ↵Treeston
player mover control. Tagging #20310, partial fix. (cherry picked from commit d02f481d9ac8e1d1a7716368f609d53a5add0960)
2021-06-19Core/Scripts: implemented Combined Toxins proc only from poisonsariel-
(cherry picked from commit 477878630e1bb2811d9be97189f0c819377b7840)