Commit Graph

192 Commits

Author SHA1 Message Date
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 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 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 b3759bb7b0 Core/SAI: do not pass old creatureData to UpdateEntry() and keep current health when changing a NPC's entry.
Port From (https://github.com/TrinityCore/TrinityCore/commit/62f5d9b46bd20faf90dd973e2786d1517b1b3bd2)
2021-12-24 20:57:58 -05:00
hondacrx 4584543d45 some more cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/f29644efd5cf430c321ad68122c385b4535069da)
2021-12-23 20:03:50 -05:00
hondacrx cd1edd609f Core/Creature: Attach out-of-combat health regen to the Engaged system, not the Combat flag.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e3411b4740be2241c49361f9f6223f52f4389c7d)
2021-12-23 20:03:03 -05:00
hondacrx 8694a2ae24 Core/Entities: Kick engagement logic upstairs to Unit (from ThreatManager), since all Units with AI need it (not just those with threat list).
Port From (https://github.com/TrinityCore/TrinityCore/commit/35e55f10899712435102764671241b94a2026599)
2021-12-23 20:00:45 -05:00
hondacrx 8510f01035 Misc fixes 2021-12-22 20:23:48 -05:00
hondacrx 3bae896803 Core/Loot: fix some other cases where a creature should not be able to set focus.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3278f87789b8357ce888ab61026c0ca6daa8e6cb)
2021-12-17 19:41:25 -05:00
hondacrx 112803c149 Core/Creature: prevent dead creatures from setting a focus target, so they won't turn when hit by certain spells.
Port From (https://github.com/TrinityCore/TrinityCore/commit/264373bb656352a0cdf9b18bad4f3929c7376a9c)
2021-12-17 19:17:29 -05:00
hondacrx e9dc31b104 Core/Creature: equipment_id field on creature table is not working correctly, if it's set to 0 the npc still spawn with the equipement.
Port From (https://github.com/TrinityCore/TrinityCore/commit/1d22ade73f5108bd1e0c2dddb8149a93791cc79f)
2021-12-07 17:55:28 -05:00
hondacrx 2ccf5b05e8 Core/Conditions: Added CONDITION_SOURCE_TYPE_TRAINER_SPELL
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d0f9784a92245879c1e98b011dc112b1b8bb76b)
2021-12-07 16:49:45 -05:00
hondacrx eb8535b7b2 Core/Creature: couple refactors/renaming
Port From (https://github.com/TrinityCore/TrinityCore/commit/c22431936e5bd65474aca4c1fd71e315a20c34cb)
2021-12-07 13:41:20 -05:00
hondacrx 356bbb8823 Core/Objects: use the actual collision height of players and creatures to get more accurate liquid status results
Port From (https://github.com/TrinityCore/TrinityCore/commit/d5daa2ad49a5a5d23ec4fae7508998ff9b1b6ad1)
2021-11-29 17:27:43 -05:00
hondacrx ecc807f36f Core/Trainers: Implemented learning battle pets from trainers
Port From (https://github.com/TrinityCore/TrinityCore/commit/b02f382ed78b784d547c68cdbbb681148708d7d0)
2021-11-29 17:14:38 -05:00
hondacrx 8fbecac008 Core/Movement: Allow using run when moving randomly
Port From (https://github.com/TrinityCore/TrinityCore/commit/a57ca5cea2d13bc5d5ddee11e7b8100c7afd68e1)
2021-11-29 14:21:33 -05:00
hondacrx 9cdccb9a08 Core/Movement: Allow using walk when chasing v2
Port From (https://github.com/TrinityCore/TrinityCore/commit/956158d299b3264f883f49ac647154179182fbea)
2021-11-29 13:29:51 -05:00
hondacrx 8e89c8b6be threat assert
Port From (https://github.com/TrinityCore/TrinityCore/commit/31dca39c057bf7eef590a060f9e25fed4f4e9eda)
2021-11-23 22:36:07 -05:00
hondacrx 73aa366f31 UnitAI updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/ed884354944009979b828d21ee3498e830050af8)
2021-11-23 21:22:07 -05:00
hondacrx 462e1f34a1 Core/Creature: Profession trainer fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/f4d029b9523b35c38b80f0fb4aa9fb317a42e237)
2021-11-18 19:41:22 -05:00
hondacrx bc84e62688 Core/AI: Add some checks to catch if the AI changes mid-update for players.
Port From (https://github.com/TrinityCore/TrinityCore/commit/1015f307041b25b47a9bb4bc76ac4ed78c49d735)
2021-11-15 23:22:08 -05:00
hondacrx 81193e3e3a Fix issue in Creature::UpdateEntry and CMSG_GOSSIP_SELECT_OPTION
Port From (https://github.com/TrinityCore/TrinityCore/commit/80d920dab5d8688fda19b612ec58bcb1a576cbc0)
2021-11-15 20:59:07 -05:00
hondacrx b026ee7ef8 More cleanups of custom classes in favor of .NET runtime types. 2021-11-15 18:04:57 -05:00
hondacrx f4c1e8cbbe Core/Creature: Get rid of a few Creature::getAttackerForHelper misuses. That's not what the function does, folks.
Port From (https://github.com/TrinityCore/TrinityCore/commit/26ca7b0fc2907f861d2cdbf1e8699b364518501b)
2021-11-03 11:49:08 -04:00
hondacrx dad2f6c5a5 Core/Scripting: Delay zone script's OnCreatureCreate until the creature has been added to map stores
Port From (https://github.com/TrinityCore/TrinityCore/commit/d57e74b3b592536ffd32a92a342eb0abc6e05e62)
2021-11-02 14:22:09 -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 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 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 a5066c8b68 Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cfd14d2a0a52ceb0d8203c31c7c6c487775bcee)
2021-10-03 20:27:14 -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 a968772bad Core/Movement: MotionMaster reimplementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/426f9f2f92b26fbb68e7cda9290ccbd586c6af4e)
2021-09-29 18:24:37 -04:00
hondacrx 9afc755dec Core/Unit: UNIT_FLAG renames
Port From (https://github.com/TrinityCore/TrinityCore/commit/f1ac141f25500a0f6ffd3c32b1185de2d9f9c940)
2021-09-26 14:00:30 -04:00
hondacrx 569e20ebc1 Core/Misc: movement cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/4793b073eec2af32622ff703911721100730e868)
2021-09-26 12:17:10 -04:00
hondacrx ed1fa6282e Core/Creatures: Minor HasSpell method cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/a54e5bf4c8fda8595465b043effd4ce51ce3311d)
2021-09-21 18:56:36 -04:00
hondacrx 5c4a7511ff Core/Spells: Cleanup spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a4e1119ac21e2d1112d1717337597fe073e495f)
2021-09-08 17:40:50 -04:00
hondacrx 4c08eebc49 Fixed two crashes 2021-09-04 20:53:47 -04:00
hondacrx 949d4806c5 Core/Spells: rework part 5: GameObject casting
Port From (https://github.com/TrinityCore/TrinityCore/commit/962f6d7988b9003e550f6745be7cff812e9d8efa)
2021-08-29 18:27:08 -04:00
hondacrx be0575f654 Fixed server loading. 2021-08-24 12:35:22 -04:00
hondacrx 8636712938 Core/Creatures: Remove hover on death
Port From (https://github.com/TrinityCore/TrinityCore/commit/a91edcb9524b53f027a8ef8c247a443a9bb42f1e)
2021-08-24 12:27:36 -04:00
hondacrx e4240fcd94 Core/Creatures: Reworked setting move types in database
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8c03a90661610e289029c78d2055d7b73a5ad98)
2021-08-24 12:23:39 -04:00
hondacrx 89058fec83 Core/Movement: Fixed creature hover
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e2b29861878fda2d27156c71a1d8ed7dbe0b4fe)
2021-08-24 11:10:59 -04:00
hondacrx f31d3ec432 Core/Creature: Temporarily let Creatures violate dynspawn assumptions for pooled creatures. This should fix startup crashes until I can investigate and find a long-term fix.
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b93059ec79f06effeeb4c164e426e0276b24193)
2021-08-09 11:38:27 -04:00
hondacrx 1f72103d78 Core/Creature: Add another aggressive compatibility mode assertion to catch faulty dynspawn code.
Port From (https://github.com/TrinityCore/TrinityCore/commit/8757a80767a932ceea679e84881c7dd2f89322cb)
2021-08-09 11:36:10 -04:00
hondacrx 85ffed189f Core/Spawning: Actually check spawn group state before processing a respawn. It feels like that is something that should've been noticed at some point.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5c80f5073493a3d31fd4b463891727beb6fe7eb1)
2021-08-09 09:37:36 -04:00
hondacrx b039353f1a Core/Entities: unit states cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/70c26d53cb94f0e78a57ecc2279c960370891aa4)
2021-08-08 23:44:54 -04:00
hondacrx 491ec3333c Core/PacketIO: 9.1.0 opcodes and packet structures
Port From (https://github.com/TrinityCore/TrinityCore/commit/cd5357dc185f95c6ef78089c5ab8bd2b885dd89f)
2021-08-08 13:10:49 -04:00
hondacrx eefb63647d Core/Spells: prevent creatures to focus channeled spells without SPELL_ATTR1_CHANNEL_TRACK_TARGET
Port From (https://github.com/TrinityCore/TrinityCore/commit/d91e099b10a33d9205c023c81bcc966d713c39ab)
2021-06-23 23:43:18 -04:00
hondacrx ca1afb5c2e Core/Movement: Creatures' idle movement generator can no longer override player mover control.
Port From (https://github.com/TrinityCore/TrinityCore/commit/88c1739e3e1ecf58407b0846f3c8dfeb589f3113)
2021-06-23 17:50:46 -04:00