Commit Graph

1487 Commits

Author SHA1 Message Date
Shauren
bec5bdb61b Core/Entities: Fixed m_stringIds[0] invalidation when reloading creature_template with a gm command 2024-04-10 20:27:57 +02:00
Meji
def601b4ff Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801) 2024-03-30 20:21:28 +01: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
Meji
4913d027bf Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832) 2024-03-27 21:38:08 +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
Shauren
45ee989c70 Core/vmaps: Removed vmap lookup functions duplicating functionality of each other 2024-03-07 00:23:52 +01:00
Shauren
97d7ccd180 Core/Quests: Merged UpdateNearbyCreatureNpcFlags, UpdateVisibleGameobjectsOrSpellClicks and SendQuestGiverStatusMultiple on quest actions
* Fixes quest markers above NPC heads not disappearing when player stops seeing questgiver npc flag
2024-03-03 00:50:38 +01:00
ModoX
dd15d763cc Core/Creatures: Implemented UNIT_NPC_FLAG_GOSSIP as viewer dependent and update npcflags on quest changes (#29646) 2024-02-24 15:05:21 +01:00
Shauren
f70a5817e1 Core/Creatures: Move immunities to separate table and implemented setting immunties to dispel, spell effects, aura types, aoe and chain targeting 2024-01-30 21:29:55 +01:00
Shauren
d03e0d6935 Core/Players: Fixed CharacterCache by-name storage holding data for deleted characters 2024-01-27 00:13:34 +01:00
Shauren
a4a4d010a0 Core: Updated to 10.2.5 2024-01-21 22:25:10 +01:00
Shauren
0b5406dd88 Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types 2024-01-11 20:56:24 +01:00
ModoX
b3dce0ac08 Core/Creatures: Added possibility to automatically despawn personal summons on quest remove (#29114) 2024-01-08 21:51:46 +01:00
ModoX
12186ef857 Core/Waypoints: Refactor to split data into path and node related info in db (#29506) 2024-01-05 17:56:19 +01:00
Shauren
4dce6ab228 Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM that makes required items not be stored in inventory 2023-12-30 15:45:37 +01:00
Odyssey
1f7ee02def Scripts/Commands: Restore worldserver port output in .server debug (#29466) 2023-12-03 13:50:12 +01:00
ModoX
3f6f683ce4 Core/Waypoints: Drop waypoint_scripts table (#29437) 2023-11-24 21:08:00 +01:00
Shauren
0ce96adb7a Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas 2023-10-06 20:22:14 +02:00
Shauren
43567f5a5f Core/Commands: Fixed accessing empty optional in .modify faction command 2023-09-24 12:24:39 +02:00
Shauren
47fc3cb852 Core/Instances: Kill instance_encounters table, it is no longer neccessary 2023-09-19 10:59:04 +02:00
Shauren
150ba27eb1 Core/Logging: Fixed missing log format changes 2023-08-27 12:50:26 +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
M'Dic
8898dfec53 Update (core\log): Log correction (#28802)
Loading AreaTrigger definitions to Loading Area Trigger Teleports definitions
and also Re-Loading AreaTrigger teleport definitions to Re-Loading Area Trigger Teleport definitions

(cherry picked from commit 48f9a807f3)
2023-08-23 18:47:18 +02:00
Shauren
0a0b420d86 Build: Support ASAN on msvc 2023-08-22 12:56:13 +02:00
Shauren
9e1b97900e Core/Auras: Minor optimization for Unit object creation with msvc (not allocating a list end sentinel node for all of the 500 lists stored in Unit for each aura type) 2023-08-18 18:23:29 +02:00
ModoX
95893cf53c Scripts/Commands: Implemented .debug play objectsound command 2023-08-14 00:00:13 +02:00
Shauren
86725ed926 Core/MMaps: Fixed pathing for objects that have terrain swaps active 2023-08-08 00:08:10 +02:00
Shauren
98007f859b Core/Misc: Turn ChrSpecialization into enum class 2023-08-07 00:05:36 +02:00
Shauren
0cea730fa2 Core: Update to 10.1.5 2023-07-12 16:29:00 +02:00
Shauren
81f0bf9525 Core/Conditions: Replaced Player argument to world state expression checking with Map 2023-06-26 22:53:07 +02:00
Shauren
0fb8765a66 Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
2023-06-17 16:29:59 +02:00
Shauren
1b55f85fad Core/AreaTriggers: Implement visibility of serverside areatriggers with .debug areatrigger command 2023-06-12 12:46:56 +02:00
Смердокрыл
39bebe6a65 Core/Commands: Fix crash in .character customize chat output (#29069) 2023-06-09 22:21:55 +02:00
Shauren
8cfc8e4141 Core/Spells: Always remove spell target from transport on teleport spells if spell destination does not target a position on the transport 2023-06-08 18:37:08 +02:00
Jeremy
c1df555e16 Core/Graveyards: Drop Faction column and replace it with conditions (#28965) 2023-06-01 02:33:46 +02:00
Meji
06d0b16f15 Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty (#28931) 2023-05-29 00:01:23 +02:00
Shauren
781ca507dd Core/Commands: Added .debug playercondition command 2023-05-26 23:51:20 +02:00
Shauren
3260b94dd6 Core/Misc: Replace string to int conversion functions from Common.h with c++17 std::from_chars based ones Trinity::StringTo 2023-05-13 15:46:27 +02:00
Meji
81ea6f54d9 Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale (#28863) 2023-03-30 18:54:27 +02:00
Shauren
7395d75b5a Core/Misc: Fixed clang 15 warnings 2023-01-31 18:51:31 +01:00
Meji
03918978c1 Core/Players: Several currency fixes and improvements (#28676) 2023-01-29 17:42:23 +01:00
Shauren
3df16c12b7 Core/Scripts: Move EvadeReason outside of CreatureAI class 2023-01-19 21:23:06 +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
a53e4a5756 Core/Misc: Replace enable_if overload selection with if constexpr 2023-01-07 22:38:21 +01:00
Shauren
704142f15a Core/Maps: Fixed retrieving terrain info when on child maps 2022-12-31 18:22:40 +01:00
Seyden
61c51b76c0 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>
2022-12-27 16:39:05 +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
641390dca2 Core/Loot: Initial support for personal loot in gameobjects (non-instanced content) 2022-10-16 15:33:39 +02:00
Shauren
ab12e77cf7 Core/Commands: Restore instance management commands 2022-10-04 00:19:38 +02:00
Shauren
76be303351 Core/Scripts: Save instance data in JSON format 2022-10-04 00:19:38 +02:00