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
Jeremy
9ed3d12ec0
Core/Arenas: Allow queueing for rated arenas ( #31148 )
2025-08-10 11:25:32 +02:00
Shauren
9201c0f035
Core/Misc: Reduce code differences between branches
2025-02-05 20:20:17 +01:00
Jeremy
c499110a0d
Scripts/Battlegrounds: Implement Silvershard mines ( #30120 )
2024-09-14 13:01:54 +02:00
Shauren
df51150381
Core/DataStores: Updated to 11.0.0
2024-08-02 14:40:12 +02:00
Jeremy
be11f42a16
Core/Battlegrounds: Move to scripts ( #29799 )
...
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground
2024-03-28 19:29:22 +01:00
Shauren
94b78ebc8b
Core/Players: Slightly improve neutral player faction support
2024-03-24 17:19:10 +01:00
Shauren
4779fa5048
Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently)
2024-03-13 18:51:29 +01:00
Jeremy
141b881fa0
Core/Battlegrounds: Added OnMapSet hook
2024-01-27 18:18:24 +01:00
Jeremy
6ed8b5c907
Core/PacketIO: Handle QueryCountdownTimer ( #29539 )
...
* Add it to battleground
* Base implementation countdowns in Group
* Fix timer sync between groups in battlegrounds
2024-01-25 14:15:58 +01:00
Jeremy
1ef0c04520
Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types ( #29535 )
...
* Fix criteria data type bg loss team score
2023-12-29 14:12:15 +01:00
Jeremy
da0ec4f830
Core/Battleground: Rework BattlegroundScore ( #29438 )
2023-12-12 05:10:17 +01:00
Shauren
41a20b1e40
Core/Achievements: Fixed achievement criteria StartEvent and FailEvent
...
* Criteria using StartEvent cannot be updated without that event triggering first (not only for timed achievements)
* Implemented most StartEvent and FailEvent types
* Fixed saving criteria removed by RemoveCriteriaProgress
2023-09-25 00:53:56 +02:00
Shauren
ba224f70ad
Core/Auras: Defined and implemented new aura interrupt flags
2023-09-03 16:06:43 +02:00
Jeremy
0ede6c1556
Core/Battlegrounds: Rework queues ( #29200 )
...
* No more copies of Battleground classes
* FreesSlotQueues now have as key the MapId instead of queue id
* Random queues can now popup already busy specific battelgrounds (queues are NOT merged)
* Removed Holiday handling, this should already be handled in BattlegroundMgr::IsBGWeekend
2023-08-26 14:03:42 +02:00
Shauren
98007f859b
Core/Misc: Turn ChrSpecialization into enum class
2023-08-07 00:05:36 +02:00
Jeremy
f5461a1161
Battlegrounds/Buffs: Rework using areatriggers ( #29171 )
...
* Rework GameObject trap handling for buffs (removed radius hack)
* Add script for Old AreaTriggers
* Add script for new AreaTriggers
* Spawn AreaTriggers in Arathi Basin
2023-07-30 19:49:12 +02:00
Shauren
0cea730fa2
Core: Update to 10.1.5
2023-07-12 16:29:00 +02:00
Jeremy
205aba1ff3
Core/Battlegrounds: Moved AreaSpiritHealer resurrection handling to respective npc flags ( #28508 )
...
* UNIT_NPC_FLAG_AREA_SPIRIT_HEALER
* UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL
2023-05-09 05:20:35 +02:00
Teleqraph
998ee363c5
Core/Auras: Implement SpellAuraInterruptFlags2::EndOfEncounter ( #28939 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2023-05-06 21:03:00 +02:00
Teleqraph
15135ce16f
Core/Auras: Implement SpellAuraInterruptFlags2::StartOfEncounter ( #28938 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2023-05-06 20:56:01 +02:00
Teleqraph
7c0ab49673
Core/Auras: Implement SpellAuraInterruptFlags2::LeaveArenaOrBattleground ( #28943 )
2023-05-06 17:39:37 +02:00
Gildor
0e76b4ab9d
Core/Battlegrounds: Prevent end Arena when a dead player logout ( #28766 )
...
(cherry picked from commit aeb4d18e20 )
2023-02-09 10:31:48 +01:00
Shauren
3fc3cd455b
Core/Battlegrounds: Unload all grids before destroying battleground object
...
Closes #28755
2023-01-15 14:25:18 +01:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Shauren
92ed5e8af1
Core/Misc: Include cleanup, 2023 edition
2023-01-07 22:38:21 +01:00
Shauren
21940405e0
Core/Battlegrounds: Made Battleground inherit ZoneScript
...
Closes #28480
2022-12-20 01:03:58 +01:00
Shauren
133334a902
Core/Loot: Implemented personal loot and tag sharing for non-boss loot
2022-10-17 23:11:46 +02:00
Shauren
06010c11b1
Core/PacketIO: Fixed structure of SMSG_START_TIMER
2022-07-15 23:29:46 +02:00
Shauren
5dbfaecd5c
Core/WorldStates: Migrate battleground worldstates to new system
2022-07-10 18:59:29 +02:00
Shauren
a31e681944
Core/Spells: Rename SpellAttr0 to use official attribute names
2022-04-24 18:40:10 +02:00
Shauren
111fc6ac6f
Core/Battlegrounds: Replace manual criteria timer starts in battlegrounds with new GameEvents api
2022-04-24 12:09:10 +02:00
Shauren
5558769405
Core/Battlegrounds: Replaced overriding m_team with more fine grained approach
2022-04-16 12:15:37 +02:00
Shauren
798693c0b8
Core/Battlegrounds: Set PLAYER_FLAGS_EX_MERCENARY_MODE for mercenary players
2022-04-16 12:15:37 +02:00
Shauren
84486ded67
Core/Battlegrounds: Store mercenary status separately from the aura obtained from gossip as it can be removed at any time
2022-04-16 12:15:37 +02:00
Traesh
87723e32e2
Core/Battlegrounds: Implement mercenary system
2022-04-16 12:15:37 +02:00
Shauren
b47185cabf
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
2022-03-27 18:14:47 +02:00
Gildor
1bfbc371d5
Core/Battlegrounds: Avoid reset BG and Arena scoreboard stats and BG map achievement criterias when relogin if player was already in the BG ( #27280 )
...
(cherry picked from commit fade6fbf4f )
2022-03-24 11:48:37 +01:00
Gildor
1b56e13e87
Core/Battlegrounds: Avoid increasing player count per team when re-logging if player was already in the BG ( #27266 )
...
(cherry picked from commit 6c512113d3 )
2022-03-22 00:17:33 +01:00
Shauren
ad4f4bfab7
Core/Misc: Minor game include cleanup
2022-02-13 00:49:10 +01:00
jackpoz
676d877296
Core/Battlegrounds: Fix error messages in Isle of Conquest
...
Fixes #24032
(cherry picked from commit 02a018ea13 )
2022-01-26 16:36:37 +01:00
Treeston
d11c3807b3
Core/Time: Rename GetGameTime{System, Steady}Point methods
...
The names are a bit unhandy. Rename them (shorter but still meaningful).
GetGameTimeSystemPoint() -> GetSystemTime()
GetGameTimeSteadyPoint() -> Now()
Also add 2 new typedefs:
typedef std::chrono::steady_clock::time_point TimePoint;
typedef std::chrono::system_clock::time_point SystemTimePoint;
Closes #25042
(cherry picked from commit 896b68d5c2 )
2022-01-23 21:36:03 +01:00
jackpoz
89cb6bc683
Core/Battleground: Attempt to fix a crash
...
Please report this error if you get it
(cherry picked from commit d1f9cf84a5 )
2021-12-31 20:33:52 +01:00
jackpoz
7d63166ff3
Core/GameObject: Fix battleground flags not showing burning animation
...
Fix battleground flags not displaying the typical burning animation when they "despawn" (they don't actually despawn, they just change state)
(cherry picked from commit 90bb10aa3a )
2021-12-18 23:02:49 +01:00
ccrs
4e6c59dca7
Core/Unit: rename several getters to follow codestyle
...
uint8 GetLevel()
uint8 GetLevelForTarget(WorldObject const* /*target*/)
void SetLevel(uint8 lvl)
uint8 GetRace()
uint32 GetRaceMask()
uint8 GetClass()
uint32 GetClassMask()
uint8 GetGender()
(cherry picked from commit 5c09ff51f7 )
2021-12-13 00:42:20 +01:00
ccrs
df2f6ad219
Core/Shared: add BattlefieldBattleId definitions
...
Also rename BG_TEAMS_COUNT and BattlegroundTeamId
(cherry picked from commit 7417cbc655 )
2021-11-15 18:52:02 +01:00
Shauren
2d7af28e9f
Core/Transports: Store information about continent transports
2021-10-02 19:59:56 +02:00
Meji
0a83f74876
Core/Achievements: Update CriteriaType enum ( #26856 )
2021-09-08 22:07:01 +02:00
ariel-
29bfa32fc3
Core/Entities: don't allow client control if player is still affected by any lose of control state
...
(cherry picked from commit e315e41d36 )
2021-06-16 20:38:56 +02:00
Shauren
0b2087ae41
Core/Criteria: Add all values of CriteriaStartEvent
2021-06-01 21:16:41 +02:00