Commit Graph
38500 Commits
Author SHA1 Message Date
Ovahlord d98441695b Core/Packets: converted CMSG_DISMISS_CRITTER to packet class and moved its handling to SummonInfo API 2025-08-22 20:42:27 +02:00
Ovahlord 98d4a57db1 Core/Creatures: moved pre/post summon actions into SummonInfo API and disabled most old TemporarySummon functionalities 2025-08-22 20:26:10 +02:00
Ovahlord 0841615951 Core/Creatures: moved summon duration handling to SummonInfo API and implement SummonPropertiesFlags::DespawnWhenExpired 2025-08-20 19:47:15 +02:00
Ovahlord 860f6b1bd3 Core/Creatures: implement SummonPropertiesFlags::DespawnOnSummonerLogout and fixed replacing totems when summoning new ones 2025-08-20 07:13:05 +02:00
Ovahlord 4e2ac8f680 Core/Player: updated packet handler of CMSG_TOTEM_DESTROYED to use the new SummonInfo API to destroy totem slot summons
*this allows other classes to cancel their summons if they go into the totem slots as well (e.g. Paladin Consecration, DK ghouls)
2025-08-18 20:27:50 +02:00
Ovahlord 7f4c7a4412 Core/Units: Added new accessor methods to select Summons either by slot, spellId or creatureId 2025-08-18 20:02:59 +02:00
Ovahlord 2f9ced6ddc Core/Creatures: moved the initialization of CreatorGUIDs to new summon handling 2025-08-18 07:30:11 +02:00
Ovahlord ce55b5ad24 Core/Creatures: moved replacement of old summons and sending of SMSG_TOTEM_CREATED to new SummonInfo API and 2025-08-17 15:13:18 +02:00
Ovahlord ec1ab2a5e7 Core/Creatures: move level and faction initialization into SummonInfo API 2025-08-17 15:12:10 +02:00
Ovahlord dd58d5ec0e Build: disable missing field initializers warning on clang as well 2025-08-10 11:54:01 +02:00
Ovahlord 6ae053a590 Update Readme to include new build CI workflows 2025-08-10 10:36:33 +02:00
Shauren e0766bfc55 Build: Disable maybe-uninitialized warning for GCC that incorrectly triggers with std::optional
(cherry picked from commit d93002f9a96a01258500ca7b5f03fe27e50a7155)
2025-08-10 10:19:02 +02:00
Ovahlord 5848eedb24 Core/Creature: implement initial SummonInfo API for handling summons in the future 2025-08-09 15:01:55 +02:00
Ovahlord 0f41e34aa1 Misc: buildfix 2025-08-06 19:22:16 +02:00
Ovahlord 66da3c4c17 Core/Warden: reduced differences between branches 2025-08-06 07:08:48 +02:00
Ovahlord a7c8b2e0e0 Core/Units: corrected forward declaration for CharmInfo 2025-08-06 05:30:32 +02:00
Ovahlord 3ef6132fce Core/Misc: buildfix 2025-08-05 20:36:37 +02:00
Ovahlord 594002faa6 Build/CI: further refine clang build workflow 2025-08-04 20:59:00 +02:00
Ovahlord 49e416924e Build/CI: dropped CircleCI and added clang workflow for github actions 2025-08-04 20:51:29 +02:00
Ovahlord cab6539def Core/Spells: use an alias for ProcFlag field definitions to fix some compiler warnings resulting from field and type name being identical 2025-08-04 20:24:04 +02:00
Ovahlord 23a608a504 Core/Logging: fixed log level range check in Log::SetLogLevel 2025-08-04 20:13:21 +02:00
Ovahlord 81c6172fb7 Core/Misc: fixed several unused variable warnings 2025-08-04 20:06:02 +02:00
Ovahlord 5882d5b06b Core/Spells: allow nullptr targets again 2025-08-03 19:45:23 +02:00
Ovahlord ede231982e Core/Spells: added missing part of 0d1d468c 2025-08-03 19:23:38 +02:00
Ovahlord 81bd071bd3 DB/Creatures: restore the flight settings of all creatures which had them removed after relying on static flags 2025-08-03 17:40:05 +02:00
Ovahlord 152e1352c8 Core/Creatures: re-add a column to disable gravity in creature_template_movement since CREATURE_STATIC_FLAG_FLOATING is meant to be used in a different context 2025-08-03 17:08:38 +02:00
Ovahlord 55bc337e8c DB/Creatures: remove CREATURE_STATIC_FLAG_FLOATING from the capital mounts near the flight trainers 2025-08-03 16:18:32 +02:00
Shauren bc3d82e4bb Core/Auras: Support PROC_ATTR_REQ_SPELLMOD for procs using PROC_ATTR_USE_STACKS_FOR_CHARGES 2025-08-03 14:35:45 +02:00
Shauren aa3378824b Core/Spells: Fixed PROC_HIT_DISPEL and PROC_HIT_INTERRUPT on procs using PROC_SPELL_PHASE_HIT phase 2025-08-03 14:34:40 +02:00
Shauren 0d1d468c88 Core/Spells: Fully prevent infinite proc loops and add logging to detect most spells that could possibly trigger this behavior at startup 2025-08-03 14:28:23 +02:00
Shauren a70d85e565 Core/Spells: Allow filtering procs in FINISH phase by SpellTypeMask 2025-08-03 14:18:33 +02:00
Shauren 268f1df2f5 Core/Spells: Implemented new proc hit type PROC_HIT_DISPEL 2025-08-03 14:14:24 +02:00
Shauren b13703f1ea Core/Auras: Fixed iterator invalidation crash with procs using SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE attribute 2025-08-03 14:11:56 +02:00
Ovahlord 744aa1fd96 Core/Spells: make proc related fields typesafe 2025-08-03 13:33:05 +02:00
Shauren d9be195c43 Core/Spells: Start spells triggered by SPELL_EFFECT_FORCE_CAST_2 without any trigger flags 2025-08-02 15:32:01 +02:00
Shauren e503f96adb Core/Spells: Reduce number of CastSpell overloads to 1 2025-08-02 15:22:59 +02:00
Shauren 78de91a487 Core/Spells: Rename confusing SpellState enum values
* SPELL_STATE_CASTING -> SPELL_STATE_CHANNELING (was used for "channel in progress")
* SPELL_STATE_DELAYED -> SPELL_STATE_LAUNCHED
2025-08-02 12:37:52 +02:00
Shauren c550e2d29f Core/Spells: Handle SPELL_EFFECT_FORCE_CAST on spell launch instead of hit 2025-08-02 12:25:01 +02:00
Ovahlord 48c21d7161 Core/Spells: reduce differences between branches 2025-08-02 09:39:15 +02:00
Shauren c158f40455 Core/Spells: Exclude TriggerCastFlags that can be set for non-triggered spells from being checked by Spell::IsTriggered 2025-08-02 08:58:18 +02:00
ModoX 3c18ebf97d Core/Vehicle: Only interrupt channels with SpellAuraInterruptFlags::Mount when entering a vehicle 2025-08-01 20:00:26 +02:00
Ovahlord 088bbbd328 Core/Units: make use of the PlayHoverAnim update flag to store the play hover anim state
* this fixes playing hover animations for units which have enabled their hover animation without using anim tiers
2025-07-31 22:36:52 +02:00
Ovahlord 4bc19db799 CMake: ported missing cmake updates which prevented jemalloc from building 2025-07-30 21:47:38 +02:00
Treeston f95a8bfdca Core/Common: Tokenizer -> Trinity::Tokenize 2025-07-30 20:51:19 +02:00
Ovahlord 95329dc15c Scripts/Spells: fixed Heroic Strike damage calculation 2025-07-28 23:03:52 +02:00
Ovahlord ec51834b3a Core/Logging: fixed more log formatting warnings 2025-07-28 23:03:26 +02:00
Ovahlord 633693ee76 Core/Logging: fixed some log formatting warnings 2025-07-28 22:25:03 +02:00
Shauren 16aa620ca0 Core/Spells: Don't ignore power costs and reagents for spells triggered by SPELL_EFFECT_TRIGGER_SPELL, SPELL_EFFECT_TRIGGER_MISSILE, SPELL_EFFECT_FORCE_CAST, SPELL_AURA_PERIODIC_TRIGGER_SPELL, SPELL_AURA_PROC_TRIGGER_SPELL and fixed implementation of SPELL_ATTR6_DO_NOT_CONSUME_RESOURCES 2025-07-28 22:19:28 +02:00
Shauren a2079b5835 Core/Spells: Split TRIGGERED_IGNORE_POWER_AND_REAGENT_COST into separate POWER and REAGENT flags 2025-07-28 21:57:12 +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