aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-05-29Scripts/Outland: Implement Hellfire event in Honor Hold (#21110)Kittnz
* Script/Outland: Implement Hellfire event in Honor Hold This is hourly, event is only 60 seconds long. (cherry picked from commit acc73d469319a2b22804e55c0603e82615f5c8c2)
2021-05-29Core/Misc: kill whitespaceariel-
(cherry picked from commit f50a33341892da1dbe4a56e6c351a42591a12ec9)
2021-05-29Core/Pools: Fixed spawning in pools with both explicitly and equally chanced ↵lachtanek
entries (#21170) (cherry picked from commit c50aefac963aca5daeacf409deca9692c6ca3924)
2021-05-29Core/Maps & Extractors: Move copypasted map file headers into a single ↵Shauren
shared file and replace #defines with enums
2021-05-29Core/Misc: Rename MapDefines.h to MMapDefines.h as it contains mmap defines ↵Shauren
exclusively
2021-05-27Scripts/Spells: Implement mage Alter Timesueastward
2021-05-27Core/Logging: Add functions that allow creating loggers and appenders from ↵Shauren
other sources than config files
2021-05-24Core/Misc: Add another boost hack. Fixes bnetserver/worldserver -c command ↵Shauren
line parameter when path contains spaces
2021-05-23Core/PacketIO: Properly send inventory error when attempting to withdraw ↵Shauren
guild bank item into "any slot" when bags are full
2021-05-23Core/PacketIO: Implement new guild bank item swap opcodesLuzifix
2021-05-23Core/PacketIO: Delete old guild bank swap item structures and handlerLuzifix
2021-05-23Core/Misc: Initialize local variableShauren
2021-05-23Core/PacketIO: Add new guild bank interaction opcodesShauren
2021-05-22Core/PacketIO: Fixed swapped values for bank interaction opcodesShauren
2021-05-22Core/PlayerChoice: Fixed loading player_choice_response from db (#26541)MistiX
2021-05-21Core/Vmaps: Fixed crash in unloading vmapsShauren
Closes #26536
2021-05-18Core/Items: Fixed crash happening when deleting item before it was saved for ↵Shauren
the first time Closes #26532
2021-05-17Core/Unit: Abide UNIT_FLAG2_DISABLE_TURN on creatures. Add that flag to ↵Treeston
Kologarn (from sniff). Hi sirikfoll. (cherry picked from commit d9c772303cc17d98581cc52bb51116f640e23c08)
2021-05-173dcd49e v2, slightly cheaperTreeston
(cherry picked from commit b53cbf467b445a9b57a5567f88a26f77289f7fe1)
2021-05-17Core/Threat: fix a potential super edge case iterator invalidationTreeston
(cherry picked from commit 3dcd49ef9015582be304e2521e13052c68b917d6)
2021-05-17Scripts/World: New target dummy AI, because I don't trust the existing one ↵Treeston
in light of #21187. (cherry picked from commit a23c97a0fcc53e5da0bee5fc033dd3748774c337)
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