Commit Graph

15375 Commits

Author SHA1 Message Date
Traesh
2cdf0a44b2 Core/Scripts: Add multiple "Pass parameters between AI" methods on AreaTriggerAI
Ref #29215
2023-08-27 20:06:48 +02:00
Shauren
150ba27eb1 Core/Logging: Fixed missing log format changes 2023-08-27 12:50:26 +02:00
Shauren
b8912d2ac8 Build fix for clang 11-13 2023-08-27 12:49:33 +02:00
Shauren
43584b4d1d Core/Misc: Fixed doxygen docs being attached to wrong fields 2023-08-27 01:58:50 +02:00
Shauren
ed98146d31 Core/Spells: Allow cancelling spell missiles without cancelling the entire spell 2023-08-26 23:36:26 +02:00
Shauren
c9751eb737 Added changes missing from previous commit 2023-08-26 18:28:13 +02:00
Shauren
7b9493eec7 Core/Auras: Allow effects of SPELL_AURA_SCHOOL_ABSORB_OVERKILL to be prevented by setting absorb value to 0 in script 2023-08-26 15:37:57 +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
Seyden
fa22576817 Core/Auras: Implement SPELL_ATTR8_PERIODIC_CAN_CRIT (#29198) 2023-08-25 12:36:11 +02:00
Jeremy
30f57de184 Scripts/AreaTrigger: Added CanCaptureFlag and CaptureFlag hooks (#29237)
* also added related areatrigger script
2023-08-24 22:25:15 +02:00
Aqua Deus
a9d459962b Core/Quest: Allow quests flagged as QUEST_FLAGS_AUTO_COMPLETE to be valid in CMSG_QUESTGIVER_REQUEST_REWARD (#29244)
Co-authored-by: Ovahlord <dreadkiller@gmx.de>
2023-08-24 16:24:58 +02:00
Golrag
6175467c3e Core/GameObject: Skip setting state of NewFlag, if new state is equivalent to old state 2023-08-24 16:15:32 +02:00
Golrag
5e61827814 Core/GameObject: Expose several NewFlag fields for future purposes 2023-08-24 16:15:32 +02:00
Golrag
28c5d71b28 Core/GameObject: Added additional checks for GAMEOBJECT_TYPE_NEW_FLAG and GAMEOBJECT_TYPE_NEW_FLAG_DROP for potential exploits / lag issues 2023-08-24 16:15:32 +02:00
Golrag
0367e1afc5 Core/GameObject: Dropped flag should only spawn when debuff is not removed by default 2023-08-24 16:15:32 +02:00
Jeremy
1336370b45 Core/GameObject: Mark some pvp related gameobjects as active (#29249) 2023-08-24 11:48:09 +02:00
ModoX
b10b97b35b Core/AreaTrigger: Handle unit exit after OnRemove hook has been called 2023-08-24 09:09:45 +02:00
Shauren
f0a862e71b Core/Misc: Modernize comparison operators 2023-08-24 00:51:26 +02:00
Gildor
f108a50abf Core/Players: Remove player from group on faction change if two side interaction group is not allowed. (#28835)
(cherry picked from commit 3dda65c53a)
2023-08-23 18:51:38 +02:00
Anton Popovichenko
7b48268e2c Core/Mail: Reorder mail attachment checks to be able to report nonempty bag error to client. (#28844)
(cherry picked from commit 9658d15b0c)
2023-08-23 18:48:33 +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
dce71612ef Core/Spells: Prevent rerolling gathering skillups until success when mining or gathering herbs
(cherry picked from commit 92b7c98c01)
2023-08-23 18:46:35 +02:00
Gildor
0728d194d9 Core/Arena: Correctly update the stats of the members of each team when the week ends and the arena points are distributed. (#28812)
(cherry picked from commit 70b483aae4)
2023-08-23 18:44:48 +02:00
Shauren
3e3968b63c Core/Units: Fixed possible use after free in ThreatManager
Closes #28830
2023-08-23 11:03:52 +02:00
Shauren
f4297aa3c6 Core/Misc: Add missing virtual destructors 2023-08-22 12:38:55 +02:00
Seyden
42a6e0eb1a Core/Spells: Implement sqrt based aoe damage diminishing (#29192)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-08-22 00:02:37 +02:00
Teleqraph
f1c51e2a8d Scripts/Spells: Implement Efflorescence and Spirit Blossoms (#29176)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-08-19 20:09:52 +02:00
Shauren
d4d28d27f8 Core/Spells: Rewrite SelectRandomInjuredTargets to make extending it with additional requirements easier and allow it to prioritize group members 2023-08-19 00:59:06 +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
Shauren
982feb5082 DB/Pets: Removed invalid spells from creature_template_spell
Closes #29149
2023-08-16 20:04:20 +02:00
Shauren
f18233822d Core/Misc: Fixed minor formatting mistakes 2023-08-16 18:17:09 +02:00
Jeremy
1ab7050cb7 Core/Scripts: Add ZoneScript hook for AreaTrigger creation/deletion (#29236) 2023-08-15 21:33:59 +02:00
Shauren
fefc719263 Core/Creatures: Updated totem slot assignment logic
* Implemented SUMMON_SLOT_ANY_TOTEM
* Fixed showing totems on player frames
* Fixed removing totems from player frames
* Fixed being able to summon unlimited windfury totems
2023-08-15 00:49:30 +02:00
Shauren
ac1c041944 Core/Spells: Damage and healing bonus calculation fixes
* Spells with SPELL_DAMAGE_CLASS_NONE are now allowed to benefit from spellmods
* Fixed SPELL_AURA_MOD_DAMAGE_DONE_VERSUS_AURASTATE and SPELL_AURA_MOD_HEALING_DONE_PCT_VERSUS_TARGET_HEALTH not working for players
2023-08-14 13:34:40 +02:00
ModoX
0c9e46629c Core/Spells: Summons with no special title and duration -1ms should use TEMPSUMMON_MANUAL_DESPAWN 2023-08-14 00:48:21 +02:00
ModoX
35e5da37bd Core/Object: Implemented helper method PlayObjectSound 2023-08-13 23:59:24 +02:00
Shauren
c2d8c64d36 Core/Spells: Validate spellmod array size at startup 2023-08-13 23:47:42 +02:00
Shauren
b8f3bb8cba Core/Spells: Updated default SpellPhaseMask that is generated for procs that do not have entry in spell_proc table 2023-08-12 18:28:50 +02:00
Shauren
0d8221d558 Core/Spells: Handle summon effect on spell launch instead of hit 2023-08-10 00:20:20 +02:00
Shauren
1cae07870b Core/Creatures: Clean up temporary summon duplicate level initialization 2023-08-10 00:19:33 +02:00
Shauren
f812adfabc GCC build fix 2023-08-10 00:17:40 +02:00
Shauren
01a09de319 Core/Creatures: Allow modifying TempSummon duration after summoning 2023-08-09 11:43:29 +02:00
Shauren
1dd4b38170 Core/Creatures: std::chrono-ify TempSummon 2023-08-09 11:37:17 +02:00
Shauren
e0ab6330c1 Core/Auras: Treat auras with more than 1 active stack as using stacks too (max stack could have been changed from 0 to something else using spell mods) 2023-08-09 00:11:29 +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
Nyr
d2784d4c65 Core/Misc: Move TalentSpecialization together with other db2 enums and rename it to ChrSpecialization 2023-08-07 00:05:36 +02:00
Shauren
054723241e Core/Misc: Reduce number of player spec hardcoded checks 2023-08-07 00:05:36 +02:00
Shauren
a3a31a9a6f Core/Spells: Fixed spells with SPELL_ATTR12_START_COOLDOWN_ON_CAST_START failing to cast because of their own cooldown 2023-08-06 13:53:02 +02:00
Shauren
5aaaf3f916 Core/Auras: Default procs with PROC_FLAG_2_CAST_SUCCESSFUL to CAST spell phase 2023-08-06 00:49:31 +02:00