Commit Graph

2412 Commits

Author SHA1 Message Date
hondacrx 718302fa18 Core/Pets: Pet management refactoring
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca92686b44cc8c53a8991bf02d6e8534797fc115)
2022-03-10 09:39:55 -05:00
hondacrx 9d5dd66215 Scripts/Spells: Moved Blessing of Faith script to spell_items
Port From (https://github.com/TrinityCore/TrinityCore/commit/af0edf5afc2bc41b87f2408868f8bc5c2a3065e3)
2022-03-09 17:55:12 -05:00
hondacrx cac831cc57 Scripts/Spells: Fixed Holy Shock visuals
Port From (https://github.com/TrinityCore/TrinityCore/commit/78283e3ef221041ffe4b7c5881193ffcbbdd987a)
2022-03-09 17:50:16 -05:00
hondacrx 21c9f02806 Scripts/Spells: Updated Holy Shock spell script.
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d9b1072b59c6644c0c84fdadfa4f6d8b7d87c01)
2022-03-09 17:44:43 -05:00
hondacrx bfd598b640 Core/Scripts: Expose IsCrit to hit hooks for spell scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/2cc652b305f31ebcc71680f314792d0d09c43bfe)
2022-03-09 17:39:49 -05:00
hondacrx 73f8b600a3 Core/Guilds: Fixed loading of guild member logout time
Port From (https://github.com/TrinityCore/TrinityCore/commit/ea8245493292ccf6b5041a43637b717e55293a5f)
2022-03-09 17:36:15 -05:00
hondacrx 3a8e6d9ef3 Scripts/Spells: Judgment (Holy) will now apply Rank 3 debuff if the paladin knows it
Port From (https://github.com/TrinityCore/TrinityCore/commit/72839e660e41dd39c9bd3030a66c7a010dc8016a)
2022-03-09 17:24:46 -05:00
hondacrx bdc6cdfcc1 Core/Objects: Don't consider SMSG_UPDATE_OBJECT packets that contain only destroyed objects as empty
Port From (https://github.com/TrinityCore/TrinityCore/commit/faf12a888394f220fa057526b56bd456f3790f4f)
2022-03-09 14:53:21 -05: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 f0d1a632ff Core/Objects: Implement SmoothPhasing part of CreateObject and replacing visible objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5c713eaf21ce086074cf5934d1ee105c2c86922)
2022-03-09 14:09:03 -05:00
hondacrx e65a1e95cf Core/Objects: Properly choose between "Destroyed" or "OutOfRange" during visibility update
Port From (https://github.com/TrinityCore/TrinityCore/commit/5a82a0381d704e4b4b9976daf04d541d1130e541)
2022-03-09 12:33:25 -05:00
hondacrx 510a1a0208 Core/Objects: Add overridable function UpdateObjectVisibilityOnDestroy
Port From (https://github.com/TrinityCore/TrinityCore/commit/472384e75781ce362af9721fc16928da9eea82dd)
2022-03-09 12:26:16 -05:00
hondacrx b1de89a781 Core/Spells: Exclude empty mods from affecting spells and ignore PointsIndexX mods for spells that don't have any effect at that index
Port From (https://github.com/TrinityCore/TrinityCore/commit/4fbf6dacffc83c2ae0a983d5981c3ad0c382f0ae)
2022-03-04 17:47:56 -05:00
hondacrx 3143cf5c9d Scripts/Spells: Fix shaman Lava Surge proc
Port From (https://github.com/TrinityCore/TrinityCore/commit/5b57722211dbb6a63c84119fc141304970c80312)
2022-03-04 17:43:21 -05:00
hondacrx 8c6e487e5a Scripts/Spells: Move shaman Lava Burst crit chance calculation to scripts and add Lava Burst Overload
Port From (https://github.com/TrinityCore/TrinityCore/commit/1696d738608fa8ed30321b5b4050d5516b5765f6)
2022-03-04 17:38:54 -05:00
hondacrx edafd0a270 Scripts/Spells: Fix shaman Earthquake
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e725e1d2521547ea651ef2b4e01c980c9b5ff3e)
2022-03-04 17:35:08 -05:00
hondacrx 6b0fb6766e Misc fixes 2022-03-04 17:23:44 -05:00
hondacrx 82389dbaeb Core/SAI: Spell casts that cannot be executed because the unit is currently casting another spell will be retried asap with priority over other events
Port From (https://github.com/TrinityCore/TrinityCore/commit/f2ee365da43f851181c8a486e10325a95b75c55d)
2022-03-04 17:20:01 -05:00
hondacrx 1670c09454 Scripts/Commands: Use enum type arg for HandleDebugAnimCommand
Port From (https://github.com/TrinityCore/TrinityCore/commit/ec44c8296d155aab8862987848a87a1a81049c12)
2022-03-03 13:52:48 -05:00
hondacrx 0116a7efa5 Core/ChatCommands: Add support for enum type arguments
Port From (https://github.com/TrinityCore/TrinityCore/commit/3923650aeb75611023aa1d46a4328838c8e0a33c)
2022-03-03 13:51:22 -05:00
hondacrx bfd3cd9731 Core/Unit: Make HandleEmoteCommand typesafe
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e3c612c808bca7601b32ce5dca28b204e652773)
2022-03-03 13:44:00 -05:00
hondacrx b5206453f6 Core/AI: Remove code that removed UNIT_DYNFLAG_LOOTABLE from possessed units
Port From (https://github.com/TrinityCore/TrinityCore/commit/7d548c34a961f4dd5e1a831e0a414970a4abff8c)
2022-03-03 13:37:48 -05:00
hondacrx fc1ad317d4 Core/SAI: Fix creatures casting with flag SMARTCAST_COMBAT_MOVE not switching to melee when the school of the spell they are trying to cast gets silenced (and other cases of spell failure)
Port From (https://github.com/TrinityCore/TrinityCore/commit/e11e1938b5237a198c82cfdf128a9b6c1e3686ad)
2022-03-03 13:30:54 -05:00
hondacrx 0b38096d10 Core/Units: add new functionality for units to block or enable combat interactions
Port From (https://github.com/TrinityCore/TrinityCore/commit/2819951dce545438724719836e3a13d3039b8690)
2022-03-03 13:26:46 -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 3f8c0f897a Core/SAI: Fix creatures casting spells while moving with flag SMARTCAST_COMBAT_MOVE
Port From (https://github.com/TrinityCore/TrinityCore/commit/b3545479bfbd2b743288bd32094ce8c4856a1e3d)
2022-03-02 18:02:58 -05:00
hondacrx 47bea619f7 Scripts/Comamnds: Improve ".debug objectcount" command
Port From (https://github.com/TrinityCore/TrinityCore/commit/ffd85f9139119ec56a8a6f3add4ef4c0f047b838)
2022-03-02 18:00:52 -05:00
hondacrx e839f2234c Misc cleanups 2022-03-02 17:34:33 -05:00
hondacrx 37b805aebe Scripts/World: updated Training Dummy script to modern model and removed pointless GameTime shenanigans
Port From (https://github.com/TrinityCore/TrinityCore/commit/785b6f294f05362be3fe441148a109a1011e3bb4)
2022-03-02 17:34:25 -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 7631b1c387 Core/Common: Add a TimeSpan interface to TimeTrackerSmall
Port From (https://github.com/TrinityCore/TrinityCore/commit/35e0002df3073cf4c3e1dae9fbff73d75ddb5e98)
2022-03-02 13:48:14 -05:00
hondacrx 0576cc0a07 Core/DBLayer: Add nicer api for SQLQueryHolders
Port From (https://github.com/TrinityCore/TrinityCore/commit/d5dcf02196e30c932c7a25c3975a91a0fe1ccd50)
2022-03-02 13:27:52 -05:00
hondacrx 30a5bcdb4d Misc fixes 2022-03-02 10:04:24 -05:00
hondacrx 150b09205b Core/Mail: Load mails at login instead of on demand when queried by packets (logging in always sends one of the packets that cause mail loading anyway)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a9b4f9aca0d0b90e59e0ed26e9bb4cce7d0ceeab)
2022-03-02 09:52:35 -05:00
hondacrx 6e6ee2d694 Core/Misc: Replace database query in WorldSession::HandleAddFriendOpcode with async version
Port From (https://github.com/TrinityCore/TrinityCore/commit/54a6e603ffc8b4913669cf0f189a966d25b620d8)
2022-03-02 09:35:51 -05:00
hondacrx c26134cc27 Core/SAI: Ignore SAI while evading
Port From (https://github.com/TrinityCore/TrinityCore/commit/1977d26050d1b0c6f2d21fe3316147ae0df9fc64)
2022-03-02 09:19:34 -05:00
hondacrx 511bce7b00 Core/Loot: Prevent loot already looted item
Port From (https://github.com/TrinityCore/TrinityCore/commit/8847f37b5bb8e42068ea10e007216e8abf6189fc)
2022-03-02 09:18:34 -05:00
hondacrx 9f1051bd4a Core/World: added startup log outputs for query cache initialization for detailed information.
Port From (https://github.com/TrinityCore/TrinityCore/commit/9c38dc2367e1bb59a5a4ad7a52abd522a035ae5d)
2022-03-01 23:49:30 -05:00
hondacrx 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx 6f1b2f5cd5 Core/Combat: Disable triggers entering combat
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dfcb7086e17902f0904ee6c09bc55a229b65cc1)
2022-03-01 17:38:12 -05:00
hondacrx 62cb6ffd33 EventMap: Remove GetNextEventTime and GetTimer methods
Port From (https://github.com/TrinityCore/TrinityCore/commit/3499f518b52552a411e2b1cbdc3d922e64347f02)
2022-03-01 17:34:41 -05:00
hondacrx 9587d3ea7d Update GameTime Methods 2022-03-01 17:33:20 -05:00
hondacrx 556334221b TaskScheduler: use randtime instead of custom implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/c8a4cc806824d93f63cc7e0299428d7b524edddd)
2022-03-01 17:32:51 -05:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx cc08afe269 Core/Util: Remove EventMap's non TimeSpan based interface
Port From (https://github.com/TrinityCore/TrinityCore/commit/cd86a015c46f8da581f86857e313d9c596dba7fa)
2022-02-28 14:31:01 -05:00
hondacrx b4a59ea746 Misc fixes 2022-02-28 14:16:57 -05:00
hondacrx 03c646d2c8 Core/CombatAI: Use TimeSpan overloads of EventMap
Port From (https://github.com/TrinityCore/TrinityCore/commit/d62b7c1e352e76f35490c22b2ab291ed299f4fa4)
2022-02-28 14:13:02 -05:00
hondacrx facb5c89a1 Core/Spells: Check a few aura effects for determining if should be negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/81154a7455fccdcc55e740f98d73face3adc8da4)
2022-02-28 14:06:44 -05:00
hondacrx ce4851a33a Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9cf3828bad44cf193d6c9717b392de7346157a5)
2022-02-28 14:04:49 -05:00
hondacrx 561b5a528d Misc fixes 2022-02-28 13:28:57 -05:00