Commit Graph
393 Commits
Author SHA1 Message Date
seviandOvahlord 9da95e6cc9 Core/Creature: Add support for multiple gossip menu IDs (#472)
* Core/Creature: Add support for multiple gossip menu IDs

Adds support for assigning multiple gossip menu IDs to creatures and
controlling them through conditions.

Cherry-picked and adapted from:
https://github.com/TrinityCore/TrinityCore/commit/36044a9470e9c39a71916e908ab6cf4f95677793

Also disables StormLib automatic static linking.

StormLib fix suggested by @brian8544 on Discord.

* merge prep

---------

Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
2026-07-25 19:29:08 +02:00
Ovahlord af40c9404b Core/Units: moved base stats handling into a own class 2026-06-10 12:20:35 +02:00
Ovahlord 3e73122965 Core/Quests: converted SMSG_QUEST_POI_QUERY_RESPONSE to packet class and ported quest poi data for all quests from classic 2025-07-27 21:34:56 +02:00
Ovahlord a9579cb33b Core/Skills: ported skill refactors from master branch
* implement automatic skill learning from dbc data which
2025-06-21 01:23:27 +02:00
Ovahlord 1dfee7e072 Core/Quests: ported QuestMoneyReward.db2 from Classic as db table 2025-06-18 13:12:14 +02:00
Ovahlord 58ef56d335 Core/DataStores: ported NpcDamageByClass game tables from Cata Classic and use it to calculate creature damage values 2025-06-07 16:20:53 +02:00
Ovahlord 77efec36ee Core/DataStores: ported NpcTotalHp game tables from Cata Classic and use them to calculate npc health values 2025-06-07 15:53:41 +02:00
Meji d0c902ce1f Core/Creatures: Drop dynamic flags from creature and creature_template 2025-03-11 21:29:30 +01:00
Ovahlord 40b206991f Core/Creatures: implement overriding static flags by spawnId and difficulty 2025-03-11 18:47:37 +01:00
ModoX d4804d609d Core/Creature: Allow creature table to override npc- and unitflags to 0 2025-03-11 17:35:41 +01:00
Ovahlord 9189fa1858 Core/Player: split table player_classlevelstats into two tables by introducing player_racestats for race specific offsets 2025-03-10 19:52:18 +01:00
Ovahlord 2953efb7a3 Core/Movement: ported most movement updates from master branch and corrected behavior of CREATURE_STATIC_FLAG_4_PREVENT_SWIM 2025-03-09 20:49:41 +01:00
Shauren 2e2a928204 Core/Misc: Fixed thread-unsafe access to list of objects that should be spawned in a cell 2023-10-18 22:00:01 +02:00
funjoker df32b341a5 DB/Creatures: Port master model system
Fixes incorrect displayid for creatures, due to probability
2023-09-15 23:52:51 +02:00
Jeremy 929a804052 Core/Graveyards: Fix graveyards in subzones when there is no valid graveyard in that subzone 2023-07-16 15:33:06 +02:00
Ovahlord 49dcff4bc6 buildfix 2023-01-09 11:45:45 +01:00
ModoX 0baf2d1e1e Core/Instances: Drop allowMount column in instance_template as it is already handled properly by SPELL_ATTR0_OUTDOORS_ONLY 2023-01-09 11:36:01 +01:00
Shauren 28ad85c160 Core/Spawns: Removed ObjectMgr::AddCreatureData and ObjectMgr::AddGameObjectData (old outdoorpvp helpers) 2022-12-26 12:48:54 +01:00
Shauren cbd46b7664 Core/Conditions: Implemented conditions for spawn groups 2022-12-26 11:15:13 +01:00
Ovahlord b5dcfece67 Core/Locales: b5ad731cf3 followup 2022-12-21 10:47:49 +01:00
Ovahlord b5ad731cf3 Core/Locales: ported locale string moving optimization from master branch 2022-12-20 16:31:46 +01:00
ratkosrb 122b52b079 Core/Creature: Use proper name for wander distance 2022-12-20 15:48:37 +01:00
Ovahlord 102f8839ce Core/Gossips: sync gossip_menu_option and creature_trainer structure with master and 3.3.5 2022-12-19 11:56:58 +01:00
Shauren 36aacc7f2a Core/Gossip: Fixed gossip menu options not performing their default actions when added by script using db data 2022-12-18 13:47:54 +01:00
Ovahlord 6e9ec1a4bf Core/Transports: undo all custom transport changes as preparation for cherry picks 2022-06-18 18:37:14 +02:00
Ovahlord edfe82b4a3 Core/Misc: refactored a couple more loops to reduce copies and speeding up things
* silenced a few more msvc suggestions while at it
2022-04-22 22:52:52 +02:00
Ovahlord 8ac7e71690 Core/Spells: implement summon properties parameter types based on the leaked enumerated strings values
Summon spells can now be commanded to interpret their basepoints depending on the parameter type that has been assigned to the summon properties dbc record Id

* implemented SummonCreatureExtraArgs to reduce the amount of arguments in Map::SummonCreature
2021-08-15 10:35:02 +02:00
Ovahlord c3e9861723 Core/Movement: implement creature movement info table to override movement speeds based on movement IDs
thx to @xvwyh for providing initial table data for the most common entries
2021-02-16 16:56:10 +01:00
Ovahlord 4ff5b6189d Core/Maps: implement new flags for instance spawn groups to allow to restrict spawn groups to horde or alliance only
*use the new flags to restrict the Scarlet Monastery Alliance spawns to alliance players only
2020-11-16 18:55:27 +01:00
Shauren fa6f081037 Core/Creatures: Move gossip trainer assignment to creature_trainer table - same gossip can open different trainers depending on which creature it is assigned to 2020-08-22 18:22:57 +02:00
Roc13x ac6604fba7 Core/Creature: Refactor vendor item code (#167)
* Fix loading referenced vendor items
* Refactored vendor item storage
2020-08-06 01:43:39 +02:00
Roc13x 8669b5d22c Core/Gossips: Make MenuID/OptionID consistently use uint32 types (#165) 2020-08-04 10:14:47 +02:00
Ovahlord 8c2dbb58df Core/Misc: named unknown fields in QuestPOIBlobData 2020-07-29 00:25:11 +02:00
Ovahlord 64c4b4f529 Core/Misc: converted quest, creature and quest query packets to packet class and ported query data caching from 335 branch 2020-07-28 21:34:12 +02:00
Ovahlord d46fb93657 Core/Pools: ported pooling updates from 335 branch 2020-07-13 11:17:19 +02:00
Ovahlord d9b854ad59 Core/Datastores: backported hotfix system implementation 2020-02-21 23:13:38 +01:00
Ovahlord 59120fbd38 Core/Quests: ported breadcrumb quest handlings and cleaned up quest template loading handlings 2020-02-20 05:08:09 +01:00
ariel- 330f399de3 Core/Globals: some changes in quest loading
- Made load/reload associated quest tables data-driven, so removed a bunch of similar looking code from ObjectMgr (yay!)
- Codestyle and encapsulation for ExclusiveQuestGroups
2020-02-20 01:31:29 +01:00
Ovahlord df4018b10d Core/Vehicles: use pointers instead of tempoary copies 2020-01-28 13:29:12 +01:00
Ovahlord dfaa49c87b Core/Vehicles: expand vehicle seat addon table implementation to support passenger exit options 2020-01-28 11:09:05 +01:00
funjoker cb12d57666 Synchronize broadcast_text namings 2020-01-27 16:03:48 +01:00
Ovahlord 7760d95962 Core/Creatures: backported trainer update and skill initialization 2020-01-12 23:53:35 +01:00
jackpoz 131986d1c2 Core/Misc: Replace time(nullptr) with GameTime::GetGameTime() 2020-01-11 03:30:41 +01:00
Aokromes d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
funjoker 6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord 64ecd14f55 Core/Spawns: define and implement FLAG_FORCE_DESPAWN for instance spawn groups
* made instance spawn group handling bitmask based to offer more flexibility
* validate flag combinations on loading so we can no longer combine FLAG_ACTIVATE_SPAWN and FLAG_BLOCK_SPAWN in a single entry
2019-08-12 18:24:33 +02:00
Ovahlord c074c3a9c6 Revert "Core/Misc: Replace time(NULL) with GameTime::GetGameTime()"
This reverts commit 5fe3a1f7f9.
2019-07-08 15:56:29 +02:00
Ovahlord 5fe3a1f7f9 Core/Misc: Replace time(NULL) with GameTime::GetGameTime()
(ported commit: 12701cb0c6c45eb105ad449eb9a56e76d84d691e)
2019-07-08 12:19:19 +02:00
Ovahlord eefa94a5fe Core/Creatures: refactored sparring handling and added all data for 85% health sparring 2019-04-28 23:18:48 +02:00
Ovahlord c991d4bfe7 Core/Maps:
* Scarlet Monastry will now properly scale down to normal difficulty when trying to enter the instance on heroic difficulty
* removed deprecated quest text requirement from access_requirement
* added new access_requirement field to specifiy if a dungeon is only available for heroic difficulty
* added heroic exclusive access_requirement entries for Zul'Gurub, Zul'Aman, End Time, Well of Eternity and Hour of Twilight
* Players will no longer be able to enter dungeons when a encounter is in progress
2019-03-30 16:43:53 +01:00