aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-05-16Scripts/Commands: New command: .debug threatinfoTreeston
(cherry picked from commit f45c211987794ff7e4192e0d3d4ca6bf67335fb5)
2021-05-16Core/Movement: Correct the allowed distance to target before a repositioning ↵Chaouki Dhib
is necessary. #20173 Also getting rid of the wordserveur config parameter 'TargetPosRecalculateRange' since it is no longer needed. (cherry picked from commit 274dede3dc89fa72ec1687d5ff454feba9849e47)
2021-05-16Core/Spells: Defined and implemented some new spell attributes (#18950)xinef1
(cherry picked from commit 23823f5147e808928e1d8cd31b6cdf31753ef14d)
2021-05-16Core/Spells: Fixed Shapeshift using macroKeader
Close #21197 Author: lineagedr (cherry picked from commit 57672fdf259d1106420e6a2c91f6f1b65b00fbc9)
2021-05-16Core/Creature: improve DB linked_respawn handling (#21172)kelno
* Fixed SetCreatureLinkedRespawn function possible erasing/replacing a GameObject link (instead of a creature one) (cherry picked from commit 70eb18d0e58ecf0cfcda4f410a183c671fbafe5c)
2021-05-169ad11e6 follow-up, prevent Halion respawn without lootTreeston
tagging #21198 (cherry picked from commit f0a394753ad9f1614fd696027c51ed2e297a02f6)
2021-05-16Core/Threat: Fix a potential exploit allowing players to damage a boss ↵Treeston
without them taking damage. Scripts/Halion: General cleanup of old hacks no longer needed under new combat system. (cherry picked from commit 9ad11e67fb6b410f18031ee68259866ea1354c8c)
2021-05-16Core/Map: New Map::ForceRespawn to override objections and force a respawn ↵Treeston
(equivalent to force = true). Use this to fix various GM commands. Scripts/Valithria: Fix an issue that could get the encounter stuck in an unloaded state. (cherry picked from commit 3bb33e3108c65ba8a1c35b934526562aa542b63b)
2021-05-16Core/Units: Remove Unit::EnergizeBySpell overload taking spellId argumentShauren
2021-05-16Core/Scripts: Remove deprecated overload of QuestReward without LootItemType ↵Shauren
argument
2021-05-16Core/Threat: only send periodic threat list updates while unit is engagedTreeston
(cherry picked from commit a08ad9aac1759bb584f642e4ce2df2e85c62049c)
2021-05-16Core/Combat: Some more sanity check asserts to try and track down #21187.Treeston
Also, some anti-annoyance treatment for dot tele. (cherry picked from commit fdacf127395965b426185f05a7b1351138775e89)
2021-05-16Core/Combat: some more detailed assertions to possibly shed light on #21187.Treeston
(cherry picked from commit 5a9fddaa5a44ba9efe422853c549dd56f87c59e4)
2021-05-16Core/Map: Fix a crash that could happen if a player moved very far away from ↵Treeston
a creature they were in combat with. Closes #21177. (cherry picked from commit e0b609a178528995959e5ea54255a3f856e62913)
2021-05-16MovementInform should overridesMoein
(cherry picked from commit 18f5eae835a0045d1180262bfcc4a2e6cf97c807)
2021-05-16Core/Misc: A variety of clean-up changes, mostly following up on 532ab1c to ↵Treeston
fix legacy bugs exposed by it: - Triggers can no longer have a threat list (this may expose some ugliness in old legacy scripts) - Threat entries are forced to OFFLINE if the AI refuses to attack the target - Clean up passive creature evade behavior to be more consistent - Fix a months old issue in spawn group management that would cause "Inactive" to incorrectly show in .list respawns for system groups outside of map 0 - Valithria script cleanups, remove old hacks and make it work with the new system. Closes #21174. - Some strings cleanup (cherry picked from commit 9f9507e6a1fd50a5ce643a4096c1712700244a61)
2021-05-16Core/Spells: fix casting NO_TARGET event spellsariel-
Closes #19978 (cherry picked from commit e2451136600bf4c30eb547bd8579f019cfd37a3d)
2021-05-16Core: Combat/threat system rewrite (PR #19930)Treeston
- PvE combat is now always mutual. UNIT_FLAG_IN_COMBAT is backed by actual references to the units we're in combat with. - PvP combat is now also tracked, and almost always mutual; spells like Vanish and Feign Death can break this rule. That means we can easily determine a list of players we're fighting. - By extension, IsInCombatWith now has sensible behavior when invoked on nonplayers. - Threat and combat systems are no longer the same. - They still have an enforced relationship (threat implies combat - clearing combat clears threat)... - ...but we can have combat without threat. A creature (with threat list) isn't considered to be engaged until it has an entry on its threat list... - ...which means we can now faithfully replicate retail engage behavior. Combat on projectile launch - engagement start on projectile impact. Yay for progress! - AI method refactor, as already ported in 6113b9d - `JustEngagedWith`, `JustEnteredCombat` and `JustExitedCombat`. - Vehicle threat is now properly pooled on the main vehicle body (fixes #16542). - Various edge case bug fixes for threat redirects (Misdirection "cancelling" Vigilance and similar). - Target re-selection is now significantly faster. - Fixed a ton of other smaller edge case bugs, probably. Closes #7951 and #19998. (cherry picked from commit 532ab1c7f8653d1a2e48aa1f1f8a9ba1041d4bb7)
2021-05-15Core/Players: Fixed last tick of power regeneration when reaching minimum or ↵Shauren
maximum value not being visible clientside and not triggering auras on power value change
2021-05-15Scripts/Spells: Clear arcane charge damage/cost/cast time modifier aura when ↵Shauren
reaching 0 arcane charges (power)
2021-05-15Scripts/Spells: Remove manual damage adjustment from Arcane Barrage for ↵Shauren
scaling with arcane charges and use spell cast for mana energize
2021-05-15Scripts/Spells: Properly utilize all Arcane Explosion energize effectsShauren
2021-05-15Scripts/Spells: Fixed arcane barrage + explosionMatan Shukry
2021-05-15Fixed nopch build with clang 11Shauren
2021-05-15Core/Spells: Send actual power gain amount in spell energize logShauren
2021-05-15Dep/bzip2: Remove dependencyShauren
2021-05-15Core/Spells: Load SpellEffectInfo::ChainTargets as signed (there are ↵Shauren
negative values found in db2)
2021-05-13Core/Units: No longer send PowerUpdate packets when gaining power via ↵Ovahlord
energize spell effects
2021-05-13Core/Spells: Expose number of targets selected for each spell effect to ↵Shauren
scripts to allow implementing spells that do something depending on number of targets hit
2021-05-12Fix dynamic windows buildShauren
2021-05-12Core/Scenes: Fix scenes played by package id storing pointers to stack variablesShauren
2021-05-11Core/Commands: Add ItemContext argument to .additem and .additemset commandsShauren
2021-05-11Core/Misc: Define new ItemContext valuesShauren
2021-05-11Core/Quests: Set quest accept time updatefieldShauren
2021-05-11Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_KILL_PLAYERS_SAME_FACTIONShauren
2021-05-11Core/Quests: Implement new quest objective types QUEST_OBJECTIVE_LEARNSPELL, ↵Shauren
QUEST_OBJECTIVE_AREA_TRIGGER_ENTER, QUEST_OBJECTIVE_AREA_TRIGGER_EXIT
2021-05-11Core/Quests: Un-deprecate QUEST_SPECIAL_FLAGS_EXPLORATION_OR_EVENTShauren
2021-05-11Core/Quests: Fix loading quest_template.AreaDescriptionShauren
2021-05-10Core/Quests: Unify quest objective updating into one function and replace ↵Shauren
iterating entire quest log to find objective with direct {type, id} lookup
2021-05-09Core/Auras: Use owner instead of caster for same map check in ↵Shauren
SPELL_EFFECT_APPLY_AREA_AURA_SUMMONS
2021-05-09Core/Quests: Quest improvementsShauren
* Add quest log slot argument to functions dealing with objective progress * Implemented QUEST_OBJECTIVE_FLAG_SEQUENCED (prevent progressing hidden objectives)
2021-05-09Core/Quests: Drop unneeded QuestSpecialFlagsShauren
2021-05-06Core/Scripts: fix Millhouse Manastorm resetting dialogs after Skyriss encounterariel-
Closes #21159 (cherry picked from commit fd7fff80c9ce9954c58fa3fa35eadcdfe5648e3d)
2021-05-06Core/Scripts: cast "Trial of the Naaru: Tenacity" credit spell when criteria ↵ariel-
is achieved Closes #21155 (cherry picked from commit 036a05458eb90f137326885651dec05b303116f9)
2021-05-06Core/Scripts: fixed npc immunity flags during Harbinger Skyriss encounterariel-
- Added missing _Reset - Properly register Skyriss summons in SummonList Closes #21154 Who ordered up an extra large can of whoop-ass? (cherry picked from commit f8b148c3346e6d5017bf3b044cc36bce32c0cf45)
2021-05-06Core/Scripts: Implemented Shifting Naaru Sliverariel-
(cherry picked from commit a5d4f34c3158bbbd65436bd2bd1dd8a9fad1ff52)
2021-05-06Core/Scripts: fix issues with 'Squeeze' on Yogg-Saron encounterariel-
- Unassigned spell script for 25-man difficulty - Didn't remove aura on 25-man when tentacle killed (cherry picked from commit de3fd4d076a1d02c5b75ab5d2f32bfb7ecb202a5)
2021-05-06Core/Player: fix issue with SendLoot when using Disarm Trap at maximum rangeariel-
(cherry picked from commit a0dcd9c7988912e97909df2ba9ab0b86d20ff22d)
2021-05-05Core/Misc: Remove incorrect uses of std::unordered_map<T>::rehash and ↵Shauren
replace them with intended reserve
2021-05-05Core/PacketIO: Fixed combat log packets not being sent to selfShauren