Commit Graph

140 Commits

Author SHA1 Message Date
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 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 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 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
hondacrx 737507d718 Core/Creature: Adjust SelectVictim behavior.
Port From (https://github.com/TrinityCore/TrinityCore/commit/95fb6fe075f0cac7bc1822c7b5a0276a2276d897)
2021-06-23 15:29:09 -04:00
hondacrx 3f5ac71ff0 Core/Creature: add an assertion to guard against infinite loops
Port From (https://github.com/TrinityCore/TrinityCore/commit/cb3a041482626a8aa3545a6bc35abd9dfb88cf73)
2021-06-23 15:12:20 -04:00
hondacrx 84d05548f2 Core/Entities: killed Creature::SetInCombatWithZone and replaced with AI version
Port From (https://github.com/TrinityCore/TrinityCore/commit/c77925da4a320df5be5eaeb1fc799df50e22c041)
2021-06-23 14:15:43 -04:00
hondacrx ad2d0f912e Core/Formations: update codestyle and fix crash
Port From (https://github.com/TrinityCore/TrinityCore/commit/861cf261c5dfc29d6980908ec36ebe7aad68a462)
2021-06-23 14:05:41 -04:00
hondacrx aae86fe4d1 Core/Entities: Port some refactors
Port From (https://github.com/TrinityCore/TrinityCore/commit/431a326e6974d3c86452192767368ab6c4ea9b0b)
2021-06-22 20:43:41 -04:00
hondacrx fbd7df7c3f Some missed stuff. 2021-06-18 15:19:41 -04:00
hondacrx 52e43853fe More Cleanups 2021-06-08 12:56:09 -04:00
hondacrx 00da79c7a9 Core/Unit: Abide UNIT_FLAG2_DISABLE_TURN on creatures.
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac8ff492744e65437fc906372058a0b29147af3f)
2021-05-18 13:45:37 -04:00
hondacrx 5a9ff185b9 Core/Creature: improve DB linked_respawn handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/1206e815cd9785e4671f30548140f038567811a2)
2021-05-18 12:55:23 -04:00
hondacrx ccd92e8dd5 Core/Threat: Fix a potential exploit allowing players to damage a boss without them taking damage.
Port From (https://github.com/TrinityCore/TrinityCore/commit/c31ae7ab33c42689c45baa1f1086405656a3fdff)
2021-05-18 12:46:50 -04:00
hondacrx 66ba3fe724 Core/Misc: A variety of clean-up changes:
Port From (https://github.com/TrinityCore/TrinityCore/commit/5aee452943e5c76f54f58eea9e6880b54a61ec9c)
2021-05-18 12:31:45 -04:00
hondacrx 9851142796 Core: Combat/threat system rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/34c7810fe507eca1b8b9389630db5d5d26d92e77)
2021-05-18 12:25:40 -04:00
hondacrx ba064327b0 Core/DB: Fixes sometimes wrong values added to DB, also fixes errors when trying to convert updatefield to object. 2021-04-21 18:06:46 -04:00
hondacrx 63f0f919e2 Core/Misc: Replace Time.UnixTime with GameTime.GetGameTime()
Port From (https://github.com/TrinityCore/TrinityCore/commit/e17e4e6f0700c7d950e1b2654c217ec8b28ae79e)
2021-04-17 19:28:50 -04:00
hondacrx 17132dd6b6 Core/Entities: Fix some weird movement due to los issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/446fc391f02d3ca8e1332b58f910a5b7d1c8e226)
2021-04-16 16:14:43 -04:00
hondacrx da0b406c8a Core/Spell: implement SPELL_FAILED_AURA_BOUNCED on DR spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/bebc20b4de7db2fa1b80ac481902a39d92bd4dc8)
2021-04-16 15:20:02 -04:00
hondacrx 1c3ba180fc Core/Creatures: fixed school immunity unapply when updating entry and unified code
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4ca95983b1dc55e5b656d934d99b92cee30b444)
2021-04-16 14:54:03 -04:00
hondacrx 9714010ab3 Core/Creature: implement school immunity for creatures in creature_template
Port From (https://github.com/TrinityCore/TrinityCore/commit/ed3b34e33f019d9200a3d003c467e0ffa351187a)
2021-04-16 14:49:12 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx 31d1f7f24e Misc Fixes 2021-03-08 14:34:58 -05:00
hondacrx 2949a2514c Core/Creatures: Implemented extra flag to use offhand attacks
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a51edc5bcebe40c114e37ef3b24da6c8f095892)
2021-03-04 12:00:39 -05:00
hondacrx 91c0fd1924 Misc fixes. 2021-02-18 13:04:07 -05:00
hondacrx 077c965c51 Scripts/World: update guard scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/92026abee10325beedede84b07d5154a5a995b52)
2021-02-18 12:45:47 -05:00
hondacrx 9a14cfe807 Core/Spawn: Limit saved/stored respawn time. - Limit to long maximum, for the compiled-for architecture.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f3ac10f36fcc46c5e1537d69544a9294fc719ad2)
2021-02-09 13:15:12 -05:00
hondacrx cf030b70b2 Core/SAI: Added SAI support for new areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/875fd4107f29c00f148ea77c6ff6d49f7ca92b76)
2021-02-09 11:29:50 -05:00
hondacrx 0d1bfff206 Core/AreaTriggers: Optimize target searching
Port From (https://github.com/TrinityCore/TrinityCore/commit/23144d0665504e2e24ee790e900bb8de0df4aa08)
2021-02-04 12:12:54 -05:00