* 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)
Fix The Eye of C'thun spell Dark Glare not being updated visually with the correct orientation
(cherry picked from commit 7d9933150f20095ee03cea2e6e77c3fd62c513d9)
* Scripts/Trial Of The Crusader: Fix application of spell Surge of Adrenaline (Icehowl)
(cherry picked from commit 431a59eae1f4df429ca2ee982ffca0dc8a97d2c8)
* 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)
* Make TaskContext not copyable - this allowed removing shared `_consumed` state, getting rid of memory allocation per task execution
* Use std::make_shared
* Remove unnceccessary memory alloc/dealloc in TaskContext::Repeat
* Remove std::function wrapping in every TaskContext function
* Replace std::enable_if with concept constraints
* Move code not dependent on template arguments out of template function bodies
* Reduce number of ChatCommandResult copies made during parsing
* Changed ChatCommandTable subcommands argument from std::vector<> const& to std::span<> and convert command definitions to arrays
* Allow ChatHandler arguments to be const