Commit Graph

6093 Commits

Author SHA1 Message Date
Shauren
21a4acfb28 DB/Creatures: Add missing PvPFlags to many creatures 2024-12-06 19:58:33 +01:00
Daniel Finke
fdd42c7d37 Scripts/AzuremystIsle: Set correct PvP flags for Draenei Survivor (#30067) 2024-12-05 21:30:24 +01:00
Shauren
b4d6ca277a Core/vmaps: Removed vmap lookup functions duplicating functionality of each other
(cherry picked from commit 45ee989c70)
2024-11-19 20:20:33 +01:00
Gildor
b0ca98fd14 Scripts/ForgeOfSouls: Ensure that Bronjahm teleport is executed when entering the second phase (#30428) 2024-11-16 20:20:38 +01:00
Gildor
a81e7b2184 Scripts/PitOfSaron: Update Ick's reaction state during Explosive Barrage (#30432) 2024-11-16 20:19:55 +01:00
Gildor
88b1d9dfac Scripts/CoS: Do not permabind players upon completing Mal'Ganis encounter on normal difficulty (#30339) 2024-10-11 11:25:37 +02:00
Odyssey
5a29762b30 Scripts/Spells: Implement Titanium Seal of Dalaran (#30291) 2024-10-06 12:49:14 +02:00
Shauren
ae6b9bd8e8 Core/Entities: Fixed m_stringIds[0] invalidation when reloading creature_template with a gm command
(cherry picked from commit bec5bdb61b)
2024-10-05 18:05:44 +02:00
Seyden
78fe841adb Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier (#28500)
Allows targeting specific spawns without hardcoding guids or find a bunch of different creatures with a single search

Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 61c51b76c0)
2024-10-05 17:25:07 +02:00
Gildor
f2a83e8238 Core/Commands: Improve wp event command (#30226)
* Fixed crash by handling null arg_id in .wp event add
* Fixed incorrect data type conversion in .wp event listid
2024-09-12 22:05:13 +02:00
Shauren
9800393424 Core/Units: Some cleanup in movement packet related functions - try to keep only one function handling a packet, not have it scattered all over the place
(cherry picked from commit 075e5d6751)
2024-09-10 18:25:12 +02:00
Shauren
1f25a0ff92 Core/Entities: Make ObjectGuid formattable with fmt without using ToString() 2024-07-14 13:45:05 +02:00
Shauren
b08d85349c Core/Creatures: Fixed memory leaks in creature formations
(cherry picked from commit 2e3920081f)
2024-07-08 12:45:19 +02:00
CraftedRO
c5a9ab65af Core/Players: Add level restrictions for faction changes (#30057)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-06-27 18:54:31 +02:00
Gildor
e4caf52e5a Core/Spells: Allow using SpellDifficulty.dbc on battleground maps (#30055) 2024-06-27 14:08:09 +02:00
Takenbacon
70d6121ef4 Core/Misc: Move zone packet sending from World to Map (#30024) 2024-06-08 11:13:24 +02:00
CraftedRO
b2a77f6d01 Scripts/Spells: Prevent sacrificing immune minions with Death Pact (#29920)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-06-03 19:16:19 +02:00
Mykhailo Redko
faf87b327d Scripts/Halls of Lightning: Fix a crash caused by iterator invalidating in Ionar boss script (#29963) 2024-05-11 16:25:23 +02:00
Meji
83c403c870 Core/ChildrensWeek: Add target for text locales with variables (#29956) 2024-05-05 12:25:07 +02:00
Shauren
7952661e23 Core/Misc: Support boost 1.85
(cherry picked from commit cfa838df5d)
2024-04-22 11:57:54 +02:00
Shauren
0dcff2624e Core/Objects: Added ToWorldObject and ToItem
(cherry picked from commit 6f6af6a1a1)
2024-03-14 21:04:24 +01:00
Shauren
a79b42bf68 Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently)
(cherry picked from commit 4779fa5048)
2024-03-14 00:14:16 +01:00
Shauren
45d7a44555 Build: Reuse PCH file between all script modules
(cherry picked from commit eac4bf825a)
2024-02-26 12:29:16 +01:00
CraftedRO
72c421f50b Scripts/Blackrock Depths: Replace player spells used by High Interrogator Gerstahn with correct ones for that creature (#29637) 2024-02-25 13:25:00 +01:00
bibi
75e38a5d8f Scripts/Stratholme: Portcullis Trap (#29596)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-02-24 21:55:13 +01:00
Shauren
454998f553 Scripts/Zul'Gurub: Corrected brazier of madness boss despawn time 2024-02-24 12:46:38 +01:00
bibi
3085b897c1 Scripts/Zul'Gurub: Fixed Edge of Madness (#29593) 2024-02-23 23:08:21 +01:00
Mykhailo Redko
6c181a00d5 Scripts/Pets: Implemented Elwynn Lamb minipet feature. (#29635) 2024-02-23 21:33:55 +01:00
bibi
a666bdfc31 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 <shauren.trinity@gmail.com>
2024-02-23 20:05:03 +01:00
Shauren
1fcb55d8f4 Core/Instances: Name unknown EncounterFrameType ENCOUNTER_FRAME_PHASE_SHIFT_CHANGED 2024-02-14 15:42:17 +01:00
Mykhailo Redko
ca1560f043 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.
2024-02-13 15:55:37 +01:00
Gildor
1b87820935 Core/Spells: Implement visual aura duration of Rogue talents Overkill and Master of Subtlety (#29693) 2024-02-13 14:54:24 +01:00
Mykhailo Redko
75016bf4da Scripts/Commands: .account set seclevel command will update security level for online session (#29600) 2024-01-22 13:58:31 +01:00
Fraxinus94
7d9933150f Scripts/TempleOfAhnQiraj (#29571)
Fix The Eye of C'thun spell Dark Glare not being updated visually with the correct orientation
2024-01-08 19:31:41 +01:00
r4dish
c2831bafde Scripts/Commands: Implemented .bg start and .bg stop commands. 2024-01-06 23:43:59 +01:00
r4dish
1dc9b83a25 Core/Misc: Do not apply Deserter debuff to players teleported from the battleground by gm command (.appear/.summon). 2024-01-06 23:43:59 +01:00
Demolitionist Legoso
0c1e5fea69 Scripts/Bloodmyst Isle: Add missing Legoso Talk target (fixes $n) (#29554)
Updates #21586
2024-01-04 20:55:19 +01:00
M'Dic
f746c7f7ff Core/Groups: Reduce differences between branches (define naming) (#29332) 2023-09-19 21:26:27 +02:00
Gildor
61eba44d4a Scripts/Trial of the Crusader: Update Read and Write Save Data (#29293) 2023-08-29 21:59:34 +02:00
Shauren
8e7b6c54e4 Core/Logging: Fixed missing log format changes
(cherry picked from commit 150ba27eb1)
2023-08-27 12:51:53 +02:00
Shauren
ca03ecf3e6 Build: Support ASAN on msvc
(cherry picked from commit 0a0b420d86)
2023-08-23 14:23:56 +02:00
Shauren
deec17d8ec Core/Logging: Fixed a few missed log format statements 2023-08-17 11:15:15 +02:00
Shauren
a4299c2a4b Core/Misc: Replace string to int conversion functions from Common.h with c++17 std::from_chars based ones Trinity::StringTo
(cherry picked from commit 3260b94dd6)
2023-08-15 21:59:52 +02:00
Shauren
aaa6e73c8c Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
(cherry picked from commit d791afae1d)
2023-08-15 20:10:04 +02:00
Shauren
27cd5a90f4 Core/Misc: Replace enable_if overload selection with if constexpr
(cherry picked from commit a53e4a5756)
2023-08-12 17:56:16 +02:00
Shauren
ad3fc81db9 Core/Misc: Add missing Containers.h include where neccessary 2023-08-12 17:56:16 +02:00
Shauren
b7287e85e4 Core/Misc: Fixed deprecation warnings for c++20
(cherry picked from commit ba9bbbc9d0)
2023-08-12 14:24:24 +02:00
Shauren
f9033a5dbd Scripts/Forge of Souls: Fixed achievement_bronjahm_soul_power script registration 2023-07-19 13:45:17 +02:00
Shauren
aa96aa4783 Core/Misc: Cleanup Expression is converted to bool and can be replaced with 'boolean constant' 2023-05-07 18:52:34 +02:00
Shauren
7e0b28c70c Scripts/Undercity: Fixed NPC_HIGHBORNE_BUNNY being told to MoveJump to { target->GetPositionX(), 0, 0 } with speedXY = target->GetPositionY() and speedZ = target->GetPositionZ() 2023-05-07 18:35:53 +02:00