Commit Graph

966 Commits

Author SHA1 Message Date
hondacrx 45fba1e81a Core/Creature: add a spell-focus-check method.
Port From (https://github.com/TrinityCore/TrinityCore/commit/44e9572a77061a8ddf04940f8e76f6585ad4ca05)
2022-01-02 19:31:22 -05:00
hondacrx 6a42e70544 Core/Unit: rename more things
Port From (https://github.com/TrinityCore/TrinityCore/commit/4db13853f7707c168c1297e662f9e6085d2f01be)
2022-01-02 19:28:27 -05:00
hondacrx a2a2eb3581 Core/Unit: rename more methods
Port From (https://github.com/TrinityCore/TrinityCore/commit/a58881d6dac1975b77abf361c5dc5ffcd755d2be)
2022-01-02 19:26:31 -05:00
hondacrx 6ad0b6f159 Core/Unit: rename IsFocusing method
Port From (https://github.com/TrinityCore/TrinityCore/commit/be4ed9152c1a9c3dab9949eb36d867b763603f60)
2022-01-02 19:25:23 -05:00
hondacrx 32a3480c0f Core/Spell: honor IsStackableOnOneSlotWithDifferentCasters() when deciding if an aura should stack from different casters or not.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2f2de263114e1227e348a9177bf8b60076a17553)
2022-01-02 19:16:31 -05:00
hondacrx e70e2d0088 Core/SmartAI: SmartAI creatures no longer process health-based hooks after death.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3db58c4d96c446b736b84d4954f8fd9c9e309e33)
2022-01-02 19:15:03 -05:00
hondacrx 81ab3b4080 Don't allow to summon dead hunter pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/92fc09b1b5507c11c9e7ca63e6de0ec7574f0810)
2022-01-02 19:12:50 -05:00
hondacrx 4c0eb3f2e2 Scripts/FollowerAI: Some cleanup:
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c3eb07889f72955879c8a0e0881b51befb60067)
2022-01-02 13:06:01 -05:00
hondacrx c4bc8c6362 Core/Spells: fixed root behaivior of creatures that are being rooted via movement template while getting a root aura removed
Port From (https://github.com/TrinityCore/TrinityCore/commit/d01a22f58ea19ce9ec71ea7c26adfbdea183fbd2)
2022-01-02 12:40:12 -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 f954046c4c Core/Combat: Properly unset engagement flag on death.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b1ca0ca128425677043d36a147a019f6d2ac6e6)
2022-01-02 12:32:11 -05:00
hondacrx c7224deafe Core/Misc: Kick a Totem error log upstairs one stack frame to give it access to various debug info
Port From (https://github.com/TrinityCore/TrinityCore/commit/2b65dbbeabc3cde156d43e8e2657195e813821f1)
2022-01-02 12:26:12 -05:00
hondacrx 86f7a08870 Core/Spells: Fix infinite loop
Port From (https://github.com/TrinityCore/TrinityCore/commit/e6e73b7b13ddc48f98f46d1af13a95b9cf67cccd)
2022-01-01 17:55:01 -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 a2dcceb4f2 Core/Auras: Implemented ChangeSpec, ChangeTalent and ChangeGlyph interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/05037bd936756b8ae553d17fd920ad8316f27487)
2022-01-01 17:13:41 -05:00
hondacrx 2842cc9c91 Core/AI: Finally move the "is creature engaged" flag to be a property of the creature AI, where it honestly always belonged.
Port From (https://github.com/TrinityCore/TrinityCore/commit/c13d83796f7b2111c5dcf8546bdd84eccd232ae3)
2022-01-01 17:05:29 -05:00
hondacrx 263ad06c82 Core/Creature: honor existing DB data for health and mana in case of summoned pets that don't have pet-specific stat data.
Port From (https://github.com/TrinityCore/TrinityCore/commit/434ef51c10535a4ef79e6210a762b9680518442b)
2022-01-01 15:55:33 -05:00
hondacrx acda66329b Core/Creature: don't set guardian stats in Creature::UpdateEntry(), because stat calculation from guardians is already done in Guardian::InitStatsForLevel.
Port From (https://github.com/TrinityCore/TrinityCore/commit/537b425377c065e5a99486387247349bde0a37ea)
2022-01-01 15:50:59 -05:00
hondacrx 33f62b27bf Core/GameObject: do not allow players to interact with gameobjects that use the "Point" icon.
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f8a6bac87e726f580247a601391e6286017468c)
2022-01-01 15:38:18 -05:00
hondacrx 60808a268d Core/Player: don't send errors to client from Satisfy* methods when Player::CanRewardQuest() is called with msg = false.
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc0a9d1fe96de7d59659c678814e6371be57774d)
2022-01-01 15:37:01 -05:00
hondacrx 8766de8286 Fixes loading server and loggin in. 2021-12-27 22:37:53 -05:00
hondacrx 74133edce1 Misc fixes/missed stuff 2021-12-27 18:11:38 -05:00
hondacrx 55c298be9f Core/Misc: Various dynspawn cleanup and refactors split off from pooling rewrite:
Port From (https://github.com/TrinityCore/TrinityCore/commit/eee950cdd7bcbe9443a53ea5c4cce35444a503f7)
2021-12-27 18:09:58 -05:00
hondacrx 9b2d1e67b6 Core/Spawns: Exterminate CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY with extreme prejudice. (It didn't work anyway.)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d5e58cef694d3db65f0a27b93099ae4e517685a4)
2021-12-27 17:39:42 -05:00
hondacrx 12f472cee1 Core/Chat: Rewrite some custom channel handling. Channel creation now properly saves passwords.
Port From (https://github.com/TrinityCore/TrinityCore/commit/ea753efb9370455979c8af8ebaafa734b77d6052)
2021-12-27 17:23:39 -05:00
hondacrx 5e193139a2 Core/Unit: movement related corrections prior to getting Charmed
Port From (https://github.com/TrinityCore/TrinityCore/commit/ef6a5d3c3c010f9ad63a71015a533a3894ab38b9)
2021-12-27 17:10:23 -05:00
hondacrx c209f30475 Battleground/Arena: Properly check RBAC arena join permission before allowing queue.
Port From (https://github.com/TrinityCore/TrinityCore/commit/a69a061d76fe4e142e84c775230e2fcbd6ddb9d4)
2021-12-27 17:06:18 -05:00
hondacrx 0dda317989 Core/Quest: Do not allow quests to be turned in if the player no longer satisfies level/skill/reputation requirements.
Port From (https://github.com/TrinityCore/TrinityCore/commit/925aaecbc0997a8fa3dea8de25f12258f889ffad)
2021-12-27 16:50:14 -05:00
hondacrx 8e06e237e0 Entities/Player: Properly restore PvP-enabled state on login
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5d8807af8cb0f257f81fa5cf3ac70769b677575)
2021-12-27 16:33:10 -05:00
hondacrx 828fafbcc8 Entities/Unit: Nuke Map::ForceRespawn from orbit, with the following implications:
Port From (https://github.com/TrinityCore/TrinityCore/commit/2532de6acb7d73957a8fca44e7fc26160f47cc47)
2021-12-27 16:29:29 -05:00
hondacrx a693bed211 Entities/Creature: Some asserts are now LOG_ERRORs that block spawning. Fix a group spawning bug exposed by the CoS merge. Improve some command output.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2225cb120100da741814dec7515b191cc68f07be)
2021-12-27 15:51:24 -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 c154984847 Core/Quest: fix icon in gossip window for repeatable, non-autocomplete quests.
Port From (https://github.com/TrinityCore/TrinityCore/commit/004602f3e4ece8ee601c09d869f1531518313c94)
2021-12-27 15:37:55 -05:00
hondacrx dafb8637d9 Core/Entities: Regenerate updatefields
Port From (https://github.com/TrinityCore/TrinityCore/commit/776298207a9522858af7b00ea2f5b0c65bbe049e)
2021-12-27 15:27:41 -05:00
hondacrx 6396bbca38 Core/Creature: Reworked creature aggro radius calculation
Port From (https://github.com/TrinityCore/TrinityCore/commit/3fc20584bc14ca0edb007b3d0b6861d19d6d33d4)
2021-12-27 15:25:53 -05:00
hondacrx 7a47eaeb24 Core/Conditions: allow spellclick conditions to properly work for aura apply/remove
Port From (https://github.com/TrinityCore/TrinityCore/commit/edf12fd6a1b989d7785bc0619002eda1ccc87368)
2021-12-27 15:23:22 -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 55189b9395 Core/Quest: Fix repeatable quest mark
Port From (https://github.com/TrinityCore/TrinityCore/commit/c5173aca15fcabba9ffce6393cf17868dc30750f)
2021-12-26 19:59:39 -05:00
hondacrx a3f2e9f372 Entities/Player: Fix an edge case where overlapping CCs could prevent player movement from being re-enabled.
Port From (https://github.com/TrinityCore/TrinityCore/commit/096269349cd82a44f57f36b17dfe4e5e32a39f9a)
2021-12-26 19:56:01 -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 ce3b99471d Core/Quest: do not send SMSG_QUESTGIVER_OFFER_REWARD right after SMSG_QUESTGIVER_QUEST_FAILED.
Port From (https://github.com/TrinityCore/TrinityCore/commit/ecce30a8072fd9352edae378a182f6bf6619d412)
2021-12-26 19:32:56 -05:00
hondacrx 73fa489610 Misc: some corrections after recent merges
Port From (https://github.com/TrinityCore/TrinityCore/commit/cadbf42ea4489933f28caf356f8c8d09ca243083)
2021-12-24 21:38:37 -05:00
hondacrx 5c41122916 Core/GameObject: do not allow consumable chests to restock while partially looted.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2fea2a1e8104856587d0eff651eb2199dfcd0513)
2021-12-24 21:22:21 -05:00
hondacrx 5c4a42317e Core/GameObject: fix some cases where summoned gameobjects of a type different than chest or goober would behave wrongly.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f136d3cfe0e92ac8578c631cc7c2c43086ba796f)
2021-12-24 21:20:14 -05:00
hondacrx 2a9a1a1d6b Core/GameObject: implement restock mechanic for non-consumable gameobjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/c637260a37271a9ed2b19d44a62210e833010bde)
2021-12-24 21:14:21 -05:00
hondacrx 85d81d39fc Core/GameObject: restore old behavior for non-consumable chests with restock timer (make them despawn).
Port From (https://github.com/TrinityCore/TrinityCore/commit/7c7bb95da58bc9621f293c1c4d560f426ae0df64)
2021-12-24 21:08:08 -05:00
hondacrx 445b24188f Core/GameObject: don't allow non-consumable goobers to despawn on use
Port From (https://github.com/TrinityCore/TrinityCore/commit/836a1bc62272861a595b339345eb1ac67c543c5b)
2021-12-24 21:07:14 -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