aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2021-05-05Core/Auras: Fixed possible crash on login with ↵Shauren
SPELL_EFFECT_APPLY_AREA_AURA_SUMMONS
2021-05-04Core/Chat: Updated item chat link format to 9.0Shauren
2021-05-03Core/Auras: Add missing SPELL_AURA_COMPREHEND_LANGUAGE check for serverside ↵Shauren
chat translations
2021-05-03Core/Chat: Chat translation improvementsShauren
* Remove hyperlinks from translated chat messages * Implement case preservation rules depending on receiver client locale
2021-05-03Core/Chat: Allow incorrect spell/skill language assignments to mirror client ↵Shauren
behavior
2021-05-03Core/Chat: Apply chat translation also to messeges sent to selfShauren
2021-05-03Core/Chat: Only exclude LANG_UNIVERSAL, LANG_ADDON and LANG_ADDON_LOGGED ↵Shauren
from chat translations instead of all languages that don't have a skill
2021-05-03Core/Chat: Apply language translations to creature chatShauren
2021-05-03Core/Chat: Load chat language data from db2 and implement serverside chat ↵Matan Shukry
translations
2021-05-01Core/Grids: Move packet sending functionality out of MessageDistDeliverer ↵Shauren
and into separate, customizable class and unify LocalizedPacketDo, LocalizedPacketListDo as generic localizable action
2021-04-30Dynamic linking build fixShauren
2021-04-30Core/Grids: Allow customizing packets sent with MessageDistDeliverer and ↵Shauren
MessageDistDelivererToHostile depending on receiver * Switch combat log sending to that implementation
2021-04-29Core/DataStores: Load LanguageWords.db2 and Languages.db2 for future useMatan Shukry
2021-04-29Core/Spells: Only interrupt spells with interrupt flag Combat when spell ↵Shauren
also has SPELL_ATTR0_CANT_USED_IN_COMBAT attribute