581 Commits

Author SHA1 Message Date
Shauren
390d4343cc Core/Spells: Improve spell visual selection using Priority and Probability fields from SpellXSpellVisual.db2 2026-01-11 14:31:08 +01:00
Shauren
a80e33a674 Core/Spells: Move periodic tick count calculation from SpellInfo to SpellEffectInfo 2026-01-03 12:18:49 +01:00
Shauren
5c0de6977c Core/Logging: Fix wrong variable being used in SpellInfo::_LoadSqrtTargetLimit logs 2025-12-31 00:11:06 +01:00
Shauren
42ebe3b0dc Core/Spells: Use spell positivity to determine immunities instead of caster-target faction reaction 2025-12-25 16:16:16 +01:00
Shauren
bd2b12fa36 Core: Updated to 11.2.7 2025-12-16 00:09:26 +01:00
Aqua Deus
ff256d20e5 Core/Spells: Name SpellCategoryFlags with official names and implement ResetCooldownUponEndingEncounter flag (#31415) 2025-10-29 16:04:11 +01:00
Shauren
234dd5f26b Core/Auras: Implemented new proc ppm modifier - SPELL_PPM_MOD_AURA 2025-10-01 00:42:13 +02:00
Shauren
5cf0c6c8bb Core: Updated to 11.2.0 2025-08-13 00:31:39 +02:00
Shauren
60400d25f5 Core/Players: Implemented PlayerDataElementAccount, PlayerDataElementCharacter, PlayerDataFlagAccount and PlayerDataFlagCharacter 2025-06-27 15:29:30 +02:00
Shauren
e6b553b913 Core/Players: Fixed traits not updating aura values when changing rank 2025-06-14 14:55:06 +02:00
Shauren
0fba073d1a Core/Spells: Don't set TARGET_FLAG_DEST_LOCATION for cone targets 2025-06-01 18:44:36 +02:00
Meji
260fab2378 Core/Misc: Added new CanSeeOrDetectExtraArgs to CanSeeOrDetect (#30882) 2025-05-11 21:10:21 +02:00
Shauren
a63d404e7b Core/Spells: Implemented new SpellMisc field, MinDuration that controls minimum spell missile travel time 2025-05-06 19:22:21 +02:00
Shauren
dfcd41abef Core/Spells: Apply spell modifiers multiple times to each cast, based on number of matched SpellFamilyFlags bits 2025-03-28 23:42:39 +01:00
Shauren
bb67a42791 Core/Spells: Fixed spells that scale value with master not being affected by SpellModOp::Points and SpellModOp::PointsIndex spellmods 2025-03-21 00:07:16 +01:00
Shauren
fa75f63566 Core/Auras: Implemented SPELL_AURA_MOD_CHARGE_RECOVERY_RATE, SPELL_AURA_MOD_CHARGE_RECOVERY_RATE_BY_TYPE_MASK and SPELL_AURA_MOD_CHARGE_RECOVERY_BY_TYPE_MASK 2025-03-19 00:03:38 +01:00
Shauren
23624ed75a Core: Updated to 11.1.0 2025-03-02 15:43:34 +01:00
Shauren
1959457421 Core/Spells: Implemented SpellEffectAttributes::DontFailSpellOnTargetingFailure 2025-02-16 20:38:52 +01:00
Shauren
69b647a24c Core/Misc: Reduce code differences between branches 2025-02-02 23:59:23 +01:00
Shauren
2a51a64549 Core/Spells: Reimplemented target type 106 as random point from points predefined in database
Closes #30116
2025-01-21 14:11:54 +01:00
Shauren
3a19b8160d Core/Auras: Allow some whitelisted spells to update effect values of non-passive auras when adding spell mods 2025-01-04 20:44:05 +01:00
Shauren
38eee2f034 Core/Spells: Moved loading aoe target caps out of SpellMgr::LoadSpellInfoCorrections 2024-12-23 17:53:58 +01:00
Shauren
ad06dcaaec Core/Spells: Implemented SPELL_EFFECT_UPDATE_INTERACTIONS 2024-12-20 11:50:07 +01:00
Shauren
4f7079f471 Core: Updated to 11.0.7 2024-12-18 22:50:33 +01:00
Shauren
43bf71b374 Core/Spells: Implemented TargetAuraType and ExcludeTargetAuraType cast requirements 2024-12-03 17:40:25 +01:00
Shauren
b0352ef78e Core/DataStores: Updated db2 structures to 11.0.5 2024-10-30 14:40:23 +01:00
Shauren
89f490bdcd Core/DataStores: Removed overriding field sign type based on db2 column compression 2024-09-27 20:05:36 +02:00
Aqua Deus
4f8cb99ad2 Scripts/Spells Update Seed of Corruption script (#30151)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-09-01 21:25:44 +02:00
Shauren
df51150381 Core/DataStores: Updated to 11.0.0 2024-08-02 14:40:12 +02:00
Shauren
f19e1a2716 Core/Spells: Remove spell range increase when caster or target move backwards 2024-07-03 16:18:06 +02:00
Shauren
321f3cc4a7 Core/Spells: Implemented caster-is-moving aoe radius bonus and SPELL_ATTR9_NO_MOVEMENT_RADIUS_BONUS 2024-07-03 16:07:30 +02:00
Shauren
24096f6b66 Core/Spells: Implemented SPELL_ATTR9_AUTOCAST_OFF_BY_DEFAULT 2024-06-24 12:26:14 +02:00
Shauren
e1e4aa7980 Core/Spells: Fixed spell with SPELL_AURA_MECHANIC_IMMUNITY_MASK failing to cast if they were supposed to purge effect they are granting immunity to (CreatureImmunities was not checked) 2024-06-20 16:22:11 +02:00
Shauren
c968dedfee Core/Spells: Fixed implementation of SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS and removed banish special cases that were neccessary because that attribute wasn't correctly supported 2024-06-19 20:14:53 +02:00
Shauren
3974648ae0 Core/Auras: Apply banished aura state with auras using banish mechanic 2024-06-16 22:55:02 +02:00
Shauren
dd61ba2844 Core/Spells: Implemented SPELL_ATTR9_TARGET_MUST_BE_GROUNDED 2024-06-15 12:35:49 +02:00
Shauren
9d4047a3be Core/Spells: Rename more SpellAttr9 to official names 2024-06-14 13:37:35 +02:00
Shauren
019d28086f Core/Spells: Updated SPELL_ATTR4_ONLY_FLYING_AREAS implementation to account for latest flying requirements 2024-06-11 00:56:29 +02:00
Shauren
a39d0db9ec Core/Spells: Implemented evoker empower spell mechanic 2024-05-01 22:26:53 +02:00
ModoX
8d8a54db25 Core/Spells: Fixed SpellInfo::GetSpellXSpellVisualId for nonplayer casters (#29927) 2024-04-20 19:59:35 +02:00
Shauren
66abcaff14 Core/Spells: Fixed TARGET_UNIT_AREA_THREAT_LIST and TARGET_UNIT_AREA_TAP_LIST 2024-04-11 19:59:43 +02:00
Meji
4913d027bf Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832) 2024-03-27 21:38:08 +01:00
Shauren
ed0b621d15 Core/Auras: Allow SPELL_AURA_MECHANIC_IMMUNITY_MASK to apply aoe/chain targeting immunity 2024-02-13 00:46:42 +01:00
Shauren
e6785094fc Core/Spells: Moved hardcoded immunity data for SPELL_AURA_MECHANIC_IMMUNITY_MASK to database 2024-02-01 22:20:25 +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
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
d7f3a2161b Core/Spell: Fix target check for TARGET_UNIT_RECT_CASTER_ENEMY 2024-01-09 15:29:03 +01:00
Meji
87f3ab11d3 Core/Spells: Fixed target radius calculation for TARGET_DEST_*_RANDOM (#29479) 2023-12-08 01:54:48 +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
858c393d07 Core/Spells: Make SpellEffectInfo not copyable 2023-10-26 15:52:22 +02:00