Commit Graph

143 Commits

Author SHA1 Message Date
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 852cd21cae Core/Quests: Drop unneeded QuestSpecialFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd8aed421a48225b0e60c677969d1fc133954279)
2021-05-11 10:15:44 -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 13631f6b4c Core/PacketIO: Updated packet structures to 9.0.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/f2202869f71f5a1a35191de303ee5166e4275884)
2021-04-12 14:02:46 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx 3b86c1d536 Core/Creature: Fixes crash when leader guid is larger then uint. Should of been a ulong. 2021-03-11 22:27:11 -05: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 3e5742d95a Core/Trainers: Remove all "hidden" rank based requirements for learning spell from trainers and always only rely on trainer_spell.ReqAbility fields in database
Port From (https://github.com/TrinityCore/TrinityCore/commit/65df9d424d88a50ec9155d05cba12e529e6f9557)
2021-02-09 13:03:07 -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
hondacrx 0e77439e20 Core/Misc: waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf12bae46746149d870cd3e52ccd610f0a975047)
2021-02-04 10:32:48 -05:00
hondacrx 4fb259abfa Core/Logs: Fix more logs
Port From (https://github.com/TrinityCore/TrinityCore/commit/93552510abf2fe0db0557036143b124c4a12cbe5)
2021-01-26 16:38:23 -05:00
hondacrx 103f0dfdec Core/Creatures: Remove duplicate check for evade from Creature.CanAssistTo
Port From (https://github.com/TrinityCore/TrinityCore/commit/0f837c0a02151b54f2b5ec277b39425627cec004)
2021-01-19 13:35:43 -05:00
hondacrx b5b43dc251 Core/Maps: Prevent potential null dereference
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a21d02da12667e6e873163de83fa3cb25d028aa)
2021-01-19 13:28:00 -05:00
hondacrx 5b3dd1895f Core/Creature: Fix crash in DeleteFromDB 2021-01-15 10:15:09 -05:00
hondacrx a4c4db7af5 Core/Spells: Fixed missing null checks on some SpellEffects 2021-01-14 17:06:53 -05:00
hondacrx 87160961fa Core/PacketIO: Fill new packet fields with data
Port From (https://github.com/TrinityCore/TrinityCore/commit/83eecaf2c40cc72c1dc42335766534eb8d227e60)
2020-12-10 10:22:13 -05:00
hondacrx 0749a06c99 Core/Misc: First set of required db changes for 9.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/4ca29f3cb050896a8a6c1fea5b2364b2b11c22cd)
2020-12-09 16:03:38 -05:00
hondacrx c46c7ba2dc Core/PacketIO: Updated most packet structures to 9.0.1
Port From (https://github.com/TrinityCore/TrinityCore/commit/cab4c87d2d7f6d734ef067d6bf50f4b1d338a7bc)
2020-12-09 14:01:38 -05:00
hondacrx 2820d45a0d Misc fixes 2020-09-03 11:25:42 -04:00
hondacrx 15f0aebb23 Core/Creature: Fix an oversight in Creature::SelectVictim that was causing creatures to evade when chased by another creature from outside their own aggro range.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f97b601d9381196a4cfa352bff2d0826f211eda1)
2020-08-24 19:20:38 -04:00
hondacrx 8b6c86d568 Core/Creature: regenerate health
Port From (https://github.com/TrinityCore/TrinityCore/commit/9a5e2b80b39d3c0a466aec1ab3a6dbccf938f570)
2020-08-24 19:19:13 -04:00
hondacrx 35c13d69ca Core/Creature: temporary summons are now dynamic flagged (oversight in dynspawn). This fixes issues with vehicle kit resets breaking AI.
Port From (https://github.com/TrinityCore/TrinityCore/commit/22b754c9e22cfdd9dab998ca45e6724b62760f78)
2020-08-24 19:13:15 -04:00
hondacrx d9770ed0f9 Followup to waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a133e77d61fc6bafad7b60b74604d5da648ece9)
2020-08-24 17:52:09 -04:00
hondacrx 3d3fd0f55f Core/Movement: waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/97585597f0b1aff93873fe4d757556731bc0c1b2)
2020-08-24 17:02:02 -04:00
hondacrx c9e535bb3a Core/Creature: Fix a crash in .npc delete, Also fix an issue breaking vehicles in certain edge case situations.
Port From (https://github.com/TrinityCore/TrinityCore/commit/b538cdc129e6132ddd6afc2c5ac5ccaae2959730)
2020-08-24 11:40:14 -04:00
hondacrx 08ef556a36 Core/Scripts: dynamic_spawning follow-up, I had forgotten JustRespawned existed.
Port From (https://github.com/TrinityCore/TrinityCore/commit/129dd7c9091d3fafc0f5e10b795224bc9418d006)
2020-08-24 11:26:27 -04:00
hondacrx cd92a34082 Scripts/Commands: Fix some quirkiness and potential crashes with live DB modification commands (npc move and npc delete), which are horrible and should be deleted anyway.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f15b4f5043799b3a580c8577ad4466135ca9ae38)
2020-08-24 10:35:14 -04:00
hondacrx 15ae7a7c66 Dynamic Creature/Go spawning
Port From (https://github.com/TrinityCore/TrinityCore/commit/03b125e6d1947258316c931499746696a95aded2)
2020-08-23 21:52:32 -04:00