hondacrx
|
6ad0b6f159
|
Core/Unit: rename IsFocusing method
Port From (https://github.com/TrinityCore/TrinityCore/commit/be4ed9152c1a9c3dab9949eb36d867b763603f60)
|
2022-01-02 19:25:23 -05:00 |
|
hondacrx
|
e70e2d0088
|
Core/SmartAI: SmartAI creatures no longer process health-based hooks after death.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3db58c4d96c446b736b84d4954f8fd9c9e309e33)
|
2022-01-02 19:15:03 -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
|
f954046c4c
|
Core/Combat: Properly unset engagement flag on death.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b1ca0ca128425677043d36a147a019f6d2ac6e6)
|
2022-01-02 12:32:11 -05:00 |
|
hondacrx
|
e7ab9031ac
|
Core/AI: No longer do strange things when told to enter evade mode while there's no need to do so, typically by terrible legacy code.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3269c4278933d65ef0df619a50cbd0b851cab4fc)
|
2022-01-01 17:58:34 -05:00 |
|
hondacrx
|
5c57253090
|
Core/AI: PetAI now properly signals engagement state.
Port From (https://github.com/TrinityCore/TrinityCore/commit/1759502f5d4cc89ab80e9cfb93c804e096a3ad93)
|
2022-01-01 17:56:20 -05:00 |
|
hondacrx
|
077cdc5d23
|
Core/AI: No longer override chase movement with follow movement if the creature engages before JustAppeared has had a chance to fire.
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4c2c0fb1d1b9fae832ecc52aa68fe3fb8d1ca52)
|
2022-01-01 17:08:13 -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
|
a4c4897b4d
|
Core/SmartAI: add missing movement generator type check on SmartAI::SetCombatMove
Port From (https://github.com/TrinityCore/TrinityCore/commit/e94dca132b4a505f3cc4583bd63879148ad51ca3)
|
2022-01-01 16:17:58 -05:00 |
|
hondacrx
|
c0aad82cd1
|
Core/SmartAI: allow more Unit::ResumeMovement calls on JustReachedHome()
Port From (https://github.com/TrinityCore/TrinityCore/commit/f1ef2f73a4da4cf466728903207e9d623800d70e)
|
2022-01-01 16:11:41 -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
|
73fa489610
|
Misc: some corrections after recent merges
Port From (https://github.com/TrinityCore/TrinityCore/commit/cadbf42ea4489933f28caf356f8c8d09ca243083)
|
2021-12-24 21:38:37 -05:00 |
|
hondacrx
|
958dbbb4d9
|
Core/SAI: add param3 to SMART_ACTION_CALL_TIMED_ACTIONLIST to allow it to override a currently running actionlist.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d197a7ce9b376f45e5de1a5aab3df75b77b62d8f)
|
2021-12-24 21:09:51 -05:00 |
|
hondacrx
|
0f248e2faa
|
Core/SAI: allow creatures to handle gameobject spellhit SAI events.
Port From (https://github.com/TrinityCore/TrinityCore/commit/83a9222c390110ae082512ed858a5580a958aa21)
|
2021-12-24 21:05:03 -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
|
5a7d42530e
|
Core/AI: Actually accurately reproduce the logic from before 8499434 that determines what summons start following on appearance. Third time's the charm?
Port From (https://github.com/TrinityCore/TrinityCore/commit/c9d52c954793404af02f75af97390d7c82c433ff)
|
2021-12-24 20:55:55 -05:00 |
|
hondacrx
|
3126ac721d
|
Core/SAI: silence wrong SAI error when using SMART_ACTION_SET_DATA on a creature using CreatureAI.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e8c1adcf8f28a7ce90113175c732b98556c6bbb8)
|
2021-12-24 20:51:13 -05:00 |
|
hondacrx
|
8ff2e2d75b
|
Core/Creatures: Fixed crash in CreatureAI::JustAppeared caused by scripted summons without SummonProperties
Port From (https://github.com/TrinityCore/TrinityCore/commit/1c00109756815b6888303b31748595521fd7809c)
|
2021-12-24 20:25:47 -05:00 |
|
hondacrx
|
d255912aa6
|
Core/AI: minimize further undesired behaviours
Port From (https://github.com/TrinityCore/TrinityCore/commit/d7e544e81626ab477024c057e3e7a2a45083f3a7)
|
2021-12-24 20:22:19 -05:00 |
|
hondacrx
|
bd3768c4ef
|
AI/TotemAI: Tell Shaman Totems to stay put and stop moving.
Port From (https://github.com/TrinityCore/TrinityCore/commit/007eb8c9311320217fdda0bc0e6c05044254edfe)
|
2021-12-24 20:20:05 -05:00 |
|
hondacrx
|
925119c2ca
|
AI/SmartAI: Properly forward to inherited CreatureAI::JustAppeared in SmartAI::JustAppeared.
Port From (https://github.com/TrinityCore/TrinityCore/commit/743d022cee936d47a60f23e72fda7fb72ee61907)
|
2021-12-24 20:16:01 -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
|
3c38758f09
|
AI/SmartAI: Move SMART_EVENT_RESPAWN invocation from ::InitializeAI() to ::JustAppeared().
Port From (https://github.com/TrinityCore/TrinityCore/commit/e398bb16648b483c97a68b2a29b25173b2a71261)
|
2021-12-23 20:24:47 -05:00 |
|
hondacrx
|
2d87d0c75d
|
Core/AI: Remove EnterEvadeMode calls from Guardian/Summon spell handlers. Add follow logic to CreatureAI::JustAppeared.
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f7d3ebd6a474c2e325698b1665ab2939926cab6)
|
2021-12-23 20:23:16 -05:00 |
|
hondacrx
|
7a4882731d
|
Core/SAI: allow to start waypoint movement for a creature that is in combat.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5331656785a2b76c060c4e8d4cfb3938c8559efc)
|
2021-12-22 20:24:27 -05:00 |
|
hondacrx
|
6a295f7fe4
|
Core/SAI: add cooldownMin (event_param2) and cooldownMax (event_param3) to SMART_EVENT_ACCEPTED_QUEST and SMART_EVENT_REWARD_QUEST.
Port From (https://github.com/TrinityCore/TrinityCore/commit/7745e3f94389cf22cf9be04b411e94936306a6f6)
|
2021-12-22 20:13:01 -05:00 |
|
hondacrx
|
2cbed03883
|
Core/SAI: don't allow to start a new SAI actionlist while the entity is already running one.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e846d4c3ef04d75839325409df109156d8ccced0)
|
2021-12-22 20:09:35 -05:00 |
|
hondacrx
|
8858e58f46
|
Core/SAI: add action_param3 to SMART_ACTION_REMOVEAURASFROMSPELL to allow it to remove only auras from spells that were cast by the entity itself.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d037c6b08634c5d0d4cc0462ae28e15baf8498bb)
|
2021-12-17 17:15:30 -05:00 |
|
hondacrx
|
cf3bc71a74
|
Core/SmartAI: Improve SMART_EVENT_GOSSIP_HELLO
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9aed3e442374db74ebc98edc39ba4ee46acf123)
|
2021-12-16 12:36:53 -05:00 |
|
hondacrx
|
eef0e8e875
|
Misc fixes
|
2021-12-07 20:57:02 -05:00 |
|
hondacrx
|
5081e1aa69
|
Core/SmartAI: Implement SMART_EVENT_SUMMONED_UNIT and SMART_EVENT_SUMMON_DESPAWNED for GameObject owners
Port From (https://github.com/TrinityCore/TrinityCore/commit/6034992dffbbd511f59e77c13285da282d9c737d)
|
2021-12-07 20:44:30 -05:00 |
|
hondacrx
|
c37e1c9f7d
|
gameobject summoner
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f545f540216d3b94c26e4aeda50c8bb8d5c3d74)
|
2021-12-07 20:42:47 -05:00 |
|
hondacrx
|
b7e4c2fd76
|
Core/SmartAI: Fix SMART_EVENT_SUMMON_DESPAWNED
Port From (https://github.com/TrinityCore/TrinityCore/commit/54044bda8219e712eaec6148af4db6523386cc0f)
|
2021-12-07 20:21:31 -05:00 |
|
hondacrx
|
73b84ca811
|
Core/PetAI: apply some movement related corrections
Port From (https://github.com/TrinityCore/TrinityCore/commit/14712653dd813789bb47165621416e56eac47c8e)
|
2021-12-07 20:15:06 -05:00 |
|
hondacrx
|
2fdc3665a4
|
Core/AI: PetAI method reordering
Port From (https://github.com/TrinityCore/TrinityCore/commit/86b4aa01bb31067e788b6ccffccd04a9901d779b)
|
2021-12-07 18:28:52 -05:00 |
|
hondacrx
|
1f0896fb20
|
Core/PetAI: apply some movement related corrections
Port From (https://github.com/TrinityCore/TrinityCore/commit/97dddac75adab46d55d3d698e36c4403a93b4372)
|
2021-12-07 18:26:50 -05:00 |
|
hondacrx
|
c3dc452024
|
Core/PlayerAI: apply some movement related corrections
Port From (https://github.com/TrinityCore/TrinityCore/commit/6814b4d32b283c3a1b676d2f13953894a9f1ff7a)
|
2021-12-07 18:23:50 -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
|
7c223b9a47
|
Core/Spells: Return CheckCast result from CastSpell
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab988dc98284285b8ed0253f0bca1ddeb7eb9982)
|
2021-12-07 17:31:24 -05:00 |
|
hondacrx
|
7bb87b1a8e
|
Core/SAI: Fixed crash when using SMART_TARGET_CLOSEST_* in areatrigger smart script
Port From (https://github.com/TrinityCore/TrinityCore/commit/198d18bef5d3480cb30c80e4a4946327f401a6d4)
|
2021-12-07 16:59:57 -05:00 |
|
hondacrx
|
4fb48f1522
|
Core/Vehicles: Fix accessories disappearing on reset
Port From (https://github.com/TrinityCore/TrinityCore/commit/a855e6221d517297cfb9e2e78b57a6a57fccc85a)
|
2021-12-07 14:19:43 -05:00 |
|
hondacrx
|
dcd4dc4226
|
Remove Deprecated code
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ced6d219236084412e9e76dbbbf1eb615efa920)
|
2021-12-07 14:18:01 -05:00 |
|
hondacrx
|
8fa7feb9da
|
Core/Scripts: Rename recent GameObject spell overloads to fix warnings
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4fcfbb3afe388f90725734b0180ad8322277b7d)
|
2021-12-01 23:05:27 -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
|
a04e405383
|
Core/SmartScripts: Implement SMART_ACTION_PLAY_CINEMATIC
Port From (https://github.com/TrinityCore/TrinityCore/commit/dad95d16b263b9c1cb8df6edac8043138fb4da9e)
|
2021-12-01 11:44:02 -05:00 |
|
hondacrx
|
614c903fd0
|
Core/SAI: Fix Move to position and Set run if used after a waypoint
Port From (https://github.com/TrinityCore/TrinityCore/commit/e5eff882826c8ae7943519ba355ba7c544274336)
|
2021-11-29 14:48:13 -05:00 |
|
hondacrx
|
3239fd1f28
|
Core/SAI: Fix the respawn event for GameObjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/da1166db98f5f73aa1d8dc04ae2e39617c8b6a4c)
|
2021-11-29 14:47:27 -05:00 |
|