Commit Graph

78 Commits

Author SHA1 Message Date
hondacrx 771cbadc69 Core/Waypoints: Refactor to split data into path and node related info in db
Port From (https://github.com/TrinityCore/TrinityCore/commit/12186ef8573f60abeff4747da58767ee71092600)
2024-02-05 17:22:55 -05:00
hondacrx 284cb628c9 Core/Waypoints: Drop waypoint_scripts table
Port From (https://github.com/TrinityCore/TrinityCore/commit/3f6f683ce4b5f4a95a2d70921de2c80de6b3a8fe)
2024-02-03 11:47:02 -05:00
hondacrx 4c66c90f94 Core/Map: Implement several difficulty getters
Port From (https://github.com/TrinityCore/TrinityCore/commit/9eceff2bc243946998c006418229dbb639e898d6)
2024-02-01 18:02:16 -05:00
hondacrx dbf63667ae Misc fixes 2024-01-28 15:23:54 -05:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx 068ccd990f Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty
Port From (https://github.com/TrinityCore/TrinityCore/commit/06d0b16f158e8793860d9edd11b990f20b1d0dac)
2023-05-30 08:16:40 -04:00
hondacrx 13e19764d4 Core/AI: Drop script_waypoints and move data to waypoint_data
Port From (https://github.com/TrinityCore/TrinityCore/commit/89e09dc44ed15567f77f862d1936e8e0d9019456)
2023-04-25 17:51:32 -04:00
hondacrx 5d0d9822e8 Core/Creatures: Allow flagging creatures to not clear their tap list when evading
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e309ed17ff448b971f206c7ea7174c736230299)
2023-03-23 07:04:20 -04:00
hondacrx 5a79b3f385 Core/Scripts: Make CreatureAI::DoZoneInCombat overload accepting a different creature static
Port From (https://github.com/TrinityCore/TrinityCore/commit/080bf4c5650d54694819f6aaf7a12f3cbc623ef4)
2023-03-14 02:14:00 -04:00
hondacrx cd249ac67a Core/Spells: Updated silence flags for 9.0 and rename unit flag to its new meaning
Port From (https://github.com/TrinityCore/TrinityCore/commit/3400c5a52c8ea35e56d57326f904dc0127c33048)
2023-03-13 02:36:50 -04:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 0c782c60c2 Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier
Port From (https://github.com/TrinityCore/TrinityCore/commit/61c51b76c00d932a9180bc6781a244dc18375ef7)
2023-01-05 16:44:30 -05:00
hondacrx 9b62b83984 Core/Loot: Implemented personal loot and tag sharing for non-boss loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/133334a902b705dae6f7e92bb1009b84cf1c51d2)
2022-10-18 16:07:00 -04:00
hondacrx 86fa768ef3 Core/Loot: Set loot dungeon encounter id before generating
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f1a4cf9044d9ad65b49eb859ec36e1f62c2be10)
2022-10-05 16:21:19 -04:00
hondacrx 87fdd30072 Core/Loot: Send DungeonEncounter id in SMSG_ITEM_PUSH_RESULT
Port From (https://github.com/TrinityCore/TrinityCore/commit/5a516fb6549e460e68b45005a17ec1b6217fefa5)
2022-10-04 19:59:15 -04:00
hondacrx ba6c30add4 Start adding missing scripts Part3 2022-07-06 23:53:47 -04:00
hondacrx 8cfd263fea Start adding missing scripts Part2 2022-07-05 15:39:49 -04:00
hondacrx f53c4cb009 Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/4eba9786708dd3b22d9053c1a14eac7e6d03242e)
2022-05-30 15:57:56 -04:00
hondacrx a9dcb2f2d7 Scripts/Obsidian Sanctum: Fix portals not being visible
Port From (https://github.com/TrinityCore/TrinityCore/commit/d561a691220c2c0856f63ff6cbcd4d0af8c761d5)
2022-04-28 10:14:22 -04:00
hondacrx 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx 561b5a528d Misc fixes 2022-02-28 13:28:57 -05:00
hondacrx 483123d6cc misc fix 2022-02-24 16:21:55 -05:00
hondacrx bbc0c07697 Core/SmartAI: allow AreaTrigger SAI scripts to use the player triggering it as base object for actions and targeting
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ddde5ca3cac8ac03239882778af3702b59d582d)
2022-02-23 16:28:32 -05:00
hondacrx 6c0e21b4de Misc updates/fixes 2022-01-27 12:36:56 -05:00
hondacrx a4ace1e181 Scripts: Fix rbac permission for skipping default boss sequencing check
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d02739b989a66e1d4326035e53ad889be3eeab6)
2022-01-06 00:09:20 -05:00
hondacrx 3be49e6e3a Core/Scripts: Add missing implementation for samePhase argument of ScriptedAI::ForceCombatStopForCreatureEntry
Port From (https://github.com/TrinityCore/TrinityCore/commit/68a25f5e9bdd48330e48133961ca22183130e424)
2022-01-06 00:00:04 -05:00
hondacrx b4784bd68a Core/AI: add another helper for "ScriptedAI::ForceCombatStop"
Port From (https://github.com/TrinityCore/TrinityCore/commit/d967d03151b94e89180192684c055e9709cb1447)
2022-01-05 17:48:50 -05:00
hondacrx 873569750b Core/AI: Add new method to force creatures around to stop combat
Port From (https://github.com/TrinityCore/TrinityCore/commit/7d78ddcbd5f68ba7b8d3a7cce527d53d4f37ae0a)
2022-01-05 17:15:41 -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 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 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 3cf7f6b831 Combat/Threat: Split ThreatManager::NotifyDisengaged off from ThreatManager::ClearAllThreat. NotifyDisengaged signifies intent to clear the engagement flag, and should only be called from AI.
Port From (https://github.com/TrinityCore/TrinityCore/commit/38d7c1530a65a7ff1bd10775c4a35269b2416538)
2021-12-24 20:15:10 -05:00
hondacrx 96a207b00e Core/Misc: remove incorrect ClearUnitState calls related to movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/c511fa28037094a591d2ecc34b68c7e361f0d454)
2021-12-07 17:56:38 -05:00
hondacrx 3943eac5e2 Core/AI: couple movement related corrections in FollowerAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/bda32dfbd13a880287e408a221e5d0a7f97de5d5)
2021-12-07 17:54:31 -05:00
hondacrx 998e53913f Core/AI: streamline FollowerAI::MoveInLineOfSight with SmartAI and EscortAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/88f5536c43713c1a253d73fce3049a6696bb44b8)
2021-12-07 17:50:38 -05:00
hondacrx 3ec8fc41cb Core/AI: streamline FollowerAI::AssistPlayerInCombatAgainst with SmartAI and EscortAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/edbf45404be2cf003ceec7b4344180616b0e2315)
2021-12-07 17:48:33 -05:00
hondacrx b58550abb5 Core: Restore reset in EscortAI::InitializeAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/36e009baf2d37fe79c5298e68fb1b00b174624a2)
2021-12-01 22:58:24 -05:00
hondacrx fde411266d Core/EscortAI: initialize run state before filling waypoints
Port From (https://github.com/TrinityCore/TrinityCore/commit/b606c22dfdf204f8b49bce78304ed1ad1eec9029)
2021-11-03 11:54:05 -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 1578935f08 Core/AI: Remove unnecessary parameter from DoZoneInCombat
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d48e8db7d0175af807e77214583058bf6e9c790)
2021-10-30 20:08:11 -04:00
hondacrx 4d03ced335 Core/AI: EscortAI::SetRun now also adjusts already-in-progress waypoint paths, as opposed to only affecting future path loading.
Port From (https://github.com/TrinityCore/TrinityCore/commit/58000148d321d1f0dde96667974ea912e0a8356e)
2021-10-30 19:57:05 -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 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 1c5bb258d5 Core/CreatureAI: CheckBoundary -> IsInBoundary, better reflects what it does.
Port From (https://github.com/TrinityCore/TrinityCore/commit/994121e671127ce11df4e631ab0a4c310234191f)
2021-08-24 10:56:39 -04:00
hondacrx 1d5337d3f7 Fixed a crash with AISpellInfoType having cooldown default to 0 should be default 5000. 2021-07-03 11:37:20 -04:00
hondacrx 89586e9495 Core/AI: EscortAI init logic moved from JustAppeared to InitializeAI. There are no escort NPCs using compatibility mode anymore, so this is equivalent.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f4cc76063f5c19773e25eaac9bd3975828c4cc47)
2021-06-23 18:03:42 -04:00
hondacrx fbd7df7c3f Some missed stuff. 2021-06-18 15:19:41 -04:00
hondacrx 5cc1dd1a61 Core/Map: New Map::ForceRespawn to override objections and force a respawn (equivalent to force = true). Use this to fix various GM commands.
Port From (https://github.com/TrinityCore/TrinityCore/commit/8b7728f82e6e7c326b7945efd719218179e9767a)
2021-05-18 12:45:55 -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 c925d7af40 Core/AI: CreatureAI.EnterCombat is now called CreatureAI.JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bce43de7f3fba618c370f2aba327d23dd30d1cdd)
2021-04-19 10:22:43 -04:00