aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-08-22Core/Pet: Fix an issue that was causing lower ranks of pet spells to remain ↵Necropola
in DB (#20112) (cherry picked from commit ecf59786085cb8750bf48bbfa4f4f3d49b924dbd)
2020-08-22Revert permision changeAokromes
(cherry picked from commit 92359de5ef1aea170f7f7ead0da092a8cb1b1fbc)
2020-08-22[3.3.5] Core/Pet: Make pet action bar autocast persist properly (#20110)Necropola
Partial revert of of 6c21ddd9b98d372cb802c9abf034e2aa3ecc70b9. Closes #16211. (cherry picked from commit 906498e9f4d80ff10094cd3f365b310d9dec4521)
2020-08-22Scripts/InstanceScript: Implement database framework for managing spawn ↵Treeston
groups based on boss state. (#20103) (cherry picked from commit 84590be26d6b3c56b95a804cbe889826186dd8a2)
2020-08-22Core/Unit: Don't apply liquid effects to game masters.Treeston
(cherry picked from commit 2644fa703a6b20b6f1d62360fb47bc719cf43933)
2020-08-22Core/Misc: Revert back to using boost::regex, std::wregex doesn't work for ↵Shauren
name validation Closes #20094 (cherry picked from commit 6691e41873f255c0f303229b0bd2e5db77a3c879)
2020-08-22Scripts/Commands: Fix some quirkiness and potential crashes with live DB ↵Treeston
modification commands (npc move and npc delete), which are horrible and should be deleted anyway. Fixes #20104. (cherry picked from commit 759357049cdbe9a2f97bbab6e61299cd65ba1bec)
2020-08-22Scripts/Commands: New utility command: .list spawnpoints.Treeston
(I just needed it for dynspawn follow-up work, really.) (cherry picked from commit fcd6fe0aac0b906e2cf8e2379d94a7d73384c160)
2020-08-22Dynamic Creature/Go spawning:r00ty-tc
- True blizzlike creature spawn/respawn behavior - new creature = new object - Toggleable spawn groups (with C++/SAI/command options to use them) - Custom feature: dynamic spawn rate scaling. Accelerates respawn rate based on players in the zone. - Backward compatibility mode (set via group and for summons) to support creatures/gos that currently don't work well with this (this should be removed once the exceptions are fixed) Fixes and closes #2858 Tags #8661 as fixable. Fixes and closes #13787 Fixes #15222. (cherry picked from commit 59db2eeea0a35028779fd76372ae06cc98c8086f)
2020-08-21Core/Misc: Fix static analysis issuesjackpoz
Fix various coverity reported issues (cherry picked from commit 925557d1c097cd45311b38dc3a9c715579456980)
2020-08-20Core/Chat: Provide a fully-formed protocol for addons to interact with GM ↵Treeston
commands (#20074) Send success/fail state, allow interleaving, and indicate end of output. Add framework for supporting non-human-readable output in commands. (cherry picked from commit 508c9d2fc1b20dc2cb40df533e823e1dfe2becc3)
2020-08-20Scripts/IcecrownCitadel: Prevent players from becoming inaccessible when ↵Treeston
killed by Lord Marrowgar's Impale spell (the initial damage, not the DoT). Also fix the underlying bug in vehicle logic. (cherry picked from commit 7cbb6c101e975a046b95aeb5dd68d75d016f67a5)
2020-08-20Core/AI: correct Permit level for trigger flagged creaturesccrs
This broke several mechanics such as LK hc Frostmourne Room or Rotface's slime, how come no one noticed it? Like really, no one? ref ce3787f190d28c1e981598eef2cd24c622a2cbae (cherry picked from commit 1de89579c75f7b5d5028b162334fa496832a093c)
2020-08-20Core/Unit: No code change, just updating a comment with insights gleaned ↵Treeston
from sniffs. (cherry picked from commit f2f45765e408cbba49e15ea642a1ed052c751bcf)
2020-08-20Core/WorldObject: Properly initialize position data for all types when ↵Treeston
initially creating them. Fixes some issues with PvP objectives not having the correct area ID set on initialization. Closes #20028. (cherry picked from commit 28b3469e89f89a8c87fad06bad27800939abf0f5)
2020-08-20Warning fixShauren
2020-08-20Core/PlayerAI: Some adjustments:Treeston
- Add a 2 second delay before the AI begins using spells. This should provide opportunity for counterplay before that rogue activates cloak and goes on an unstoppable rampage among your healers. (Sorry, guys.) - Stopped the AI from attacking invalid targets under some conditions. It should now properly leash back and follow the charmer if we try to select an invalid target. - Stopped the AI from constantly re-creating the follow movement generator (and thus spamming movesplines). (cherry picked from commit 331e463de83e4ea13935773f992b32733272d263)
2020-08-20Scripts/Auchindoun: Last one, hopefully. Remove reliance on large grid ↵Treeston
searchers by integrating with instance script. (cherry picked from commit d80d7c6685b8a52d5ff7c2a3fade728b91c17eb4)
2020-08-19Scripts/Auchindoun: Blackheart the Inciter fully fixed now. I had way too ↵Treeston
much fun with this one. Two points of note: 1) Spawning 5 invisible triggers with 5 distinct factions which then MC one target each? Biggest. Hack. Ever. Best part? It's blizzlike. 2) For over ten years, I thought it was spelled "Auchinodoun". It's not. It's spelled "Auchindoun". TIL. (cherry picked from commit 04dc47e7e28a26cf027a5bb5c1a3ebf685861325)
2020-08-19Scripts/Auchindoun: Replace the Blackheart the Inciter hack-filled script ↵Treeston
with a slightly less hack-filled script that actually mostly works. This should at least make the boss encounter possible to complete. No claims to correctness, of course. (cherry picked from commit a38141fd6c3a5cc40732af82edd22605e3f67a71)
2020-08-19Scripts/Spell: Port spell_generic.cpp to new script registration syntax ↵Treeston
wherever possible. No actual changes in functionality. (fb87ac8 follow-up) (cherry picked from commit 49aa8a2e59b8873da109638cd7dbe24ef359f0ce)
2020-08-19Scripts/Item: Port spell_item.cpp scripts to new script registration syntax ↵Treeston
wherever possible. No actual changes in functionality. (fb87ac8 follow-up) (cherry picked from commit 37f59f8850d678b8c44710415e7431492c8526f2)
2020-08-19Scripts/Item: Change Nitro -> Boosts <- to use the correct knockup effect ↵treeston
for their backfire. Also, script that knockup effect to work properly ("usually" deploy a rescue parachute). (cherry picked from commit 02b1d8bb484ed82be055438cd2bac1db5f18a101)
2020-08-19Core/Taxi: Properly send taxi node status on login, as well as if the taxi ↵treeston
master is out of range. Closes #20035. (cherry picked from commit 24ec3ad3409e66f523f533ec1d9d573000a5807f)
2020-08-19Scripits/Item: Nitro. BOOSTS.treeston
(cherry picked from commit 125127ea73a68b6da8d1ba631539a9ebffd2c471)
2020-08-19Scripts/Item: Fix Nitro Boosts to only fail in flyable areas. Also, it's ↵treeston
called nitro _boosts_. Not _boots_. Nitro _boosts_. (cherry picked from commit f953d8596091cf70aab308a2c80ebdfa443b4723)
2020-08-19Core/Misc: Fix static analysis issuesjackpoz
(cherry picked from commit 832a114196c7e9405d0569eac1d44de6c7dd83dc)
2020-08-19Core/Vehicles: Do not call InstallAllAccessories for dead Vehicles (#20033)Gustavo
(cherry picked from commit 551d0559aac663e9485b0eaffac5326536180c27)
2020-08-19Core/Misc: Fix static analysis issuesjackpoz
(cherry picked from commit 9cf4dd7345b7f05db834fd48a9f0a135f1884d70)
2020-08-18Core/Misc: Fix static analysis issuesjackpoz
(cherry picked from commit 41f4a80f3097b41d19592bcbe99b9a8444eacb19)
2020-08-18Core/Misc: Fix static analysis issuesjackpoz
(cherry picked from commit b2a341df6efc099c35b436e1ec8eedd1632433d7)
2020-08-18Scripts/Commands: Fix a crash on summon when no group is avaible (#20029)Regigicas
Closes #20027 (cherry picked from commit d9c83a6c0143b17286f853f8b81e3dc6fd86642d)
2020-08-18Core/VMaps: Fix no collision trianglesGolrag
(cherry picked from commit 89d641f1e68d11359a2398ff51d3d6eee1470ae8)
2020-08-18Core/Quests: Fixed order of RewardChoiceItems and reputation reward. (#19904)Weyrath
(cherry picked from commit 8b2bd9a5f204fe02c1110d5e851647ee96302880)
2020-08-18Core/AI: UnitAI::SelectTarget now applies offset BEFORE filtering by ↵Treeston
predicate (to match expected behavior). (#19975) * Also some major code deduplication (SelectTarget now calls SelectTargetList). (cherry picked from commit 8d0633c842d474a843ec9f4bd45dcec3013bfd5d)
2020-08-18Some more script adjustments ported from #19930.treeston
(cherry picked from commit 3f8c0cb446327061c4d5ba06e72044fb8308f694)
2020-08-18Prevent an issue that stopped Aura AfterEffect handlers being called on ↵Treeston
default handler prevention. (#20001) Fixes #19996. (cherry picked from commit ed241a2fd6c8fd419d350210aa61eb1ad05b27bb)
2020-08-18Woopsie. Fix an oversight causing the main tank flag in SelectTarget to be ↵treeston
inverted. (cherry picked from commit 9bacaf15b60dc455ae913062b05a5adb2b8bdcf9)
2020-08-18Hi, I'm Treeston, and welcome to Combat PR Prep Refactors.treeston
Today, we're moving UNIT_FLAG_IMMUNE_TO_PC and UNIT_FLAG_IMMUNE_TO_NPC to higher-level abstraction so combat manager can react to it. New methods on Unit: - void SetImmuneTo<All/PC/NPC>(apply, keepCombat = false); - bool IsImmuneTo<All/PC/NPC>() const; (cherry picked from commit 74af880217fc567c9949d7557408718af889402f)
2020-08-18Build fixKeader
(cherry picked from commit 3aadb72eaad2d0316365a39b5c448718052d6e36)
2020-08-18Core/Custom: Fixed SPELLMOD_COOLDOWN exploit on Duel Reset systemKeader
Followup 0048d4b618e6503a5f1607f3503fcf2d48e6a385 Closes #17419 (cherry picked from commit e254ebebbead52d930e0ebdc425d9a0275b56667)
2020-08-18Scripts/Karazhan: Fix Attumen and Midnight not moving towards each other on ↵Nyeriah
phase transition after latest changes (cherry picked from commit 746fce30d9a56ed59b53f1e1a93c9c8c3417e16b)
2020-08-18Core/Auras: Implement SPELL_AURA_DETECT_AMORE (#19955)Gustavo
Based on https://github.com/mangos/mangos/commit/b58b29c9581327129daaf43b9c368810db850771 (cherry picked from commit a27a3e0457e3f6c2dd6955ce86b51888c5590ffc)
2020-08-18Utilities/Containers: New RandomResize implementation with guaranteed ↵Treeston
asymptotic linear time for all container types (#19974) (cherry picked from commit ac50034df7fa6cf67b95e0920ca8fbbe8001a510)
2020-08-18Core/Combat: Fixed issues with creatures sometimes entering combat with ↵treeston
friendly targets Close #19980 (cherry picked from commit 07593f6c3488666423093c2c32514a0a378da942)
2020-08-18Two more refactors I missed for #19930. Last ones for now, I promise.treeston
(cherry picked from commit 62d51132524b5afff13371ccd13df556dd545bef)
2020-08-18Some more refactoring prep for combat/threat (#19930).treeston
(cherry picked from commit 2739a5c5f5d5a359eee4eef1a6486ddcaf24faaf)
2020-08-18Creatures now release spell focus on projectile launch (for spells that have ↵treeston
a projectile portion) as opposed to projectile impact. This should make some very slow projectiles (f.ex. Professor Putricide's Malleable Goo) a lot smoother. (cherry picked from commit 5d3c69bf441afb5dc0a6a20c0d7cd375178d2aa8)
2020-08-16Core/Spells: enable and implement SMSG_MISSILE_CANCEL (#25215)Ovah
2020-08-14Core/Custom: Fixed Duel Reset ExploitsKeader
Close #17419 *Fixed exploit with SPELLMOD_COOLDOWN *Fixed exploit with some items (like Sylvanas' Music Box) *Little cleanup (cherry picked from commit 0048d4b618e6503a5f1607f3503fcf2d48e6a385)