Commit Graph

16424 Commits

Author SHA1 Message Date
Shauren
a8f01e07d1 Core/Entities: Merge duplicate functions calculating relative positions - remove CalculatePassengerPosition/CalculatePassengerOffset from TransportBase class 2025-10-14 13:11:41 +02:00
Shauren
d48e977315 Core/Movement: Fix teleports to transports within the same map 2025-10-13 14:27:39 +02:00
Shauren
069449c501 Core/Entities: Fixed relative position calculation formula in Position::GetPositionOffsetTo 2025-10-12 00:24:22 +02:00
Shauren
4add9d21a0 Core/PacketIO: Fixed SMSG_GOSSIP_MESSAGE structure
Closes #31359
2025-10-11 13:03:32 +02:00
Shauren
e549e11aa8 Dep/fmt: Update to 12.0.0 2025-10-11 13:02:11 +02:00
Shauren
53068a94e8 Core: Updated to 11.2.5.63704 2025-10-10 16:21:55 +02:00
Shauren
d82b3641db Core/Items: Implemented new item bonus types: ITEM_BONUS_OVERRIDE_CAN_SALVAGE, ITEM_BONUS_OVERRIDE_CAN_RECRAFT, ITEM_BONUS_OVERRIDE_CANNOT_TRADE_BOP and ITEM_BONUS_ITEM_LEVEL_BASE 2025-10-06 00:29:26 +02:00
Shauren
8fff15ba7c Core/Items: Implemented new item bonus types: limit category and pvp item level 2025-10-05 15:13:57 +02:00
Aqua Deus
ffbda978f3 Scripts/ShrineOfTheStorm: Implement Lord Stormsong encounter (#31317) 2025-10-05 14:03:52 +02:00
Shauren
3d8a75b0b5 Core/Misc: Reduce differences between branches 2025-10-04 15:05:17 +02:00
ModoX
c0c342715b fix nopch
* followup d1e07ac655
2025-10-04 13:35:40 +02:00
offl
d1e07ac655 Core/AI: Implement OnAuraApplied and OnAuraRemoved hooks (#31288)
Closes #26894

(cherry picked from commit 3bb4f56773)
2025-10-04 13:21:02 +02:00
Shauren
9827685634 Core/AreaTrigger: Fix crashes happening if areatrigger is despawned in OnUnitEnter script
Closes #31340
2025-10-04 12:13:23 +02:00
Shauren
afc613fb63 Core/Conditions: Fix CONDITION_AURA incorrectly allowing ConditionValue3 to be set in database (it doesn't do anything) 2025-10-04 01:04:16 +02:00
ModoX
a78828c707 Scripts/AreaTrigger: Fixed possible crash when spell is null for areatriggers on creation 2025-10-03 16:04:24 +02:00
Jeremy
16edee0b0e Scripts/Commands: Improve .debug arena (#31292) 2025-10-02 21:38:53 +02:00
Shauren
3fecc05f19 Core/MMaps: Use unique_ptr for memory management and remove MMapFactory 2025-10-02 15:27:42 +02:00
Shauren
6b41c3d327 Core/MMaps: Improve mmap debugging experience for terrain swap maps
* Output terrain map id in `.mmap loc` command
* Suppress file not found errors for terrain swap maps
* Fix generating single tiles for terrain swap maps (--tile argument)
2025-10-02 13:43:45 +02:00
Shauren
234dd5f26b Core/Auras: Implemented new proc ppm modifier - SPELL_PPM_MOD_AURA 2025-10-01 00:42:13 +02:00
Shauren
13f22e0c06 Core/Misc: Reduce differences between branches 2025-09-28 00:06:28 +02:00
Shauren
c550385720 Core/Transmog: Mark tracking quests as completed when completing transmog sets 2025-09-26 10:27:02 +02:00
Shauren
88d8783758 Core/Units: Remove unused argument from Unit::SetRooted 2025-09-25 00:30:54 +02:00
Shauren
d5b07faca1 Core/Misc: Rename AreaTriggerStruct to AreaTriggerTeleport 2025-09-24 16:09:13 +02:00
Aqua Deus
65279aadf6 Core/Auras: Implement SPELL_AURA_MOD_HONOR_GAIN_PCT (SPELL_AURA_491) (#31287) 2025-09-24 11:01:44 +02:00
Shauren
c56d18287d Core/Auras: Corrected SPELL_AURA_MOD_HONOR_GAIN_PCT implementation - it should only increase honor gains from some sources 2025-09-24 00:21:31 +02:00
Aqua Deus
5fad0fb43a Core/Auras: Implement SPELL_AURA_INTERFERE_ALL_TARGETING (SPELL_AURA_486) (#31286) 2025-09-23 21:50:21 +02:00
Meji
c575b397c5 Core/GameEvents: Added holiday/event world state field (#31284)
Closes #30622
2025-09-23 15:48:58 +02:00
Meji
1085b3f433 Core/AreaTriggers: Implement AreaTriggerActionSetFlag::DontRunOnLeaveWhenExpiring (#31276) 2025-09-22 21:56:04 +02:00
Shauren
df02bec2a1 Core/Network: Minor include cleanup in SocketConnectionInitializer related files 2025-09-22 16:12:01 +02:00
Shauren
203ad17560 Core/Objects: Preserve phaseUseFlags, terrainSwapMap, ScriptName and StringId columns when saving creature and gameobject spawns in database
Closes #31291
2025-09-21 00:45:27 +02:00
Aqua Deus
6345a8f26b Core/Players: Implement SetToMaxOnInitialLogIn power flag (#31263) 2025-09-20 18:22:00 +02:00
Shauren
a7f15e7f20 Core/Network: Fix logic mistake with RBAC_PERM_SKIP_CHECK_OVERSPEED_PING, fixes getting kicked while pausing worldserver under debugger 2025-09-20 12:59:15 +02:00
Shauren
4c66c09e38 Core/Spells: Allow spell scripts to access other scripts attached to a spell 2025-09-19 00:35:14 +02:00
Jeremy
539f0e9983 Scripts/Conditions: Add ConditionScript for Shadow Sight in arenas (#31264) 2025-09-14 15:26:51 +02:00
Shauren
1e4232e7af Core/Scripts: Use std::string_view to find script id from script name 2025-09-14 14:13:16 +02:00
Shauren
dcf9fc5ae5 Core/AreaTriggers: Use Optional<bool> for speedIsTime argument in movement functions 2025-09-13 12:14:39 +02:00
Naddley
341b6bbcf4 Scripts/Drustvar: Implement Timbered Strand shoot Wickerman event (#31170)
Co-authored-by: ModoX <moardox@gmail.com>
2025-09-12 21:39:00 +02:00
Shauren
c1b8daa639 Core/AreaTriggers: Implemented SpeedIsTime parameter for areatrigger splines and orbit 2025-09-12 00:58:27 +02:00
Shauren
eade1ad6dc Core/AreaTriggers: Use named query result for loading areatrigger create properties 2025-09-11 22:46:20 +02:00
Shauren
dac548a305 Core/AreaTriggers: Refactor AreaTriggerShapeInfo to use std::variant instead of union 2025-09-11 22:10:24 +02:00
Shauren
b6acd368e0 Core/AreaTriggers: Remove unused fields from AreaTriggerCreateProperties and merge movement data into a variant 2025-09-11 19:23:54 +02:00
Shauren
aa85b27869 Core/Spells: Don't set CAST_FLAG_PENDING for spells that have OriginalCastID set but no triggered flag
* Fixes cast bar and model animations
2025-09-10 19:07:50 +02:00
Shauren
77795c9ff3 Core/Time: Initialize all GameTime fields at server startup 2025-09-08 14:33:21 +02:00
Shauren
3b8f64831a Core/Events: Replace remaining packed time calculations with WowTime class 2025-09-08 00:23:01 +02:00
BandyscTC
80437d3c79 Core/SAI: Add storedTargetId param to summon actions (#31142) 2025-09-07 20:09:44 +02:00
Aqua Deus
ce6a1b7b91 Scripts/ReturnToKarazhan: Implement Mana Devourer encounter (#31166) 2025-09-07 20:05:47 +02:00
Shauren
b60e5b2a7d Core/Conditions: Allow ConditionTypeOrReference to be 0 for conditions that have ScriptName set 2025-09-07 00:03:48 +02:00
Traesh
b6b0eced74 Core/Spells: Implemented setting spell to cast on arrival from SPELL_EFFECT_JUMP_CHARGE in database (#30210) 2025-09-06 23:05:02 +02:00
Shauren
03d072da46 Core/Spells: Simplify SortTargetsWithPriorityRules
* Remove manul weight assignment
* Removed std::vector alloc
2025-09-06 13:19:38 +02:00
Telegrill
2e3f3fda3f Core/Spells: Add a helper function to sort spell targets based on custom scripted sorting rules 2025-09-06 13:19:38 +02:00