Commit Graph
31240 Commits
Author SHA1 Message Date
r4dish 7de1b541e7 Core/Players: Move power regeneration calculations to Player::UpdatePowerRegen
(cherry picked from commit a7dab01c2dc7105f5feddcbd4bf5489b330d70b5)
2026-05-29 20:04:29 +02:00
r4dish e47aa4d85f Core/Players: Auras that change the rate of energy regeneration should have an effect on client prediction.
(cherry picked from commit 1a3006b20d8c41139b206f610bcb6c22508ec329)
2026-05-29 17:24:52 +02:00
CraftedRO 70dae7b844 Scripts/Blackrock Depths: Replace player spells used by High Interrogator Gerstahn with correct ones for that creature (#29637)
(cherry picked from commit 72c421f50be8eb5348127350782064046acb4f2b)
2026-05-29 17:08:15 +02:00
bibi efb2487f96 Scripts/Stratholme: Portcullis Trap (#29596)
Co-authored-by: Shauren <[email protected]>
(cherry picked from commit 75e38a5d8f739358421ca5eece7e3701f6b8d190)
2026-05-29 16:30:00 +02:00
Mykhailo Redko 6bb9884e26 Scripts/Pets: Implemented Elwynn Lamb minipet feature. (#29635)
(cherry picked from commit 6c181a00d544bbaf13f42b921eeed3dc6b78f89d)
2026-05-29 13:01:26 +02:00
bibi 44b20f7d46 Scripts/Sunken Temple: fix Shade of Eranikus and Jammal'an the Prophet (#29663)
* Also minor modernization for instance script

Co-authored-by: 14shagov <14shagov>
Co-authored-by: Shauren <[email protected]>
(cherry picked from commit a666bdfc31f8df005a73c50d78a5c16dcec2c81c)
2026-05-29 00:45:56 +02:00
Shauren 03a4386a8b Core/Chat: Control CHAT_MSG_PARTY_LEADER serverside
Closes #14868
Closes #29689

(cherry picked from commit e835ab5014345962d84590cdd2ce71cc27608c80)
2026-05-29 00:04:32 +02:00
Shauren f7bb84e6de Core/PacketIO: Removed wrong error packet used when trying to leave party in battleground
Closes #29726

(cherry picked from commit 39fd26ef41b802f937695a57ae10dbfc476d51c0)
2026-05-29 00:02:08 +02:00
Shauren 746174314b Core/PacketIO: Implemented SMSG_REAL_GROUP_UPDATE, used to access information about original group data while being in a lfg/bg group at the same time
Fixes GetRealNumPartyMembers, GetRealNumRaidMembers and IsRealPartyLeader lua functions

(cherry picked from commit c5d63ee1fc24a01710f069b8dc6442c3c5983311)
2026-05-29 00:01:10 +02:00
Ovahlord c255d62964 Core/Spells: allow players to absorb fire damage from environmental damage spell effects
(cherry picked from commit 6d81f226a071b4ee62e2b637b8d0ff3f06989f85)
2026-05-28 23:31:18 +02:00
Mykhailo Redko 0ecd978f81 Core/Players: Improvements for talent reset logic. (#29580)
* Clean up Player::ResetTalents() from unnecessary logic, such as withdrawing money. Move it to more suitable places.
* Implemented SMSG_TALENTS_INVOLUNTARILY_RESET and use it instead of old trinity_string.
* Do not reset the accumulated talent reset cost if CONFIG_NO_RESET_TALENT_COST is enabled.

(cherry picked from commit ca1560f043df275d9241055adbf61a393666a533)
2026-05-26 23:08:28 +02:00
Mykhailo Redko 65b857eb27 Core/Spells: Immune a reflected spell if the original caster cannot be it's target. (#29645)
(cherry picked from commit 86551ba71669712cadf82f2dc1f0c5481f0fba1b)
2026-05-26 23:08:28 +02:00
Jan125 6acb9795dc Fix typo in Player.cpp (#29638)
copseReclaimDelay -> corpseReclaimDelay

This should not break anything.

(cherry picked from commit e7ff4fe613e5b99b4e7c9553078d2947eabf7c07)
2026-05-26 23:08:28 +02:00
Mykhailo Redko 8985860b14 Core/PacketIO: Implemented CMSG_BUSY_TRADE and CMSG_IGNORE_TRADE (#29570)
Closes #29308

(cherry picked from commit 420cbd7396ca59497328d372ed028d976f23b150)
2026-05-26 23:08:28 +02:00
Mykhailo Redko bc4372dc96 Scripts/Commands: .account set seclevel command will update security level for online session (#29600)
(cherry picked from commit 75016bf4da8656b049e6050e745cd50793e05780)
2026-05-26 23:08:28 +02:00
Fraxinus94 43c1db9d95 Scripts/TempleOfAhnQiraj (#29571)
Fix The Eye of C'thun spell Dark Glare not being updated visually with the correct orientation

(cherry picked from commit 7d9933150f20095ee03cea2e6e77c3fd62c513d9)
2026-05-26 23:08:28 +02:00
r4dish 578cbdc690 Scripts/Commands: Implemented .bg start and .bg stop commands.
(cherry picked from commit c2831bafded61dcd417535a444c2dfbb454171bb)
2026-05-26 23:08:27 +02:00
r4dish b18c3dc199 Core/Misc: Add permission that allows player to be AFK on the battleground.
(cherry picked from commit 554fc8eee0bcbb70acd012c04f6f02197c6d949c)
2026-05-26 23:08:27 +02:00
r4dish 697fec530b Core/Misc: Do not apply Deserter debuff to players teleported from the battleground by gm command (.appear/.summon).
(cherry picked from commit 1dc9b83a2556741ffd0c6ddce447a3e04f51a2b2)
2026-05-26 23:08:27 +02:00
r4dish 40348c62d3 Core/RBAC: Add permission that prevents getting a battleground deserter debuff.
(cherry picked from commit 196dd226dfb0ffe80d4db8531d8d337fba3d2003)
2026-05-26 23:08:27 +02:00
Demolitionist Legoso c1e0125f10 Scripts/Bloodmyst Isle: Add missing Legoso Talk target (fixes $n) (#29554)
Updates #21586

(cherry picked from commit 0c1e5fea69bb199209945340c381ba689fdae87b)
2026-05-26 23:08:27 +02:00
HelloKitty c47bd80ff1 Core/Items: Fix BuyItemFromVendorSlot slot validation (#29511)
Closes #29510

(cherry picked from commit 013a5710cadaf4eef8c42c22556730d4e180c99c)
2026-05-26 23:08:27 +02:00
Gildor 6da751659a Core/Creatures: Update HomePosition upon ExitVehicle only if the creature was inside a vehicle (#29491)
(cherry picked from commit acf5ce58a7d3ced306eeebd60dbc36732b21ad56)
2026-05-26 23:08:27 +02:00
Shauren c95cdd29c6 Core/Cells: Improve cell copy constructor and argument passing codegen (now fully done through a single register)
(cherry picked from commit 8a619460e21a9603a45894db88e344a0499c2d0f)
2026-05-26 23:08:27 +02:00
Gosha c561aeb11c Core/Cells: align Cell.data.Part fields by 8 bits and enlarge Cell structure to 8 bytes
8-bits align removes unneded shift operations

(cherry picked from commit 6ff8ce5bffb69d7c6d961bda26d579fa44e37801)
2026-05-26 23:08:27 +02:00
Kelno 894bf2d49e Core/Items: Fixed soulbound tradeable items not being properly update once every second (#29416)
In the current code they were updated only if the difftime went above 1 second.

(cherry picked from commit e688424a260887fd97657aa1a445f855e94db990)
2026-05-26 23:08:27 +02:00
Shauren c7cc9fb6b0 Core/Battlefield: Fixed using invalidated iterator when a player queued for wintergrasp is inside a battleground
Closes #29405

(cherry picked from commit 63cbef9e893d19318e97aab67dff7bc7e82e6544)
2026-05-26 23:08:27 +02:00
Ovahlord 970a3dec18 Core/Player: return player corpse locations by reference instead of creating copies
(cherry picked from commit d11d992df9e15503c321ffcce566f13923f51508)
2026-05-26 23:08:27 +02:00
Giacomo Pozzoni a039174308 Core/Battlegrounds: Fix group loot (#29300)
(cherry picked from commit fe2da02cc65a4c549bfea5709d7655c367dca1e9)
2026-05-26 23:08:27 +02:00
Gildor 15ace15d34 Core/Pets: Avoid loading creature_addon/creature_template_addon (#29331)
*Also removed spawnId when the pet is created

(cherry picked from commit edb00d4f7432575965e8e3630f505c2ef09ed3b2)
2026-05-26 23:08:27 +02:00
Shauren 63f394e89e Core/Battlefields: Added missing virtual destructor (and delete copy and move operations)
(cherry picked from commit 343d09bc95ade0cc34f953b56cbe666baca387fc)
2026-05-26 23:08:27 +02:00
Shauren 5978a31fe5 Scripts: Fix EventMap event id overflow 2026-05-26 23:08:27 +02:00
Kelno 7c0a37e8c7 Core/EventMap: Refactor and modernize EventMap (#29183)
(cherry picked from commit 1bea4aab456a01d89b87344d47cf345cd68f2d85)
2026-05-26 23:08:27 +02:00
Shauren 708710e109 Core/Spells: Corrected client control checks in spell packets
Closes #26510
Closes #27863

(cherry picked from commit 0a34290484f3e90a2a642986de682a8b0c7e3815)
2026-05-26 23:08:27 +02:00
Gildor 6bf5eed1b3 Core/Players: Fix inactive reward quests on faction change (#29073)
* Fix query order
* Quest with AllowableRace 0 shouldn't be inactive on faction change

(cherry picked from commit 2cd8b6a5756e0ef8dd69e6b78ee09b72a0d9ddba)
2026-05-26 23:08:27 +02:00
Shauren 5a4a0b3aab Core/Instances: Fixed crash in loading scenario state 2026-05-26 00:25:34 +02:00
Shauren e6676fe1d9 Core/Loot: Fixed loot roll exploit
Closes #29042

(cherry picked from commit fb699dc641342c1e1a094ec5bff7b5e581dd0d01)
2026-05-26 00:13:16 +02:00
Shauren 215fe38970 Core/Units: Corrected AURA_INTERRUPT_FLAG_NOT_SEATED implementation to only interrupt when actually standing (flag not renamed but its correct name is SpellAuraInterruptFlags::Standing)
(cherry picked from commit 47b1de526e9f380c96307edc5fb618ad18f04206)
2026-05-25 21:33:17 +02:00
Shauren 429d33ea64 Core/Auras: Don't force sitting state from non-standing state when applying auras with SpellAuraInterruptFlags::Standing
Closes #28973

(cherry picked from commit dd10ac27fee1fa91661422458d22bb1d2dbab6de)
2026-05-25 21:25:34 +02:00
Shauren 5f4db28d9a Core/Units: Don't make force stand state on periodic damage taken
Closes #28950

(cherry picked from commit 2f4c412f4c13c7ae02d3d3ae715c3099395bcf70)
2026-05-25 21:23:34 +02:00
Shauren ae41cce53f Core/GameObjects: Fixed traps not being able to trigger for friendly targets
Closes #27210
Closes #28945

(cherry picked from commit 3993c45a040c01a6708850adfb014489b0e0ed8d)
2026-05-25 19:36:12 +02:00
Shauren 723554d663 Core/Objects: Removed default argument value from WorldObject::IsNeverVisible
(cherry picked from commit 83d70425c877aa504b39f4fe80db2b1fe69012b5)
2026-05-25 19:18:20 +02:00
Gildor 9413f352c7 Core/Cinematic: Fix crash CinematicMgr::UpdateCinematicLocation (#28953)
* Core/Cinematic: Fix crash CinematicMgr::UpdateCinematicLocation

* typo fix, thx jackpoz

(cherry picked from commit 046c6b6a3a58460b6c13c8ef1bb25aa3482aeeee)
2026-05-25 17:04:54 +02:00
Gildor 1388d47e29 Scripts/Trial Of The Crusader: Fix application of spell Surge of Adrenaline (Icehowl) (#28933)
* Scripts/Trial Of The Crusader: Fix application of spell Surge of Adrenaline (Icehowl)

(cherry picked from commit 431a59eae1f4df429ca2ee982ffca0dc8a97d2c8)
2026-05-25 16:45:24 +02:00
Gosha d907a217a0 Change Map::Visit to not call EnsureGridLoaded if cell.NoCreate is true (#28884)
Remove Map::setGridObjectDataLoaded/Map::isGridObjectDataLoaded helpers, we have NGridType object to use methods directly

(cherry picked from commit 71b7cc6361d6db9dd445aef617a40b8435393729)
2026-05-25 16:41:08 +02:00
Adam B 18e4ad43e5 Add code that changes the faction of Tortheldrin in Dire Maul (#28581)
* Add code that changes the faction of Tortheldrin

Per WoW Classic, Tortheldrin becomes hostile after Immolthar is killed. This code implements an event that does this.

* Bug fix.

Fixed a bug where the server would crash if the bosses were already dead and the player zoned in.

* Recommited with the correct path.

Signed-off-by: Adam Bajac <[email protected]>

* Removed wrong file.

Signed-off-by: Adam Bajac <[email protected]>

* Made changes requested by jackpoz.

Signed-off-by: Adam Bajac <[email protected]>

* Corrected a syntax error after testing.
- Tested in game and confirmed all is working.

Signed-off-by: Adam Bajac <[email protected]>

* Removed whitespace changes.

Signed-off-by: Adam Bajac <[email protected]>

* Changed the script to use OnUnitDeath rather than an event.

Signed-off-by: Adam Bajac <[email protected]>

* Removed the IMMO_DEAD_CHECK event.

Signed-off-by: Adam Bajac <[email protected]>

* Removed redundant comma.

Signed-off-by: Adam Bajac <[email protected]>

---------

Signed-off-by: Adam Bajac <[email protected]>
Co-authored-by: Adam B <[email protected]>
(cherry picked from commit 63790adbfea2b9a7665f72ae6b9fe254ce195682)
2026-05-25 16:39:12 +02:00
Shauren a41ed0e009 Scripts/Spells: Remove unused spells from WarriorSpells enum 2026-05-25 14:29:01 +02:00
Jeremy 39f4f96b2d Scripts/Spells: Update Fury Warrior Enrage to midnight (#31856) 2026-05-25 12:39:15 +02:00
Shauren 3961330d44 Core/Misc: Port some 3.3.5 cherry-pick refactors 2026-05-24 21:30:08 +02:00
Nik 7e84b53648 Core/Misc: Update CreatureFamily enum for 12.0.5 (#31851) 2026-05-23 23:07:17 +02:00