Commit Graph

177 Commits

Author SHA1 Message Date
hondacrx 3edf7d0b91 Core/Units: Include SPELL_AURA_MOD_FACTION auras when restoring faction (either on aura removal or .gm off)
Port From (https://github.com/TrinityCore/TrinityCore/commit/52fb46703172a0803a122d54aaed6506eb25d3e3)
2022-05-31 13:58:34 -04:00
hondacrx 442da7511f Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
Port From (https://github.com/TrinityCore/TrinityCore/commit/b47185cabfbdeeaf492bf2303635db07ce703785)
2022-05-30 16:12:11 -04:00
hondacrx f53c4cb009 Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/4eba9786708dd3b22d9053c1a14eac7e6d03242e)
2022-05-30 15:57:56 -04:00
hondacrx f07b6fecd5 Core/AI: Fix crashes caused by charmed Creatures having null AI for 1 map update tick
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c25abca72772e2962bac7f460a567a943388a05)
2022-05-30 14:56:15 -04:00
hondacrx 496b1e0c46 Core/Pets: Do not force pets to follow their charmer when possessed by player
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f02596162715b273b1a830425ae783bd00561c9)
2022-05-30 14:08:55 -04:00
hondacrx 93bd45bbf8 Core/Scripting: Get rid of ModifyVehiclePassengerExitPos
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a0268d4f12914280ffa0de36100a11781f14f45)
2022-05-30 13:09:19 -04:00
hondacrx faa937a9da Core/Combat Improve extra attacks handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/6c9bde098b40f38905ea7407d0cd77437b0b953c)
2022-05-29 23:42:17 -04:00
hondacrx 0534356aff Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken
Port From (https://github.com/TrinityCore/TrinityCore/commit/71c2f0af46b3ccec8c3422534e4403f3650b757d)
2022-05-29 20:34:44 -04:00
hondacrx ae2b91b3be Core/Unit: Include m_Controlled in crashlogs
Port From (https://github.com/TrinityCore/TrinityCore/commit/779053ab908029b31ed5ef3e8ae6f2e242b6cc30)
2022-05-28 17:53:00 -04:00
hondacrx 2703633af8 Core/Movement: Add new flag MOVEMENTGENERATOR_FLAG_PERSIST_ON_DEATH
Port From (https://github.com/TrinityCore/TrinityCore/commit/8111f50d035c1915165cb8ecd4938ba97820ed10)
2022-05-26 20:23:19 -04:00
hondacrx ba87f08c37 Core/Player: Log more information when Player::StopCastingCharm() fails
Port From (https://github.com/TrinityCore/TrinityCore/commit/89ea13ed46744414f74686cf2126dc637188180d)
2022-05-26 20:20:18 -04:00
hondacrx 0368d5c9c3 Core/Quest: Threat From Above
Port From (https://github.com/TrinityCore/TrinityCore/commit/8202dc28c2dae613c14a52ef4e84932d8c1c9e39)
2022-05-26 16:48:38 -04:00
hondacrx f2ebe247ba Core/Unit: Fix crash when exiting a vehicle
Port From (https://github.com/TrinityCore/TrinityCore/commit/c93d6856c727b5919ae30e04fb17bb425370ebea)
2022-05-25 13:40:49 -04:00
hondacrx b219548745 Core/Unit: Set stand state on damage only to players
Port From (https://github.com/TrinityCore/TrinityCore/commit/730a8da9e99fdb50459e9eb57d79ac995430125e)
2022-05-25 13:39:33 -04:00
hondacrx 6a29799a6e Some cleanups 2022-05-10 14:35:56 -04:00
hondacrx 0bbabbd667 Core/PacketIO: Updated packet structures to 9.2.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f30afe3528441571f89cb2e1775c756774fa0cd)
2022-05-09 23:14:38 -04:00
hondacrx 94eea137ae Core/Auras: Fix SPELL_AURA_MOD_DAMAGE_DONE_FOR_MECHANIC for effects mechanics
Port From (https://github.com/TrinityCore/TrinityCore/commit/64e8e11377c9b0bf92e81afb38e0668ba3fdf3f4)
2022-05-09 13:11:27 -04:00
hondacrx 9c5330fd99 Core/Spells: Implement spell attribute SPELL_ATTR3_NO_DURABILITY_LOSS
Port From (https://github.com/TrinityCore/TrinityCore/commit/f205a89c86f64bab531a611aa89766aad1c27e83)
2022-05-09 13:03:59 -04:00
hondacrx f67434306f Core/Auras: Proc flag updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/02979daf761a5122efa7b8fa3e70509ecd69789e)
2022-05-07 22:41:24 -04:00
hondacrx cf15d538cc Core/Spells: Load entire proc flags array from db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/3844c79adb749432b0f41b9b1aecde7287b9f765)
2022-05-07 14:56:20 -04:00
hondacrx 42046011e7 Core/Movement: Corrected Animation Tier handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee620856ad2918ae7ce91a37a980d9f2129a074a)
2022-05-03 13:29:52 -04:00
hondacrx e271ca1981 Core/Unit: Fix units on vehicles not dismounting on death
Port From (https://github.com/TrinityCore/TrinityCore/commit/b45277f1cf52483f0471f4aa79ca6b288180ee7c)
2022-04-28 10:25:11 -04:00
hondacrx ffd0f4280b Core/Objects: Cleanup SmoothPhasing code - move to separate files and better integrate it with visibility system
Port From (https://github.com/TrinityCore/TrinityCore/commit/70442041300bb0a1146717497fd5f771d874befa)
2022-03-09 14:51:55 -05:00
hondacrx 2a2860ef10 Core/Unit: Creatures' minions now engage in combat if their controller is attacked
Port From (https://github.com/TrinityCore/TrinityCore/commit/adfb05055141829620487234e665754d8d957e20)
2022-03-03 13:22:09 -05:00
hondacrx 712dd7b9de Core/Common: Merge TimeTrackerSmall with TimeTracker
Port From (https://github.com/TrinityCore/TrinityCore/commit/8809d54ca2daa230b1439f012c8b10ee88d6beae)
2022-03-02 14:06:04 -05:00
hondacrx 19abbbf0b5 Core/Misc: Fixed resistance calculate for Mutated Transformation and Twilight Bloodbolt
Port From (https://github.com/TrinityCore/TrinityCore/commit/4110a06e8193329c31cb9d59d346294835fd51a5)
2022-02-22 20:11:11 -05:00
hondacrx 0600993129 Further improve ChrRace DBC handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/406c7219ad6454a3f3855c9e0732245dcc34b2dc)
2022-02-22 14:08:30 -05:00
hondacrx 8ce8408f91 Core/Misc: Define and use ChrRacesFlag and CreatureModelDataFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/d30e4a20e52a5025c59bfc746570ff7ef06af6f4)
2022-02-22 13:49:20 -05:00
hondacrx a031530b2a Core/Auras: Prevent getting negative scale with auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/679e9910e09a55dd1743f236dbd99b7fa48fe9c1)
2022-02-18 16:40:32 -05:00
hondacrx 9db44e3a21 Core/Auras: Implement SPELL_AURA_MOD_MELEE_DAMAGE_FROM_CASTER (343)
Port From (https://github.com/TrinityCore/TrinityCore/commit/9cc3cd128cf931141f6b806a33e1a715274b84e7)
2022-02-17 10:03:54 -05:00
hondacrx 7531735669 Core/Phasing: Implemented db spawns in personal phases
Port From (https://github.com/TrinityCore/TrinityCore/commit/8fabe5a3aacf7797f03d074ab8434f445be64955)
2022-01-27 14:01:49 -05:00
hondacrx 5bb553b0e3 Core/Auras: Implemented SPELL_AURA_TRIGGER_SPELL_ON_HEALTH_PCT
Port From (https://github.com/TrinityCore/TrinityCore/commit/b221f4b37251db2206dd14d46c00f1b6f1f16480)
2022-01-07 13:46:21 -05:00
hondacrx d47f9f0171 Core/Movement: Implement MoveSplineFlag::Enter_Cycle
Port From (https://github.com/TrinityCore/TrinityCore/commit/61f3d51143b51b04169bd1c2ff0393d2b9be7c33)
2022-01-07 10:44:03 -05:00
hondacrx fa5dae93cc Core/Vehicles: implement vehicle seat addon table to specify seat ori…
Port From (https://github.com/TrinityCore/TrinityCore/commit/a91be4995b45695d8585068d0c5e955b93027d89)
2022-01-06 22:23:34 -05:00
hondacrx 8c71ecf0b2 Core/Movement: properly fix aura interrupts during movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/43a7091e8a86179e195e2bc021133ce751d48d48)
2022-01-06 10:24:20 -05:00
hondacrx efb7142aef Core/Movement: delay movement update in MotionMaster until its owner signals AddToWorld
Port From (https://github.com/TrinityCore/TrinityCore/commit/dfb2221552048512b4fda0c7e0c97ecf808106f9)
2022-01-05 17:26:33 -05:00
hondacrx 0d68984717 Misc fixes, and added GetDebugInfo() which was missed. 2022-01-05 13:11:32 -05:00
hondacrx b3eb0ef4c5 Core/Misc: Fix parry-haste mechanic.
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc0940fe25bc4627ad0be47243992a4733ab43a8)
2022-01-04 20:04:11 -05:00
hondacrx 9e61335fe8 Core/Vehicle: Change vehicle accessories' phase according to the player on the vehicle
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d5086da1747816e1a4e8518e16ab1923de22e1a)
2022-01-02 19:54:18 -05:00
hondacrx c9621dcbe1 Entities/Unit: fix an unrelated check from doing nothing because somebody didn't understand how type-casting works
Port From (https://github.com/TrinityCore/TrinityCore/commit/4330b7c921203486174fa818908b74d06f61c9f8)
2022-01-02 12:36:51 -05:00
hondacrx 24e4068761 Entities/Unit: Add a missing underflow check to prevent really really low damage from underflowing when paired with flat damage modifiers.
Port From (https://github.com/TrinityCore/TrinityCore/commit/970a89a8c3e615244b5968e04d888100fba2cff0)
2022-01-02 12:35:46 -05:00
hondacrx c900592e1c Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/446997cdf2bf24163141d7dcaa80bb6ef891f933)
2022-01-01 17:37:27 -05:00
hondacrx 74133edce1 Misc fixes/missed stuff 2021-12-27 18:11:38 -05:00
hondacrx dfcdade81a Core/Vehicle: prevent creature vehicles from following their old movement generator when a player enters them in some cases.
Port From (https://github.com/TrinityCore/TrinityCore/commit/24c07367f109aa19a51defdf77c50d389ed90845)
2021-12-27 15:40:37 -05:00
hondacrx 08678c970e Core/Unit: Implement more helper methods
Port From (https://github.com/TrinityCore/TrinityCore/commit/104ec7a81a5bb782f81fd05b872bf664e4de1c89)
2021-12-26 20:04:34 -05:00
hondacrx bddde92a0f Entities/Player: Clean up client control handling behavior around possession. Mind Control should no longer cause various weirdness.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bba4696de715b79b31e154d1a8e1597507812ece)
2021-12-26 19:54:55 -05:00
hondacrx 6d73a59f63 Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender
Port From (https://github.com/TrinityCore/TrinityCore/commit/27886c7f5d6cfc221ea67aab210f96859d725e05)
2021-12-26 19:51:26 -05:00
hondacrx a75bc5188f Core/Spell: allow damage from binary spells to go through elemental resistance's damage reduction.
Port From (https://github.com/TrinityCore/TrinityCore/commit/09e849bb69561fe91a9b8c1aa72555eb6c65d0b2)
2021-12-24 21:05:41 -05:00
hondacrx 31e0a1f476 Core/Spells: Moved SpellVisual functions from Unit to WorldObject
Port From (https://github.com/TrinityCore/TrinityCore/commit/54f607641ac9008a588b8ff635a9ed7ee7a5f976)
2021-12-24 20:50:24 -05:00
hondacrx 3cf7f6b831 Combat/Threat: Split ThreatManager::NotifyDisengaged off from ThreatManager::ClearAllThreat. NotifyDisengaged signifies intent to clear the engagement flag, and should only be called from AI.
Port From (https://github.com/TrinityCore/TrinityCore/commit/38d7c1530a65a7ff1bd10775c4a35269b2416538)
2021-12-24 20:15:10 -05:00