Commit Graph

39983 Commits

Author SHA1 Message Date
Shauren
5dbfaecd5c Core/WorldStates: Migrate battleground worldstates to new system 2022-07-10 18:59:29 +02:00
Ovahlord
377799fd3c Core/Transports: remove an obsolete check that prevented vehicles from updating their passenger positions
Vehicles now share the TransportBase class with regular transports so they both update positions the same way
2022-07-10 01:19:51 +02:00
Shauren
af4474926f Core/GameObjects: Fixed crash when GameObject::Delete was used for transports 2022-07-10 00:54:36 +02:00
Shauren
db79e29121 Core/WorldStates: Skip sending SMSG_UPDATE_WORLD_STATE when value does not change 2022-07-09 00:50:29 +02:00
Shauren
5dca7309f4 Core/Battlegrounds: Fixed AV turnins being counted when opening quest completion UI instead after completing the quest 2022-07-09 00:09:54 +02:00
Shauren
490b6f88d4 Core/Conditions: Implemented PlayerCondition::CurrentPvpFaction 2022-07-08 00:35:24 +02:00
Shauren
de26cafbbe Core/WorldStates: Allow setting "hidden" field of SMSG_UPDATE_WORLD_STATE 2022-07-07 23:07:20 +02:00
Meji
9ca8cf66e6 Core/SAI: Allow using default npc_text from gossip_menu with SMART_ACTION_SEND_GOSSIP_MENU (#28097) 2022-07-07 16:08:04 +02:00
Shauren
3d34febd6d Core/Auras: Don't save auras to db with SpellAuraInterruptFlags::LeaveWorld 2022-07-07 16:03:43 +02:00
Shauren
49ad0d2d49 Core/Quests: Reset seasonal quests based on saved completion time and intended holiday start time 2022-07-03 23:44:48 +02:00
Shauren
306022054b Revert "Core/Event: prevent seasonal quests from resetting at server restart (#17455)"
This reverts commit 6a8ca9b0bf.
2022-07-03 22:22:45 +02:00
Aqua Deus
19a627b23e Scripts/Spells: Fix damage on primart target of mage talent Supernova (#28061) 2022-07-03 18:01:29 +02:00
Teleqraph
ebf1b6eb5c Core/Creatures: Implemented sending different creature id for summoner (#28066)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-07-03 16:00:14 +02:00
Meji
9fcf920d0e Core/Movement: Fixed desync in player knockback movement (#28067) 2022-07-02 23:56:10 +02:00
Shauren
2a53298476 Core/Units: Defined many UnitFlags3 and implemented UNIT_FLAG3_ALTERNATIVE_DEFAULT_LANGUAGE 2022-07-02 23:17:57 +02:00
Meji
1a967dcd14 Scripts/Events: Implemented Selina Dourman / Darkmoon Faire (#28036) 2022-07-02 00:24:11 +02:00
Shauren
4ac86c13d2 Core/WorldStates: Migrate war mode bonus value worldstates to new system 2022-07-01 15:19:31 +02:00
Shauren
cfca26c264 Core/WorldStates: Migrate instance script worldstates to new system 2022-06-30 00:16:41 +02:00
Shauren
a161b6cd32 Core/WorldStates: Migrate Tol Barad worldstates to new system 2022-06-27 23:20:24 +02:00
Shauren
ea0551b4e1 Core: Update allowed build to 9.2.5.44325 2022-06-27 21:17:02 +02:00
Shauren
70eacebad5 Core/WorldStates: Add area requirements to world states 2022-06-26 21:27:17 +02:00
Shauren
6285033ed5 Core/WorldStates: Migrate Wintergrasp worldstates to new system 2022-06-26 19:16:30 +02:00
Shauren
f874f34f04 Core/WorldStates: Allow multiple map ids for world states 2022-06-26 14:33:53 +02:00
Shauren
7029b78cab Core/WorldStates: Migrate conditions and criteria to new worldstate api 2022-06-26 12:18:45 +02:00
Shauren
743308267f Core/DataStores: Updated WorldStateExpression function enum to 9.2.5 2022-06-26 00:00:34 +02:00
Ovahlord
919ada8d94 Core/Criteria: Implemented worldstate requirements for criteria updates 2022-06-25 23:17:10 +02:00
Shauren
737d94d7ef Core/World: implement database support for default map and realm wide world states
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
2022-06-25 22:48:27 +02:00
Naddley
e708bd28d1 DB/Spawns: Added Khadgar Pre-Garrison spawn in Lunarfall / Shadowmoon Valley
Closes #28054
2022-06-25 01:11:06 +02:00
Shauren
5d27939667 Core/Conditions: Implemented conditions for spawn groups 2022-06-24 22:20:34 +02:00
Shauren
e2cf6d68fc Core/SpawnGroups: Renamed GetSpawnGroupsForInstance and its argument to not cause confusion with instance ids (equivalent to instance save id, not map id) 2022-06-24 21:38:29 +02:00
Shauren
bb8a8cbc47 Core/Players: Don't trigger quest objective and criteria updates for gold modifications before quest log and criteria progress are loaded 2022-06-24 21:37:06 +02:00
Shauren
33c3ea1013 Core/Conditions: Fixed CONDITION_AURA to allow effect index greater than 2 2022-06-24 21:36:08 +02:00
Naddley
4ca8a1e95a DB/Spawns: Added spawns to Gul'var / Shadowmoon Valley
Closes #28052
2022-06-24 16:32:57 +02:00
Naddley
926b761648 DB/Spawns: Added initial spawns to Starfall Area in Shadowmoon Valley
Closes #28046
2022-06-24 14:56:49 +02:00
Shauren
2e479707e3 Build: Removed duplicate find_package(MySQL) call 2022-06-23 00:05:27 +02:00
Shauren
4dfb1f248f Core/Items: Fixed logic mistake in ItemTemplate::IsRangedWeapon 2022-06-22 23:51:22 +02:00
Shauren
80a5d475ee Core/Spells: Fixed crash in triggered spells with SPELL_ATTR2_RETAIN_ITEM_CAST
Closes #28047
2022-06-22 15:35:23 +02:00
Antonio Martín Berti
bd401af091 Core/Conditions: Added CONDITION_SCENE_IN_PROGRESS, useful for cases where you need phase things when a scene is in progress. (#28011) 2022-06-21 23:26:07 +02:00
Shauren
ae6b9e6c41 Build: Modernize mysql finding script 2022-06-20 22:43:22 +02:00
Shauren
d85379faa6 Core/Transports: Fixed stoppable elevator position calculation when going from first floor to third or higher 2022-06-19 15:02:25 +02:00
Shauren
1043911410 Build: Cleanup proto & shared cmakelists 2022-06-18 16:02:50 +02:00
Shauren
ffc23bd7ef Core: Updated allowed build to 9.2.5.44232 2022-06-18 11:59:23 +02:00
Shauren
091e71502c Build: Improve automatic finding of libraries on mac 2022-06-17 18:04:02 +02:00
Shauren
758580c076 Core/Crypto: Fixed openssl 3.0 compatibility for custom hmac_sha256 digest for RSA 2022-06-17 15:37:47 +02:00
Shauren
5859510b54 Core/Utils: Added helper function to make creating unique_ptr with custom deleters more convenient 2022-06-17 15:20:55 +02:00
Shauren
61263bf74d Core/Spells: Corrected unit flag checked with SPELL_ATTR6_CAN_TARGET_UNTARGETABLE 2022-06-17 12:54:34 +02:00
Aqua Deus
d5f5bbfa66 Scripts/Spells: Fix hunter talent Posthaste (#28019) 2022-06-16 17:45:23 +02:00
Смердокрыл
5517208b67 Core/Player: Distinguish between ranged and non-ranged weapons in GetWeaponForAttack (#27992) 2022-06-16 15:58:33 +02:00
Aqua Deus
756f928758 Scripts/Spells: Fix lifebloom final heal and update some druid spell scripts (#28028) 2022-06-16 15:47:22 +02:00
Aqua Deus
0c1d3e9fda Scripts/Icecrown Citadel: Fix spirit alarms activation (#28029) 2022-06-16 15:43:23 +02:00