Shauren
9cfc74d8c8
Core/Spells: Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED and SPELL_ATTR2_ALLOW_WHILE_INVISIBLE to use DispelType instead of checking effect types
2022-09-10 21:51:04 +02:00
Meji
f75f8d9bb8
Core/Unit: Update collision height calculation ( #28239 )
2022-09-10 13:42:52 +02:00
Shauren
66b03acc47
Core/Auras: Improve aura interactions with immunities on spell effect level
...
* Effects that target is immune to will be suppressed instead of completely removed
Closes #28096
(cherry picked from commit 3306a4d06c )
2022-09-05 22:23:03 +02:00
offl
b0164fb2b9
Core/SAI: Rename LeavingWorld to OnDespawn & use it in SAI ( #28059 )
...
(cherry picked from commit b9450bcdd0 )
2022-09-05 19:43:09 +02:00
Shauren
7957e2d380
Core/Loot: Allocate Loot separately from objects
2022-09-01 20:07:58 +02:00
Shauren
53b7c4d47c
Core/PacketIO: Implemented SMSG_SPELL_HEAL_ABSORB_LOG
2022-07-28 21:26:48 +02:00
Seyden
f25aceab28
Core/Spells: Refactor heal absorb code
2022-07-28 21:26:48 +02:00
Nyr
44236c7078
Core/Spells: Implement OnEffectAbsorbHeal and AfterEffectAbsorbHeal hooks
2022-07-28 21:26:48 +02:00
Shauren
073a036d84
Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects
2022-07-19 23:18:19 +02:00
Kaytotes
2e0afa7bca
Core/Units: Removed incorrect facing movement packet sent with every creature autoattack ( #28006 )
...
(cherry picked from commit eab6852b68 )
2022-06-10 19:25:46 +02:00
Shauren
c8e26e1962
Core/Vehicles: Capture vehicle collision height for exit spline init function (prevent accessing no longer valid vehicle pointer)
...
(cherry picked from commit 09204159f8 )
2022-06-10 16:19:14 +02:00
Shauren
36dde87249
Core/Movement: Delay creating MoveSplineInit objects used by GenericMovementGenerator to spline launch time
...
* This fixes inconsistent transport state detection for players exiting vehicles that are on transport (ICC gunship battle), fixes players being telerpoted to middle of nowhere on that fight
(cherry picked from commit b1a94bf94c )
2022-06-10 15:16:39 +02:00
Shauren
630b60eb0d
Core/GameObjects: Transport (type 11) improvements
...
* Fully synchronize serverside animation progress with client
* Implemented updating passenger positions on elevators
* Removed visibility hack for elevators that always forced CreateObject packet to be sent to client
2022-05-25 22:14:32 +02:00
Shauren
104c2ddb6a
Core/Spells: Implemented SPELL_ATTR6_TAPS_IMMEDIATELY
2022-05-08 19:47:43 +02:00
Shauren
8c85bdb24e
Core/Spells: Implemented SPELL_ATTR6_ABSORB_CANNOT_BE_IGNORE
2022-05-08 19:04:11 +02:00
Shauren
de592386dc
Core/Spells: Autorepeat casting fixes
...
* Fixed cast bars of ranged spells not disappearing when canceled while autoshooting
* Replaced hacky 500ms delay on non auto shot autorepeat spells with native spell cast time (wands have 500ms cast time)
* Update cooldowns before attempting to cast autorepeat spells (for cases when cooldown ends on the same server tick as cast attempt)
2022-05-08 15:54:15 +02:00
Shauren
538fa8e97f
Core/Spells: Cleanup movement checks in spells - use correct interrupt flags
2022-05-07 23:31:55 +02:00
Shauren
0620b829b2
Core/Spells: Implemented SPELL_ATTR6_DELAY_COMBAT_TIMER_DURING_CAST
2022-05-07 20:09:25 +02:00
Shauren
50eff8c238
Core/Spells: Implemented SPELL_ATTR6_NO_PUSHBACK
2022-05-07 00:18:01 +02:00
Shauren
076c63c766
Core/Spells: Implemented SPELL_ATTR5_NOT_AVAILABLE_WHILE_CHARMED
2022-05-02 19:29:51 +02:00
Shauren
8a219b7e39
Core/Spells: Corrected implementation of SPELL_ATTR5_ALLOW_ACTIONS_DURING_CHANNEL - it allows casting other spells while channeling, not allows movement while channeling
2022-05-02 16:15:28 +02:00
Shauren
d818add0e2
Core/Auras: Added support for SPELL_ATTR5_LIMIT_N limit to other number than just 1
2022-05-02 16:14:41 +02:00
Shauren
8d16a79dea
Core/Spells: Rename SpellAttr4 to use official attribute names
...
* Corrected implementation of SPELL_ATTR4_CLASS_TRIGGER_ONLY_ON_TARGET
* Implemented SPELL_ATTR4_NO_HELPFUL_THREAT
* Implemented SPELL_ATTR4_NO_PARTIAL_IMMUNITY
* Implemented SPELL_ATTR4_ALLOW_PROC_WHILE_SITTING
* Implemented SPELL_ATTR4_USE_FACING_FROM_SPELL
* Implemented SPELL_ATTR4_BOUNCY_CHAIN_MISSILES
* Implemented SPELL_ATTR4_AURA_NEVER_BOUNCES
* Implemented SPELL_ATTR4_AURA_BOUNCE_FAILS_SPELL
* Implemented SPELL_ATTR4_AURA_IS_BUFF
* Implemented SPELL_ATTR5_MELEE_CHAIN_TARGETING
* Implemented SpellEffectAttributes::ChainFromInitialTarget
2022-05-01 20:01:13 +02:00
Shauren
88d7b58a3d
Core/Spells: Rename SpellAttr3 to use official attribute names
...
* Implemented SPELL_ATTR3_NO_AVOIDANCE
* Implemented SPELL_ATTR3_ONLY_PROC_OUTDOORS
* Implemented SPELL_ATTR3_ONLY_PROC_ON_CASTER
* Implemented SPELL_ATTR3_PVP_ENABLING
* Implemented SPELL_ATTR3_SUPPRESS_CASTER_PROCS
* Implemented SPELL_ATTR3_SUPPRESS_TARGET_PROCS
2022-04-30 16:57:32 +02:00
Shauren
dda375b986
Core/Spells: Rename SpellAttr2 to use official attribute names
...
* Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED
* Implemented SPELL_ATTR2_RETAIN_ITEM_CAST
* Implemented SPELL_ATTR2_ALLOW_WHILE_INVISIBLE
* Implemented SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE
* Implemented SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE
* Implemented SPELL_ATTR2_NO_TARGET_PER_SECOND_COSTS
* Implemented SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE
* Implemented SPELL_ATTR1_REQUIRE_ALL_TARGETS
* Implemented SPELL_ATTR2_CHAIN_FROM_CASTER
* Implemented SPELL_ATTR2_NO_ACTIVE_PETS
* Implemented SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY
2022-04-28 18:31:26 +02:00
Shauren
c88b602a2c
Core/Spells: Rename SpellAttr1 to use official attribute names
...
* Implemented SPELL_ATTR1_NO_SKILL_INCREASE, SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT, SPELL_ATTR1_DISPEL_ALL_STACKS
2022-04-25 22:16:56 +02:00
Shauren
a31e681944
Core/Spells: Rename SpellAttr0 to use official attribute names
2022-04-24 18:40:10 +02:00
Shauren
52fb467031
Core/Units: Include SPELL_AURA_MOD_FACTION auras when restoring faction (either on aura removal or .gm off)
2022-04-16 12:15:37 +02:00
Shauren
5558769405
Core/Battlegrounds: Replaced overriding m_team with more fine grained approach
2022-04-16 12:15:37 +02:00
Shauren
b47185cabf
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
2022-03-27 18:14:47 +02:00
Shauren
4eba978670
Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags
2022-03-26 18:59:44 +01:00
offl
050f55b62f
Core/AI: OnSpellCast, OnSpellFailed, OnSpellStart hooks ( #27704 )
...
(cherry picked from commit 3dca705acc )
2022-03-26 15:15:46 +01:00
Giacomo Pozzoni
8c25abca72
Core/AI: Fix crashes caused by charmed Creatures having null AI for 1 map update tick ( #27434 )
...
Implement using ScheduledChangeAI instead of nullptr to signal a required AI change
(cherry picked from commit 19e99db821 )
2022-03-24 22:35:05 +01:00
Shauren
56dd1243fd
Core/Units: Rename AnimationTier to AnimTier for consistency between branches
2022-03-24 20:44:26 +01:00
Shauren
57d9d16442
Core/Auras: Properly clean up partial charm applications
...
Ref #24876
(cherry picked from commit 9174281b92 )
2022-03-23 00:06:51 +01:00
Lucas Nascimento
4ed918fcb3
Core/Combat: Fixed combat after remove charm ( #27248 )
...
https://github.com/TrinityCore/TrinityCore/pull/27038#issuecomment-958784361
(cherry picked from commit 0cc0b3f926 )
2022-03-21 22:02:34 +01:00
Keader
381c543c60
Core/Unit: Fixed wrong combat stop when set charm
...
(cherry picked from commit 9b354c6beb )
2022-03-20 23:50:55 +01:00
offl
7a0268d4f1
Core/Scripting: Get rid of ModifyVehiclePassengerExitPos ( #27126 )
...
(cherry picked from commit d7adc50daa )
2022-03-20 16:27:10 +01:00
Lucas Nascimento
7de20bcc1c
Entities/Unit: Fixed wrong combat stop when remove charm ( #27038 )
...
(cherry picked from commit fa3a62ae4e )
2022-03-20 16:03:44 +01:00
Lucas Nascimento
4c632bb690
Core/Unit: Fixed Deterrence stopping working for no reason ( #26996 )
...
(cherry picked from commit 63c6f7bc26 )
2022-03-20 00:05:21 +01:00
trickerer
6c9bde098b
Core/Combat Improve extra attacks handling ( #26859 )
...
* Core/Combat Improve extra attacks handling
* Remove unnecessary _lastDamagedTargetGuid check
* Add missing initialization of _lastExtraAttackSpell. Do not use hardcoded spell ids.
* Partially revert 9f90b835019b
(cherry picked from commit 084f8f3ded )
2022-03-19 22:37:41 +01:00
offl
ad0ebedd9b
Core/Misc: Rename UNIT_FLAG_SWIMMING to UNIT_FLAG_CAN_SWIM
...
Ref #26912
(cherry picked from commit e4a82ee97a )
2022-03-15 23:47:31 +01:00
offl
c4906ce60b
Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE ( #26913 )
...
(cherry picked from commit c4741a131a )
2022-03-15 23:03:26 +01:00
Gildor
9b7c55921f
Core/Unit: improve SPELL_AURA_MOD_IMMUNE_AURA_APPLY_SCHOOL immunities ( #26849 )
...
(cherry picked from commit 0fad28e4ab )
2022-03-13 23:36:57 +01:00
Giacomo Pozzoni
71c2f0af46
Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken ( #26787 )
...
* Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken
* Update scripts
(cherry picked from commit 0800ab20a8 )
2022-03-12 14:45:04 +01:00
offl
53d19b09f4
Core/Creature: rename CREATURE_FLAG_EXTRA_IGNORE_COMBAT into CREATURE_FLAG_EXTRA_CANNOT_ENTER_COMBAT ( #26762 )
...
Co-authored-by: offl <offl@users.noreply.github.com >
(cherry picked from commit 06b554c36e )
2022-03-11 21:20:04 +01:00
jackpoz
98e4bc2d3d
Core/Unit: Add more logs for #26325
...
Add more logs to try spotting the cause of #26325 . It might be that a minion is added to a owner that is not in world.
Report any issue with minions/pets that contain the log.
(cherry picked from commit 3f08c16749 )
2022-03-11 19:09:40 +01:00
jackpoz
779053ab90
Core/Unit: Include m_Controlled in crashlogs
...
(cherry picked from commit 40f4b141bd )
2022-03-11 15:23:48 +01:00
Giacomo Pozzoni
8111f50d03
Core/Movement: Add new flag MOVEMENTGENERATOR_FLAG_PERSIST_ON_DEATH ( #26549 )
...
* Core/Movement: Add new flag MOVEMENTGENERATOR_FLAG_PERSIST_ON_DEATH
Add new flag MOVEMENTGENERATOR_FLAG_PERSIST_ON_DEATH to keep movement generators even after death.
Fixes #23095
Could replace ff26027453
* Core/Movement: reorder new method MotionMaster::StopOnDeath
* Core/Movement: reorder new method MotionMaster::StopOnDeath
* Keep MoveJump movement generator after death
Co-authored-by: ccrs <ccrs@users.noreply.github.com >
(cherry picked from commit 9fe9dc087b )
2022-03-10 23:57:14 +01:00
jackpoz
89ea13ed46
Core/Player: Log more information when Player::StopCastingCharm() fails
...
(cherry picked from commit af815e991d )
2022-03-10 23:57:13 +01:00