Shauren
0cea730fa2
Core: Update to 10.1.5
2023-07-12 16:29:00 +02:00
Shauren
36ecc2d8cb
Core/Auras: Removed triggering aura effect from SPELL_AURA_OVERRIDE_AUTOATTACK_WITH_MELEE_SPELL handling (paladin Crusading Strikes combines this with a proc aura on another effect on the same spell)
2023-07-02 00:04:58 +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
8c4a966dc0
Core/Auras: Use std::vector for temporary copies of aura lists
2023-06-28 11:45:29 +02:00
Shauren
63b2188e75
Core/Auras: Fixed accessing invalid iterators in Unit::CalcHealAbsorb (ChangeAmount removes and readds current effect to iterated list)
2023-06-28 00:13:53 +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
8cfc8e4141
Core/Spells: Always remove spell target from transport on teleport spells if spell destination does not target a position on the transport
2023-06-08 18:37:08 +02:00
Teleqraph
c4aa4d4b53
Core/Spells: Implement SPELL_ATTR10_RESET_COOLDOWN_UPON_ENDING_AN_ENCOUNTER ( #29032 )
2023-05-29 10:43:48 +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
Jeremy
f8f1c3b4f0
Core/Areas: Update AreaFlags from EnumeratedStings values ( #29008 )
2023-05-19 20:11:31 +02:00
Shauren
1325e0c4b2
Core/Units: Power handling improvements
...
* Don't include creature_template power multipliers in CreateMana updatefield
* Allow NPCs to have power types other than mana
* Add missing Essence config regeneration rate
* Fixed demon hunter powers not decaying immediately after combat
* Fixed some powers decaying immediately out of combat after energizing (for example holy power)
* Replace hardcoded list of powers to set to full on levelup with a db2 flag check
* Updated Creature::GetPowerIndex for 10.1 new power types
2023-05-09 23:16:30 +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
Teleqraph
145bb98ecb
Core/Auras: Implement SpellAuraInterruptFlags2::Falling ( #28941 )
2023-05-06 22:54:13 +02:00
Shauren
f4e5c381ac
Build fix
2023-05-06 21:19:58 +02:00
Teleqraph
15135ce16f
Core/Auras: Implement SpellAuraInterruptFlags2::StartOfEncounter ( #28938 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2023-05-06 20:56:01 +02:00
Teleqraph
513788e884
Core/Auras: Implement SpellAuraInterruptFlags2::AbandonVehicle ( #28944 )
2023-05-06 17:44:19 +02:00
ModoX
920b9a99bd
Core/Unit: Named npc flags UNIT_NPC_FLAG_AREA_SPIRIT_HEALER and UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL
2023-05-06 14:39:13 +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
Meji
d6133c78de
Core/Units: Calculate HoverHeight from model data ( #28899 )
2023-04-09 18:17:08 +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
Shauren
15451ce699
Core/Auras: Fixed iterator invalidation crash with procs using SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE attribute
2023-03-31 00:19:43 +02:00
Meji
81ea6f54d9
Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale ( #28863 )
2023-03-30 18:54:27 +02:00
Meji
cc57c9dad5
Core/Creatures: Improved movement interruption while casting spells ( #28845 )
2023-03-24 12:27:01 +01:00
Shauren
512f5138d4
Core/Creatures: Use togglable CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS instead of equivalent flag from creature_template.type_flag
2023-03-17 23:02:47 +01:00
Shauren
d26d38075c
Core/Creatures: Allow disabling melee attacks for all creatures, not just the ones using SAI
2023-03-13 20:22:47 +01:00
Shauren
eb93afffc0
Core/Creatures: Allow toggling creature default root state
2023-03-13 14:52:11 +01:00
Shauren
155cf58236
Core/Creatures: Allow scripts to change creature loot id (must be done before death)
2023-03-13 00:09:18 +01:00
Shauren
ebf799c0f6
Core/Creatures: Allow disabling loot for creatures
2023-03-12 13:05:35 +01:00
Shauren
4300c3edd3
Core/Movement: Refactor TimedFleeingMovementGenerator to use chrono types
2023-03-11 13:35:46 +01:00
Shauren
7ea438ebdc
Core/Creatures: Implemented unkillable flag (prevent health from going below 1)
2023-03-11 00:07:57 +01:00
Shauren
cdc09d29bc
Core/Units: Added Unit::SetFacingToPoint function
2023-03-05 15:45:57 +01:00
Shauren
a8bb1739e9
Core/Spells: Refactor Spell::finish to accept SpellCastResult argument instead of just a bool indicating success
2023-02-28 00:19:31 +01:00
Shauren
982b60f39c
Core/Misc: Add launchDelay argument to Unit::SendPlaySpellVisual overload accepting Unit* argument
2023-02-26 19:58:04 +01:00
Shauren
cbdb255958
Partial revert of "Core/Spells: Moved SpellVisual functions from Unit to WorldObject" - client only accepts unit guids in these packets (orphan visuals not reverted)
...
This partially reverts commit 54f607641a .
2023-02-25 16:24:44 +01:00
Shauren
9f088c2e04
Core/Units: Pass real damage taken after level scaling calculations to DamageDone and DamageTaken script hooks
2023-02-11 16:54:46 +01:00
Shauren
b842f2be55
Core/Auras: Remove channeled auras when caster and target are not on the same map
...
Closes #28777
Closes #28792
(cherry picked from commit d23c839998 )
2023-02-09 19:06:36 +01:00
Shauren
b6965b2c30
Core/Objects: Move EventProcessor update to WorldObject::Update
2023-02-05 16:24:13 +01:00
Shauren
8568b08350
Core/Auras: Fully remove auras that had all of their effect suppressed with immunity
...
(cherry picked from commit 835e291831 )
2023-01-19 18:17:30 +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
3e85598d99
Core/Objects: Call base class Update function for Unit and GameObject (currently does nothing)
2023-01-15 23:01:10 +01:00
Ovahlord
d03a5b802d
Core/Units: ensure that we use valid iterators when providing spell Ids in Unit::RemoveAppliedAuras and Unit::RemoveOwnedAuras
...
(cherry picked from commit 4a19892696 )
2023-01-12 22:55:18 +01:00
Shauren
6cac60782f
Core/Units: Fixed crash happening whenall tappers of a creature are logged out when it dies inside a dungeon
2023-01-12 13:29:53 +01:00
Gosha
9f4a0e8c52
Core/Units: Removed duplicate call to WorldObject::UpdatePositionData ( #28731 )
2023-01-11 13:53:13 +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
d8a4668c77
Core/Misc: Add missing Containers.h include where neccessary
2023-01-06 16:44:11 +01:00
Shauren
ba9bbbc9d0
Core/Misc: Fixed deprecation warnings for c++20
2023-01-01 00:26:53 +01:00
Seyden
c5bd2ceda4
Core/Auras: Fixed iterator invalidation crash in Unit::CalcHealAbsorb ( #28515 )
2022-12-30 12:52:22 +01:00
Teleqraph
dbed48becc
Core/Auras: Implemented SPELL_AURA_MOD_ROOT_DISABLE_GRAVITY ( #28517 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-12-30 01:38:41 +01:00
Teleqraph
6515319b75
Core/Auras: Implemented SPELL_AURA_MOD_STUN_DISABLE_GRAVITY ( #28511 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-12-30 01:16:29 +01:00