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
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
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
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
hondacrx
78a466e5b6
Core/Unit: Some charm fixes:
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/34f9666f209ab3f281bf81de92c4bc1a164b0059 )
2021-11-02 14:14:58 -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
5d94082841
Core/SmartAI: SetRun fix for SAI
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c3690db917016461f4c94b7e75bd16e67b5b0f0 )
2021-10-30 19:59:16 -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
3b4a440aa7
Core/SmartAI: Remove PauseMovement on AttackStart
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e7f93ca96d4fb8fefa7caeddf244fdca63f6b664 )
2021-09-26 11:39:15 -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
7cc0221447
Core/Entities: kill unused return value from Unit::HandleSpellClick
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a1a00f823e7e47e8cb652b71a839c1d0875a8f84 )
2021-08-09 10:05:13 -04:00
hondacrx
d485bf97ec
Scripts/SmartAI: SetData now has an invoker (if the setting is done by something using SmartAI).
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/37298ca99cce901bd358c536b34aee879f72f900 )
2021-06-23 23:36:38 -04:00
hondacrx
751d397031
Entities/GO: Add forceRespawnTimer support to DespawnOrUnsummon. Use it in SAI.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/168be492f5924d306a90e7f8dfd86a6c547da3d7 )
2021-06-23 23:09:48 -04:00
hondacrx
d12ae8cde2
oops, now it builds (and a bonus refactor that annoyed me)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd158f6c29581e08633c3971a130b0720f90b630 )
2021-06-23 22:51:38 -04:00
hondacrx
4206c48aaa
Scripts/SmartAI: Forward invoker to invoked action list actions. Also JustAppeared -> InitializeAI.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f26122528ad31a9dedbfcf5c1029cf750dfd1d4 )
2021-06-23 22:48:37 -04:00
hondacrx
fc49a98dab
Scripts/SmartAI: SMART_TARGET_INVOKER cleanup step 1. The core will now log errors on start-up if SMART_TARGET_INVOKER abuse is found, but will continue to load the scripts as deprecated for now.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/06b5b8d8b7ac3da65013ccc0f03599ee9dee2163 )
2021-06-23 22:41:44 -04:00
hondacrx
65173c19cb
AI/SmartAI: Remove a silly incorrect piece of code that was breaking react state swaps on SAI creatures.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7695784fd2416764f3efa5bad3529250a49d05c8 )
2021-06-23 15:31:17 -04:00
hondacrx
de0929bc8e
Core/Scripts: Remove deprecated overload of QuestReward without LootItemType argument
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b9d63c2009c842a12876c2069ba0a3dd7d277f4a )
2021-05-18 12:39:00 -04:00
hondacrx
5b0391b1d9
Core/AI: UnitAI trimming part two. WaypointX methods kicked upstairs to CreatureAI
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e0afca513a9bfbd82134942e1266e46811707cbb )
2021-04-28 10:58:26 -04:00
hondacrx
ad94721b7c
Core/SAI: Don't clear stored pathid if it changed after processing waypoint events
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8b0de23d0e4b15fce8dc8c67f9512f76804d6439 )
2021-04-28 10:36:17 -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
hondacrx
62ec699ec6
Core: SOme code cleanup, more to follow.
2021-03-20 22:48:48 -04:00
hondacrx
1e2b303b35
Core/SAI: Fixes overwriting loaded paths.
2021-02-16 00:16:41 -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
ae9b0040a1
Core/AI: rearrange SAI private methods
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e5a955fc8980df1332a3faa741731fbddc31b24 )
2021-02-04 10:37:28 -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
9afb47f993
Core/SAI: remove double calls to SMART_EVENT_RESPAWN for creatures and gameobjects
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b902e739d43d1d53819ad636e0900c39ba86d907 )
2021-01-19 13:25:35 -05:00
hondacrx
355d54c6fa
Core/SAI: allow to pause/resume waypoint for non-escorting NPCs
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/56dca10f1b7aa02e2869176ae93b5483406dea09 )
2021-01-19 13:24:27 -05:00
hondacrx
56d007da4c
Core/Quests: Fixed questgiver icons
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f3a2d2abf296d1eaf9788244100c91de8b7a619 )
2020-12-14 14:01:25 -05:00
hondacrx
7e2df34250
Misc cleanups/Fixes
2020-12-07 10:07:26 -05: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
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
193ad3a48d
Combat/Threat rewrite - prep & refactor
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8be23fcbbdf26e8169defd761e61765f301bebe0 )
2020-08-22 11:58:19 -04:00
hondacrx
61b6606dce
Core/AI: segregate GameObject ReportUse from normal Use (lock open/normal click)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5903a10a834b1198702b024182581799648540ff )
2020-07-22 14:21:29 -04:00
hondacrx
2ec6d06950
Core/SAI: Change SmartScript.GetTargets to return an ObjectList
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/259bde591444980c27a17524c140f078c4159f55 )
2020-07-21 15:13:51 -04:00
hondacrx
1a2411ae0f
Ports from ( https://github.com/TrinityCore/TrinityCore )
...
Core/Unit: don't clear low health aura states on death
Core/Gossip: Fix gossip bug on modify money
Core/Spells: Change the radius of PBAoEs following the feedback received on
Core/Player: update interaction checks, some info taken from client
Core/Spell: abort channeling if no valid targets are found after searching
Core/Creature: fix _DespawnAtEvade saving wrong respawn time
Core/Spell: fixed some problems with per caster aura states
Quickfix a bug introduced by 2f19d97 which prevented GTAoE from being cast.
Core/SmartAI: allow SMART_ACTION_SEND_GOSSIP_MENU to override default gossip
Core/Spell: in case of immunity, check all effects to choose correct procFlags, as none has technically hit
Fix evade issues when a spell hits the target just before evading.
Scripts/Command: implement .debug play music command
Partial revert, Unit::getAttackerForHelper() shouldn't return units that we aren't in combat with (victim can be such a unit for players/player pets, which can startattack from a distance without entering combat).
Fix an issue where CanSpawn would never get invoked on creatures without per-guid script.
Core/Players: fix null dereference crash
2020-06-21 13:01:24 -04:00
hondacrx
d7954f4fc7
Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7306439e7004288fb85890d6a5f730cf1761d71 )
2020-06-18 12:39:39 -04:00
hondacrx
c2aee387a8
Core/Scripts: unified scripted gossip/quest api
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6604849716bc73d82a4cdbf8c66bb188086ceae4 )
2020-05-22 13:28:20 -04:00
hondacrx
2fc4e3e71f
TC Ports:
...
Core/Misc: 522f537048 followup (https://github.com/TrinityCore/TrinityCore/commit/9a57e95f102a9d35ac8416d02e24c0dddbc755ed )
Core/CreatureAI: b6b0353bff followup (https://github.com/TrinityCore/TrinityCore/commit/5d411e0b21b1f1a4653d274d9b1cc7fef17f232b )
Core/Spell: move creature focus (https://github.com/TrinityCore/TrinityCore/commit/8c12f36915b2fddd48a5e4c9244c2b0498a64ae9 )
Core/Unit: 2170541a51 followup (https://github.com/TrinityCore/TrinityCore/commit/2d4549023a6655d19671f7f7e6b4f7c9b71ae632 )
Core/Misc: cleanup SetInFront uses (https://github.com/TrinityCore/TrinityCore/commit/104e745edfb89f95e34cad7840eae0b6e183bf94 )
Core/Unit: 229444b74a follow-up (https://github.com/TrinityCore/TrinityCore/commit/6a96addadd5dea633b3066b8d0427302ba514364 )
Core/Unit: revert 3ea46e57af (https://github.com/TrinityCore/TrinityCore/commit/a46286a803b41b375ed9352858c742626bb85720 )
Core/Scripts: remove OnDummyEffect hook/sOnDummyEffect ai hook (https://github.com/TrinityCore/TrinityCore/commit/1929ca3aa14f6cd83ea3ac9d7e8c0e2ed0e87a26 )
Core/Entities: moved PetAura handling to Player where it belongs (https://github.com/TrinityCore/TrinityCore/commit/4f6d38fe9d5c07e6e8eb88e517af71b6cdc4f9f8 )
Core/Spells: Fixed Chilled to the Bone (https://github.com/TrinityCore/TrinityCore/commit/08635c740a7ee04da9b0cd5045075a9432121b06 )
Core/Spell: implement pvp trinket immunity against Judgement of Justice (https://github.com/TrinityCore/TrinityCore/commit/05ba662d5daaa3428cc01cdaa3794bf5a073ef17 )
2020-05-19 14:49:37 -04:00
hondacrx
752137af52
Refactoring Cleanup
2020-02-03 14:42:20 -05:00
hondacrx
230453c451
New Year 2020 :)
2020-01-09 11:35:00 -05:00
hondacrx
570aebce26
More refactoring of code.
2019-09-23 21:41:13 -04:00
hondacrx
35c06c09fd
Some refactoring of code. and some cleanups
2019-09-21 12:11:16 -04:00
hondacrx
1657f720dc
Core/SmartAI: Various fixes and extensions for smart scripts:
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a32d5cfa1762ae1158ee2f40b4c9b36e5b41913a )
2019-08-30 12:00:42 -04:00
hondacrx
6a77a4afd6
Revert Core/Movement: Smooth movement
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/2caec4f4d20b4c0f91abbcc60b756e00838c7bdd )
2019-08-27 16:12:42 -04:00
hondacrx
d3bce6a75c
Core/Misc: Fix various crashes, also related to multithreading
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad008c43b75080ec59aa973f1e2e4424332c34a4 )
2019-08-16 22:03:02 -04:00
hondacrx
125e3b3ac7
Updated to 8.2.0.31429 (scripts disabled atm, they still need updated)
...
Code Port from TrinityCore https://github.com/TrinityCore/TrinityCore
Casc from WoW-Tools https://github.com/WoW-Tools/CASCExplorer
2019-08-14 11:20:42 -04:00