Commit Graph

1327 Commits

Author SHA1 Message Date
Ovahlord bba8e6fe41 Core/Items: downgrade items part 1: removed item bonus generation, artifact weapon handling and azerite item mechanics 2023-11-23 02:31:31 +01:00
Ovahlord f08213a005 Core/Players: downgraded the glyph system 2023-11-21 23:59:42 +01:00
Ovahlord cf0ba9f435 Core/Units: re-implement the MP5 mana regeneration rule 2023-11-18 21:04:17 +01:00
Ovahlord c5aa684d39 Cpre/Players: initial work on downgrading the talent system to WotLK 2023-11-18 18:13:57 +01:00
Ovahlord 1df708e085 Core/Units: downgraded power types enum and disabled Death Knight rune regeneration mechanics for the time being 2023-11-17 18:30:37 +01:00
Ovahlord bbc5539928 Core/Packets: fixed SMSG_AURA_UPDATE, SMSG_SPELL_START, SMSG_SPELL_GO packet structures 2023-11-16 22:38:11 +01:00
Ovahlord 6dcfeb3a85 Core/Misc: duc tape build 2023-11-15 10:14:06 +01:00
ModoX 2e4eecf96c Core/Spell: Allow creatures with sparring active to damage themselves 2023-11-10 21:48:02 +01:00
Shauren e9b0d347a4 Core/Spells: Store BasePoints as float in SpellEffectInfo 2023-11-03 10:38:43 +01:00
Shauren 9894f6b802 Core/Random: Changed random functions returning doubles to return floats
* They were all cast to float at use anyway
* Improves roll_chance_f performance (rand32() is now called internally by uniform_real_distribution once instead of twice)
2023-10-31 20:20:00 +01:00
Shauren 930a08fe03 Core/Spells: SpellAttr8 fixups - use creator instead of owner for SPELL_ATTR8_ONLY_TARGET_IF_SAME_CREATOR and removed cast time requirement for channelled spell predicted healing 2023-10-24 10:38:27 +02:00
Shauren dc9361fcc2 Core/Spells: Named and implemented most of SpellAttr8 2023-10-22 18:39:59 +02:00
Shauren 4e87bd7942 Core/Spells: Named and implemented most of SpellAttr7 2023-10-21 14:49:42 +02:00
Shauren 69317c2594 Core/Spells: Defined and implemented more spell effect attributes - AlwaysAoeLineOfSight, IsHarmful, PlayersOnly, EnforceLineOfSightToChainTargets 2023-09-28 00:45:31 +02:00
Shauren 41a20b1e40 Core/Achievements: Fixed achievement criteria StartEvent and FailEvent
* Criteria using StartEvent cannot be updated without that event triggering first (not only for timed achievements)
* Implemented most StartEvent and FailEvent types
* Fixed saving criteria removed by RemoveCriteriaProgress
2023-09-25 00:53:56 +02:00
Shauren 8efeb202a5 Core: Update to 10.1.7 2023-09-07 01:10:07 +02:00
Shauren ca16d0800c Core/Spells: Merge TRIGGERED_IGNORE_AURA_INTERRUPT_FLAGS functionality into TRIGGERED_IGNORE_CAST_IN_PROGRESS as they are always used together (and missing one of them in scripts is a common enough mistake)
* Also fixes Ray of Frost being interrupted by casting Shimmer
2023-08-28 10:12:09 +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
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 98007f859b Core/Misc: Turn ChrSpecialization into enum class 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 17a77d6630 Core/Spells: Fix copypaste mistake (doesn't really change anything) 2023-08-04 10:52:55 +02:00
Shauren 9cdf3530f4 Core/Scripts: Added damage and healing calculation hook to spell and aura scripts allowing to override base damage amount, flat value mod and percent value mod separately 2023-08-01 21:31:06 +02:00
Shauren 197d4369c8 Core/Spells: Removed old combo point code leftovers 2023-07-31 11:55:00 +02:00
Shauren 9e68fd1458 Core/Spells: Fixed spell duration scaling with combo points 2023-07-31 00:11:05 +02:00
Shauren 228c56f3c5 Scripts/Spells: Modernize spell script internals a bit - this makes Prepare macros unneccessary 2023-07-24 00:27:25 +02:00
Meji 889e88ab80 Core/Spells: Fixed target radius logic in spell effects for TargetB (#29158) 2023-07-20 10:10:18 +02:00
Shauren 0cea730fa2 Core: Update to 10.1.5 2023-07-12 16:29:00 +02:00
Shauren 263d1f4fe5 Core/Spells: Fixed crash in spells with charge effects that also apply another effect on the caster
Closes #28983
2023-07-01 00:51:15 +02:00
Shauren 29eac37a16 Core/Spells: Fully prevent infinite proc loops and add logging to detect most spells that could possibly trigger this behavior at startup
Closes #28865
2023-06-29 11:39:02 +02:00
Shauren bacfbec251 Core/Spells: Allow filtering procs in FINISH phase by SpellTypeMask 2023-06-29 00:06:49 +02:00
Jeremy 815e158a3e Core/Creatures: Implement CREATURE_STATIC_FLAG_4_IGNORE_LOS_WHEN_CASTING_ON_ME (#29029) 2023-06-28 19:01:14 +02:00
ModoX 80e22230c3 Core/Spells: Implemented target type TARGET_DEST_DEST_TARGET_TOWARDS_CASTER (#29085) 2023-06-24 01:16:00 +02:00
Shauren afe1b1eeed Core/Spells: Added debuginfo to SpellEvent assertions 2023-06-19 00:44:06 +02:00
Shauren a97cdfc8f5 nopch build fix 2023-06-17 00:05:25 +02:00
Shauren cd7c5eff49 Core/Spells: Validate known heirlooms for SPELL_EFFECT_CREATE_HEIRLOOM_ITEM 2023-06-16 23:54:29 +02:00
Shauren c484530b0c Core/Spells: Added enum flag operators to TriggerCastFlags to prevent accidentally using CastSpellExtraArgs(bool) constructor when CastSpellExtraArgs(TriggerCastFlags) was intended 2023-06-09 00:33:35 +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 526b16fea4 Core/Objects: Unify GameObjectSearcher, UnitSearcher, CreatureSearcher and PlayerSearcher classes into one common implementation 2023-05-28 16:54:23 +02:00
Shauren 261eb201bf Core/Objects: Unify WorldObjectSearcher classes into one common implementation 2023-05-28 16:07:34 +02:00
Shauren 3790c1e3da Core/Spells: Implemented spell target type 142 2023-05-28 01:14:19 +02:00
Jeremy f8f1c3b4f0 Core/Areas: Update AreaFlags from EnumeratedStings values (#29008) 2023-05-19 20:11:31 +02:00
Teleqraph c7ff9a9083 Scripts/Spells: Implement Summon Sayaad (#28907)
Co-authored-by: ModoX <moardox@gmail.com>
2023-04-23 16:49:01 +02:00
Shauren 295c8f6326 Core/Spells: Fixed effects targeting the caster not hitting him immediately on spell launch if the spell targets a dest
* Also improve hit timing for charge spells
2023-04-21 19:05:38 +02:00
ModoX a7256209cc Core/Spells: Readded accidently dropped line in 0750b7f845 2023-04-13 12:29:02 +02:00
Shauren 7b31080258 Core/Misc: Modernize code a bit by replacing std::tie with either structured bindings or operator<=> 2023-04-06 17:46:58 +02:00
ModoX 0750b7f845 Core/Creature: Implemented sparring with max health percent thresholds (#27198)
Co-authored-by: Ovah <dreadkiller@gmx.de>
2023-04-06 01:01:02 +02:00
Meji 229a7ac79d Core/Skinning: Update correct skinning skill according to creature expansion (#28861) 2023-03-30 17:35:58 +02:00
Meji cc57c9dad5 Core/Creatures: Improved movement interruption while casting spells (#28845) 2023-03-24 12:27:01 +01:00
Shauren 9fe8ee3622 Core/Spells: Make CastSpellExtraArgs copy and movable 2023-02-28 00:22:18 +01:00