Commit Graph

784 Commits

Author SHA1 Message Date
hondacrx 0e1eeba55a Misc fixes 2021-11-02 13:24:16 -04:00
hondacrx 1e4fa35ac2 Core/Unit: Random code style/naming adjustments
Port From (https://github.com/TrinityCore/TrinityCore/commit/05119fd90949340cad4a700d12069154a2faf5f6)
2021-11-01 12:09:07 -04:00
hondacrx 3f684eadf9 Core/Threat: Threat system adjustments
Port From (https://github.com/TrinityCore/TrinityCore/commit/392a644dc8562ea54b9c185a2776fceb1006e2cd)
2021-11-01 12:04:49 -04:00
hondacrx 9b99019d44 Core/Unit: Inline some unnecessary helpers.
Port From (https://github.com/TrinityCore/TrinityCore/commit/395f58d651c7c370522ead6ba9a3c684d91e3a66)
2021-11-01 11:26:40 -04:00
hondacrx ffb04bffc0 Core/Unit: Store charmer and charmed pointers on Unit directly, no more map lookups for Unit::GetCharmer and Unit::GetCharmed
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5989dcee9150565e7f4b8e3f7a62a414a484a3f)
2021-11-01 11:19:47 -04:00
hondacrx fd24603aea Core/Creatures: Restored old initialization order: AI after movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab95c5e9d7b848716e1c9432754f29c65cdb9382)
2021-10-31 14:06:18 -04:00
hondacrx 1e1364b379 Core/Unit: Acquire GetControllingPlayer. Use to fix duel bugs.
Port From (https://github.com/TrinityCore/TrinityCore/commit/070bbb6707028d8c445c8e408d391f80df011d53)
2021-10-31 14:04:49 -04:00
hondacrx 26940fa650 Core/AI: Clean up charm AI handling.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4e8c1c59c8b37216814526b4d2551f23934f465)
2021-10-31 13:55:26 -04:00
hondacrx 7050fda482 Core/Creature: Fall back to combat list if calling for help without threat list
Port From (https://github.com/TrinityCore/TrinityCore/commit/6a91fe3fbe28e3bf36ab6107b9c6cbb842f65262)
2021-10-30 20:22:04 -04:00
hondacrx deea079d07 Core/Creature: Some adjustments to Creature.CallForHelp. Now works even if the Creature hasn't selected a victim yet.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b8329f6af801dae065a15322f07b95e83ed34fc)
2021-10-30 20:18:02 -04:00
hondacrx e86e640c5a Core/Loot/Gameobject: Tempspawned Gameobjects after looting
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c9e5cd3f3200b378ff09a6822ceb2b5bd223e3c)
2021-10-30 20:10:17 -04:00
hondacrx 612ebb506e Fixes attempted to divide by zero when transport has no path. 2021-10-18 15:46:53 -04:00
hondacrx 6da7f7cb38 Core/BattlePets: Fixes when adding pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/7c15ec00c7c1a4d5bd3ce37de6776b8a407b65b7)
2021-10-17 09:16:27 -04:00
hondacrx 0b64c4a02e Core/Auras: Implemented SPELL_AURA_ADD_PCT_MODIFIER_BY_SPELL_LABEL and SPELL_AURA_ADD_FLAT_MODIFIER_BY_SPELL_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/ba4fa060d765a35507f1a73287504c3f2e440fdb)
2021-10-17 09:11:00 -04:00
hondacrx 68c4407840 Core/Auras: Implemented SPELL_AURA_CAST_WHILE_WALKING_BY_SPELL_LABEL and SPELL_AURA_CAST_WHILE_WALKING_ALL
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e81db7b9380269d4561eb5deb21fbef26913779)
2021-10-16 18:33:43 -04:00
hondacrx 5ad5b8ef18 Core/Spells: Implemented SPELL_AURA_SUPPRESS_ITEM_PASSIVE_EFFECT_BY_SPELL_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e4a90d2749c7675eebbb3eb41cd50ecaab78b7e)
2021-10-16 18:26:30 -04:00
hondacrx d2c62555c1 Core/Items: Refactored learning spells from items to check for ITEM_SPELLTRIGGER_LEARN_SPELL_ID instead of hardcoded spell ids
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b69338990a651c54dd9d2b5ad3281a4d702efb7)
2021-10-16 18:18:28 -04:00
hondacrx e9c6424cd8 Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/11cc5c0d3bd46b5e68bb549625ef9ca7294deb21)
2021-10-16 18:12:25 -04:00
hondacrx 2d976d7421 Core/Characters: Made homebind location a WorldLocation (this implicitly adds orientation)
Port From (https://github.com/TrinityCore/TrinityCore/commit/68c2fc8ff58d9ad272e8e17391a6bb6c3743923b)
2021-10-16 17:59:01 -04:00
hondacrx 5994c4e5fb Fixed wrong area flags, Fixes resting in city. 2021-10-15 18:05:40 -04:00
hondacrx 5e1494e4b4 Core/GameObject: Fix an edge case where GOs might never respawn after being manually despawned.
Port From (https://github.com/TrinityCore/TrinityCore/commit/eb7a8584e227b7cbd68c051c044f08c47019586b)
2021-10-14 19:47:15 -04:00
hondacrx f98d993659 Core/GameObjects: Fixed DestroyGate battleground hook for vehicles
Port From (https://github.com/TrinityCore/TrinityCore/commit/22298fb1725aa4d2f2ca49432a0eae490c923ae6)
2021-10-14 19:36:00 -04:00
hondacrx 084ec5d631 Core/Player: Added SendPlayerBound method
Port From (https://github.com/TrinityCore/TrinityCore/commit/94aca04c3b1e9123541a75485dbae0d4265b18ef)
2021-10-13 14:34:26 -04:00
hondacrx 512e05f12e Core/Units: Added possibility to send emotes to single players
Port From (https://github.com/TrinityCore/TrinityCore/commit/4a6308f5f0737cd42d381096573763459c8393be)
2021-10-13 10:08:56 -04:00
hondacrx 586dddec4d Core/PacketIO: Implemented CMSG_CONVERSATION_LINE_STARTED
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d9ce8e8baa100ecc7650d0ae56037c131bab2e0)
2021-10-11 20:01:48 -04:00
hondacrx 58550514e6 Core/Spells: Implemented SPELL_EFFECT_CANCEL_CONVERSATION
Port From (https://github.com/TrinityCore/TrinityCore/commit/1673b6e2ff69b9a59522892280e91cc5085a5ec0)
2021-10-11 19:49:26 -04:00
hondacrx d2bcc321f5 Core/Scenes: Implemented spell created SceneObjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/d7302ffd1499433fef2cc4e824ae9443c3d2c79f)
2021-10-11 17:21:33 -04:00
hondacrx a1459617e6 Core/Conversations: Replace _participants with generic personal object implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/3fe9b0a2961b60509d11dd38a90e7b7657b68084)
2021-10-10 09:55:16 -04:00
hondacrx 5de61110b3 Core/Unit: Name and implement UNIT_FLAG_NON_ATTACKABLE_2
Port From (https://github.com/TrinityCore/TrinityCore/commit/de326d789ed955de819e0cbf37676716a038ad10)
2021-10-08 10:36:08 -04:00
hondacrx 72018b983c Core/AI: Add a new LeavingWorld AI hook
Port From (https://github.com/TrinityCore/TrinityCore/commit/2642fb1a489e4b79a17bbb63127c8b3ce2823e1e)
2021-10-08 10:33:53 -04:00
hondacrx 06e7a9ddd5 Core/Conditions: Implemented conditions for areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/3548467c93a3859f7df72c456d600300539dc6b2)
2021-10-08 10:20:45 -04:00
hondacrx aee1c82086 Scripts/Spells: Core/Spells: Fixed Consecration damage, implemented Hammer of the Righteous, partly implemented Consecrated Ground talent
Port From (https://github.com/TrinityCore/TrinityCore/commit/45b4910c96d4f706a02944f9777190ef9a499fd0)
2021-10-05 18:29:44 -04:00
hondacrx f21eed617c Core/Scenes: Defined more flags and implemented FadeToBlackscreenOnCancel
Port From (https://github.com/TrinityCore/TrinityCore/commit/00dd4629bd6c8de4466925bb4a3d2a0e82e4f004)
2021-10-05 18:19:26 -04:00
hondacrx 79ef3161dd Core/Characters: Added allied race creation data, implemented intro scenes & added config option to disable achievement requirements for allied races
Port From (https://github.com/TrinityCore/TrinityCore/commit/71eb30f89dc5abeb33c7aa4a526073f769b5c7d1)
2021-10-05 14:04:44 -04:00
hondacrx cf248ca95a Core/Scenes: Delay scenes sent when not in world until adding to map
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d93f0a5f79c5465341a850279466ce36232e72e)
2021-10-05 13:48:39 -04:00
hondacrx 025595cba1 Core/Vendors: Support for vendors with empty inventory list
Port From (https://github.com/TrinityCore/TrinityCore/commit/bedc0503578b220b19d23559f670f65d26c8bc87)
2021-10-03 22:27:11 -04:00
hondacrx a5066c8b68 Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cfd14d2a0a52ceb0d8203c31c7c6c487775bcee)
2021-10-03 20:27:14 -04:00
hondacrx 727e0100a1 Core/Spells: Send OriginalCastId in SMSG_SPELL_START and SMSG_SPELL_GO for triggered spells in 'game' project
Port From (https://github.com/TrinityCore/TrinityCore/commit/555b2d40ecc22eb0ea4bf913b534ffa7197fa6fe)
2021-10-03 13:55:43 -04:00
hondacrx aa29ce8e39 Core/Quests: Fill QuestPackageID field in SendQuestGiverQuestDetails
Port From (https://github.com/TrinityCore/TrinityCore/commit/0146eefee4fb8d72f02dee353af49af740db3973)
2021-10-03 13:16:45 -04:00
hondacrx e1aa4334d2 Core/Spells: Removed CastSpellExtraArgs constructors accepting ObjectGuid, they would become ambiguous with future changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/3af9be830d736506ed4544a922699ed0f7a7ecd4)
2021-10-03 13:12:12 -04:00
hondacrx 3c55b9e7a8 Core/Auras: Implemented new aura type 487 (SPELL_AURA_COSMETIC_MOUNTED)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a0c4a3071cebf3d755a9bdb8e07d93b17f354db3)
2021-10-03 13:01:31 -04:00
hondacrx 8ccf252ac3 Core/Players: Implemented selecting Exile's Reach during character creation
Port From (https://github.com/TrinityCore/TrinityCore/commit/d54edfeb8bd9e525bac62677b8f9dffbaa5124c3)
2021-10-03 12:02:20 -04:00
hondacrx f6cf613d4a Core/Players: Do not show zone on character list before first login
Port From (https://github.com/TrinityCore/TrinityCore/commit/2bf8110032e84796f21d4d44d72e33abc58a4e1e)
2021-10-02 21:03:32 -04:00
hondacrx b1152ac9fa Core/Players: Save homebind location on creation instead of delaying it to first login
Port From (https://github.com/TrinityCore/TrinityCore/commit/696be301d304e92245c1d332c28ae61b0390e330)
2021-10-02 21:01:21 -04:00
hondacrx 4a97883559 Core/Players: Store player creation timestamp and type (normal/npe)
Port From (https://github.com/TrinityCore/TrinityCore/commit/11762273c68b24b332238aa89a73b9ed9ac1d249)
2021-10-02 20:50:59 -04:00
hondacrx 9785c8cb0e Core/Players: Fixed value saved in characters.lastLoginBuild
Port From (https://github.com/TrinityCore/TrinityCore/commit/1440586be841fef21af03a602d8e198a4ab4193a)
2021-10-02 20:40:37 -04:00
hondacrx e340fda8b6 Core/Commands: Remove the option to teleport to "startzone" with .unstuck command
Port From (https://github.com/TrinityCore/TrinityCore/commit/f6f2de76c79e8de7aba85ea5ebbe6450b2c04585)
2021-10-02 20:22:46 -04:00
hondacrx d5acfbc38b Core/Players: Relocate players to their homebind location instead of starting zone when login at saved location fails
Port From (https://github.com/TrinityCore/TrinityCore/commit/46004d4fcae6e00befd7d4bfacc0ffbf748edee4)
2021-10-02 20:21:22 -04:00
hondacrx 18eb2cbe81 Core/Player: fix periodic eating and drinking emotes
Port From (https://github.com/TrinityCore/TrinityCore/commit/753d5a5d5f332791ccc97cf481f064822aa39be8)
2021-10-02 19:48:52 -04:00
hondacrx a968772bad Core/Movement: MotionMaster reimplementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/426f9f2f92b26fbb68e7cda9290ccbd586c6af4e)
2021-09-29 18:24:37 -04:00