Commit Graph

436 Commits

Author SHA1 Message Date
Hondacrx 6da69c8263 Core/AI: Implement OnAuraApplied and OnAuraRemoved hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/d1e07ac6553c7ae1e3296fc044247f0d0f95d267)
2025-12-08 15:10:55 -05:00
Hondacrx 8df85c90d7 Core/AreaTriggers: Implement AreaTriggerActionSetFlag::DontRunOnLeaveWhenExpiring
Port From (https://github.com/TrinityCore/TrinityCore/commit/1085b3f43321e58f151c1543a70b3558c26ed8e5)
2025-12-08 10:14:29 -05:00
Hondacrx 6b6338efc9 Core/SAI: Add storedTargetId param to summon actions
Port From (https://github.com/TrinityCore/TrinityCore/commit/80437d3c79853c27ffa60b1988d1459586d18cbb)
2025-11-27 13:39:38 -05:00
Hondacrx 9f05b762ad Core/SAI: Implemented action type SMART_ACTION_DESTROY_CONVERSATION
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9e7059a23618e58e57dc3b24eb218505ca3f746)
2025-09-03 21:27:53 -04:00
Hondacrx 3d23a9f162 Core/Groups: Fixes groups staying linked with players. 2025-09-02 22:43:56 -04:00
Hondacrx c5cccdec10 Core/Objects: Unify Searcher classes into one common implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/261eb201bf107cef441d9b075e8f23bf0edfbaf0)
Port From (https://github.com/TrinityCore/TrinityCore/commit/526b16fea41fb69a302fdebe8a727e175949f04b)
Port From (https://github.com/TrinityCore/TrinityCore/commit/8b7dce6521323e788ebf28297ec941a6f9bf876f)
Port From (https://github.com/TrinityCore/TrinityCore/commit/5334467f493eb16141f4ad0bce956bc3e19244a0)
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e7725c15b149baaf96731231239769e482ec2ed)
Port From (https://github.com/TrinityCore/TrinityCore/commit/21712f475383f6f3fae107706f5de5195f75b760)
2025-08-31 13:23:49 -04:00
Hondacrx 4cc76e002a Core/SAI: Add actions ENTER_VEHICLE, BOARD_PASSENGER and EXIT_VEHICLE
Port From (https://github.com/TrinityCore/TrinityCore/commit/9477209f10bd33611251f38633f28dc5f16103f5)
2025-08-20 22:15:13 -04:00
Hondacrx 921b3deec4 Core/SAI: Replace sai specific object type checking functions with Object functions
Port From (https://github.com/TrinityCore/TrinityCore/commit/4887e0ea1da6fe32c76a899f03c4bf10ed21bc55)
2025-08-20 10:15:11 -04:00
Hondacrx bdd66a8384 Core/SAI: Use std::vector::emplace_back instead of creating large temporary objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/e0b957f5ff9c40847739783e37cca71cbbadb948)
2025-08-20 09:26:39 -04:00
Hondacrx 4fc9f23cd5 Core/SAI: Fix SMART_ACTION_OFFER_QUEST - now tracks npc interaction correctly
Port From (https://github.com/TrinityCore/TrinityCore/commit/0953d97533a24a57f69513e2d127eeb39faa9602)
2025-08-19 21:52:37 -04:00
Hondacrx 1f80df2465 Core/Misc: Added new CanSeeOrDetectExtraArgs to CanSeeOrDetect
Port From (https://github.com/TrinityCore/TrinityCore/commit/260fab23786917619ad3453677ed7d983a431cc4)
2025-08-14 20:37:45 -04:00
Hondacrx b788b0eff2 Core/SAI: Allow SMART_EVENT_HEALTH_PCT to be triggered out of combat
Port From (https://github.com/TrinityCore/TrinityCore/commit/1248bdffcb13f846fa42c6aee77cea685c756e51)
2025-08-10 17:09:51 -04:00
Hondacrx 8b0c3cb717 Core/SAI: Improve SMART_ACTION_ATTACK_START to exclude non-unit targets from selection pool
Port From (https://github.com/TrinityCore/TrinityCore/commit/444a98111a8d08a985d9489b06f0e1487c04cab6)
2025-06-08 15:58:14 -04:00
Hondacrx 1ea98d4f51 Core/Creature: Implement aggro grace period
Port From (https://github.com/TrinityCore/TrinityCore/commit/26d1337461114506ca57e2265d3dc5e96fd08f82)
2025-05-25 10:39:42 -04:00
Hondacrx e44861a629 Core/AI: Implemented conversation ai
Port From (https://github.com/TrinityCore/TrinityCore/commit/309ba22a15e5e0b4321b99f7157ccb18e0adc8dd)
2025-05-19 17:23:36 -04:00
Hondacrx 87df85cac7 Core/Objects: Allow more specific checks to include or exclude feign death units in CreatureWithOptionsInObjectRangeCheck::IsAlive check (#30361)
* this also extends SMART_TARGET_CLOSEST_CREATURE dead param
Port From (https://github.com/TrinityCore/TrinityCore/commit/92efc2523b75e4ca01be7d0894ed8bc979cb3049)
2025-05-19 11:08:47 -04:00
Hondacrx 6a24e9ce29 Core/SAI: Allow update of disable gravity/root applied via static flags (using related action type)
Port From (https://github.com/TrinityCore/TrinityCore/commit/2cf2535cd637b5b8966f7990f6826bdac94d77ce)
2025-02-23 14:26:44 -05:00
Hondacrx afe054f3e9 Fixes UpdateObject packets 2024-11-17 22:12:44 -05:00
Hondacrx ba80dede79 Core/Summons: Handle summons using SummonProperties.Control type 5 as vehicles
Port From (https://github.com/TrinityCore/TrinityCore/commit/23bb1a56b74191e131e41ad25edbe40ee4e76a96)
2024-11-17 12:09:17 -05:00
Hondacrx 83eace222c Core/SAI: Implemented new action SMART_ACTION_CREDIT_QUEST_OBJECTIVE_TALK_TO
Port From (https://github.com/TrinityCore/TrinityCore/commit/9261140c9ddc5b15bc2e0abe9d8755552ae74d82)
2024-11-11 11:02:05 -05:00
Hondacrx 21eca77ad8 Core/SAI: Implemented new event type SMART_EVENT_AREATRIGGER_EXIT (88)
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d5242daae3fab31ffc73faafa21ad65e5cd9670)
2024-11-11 10:46:00 -05:00
Hondacrx ad461858ca Core/SAI: Implemented new action SMART_ACTION_COMPLETE_QUEST
Port From (https://github.com/TrinityCore/TrinityCore/commit/3429871a07c1c1ebe2bd94cb771ef187cb46fd46)
2024-09-08 14:09:45 -04:00
Hondacrx 3c6b3bd455 Core/Movement: Defined and implemented new spline flag - JumpOrientationFixed
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd9fb4a56303e2bd8046e77d425250b9757aa74c)
2024-08-31 17:16:04 -04:00
Hondacrx 7a43203e0c Core/Movement: Allow setting position or object facing targets for jump movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac73edc268bc8d5bbda9f4b05168e3e24c25ca45)
2024-08-26 16:48:36 -04:00
Hondacrx 9606343613 Core/Creatures: Allow profession tools to be used as equipment
Port From (https://github.com/TrinityCore/TrinityCore/commit/2238844f567b63de1edd394b654b62ac4ddeb666)
2024-08-19 19:26:00 -04:00
Hondacrx 5639a58a11 Core/Creatures: moved combat pulse into heartbeat handling and implemented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT
Port From (https://github.com/TrinityCore/TrinityCore/commit/11f32a2427caf7064947b03f3256e06d27fe6327)
2024-08-19 12:33:21 -04:00
Hondacrx da8b685c14 Core/Movement: Implemented alternative method of smoothing waypoint paths (send new point 1.5 before arrival) and make that the default
Port From (https://github.com/TrinityCore/TrinityCore/commit/cf1ab7b4142f1d070d999c4141109a6c6c46d06d)
2024-08-18 18:22:59 -04:00
Hondacrx 8805432cee Core/Movement: Store delay in WaypointNode as Milliseconds instead of raw integer
Port From (https://github.com/TrinityCore/TrinityCore/commit/e1f43900d110e50a2021d605c61cfe7c436bcc54)
2024-08-12 16:13:15 -04:00
Hondacrx 2f71dbfda0 Core/SAI: Implement waiting for actions on action list to finish before continuing the action list
Port From (https://github.com/TrinityCore/TrinityCore/commit/5dfac0ef142c1b59e41c51ab2cca48083be4cb9e)
2024-08-08 17:28:27 -04:00
Hondacrx dece72fe84 Fixed server starting. 2024-08-05 19:24:29 -04:00
Hondacrx 5a9714a375 Core/SAI: Added support for StringIds to creature and gameobject targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/2ce40684595a0e49a7b2355012c2806952698ce4)
2024-08-05 17:23:37 -04:00
Hondacrx 44f1a733e7 Core/SAI: Allow gameobjects to be targeted by spell casts
Port From (https://github.com/TrinityCore/TrinityCore/commit/22e43917abef1eea31e86c01070afbee19c0cdbc)
2024-08-04 17:09:52 -04:00
hondacrx 1e421b9f53 Misc fixes 2024-03-19 17:21:32 -04:00
hondacrx 88f24c7791 Fixes alot of little errors. 2024-03-15 15:54:45 -04:00
hondacrx dcfcbd779a Core/Creatures: Implemented CREATURE_STATIC_FLAG_5_NO_LEAVECOMBAT_STATE_RESTORE
Port From (https://github.com/TrinityCore/TrinityCore/commit/be3dc89c32e5b60df4c026d8b19505e529e199b6)
2024-02-27 13:49:15 -05:00
hondacrx 9d1589afd4 Core/Creatures: Implemented CREATURE_STATIC_FLAG_4_NO_MELEE_APPROACH and fixed CREATURE_STATIC_FLAG_NO_MELEE_FLEE implementation (should cause fleeing from melee range)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a748fddfa47216e1f516303e3bca9b5a86823748)
2024-02-24 15:18:07 -05:00
hondacrx 27763a6625 Core/SAI: Fixed SMART_ACTION_MOVE_TO_POS and SMART_ACTION_JUMP_TO_POS using target coordinates as destination if requested WorldObject target was not found
Port From (https://github.com/TrinityCore/TrinityCore/commit/888ccd1e4421b83411cb00365c26b19234e1e46e)
2024-02-21 18:16:45 -05:00
hondacrx 6abce678ca Misc fixes 2024-02-06 22:12:17 -05:00
hondacrx aac60cf9a8 Core/Units: moved health and power ordering predicates from Unit header into CommonPredicates
Port From (https://github.com/TrinityCore/TrinityCore/commit/2f6ed2c203b16a1d1e85f61a8b8e2cf3d1a4e784)
2024-02-06 10:01:30 -05:00
hondacrx 437fe2d8fd Core/Creatures: Moved autoattack handling from scripts to game
Port From (https://github.com/TrinityCore/TrinityCore/commit/605e5f94c0d71cad8e83fa5a07eaec4e6bed9cc3)
2024-02-05 18:18:30 -05:00
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 34253877b0 Core/AreaTriggers: Refactor
* Moved IsServerside to custom flags
* Flags moved from areatrigger_template to areatrigger_create_properties
* New field to create custom CreateProperties (IsCustom)
* New field to reference custom areatriggers (IsAreatriggerCustom)
* Moved fields for shape data to areatrigger_create_properties
Port From (https://github.com/TrinityCore/TrinityCore/commit/37eb2e64a6ad075e9866af6feb72bb4fbccb2adc)
2024-02-05 11:48:37 -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 c9a11f3ead Core/AI: Move ArcherAI to individual creature script
Port From (https://github.com/TrinityCore/TrinityCore/commit/caa4cfb5695deabd0bb9059f01435f3c8027aff7)
2024-02-02 14:55:26 -05:00
hondacrx 4e06ce4823 Core/SAI: Moved event_flags for difficulties to new field Difficulties
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8ce70d528e2489832f4ffd8e6b35560937f6339)
2024-02-02 14:32:13 -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 a436f7b2d1 Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ce96adb7a8ae29a577cce268c8bd3742253cf69)
2024-02-01 09:51:04 -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 ccb5341c21 Some misc cleansup. 2023-10-06 17:33:20 -04:00