Commit Graph

506 Commits

Author SHA1 Message Date
hondacrx 52ce6b2700 Add "On" to some gossip methods in AI
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc04acb72652882290cef49b2055d3cf1ab12f36)
2022-05-04 09:26:05 -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 c486b2a846 Core/Pets: Updated pet summoning for latest client version (5 Call Pet spells and stable size 200)
Port From (https://github.com/TrinityCore/TrinityCore/commit/950db60435e7e513633ff5b22ad7f0ed8b1147e4)
2022-03-10 12:02:05 -05:00
hondacrx a77e6865b2 Core/Pets: Adjust pet slot saving logic after constant changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/fd9eb28322fd75e94fcf5093aaf54bee145edfe8)
2022-03-10 10:40:32 -05:00
hondacrx cd29996170 Core/Pets: Save last summoned pet number in characters table
Port From (https://github.com/TrinityCore/TrinityCore/commit/8349444749227b3fd95196c7d74d9a3dde22dd6b)
2022-03-10 10:35:54 -05:00
hondacrx 5322ae75dd Core/Pets: Removed storing stable slot count in db
Port From (https://github.com/TrinityCore/TrinityCore/commit/e458144442c1063daf3f47c58349293f90e9da80)
2022-03-10 10:29:07 -05:00
hondacrx 5b805e2f60 Core/Pet: Attempt to fix assertions triggered when summoning pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/40d882b7544cff556f5e2dc6ac570c3fee5b9659)
2022-03-10 10:23:06 -05:00
hondacrx ae652fd03b Core/Pets: Fixed crash happening when current pet is forcibly removed while being temporarily unsummoned (like on a mount)
Port From (https://github.com/TrinityCore/TrinityCore/commit/688d1d9533bc42dfd5684f30b8e1c2deff2795c4)
2022-03-10 09:50:07 -05:00
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 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 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 6b0fb6766e Misc fixes 2022-03-04 17:23:44 -05:00
hondacrx e839f2234c Misc cleanups 2022-03-02 17:34:33 -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 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 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 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx 9587d3ea7d Update GameTime Methods 2022-03-01 17:33:20 -05:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx c82e78d4cb Core/Player: Introduce separate level caps for each expansion
Port From (https://github.com/TrinityCore/TrinityCore/commit/b7353fb92795801c2c2a52035026e9e0059fa83d)
2022-02-28 13:25:22 -05:00
hondacrx dea572cbed Core/Player: do not consider FLAG_EXTRA_NO_XP_AT_KILL or pet status when deciding if a creature counts as a "gives experience or honor" target.
Port From (https://github.com/TrinityCore/TrinityCore/commit/abc490f677607cbe488557ea859da970686c4c3d)
2022-02-27 13:59:17 -05:00
hondacrx 6a2110d548 Core/Spells: Using hearthstone will teleport caster to map again
Port From (https://github.com/TrinityCore/TrinityCore/commit/d342be8c79a126ef01db9423484449d3ba7d97c7)
2022-02-27 13:43:49 -05:00
hondacrx 2c03f9d1be Core/Items: Reagent bank
Port From (https://github.com/TrinityCore/TrinityCore/commit/a3b2e4d9873874e29291f0c9851ae154029b1b3b)
2022-02-26 23:32:00 -05:00
hondacrx b66c37f34e Core/Conditions: Update phases when quest objective is updated
Port From (https://github.com/TrinityCore/TrinityCore/commit/16a80656c51affe44de19940bc519dccbaa3ee3f)
2022-02-25 19:43:56 -05:00
hondacrx 5720b89b7e Core/Player: Added PlayerCreateMode field to playercreateinfo_cast_spell to only cast spells based on related mode
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a61024cfad05279791badf33fcdb5a608ad6e94)
2022-02-25 19:43:04 -05:00
hondacrx a4195763d0 Core/Items: Change missed enchantment flag checks to use enum instead of raw number
Port From (https://github.com/TrinityCore/TrinityCore/commit/1989c68fb67e967297d3bf804f1b8650b6e8a5a2)
2022-02-25 17:34:28 -05:00
hondacrx 4679bc9980 Core/Items: Implemented many new enchantment flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/241193cd0287c3d7a2cbaf7f2c5775d414b4d0b3)
2022-02-24 16:16:46 -05:00
hondacrx 569232c3fe Battlefields: Move BF scripts out of game
Port From (https://github.com/TrinityCore/TrinityCore/commit/49523a74a4c28e5ae17f9a8352aa8224b765b7d8)
2022-02-24 10:51:24 -05:00
hondacrx 628a24923c Core/Misc: Move WorldState enum to SharedDefines
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca62d93481f60807679c8632e09fa6f48f29de68)
2022-02-23 17:01:51 -05:00
hondacrx 3c6e9e7795 Core/Misc: Create new enum for AreaIds
Port From (https://github.com/TrinityCore/TrinityCore/commit/60b48ad0467c4578d9944e53d9c55ed4b970a4ec)
2022-02-23 16:45:12 -05:00
hondacrx 87bff09387 Core/Players: do not update position data on character creation
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab46d25d0cce31c23dac86560b8e97d395d374a7)
2022-02-23 16:29:44 -05:00
hondacrx 55e9ab5d39 Entities/Player: Restore old checks for UpdatePvPFlag
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4b3e694e822315a635b9ea598d1fab9e2069c3d)
2022-02-22 19:53:53 -05:00
hondacrx 8ba914cb61 Core/Quests: Fixed gameobject sparkle state for lootable quest items by moving ItemAddedQuestCheck/ItemRemovedQuestCheck after item is added/removed
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1a1e552d2acb394ad0d0a2544aeef6ad93ca4fb)
2022-02-22 19:39:43 -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 67b7d1203c Core/Player: add helper methods for PLAYER_FLAGS_DEVELOPER
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d38eeec7e222edfe74740efd8e7af16103b0221)
2022-02-18 17:00:01 -05:00
hondacrx 00d04e06a1 Core/DataStores: Use ResSicknessSpellID from ChrRaces instead of hardcoding it
Port From (https://github.com/TrinityCore/TrinityCore/commit/a20526077d224f9cc63104535fb80b13fc65a4fa)
2022-02-18 13:38:52 -05:00
hondacrx 380aeac394 Core/Players: Improve trade exchange calculations
Port From (https://github.com/TrinityCore/TrinityCore/commit/68e1dc8adb84a3df5241358be591400db39e4d62)
2022-02-18 13:09:36 -05:00
hondacrx 925cf8b8a9 Core/PacketIO: updated SMSG_DURABILITY_DAMAGE_DEATH
Port From (https://github.com/TrinityCore/TrinityCore/commit/e73735fa61a9ba92653826acbd32d9bd9069fc2b)
2022-02-18 12:59:53 -05:00
hondacrx 5bd2878a4e Core/Objects: cache current liquid status of objects when updating position data and use it to replace unnecessary vmap lookups
Port From (https://github.com/TrinityCore/TrinityCore/commit/d18d2b84f2c3e6e1005316625da80c99dd414bcc)
2022-02-17 16:55:41 -05:00
hondacrx a1411aef94 Core/Items: Fixed heirloom items counting for item set bonuses past their max scaling level and implemented new heirloom upgrade levels
Port From (https://github.com/TrinityCore/TrinityCore/commit/3c12a189e430b1b6e0a452f272860f58b2dca7bd)
2022-01-28 17:33:49 -05:00
hondacrx 13fed278be Core/Spells: Implemented target 138 TARGET_DEST_DEST_GROUND
Port From (https://github.com/TrinityCore/TrinityCore/commit/8029035b80b3f07527affb1cc44350bb78790d28)
2022-01-28 17:19:16 -05:00
hondacrx 300ab632e0 Core/Players: Fixed pvp talents being reset on login if player is below level 110 (pre level squish code)
Port From (https://github.com/TrinityCore/TrinityCore/commit/9c90a18ee5ecccf597388fe52633813c6d2c5726)
2022-01-28 17:15:36 -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 883a3bb990 First try at updating command system to be like TC. Still needs alot of testing/work 2022-01-20 09:57:15 -05:00
hondacrx 4c922933de Core/Player: Initial War Mode support
Port From (https://github.com/TrinityCore/TrinityCore/commit/b821a729733db0d3742b4aefe05e5a8305724f66)
2022-01-07 21:49:50 -05:00
hondacrx 9e7eca2258 Core/Spells: Corrected SPELL_ATTR8_MASTERY_AFFECTS_POINTS attribute implementation, it is no longer used to restrict if the spell should be cast or not (SpecializationSpells.db2 takes care of that)
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a4c7c1e27ac5236874a8fd5315abee196ab4c9a)
2022-01-07 12:56:36 -05:00
hondacrx 479646c0e1 Core/Combat: Improve sanctuary combat stop
Port From (https://github.com/TrinityCore/TrinityCore/commit/7779a33142279557ad08111fec6586700ad19606)
2022-01-07 11:35:30 -05:00