Commit Graph
34419 Commits
Author SHA1 Message Date
funjoker ffa262bfa2 DB/Hotfixes: Add some zhTW optional_data 2021-05-17 23:58:00 +02:00
funjoker 6b56755902 DB/Hotfixes: Add some zhCN optional_data 2021-05-17 23:57:55 +02:00
funjoker 1f8c96c0a8 DB/Hotfixes: Add some ruRU optional_data 2021-05-17 23:57:47 +02:00
funjoker b02d7308ed DB/Hotfixes: Add some ptBR optional_data 2021-05-17 23:57:38 +02:00
funjoker 278919d2ba DB/Hotfixes: Add some koKR optional_data 2021-05-17 23:57:30 +02:00
funjoker 5b7de32d76 DB/Hotfixes: Add some itIT optional_data 2021-05-17 23:57:22 +02:00
funjoker 5c482d7bc0 DB/Hotfixes: Add some frFR optional_data 2021-05-17 23:57:13 +02:00
funjoker 7f1bb67a73 DB/Hotfixes: Add some esMX optional_data 2021-05-17 23:57:07 +02:00
funjoker f68c028537 DB/Hotfixes: Add some esES optional_data 2021-05-17 23:56:56 +02:00
funjoker 6bb4e97e3a DB/Hotfixes: Add some deDE optional_data 2021-05-17 23:56:45 +02:00
funjoker 8df8bc54c6 DB/Hotfixes: Add some enUS optional_data 2021-05-17 23:56:21 +02:00
Treeston ac8ff49274 Core/Unit: Abide UNIT_FLAG2_DISABLE_TURN on creatures. Add that flag to Kologarn (from sniff). Hi sirikfoll.
(cherry picked from commit d9c772303cc17d98581cc52bb51116f640e23c08)
2021-05-17 00:36:06 +02:00
ZenoX92 345e067855 DB/Quest: Emotes for Horde & Neutral quests in Desolace, Thousand Needles and Stranglethorn Vale
Closes #21211

(cherry picked from commit dede2503e0a75c2c2f74716c6fea560b8bc60057)
2021-05-17 00:27:51 +02:00
Treeston 563188fe4b 3dcd49e v2, slightly cheaper
(cherry picked from commit b53cbf467b445a9b57a5567f88a26f77289f7fe1)
2021-05-17 00:06:52 +02:00
Treeston 7cd61b581c Core/Threat: fix a potential super edge case iterator invalidation
(cherry picked from commit 3dcd49ef9015582be304e2521e13052c68b917d6)
2021-05-17 00:05:47 +02:00
Treeston 4a65dcaecb Scripts/World: New target dummy AI, because I don't trust the existing one in light of #21187.
(cherry picked from commit a23c97a0fcc53e5da0bee5fc033dd3748774c337)
2021-05-17 00:02:27 +02:00
tkrokli fdbc88e3de Update copyright note for 2018 follow-up
File missed in main 2018 copyright update, commit f6b6f57a6da909426e3171d09f989c554f20b43d

- revert link from collab.kpsn.org back to www.trinitycore.info for branch consistency
- also some minor whitespace edits

(cherry picked from commit e2666fff35b3fe468739eb40b811b2fc1b8c1cea)
2021-05-16 22:04:37 +02:00
Treeston e090c9a00e Scripts/Commands: New command: .debug threatinfo
(cherry picked from commit f45c211987794ff7e4192e0d3d4ca6bf67335fb5)
2021-05-16 21:57:35 +02:00
Chaouki Dhib 0ce1e9d652 Core/Movement: Correct the allowed distance to target before a repositioning 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-16 21:56:07 +02:00
xinef1 1912999b9e Core/Spells: Defined and implemented some new spell attributes (#18950)
(cherry picked from commit 23823f5147e808928e1d8cd31b6cdf31753ef14d)
2021-05-16 21:56:07 +02:00
Keader 068b4f96e5 Core/Spells: Fixed Shapeshift using macro
Close #21197
Author: lineagedr

(cherry picked from commit 57672fdf259d1106420e6a2c91f6f1b65b00fbc9)
2021-05-16 21:56:06 +02:00
kelno 1206e815cd Core/Creature: improve DB linked_respawn handling (#21172)
* Fixed SetCreatureLinkedRespawn function possible erasing/replacing a GameObject link (instead of a creature one)

(cherry picked from commit 70eb18d0e58ecf0cfcda4f410a183c671fbafe5c)
2021-05-16 21:56:06 +02:00
Treeston a121f47ba3 9ad11e6 follow-up, prevent Halion respawn without loot
tagging #21198

(cherry picked from commit f0a394753ad9f1614fd696027c51ed2e297a02f6)
2021-05-16 21:56:06 +02:00
offl 7f50fc118a DB/Creature: Harbinger Skyriss
Closes #21168

(cherry picked from commit b847f32b585db7b2196777db2676702dcb7d1db4)
2021-05-16 21:56:06 +02:00
Treeston c31ae7ab33 Core/Threat: Fix a potential exploit allowing players to damage a boss 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-16 21:56:06 +02:00
Treeston 8b7728f82e Core/Map: New Map::ForceRespawn to override objections and force a respawn (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-16 21:56:06 +02:00
offl 0f005c3686 DB/Creature: Skulking Witch invisibility
- Greater Invisibility missing in Heroic mode
- replace Normal spell ID with sniff value

Closes #21166

(cherry picked from commit 38d0c1e940bd8679e42e5336118c5b9fc65a3cdf)
2021-05-16 21:56:06 +02:00
Keader 7ba1afdbfb DB/Creature: Ruby Sanctum boss/mini-boss white damage updates
Closes #11834

(cherry picked from commit 9e9253d92bc1cfca33b59df7c6d6f23b392d01e9)
2021-05-16 21:56:06 +02:00
Shauren c79e5528e1 Core/Units: Remove Unit::EnergizeBySpell overload taking spellId argument 2021-05-16 21:56:06 +02:00
meji46 8678179873 DB/Creature: Fix mount condition for Stabled Argent Warhorse
(cherry picked from commit 509edd43123c7f12b9106d79c5af641d1ae445a9)
2021-05-16 21:56:06 +02:00
Teppic1 779ac46b9c DB/Loot: Reference template 24077 corrections
Closes #21181

(cherry picked from commit 1f0210bfe5546f39c1eb930853da800ce6846c70)
2021-05-16 21:56:06 +02:00
Shauren b9d63c2009 Core/Scripts: Remove deprecated overload of QuestReward without LootItemType argument 2021-05-16 21:56:06 +02:00
DanVS 72cfc0ef34 DB/Creature: Dream Vision
Closes #21161

(cherry picked from commit f76dd2f4ab8b556550b8ecb9b37cd653bd5ae5d4)
2021-05-16 21:56:06 +02:00
ZenoX92 d07972e7e2 DB/Misc: Stranglethorn Vale
Closes #21057

(cherry picked from commit 9462b4b7ee8067d454ee5deaafacce977eefc82f)
2021-05-16 21:56:06 +02:00
ZenoX92 92ee37f852 DB/Misc: Badlands
Closes #21056

(cherry picked from commit b06b06a22d450a566925b13d06108b57f3a9600d)
2021-05-16 21:56:05 +02:00
ZenoX92 91cbdabcb6 DB/Misc: Alterac Mountains
Closes #21055

(cherry picked from commit 6e6f43a5e35045bac550b2763dcc8dbed0cf6400)
2021-05-16 21:56:05 +02:00
Treeston 6344ddd633 Core/Threat: only send periodic threat list updates while unit is engaged
(cherry picked from commit a08ad9aac1759bb584f642e4ce2df2e85c62049c)
2021-05-16 21:56:05 +02:00
Treeston dce39aedc2 Core/Combat: Some more sanity check asserts to try and track down #21187.
Also, some anti-annoyance treatment for dot tele.

(cherry picked from commit fdacf127395965b426185f05a7b1351138775e89)
2021-05-16 21:56:05 +02:00
Treeston 2a7bb9b404 Core/Combat: some more detailed assertions to possibly shed light on #21187.
(cherry picked from commit 5a9fddaa5a44ba9efe422853c549dd56f87c59e4)
2021-05-16 21:56:05 +02:00
Treeston b00d3812ab Core/Map: Fix a crash that could happen if a player moved very far away from a creature they were in combat with. Closes #21177.
(cherry picked from commit e0b609a178528995959e5ea54255a3f856e62913)
2021-05-16 21:56:05 +02:00
Moein 673cc20e79 MovementInform should overrides
(cherry picked from commit 18f5eae835a0045d1180262bfcc4a2e6cf97c807)
2021-05-16 21:56:05 +02:00
Treeston 5aee452943 Core/Misc: A variety of clean-up changes, mostly following up on 532ab1c to 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-16 21:56:05 +02:00
ariel- 83159544b5 Core/Spells: fix casting NO_TARGET event spells
Closes #19978

(cherry picked from commit e2451136600bf4c30eb547bd8579f019cfd37a3d)
2021-05-16 21:56:05 +02:00
Treeston 34c7810fe5 Core: Combat/threat system rewrite (PR #19930)
- 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-16 21:56:01 +02:00
Shauren 5158136ee8 Core/Players: Fixed last tick of power regeneration when reaching minimum or maximum value not being visible clientside and not triggering auras on power value change 2021-05-15 17:44:31 +02:00
Shauren 12ed21e690 Scripts/Spells: Clear arcane charge damage/cost/cast time modifier aura when reaching 0 arcane charges (power) 2021-05-15 17:44:31 +02:00
Shauren 331c7ec7c2 Scripts/Spells: Remove manual damage adjustment from Arcane Barrage for scaling with arcane charges and use spell cast for mana energize 2021-05-15 17:44:31 +02:00
Shauren fd7f854995 Scripts/Spells: Properly utilize all Arcane Explosion energize effects 2021-05-15 17:44:31 +02:00
Matan Shukry be8cbab4b3 Scripts/Spells: Fixed arcane barrage + explosion 2021-05-15 17:44:31 +02:00
Shauren e2964dadf4 Fixed nopch build with clang 11 2021-05-15 02:17:08 +02:00