Commit Graph

553 Commits

Author SHA1 Message Date
Ovahlord
b23ebaa00c Core/Spells: relocated DieSides handling - fall back to DieSides when Variance is not provided 2024-05-31 22:00:37 +02:00
Ovahlord
8d851e8576 Core/Spells: removed no longer used parameters from SpellEffectInfo::CalcValue and SpellEffectInfo::CalcBaseValue 2024-05-30 14:55:34 +02:00
Ovahlord
8dc00345bd Core/Spells: various spell scaling fixes and improvements
* removed redundant scaling multiplier code
* removed some dead code which is no longer relevant for classic
* scale healing spell power coefficients as well
* implemented mana cost scaling
2024-05-30 14:43:37 +02:00
Ovahlord
628b861c7c Core/Spells: initial work on updating base amount calculations and spell scaling for Cataclysm
* implemented the 'new' scaling fields which follow the same rules as they used to in build 15595
* implemented helper to retrieve spell scaling multipliers and use it to scale spell power coefficients
* restored die-sides handling
2024-05-30 02:21:20 +02:00
ModoX
2a84a9e090 Core/Spells: Fixed SpellInfo::GetSpellXSpellVisualId for nonplayer casters (#29927)
(cherry picked from commit 8d8a54db25)
2024-05-28 16:43:22 +02:00
Shauren
8b6df512bb Core/Spells: Fixed TARGET_UNIT_AREA_THREAT_LIST and TARGET_UNIT_AREA_TAP_LIST
(cherry picked from commit 66abcaff14)
2024-05-28 16:41:09 +02:00
Ovahlord
5e1f21a0dd buildfix 2024-05-28 16:24:52 +02:00
Ovahlord
a674f9262b Core/Misc: commented out unused parameters and variables in order to fix CI build for the time being until the affected features have been dropped 2024-05-24 17:13:31 +02:00
Meji
46b35d3082 Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832)
(cherry picked from commit 4913d027bf)
2024-03-28 20:36:23 +01:00
Ovahlord
47519bf425 Core/Spells: added target data for new spell effects 2024-03-14 03:10:54 +01:00
MaxtorCoder
cfc9cc9ec2 Core/PacketIO: Update to 4.4.0.53627 (#29805)
* Core/PacketIO: Update to 4.4.0.53627

* Core/IO: Remove duplicate declaration of PetSpellDataID

* Core/IO: Assign STATUS_UNHANDLED to some azerite packets
2024-03-13 21:16:18 +01:00
Ovahlord
8f5e9c6b61 Core/Packets: fixed structure of SMSG_QUERY_CREATURE_RESPONSE 2024-03-13 19:46:42 +01:00
Ovahlord
d9ffc33724 Core/DataStores: duc-taped build 2024-03-10 02:39:59 +01:00
Ovahlord
a0ee8a08d2 Core/DataStores: updated game table structures 2024-03-09 00:14:16 +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
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
Jeremy
32af4bf8fa Core/Battlegrounds: Rework Eye of the Storm (#29351) 2023-10-12 22:52:43 +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
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
98007f859b Core/Misc: Turn ChrSpecialization into enum class 2023-08-07 00:05:36 +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
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
Traesh
afa6715041 Core/Spells: Fix CheckLocation for multi-level zone/area (#29126) 2023-07-08 12:37:27 +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
0fb8765a66 Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
2023-06-17 16:29:59 +02:00
Shauren
d419fe5ff4 Core/Spells: Corrected effect type implicit targeting for SPELL_EFFECT_CREATE_PRIVATE_CONVERSATION 2023-06-11 00:47:26 +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
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
Jeremy
205aba1ff3 Core/Battlegrounds: Moved AreaSpiritHealer resurrection handling to respective npc flags (#28508)
* UNIT_NPC_FLAG_AREA_SPIRIT_HEALER
* UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL
2023-05-09 05:20:35 +02:00
Shauren
16bc74667e Core: Update to 10.1 2023-05-04 17:00:52 +02:00
Shauren
c563d52c8d Core/Auras: Removed outdated aura type handling 2023-05-01 00:32:51 +02:00
Shauren
922f60fa25 Core: Update to 10.0.7 2023-03-22 00:08:20 +01:00
Meji
5d5ca30b23 Core/Spells: Allow implicit targeting of serverside WorldObjects (#28827) 2023-03-12 17:12:36 +01:00
Shauren
ebf799c0f6 Core/Creatures: Allow disabling loot for creatures 2023-03-12 13:05:35 +01:00
Shauren
a1b2b86427 Core/Auras: Fixed possible iterator invalidation crashes caused by calling UpdateTargetMap inside loops iterating m_appliedAuras
Closes #28609

(cherry picked from commit 593721ff1f)
2023-01-19 14:14:15 +01:00
Shauren
d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren
42fbcf2fc5 Core/Utils: Replace boost flat_set with our own 2023-01-06 16:51:01 +01:00