Commit Graph

47 Commits

Author SHA1 Message Date
hondacrx d21b9e1858 AI/SmartScripts: Replace SMART_ACTION_INVOKER_CAST with SMART_ACTION_SELF_CAST in action 85. SMART_ACTION_INVOKER_CAST moves to 134.
Port From (https://github.com/TrinityCore/TrinityCore/commit/0aee79dfb8027e8b35472f5f61eb4f318528c951)
2021-10-17 18:49:09 -04:00
hondacrx 7c360aae68 Some cleanups 2021-10-17 17:13:53 -04:00
hondacrx 9a41de7593 AI/SmartScripts: Warn on startup for ACTION_INVOKER_CAST without invoker (same as invoker targets)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2d266edf3da950ac4aeaf48b6778f8bbc7bcdd4)
2021-10-17 17:02:08 -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 cf79d69487 Core/Movement: use helpers for validation
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b6049fe0bf49a8c21114960cb7a6522f48c8308)
2021-09-26 13:49:13 -04:00
hondacrx 5c4a7511ff Core/Spells: Cleanup spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a4e1119ac21e2d1112d1717337597fe073e495f)
2021-09-08 17:40:50 -04:00
hondacrx 08db42917e Core/SmartScripts: Rename SMART_ACTION_RESPAWN_TARGET -> SMART_ACTION_ENABLE_TEMP_GOBJ, since that's the only thing it still does in the dynspawn model. Adjust body accordingly to warn on misuse.
Port From (https://github.com/TrinityCore/TrinityCore/commit/32997a598992c5be7ad838b52b9e9a185d68d9fb)
2021-08-09 09:57:11 -04:00
hondacrx 06a189e5e6 AI/SmartAI: New SMART_ACTION_RESPAWN_BY_SPAWNID
Port From (https://github.com/TrinityCore/TrinityCore/commit/61baf6704cf4f31b8b5f24d627d315659336c992)
2021-08-09 09:47:23 -04:00
hondacrx 345a2974ea Fixes so errors 2021-06-25 10:40:44 -04:00
hondacrx 515ae6ed12 Core/SAI: Add an action_param3 to "summon gob" to control when the object will despawn
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b6e76a5efe5e48ff20b4ef84e0f3dc0f9bc84a0)
2021-06-23 23:50:55 -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 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 be2f4087b7 Core/SAI: Extended SMART_TARGET_VEHICLE_PASSENGER to allow specifying seat mask instead of single seat index (can now target all passengers)
Port From (https://github.com/TrinityCore/TrinityCore/commit/172df39350391e4fa2e40515d288e7e4e6b9cc91)
2021-06-22 20:55:38 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx 8ada9c99e7 Core/SAI: Implement quest source for SAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/1b4c4d216478c57a562247815dfba0e5d2c9f192)
2021-03-08 14:17:23 -05:00
hondacrx a43e8468dc Core/SAI: Add event_parm5 "player only" for EVENT_OOC_LOS and EVENT_IC_LOS
Port From (https://github.com/TrinityCore/TrinityCore/commit/77ee6dca456110336700460b25273a4de8061248)
2021-03-04 15:37:34 -05:00
hondacrx b2041b1a58 Core/SAI: Add SAI action to create a conversation
Port From (https://github.com/TrinityCore/TrinityCore/commit/0996d60944dba87f89f393541c009dedeccb45a4)
2021-03-04 13:38:23 -05:00
hondacrx 834d2fa270 Core/SAI: Added new Flags argument for SMART_ACTION_SUMMON_CREATURE
Port From (https://github.com/TrinityCore/TrinityCore/commit/e0278f05379ed470be8264d3f362360a52b3454d)
2021-02-13 20:57:06 -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 73f4790346 Core/SAI: Add distance option for SMART_ACTION_SOUND & SMART_ACTION_RANDOM_SOUND
Port From (https://github.com/TrinityCore/TrinityCore/commit/097335f2c4db5ce8ff773ec73b179a1f26b504fe)
2021-01-19 13:32:21 -05:00
hondacrx 10c1adf2d8 Core/Chat: Send broadcast text id in sound packets to allow playing encrypted sound files
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e4609f6e18c181fbb54ec851a9ccd5bd3c6eb7b)
2020-12-31 21:00:19 -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 15ae7a7c66 Dynamic Creature/Go spawning
Port From (https://github.com/TrinityCore/TrinityCore/commit/03b125e6d1947258316c931499746696a95aded2)
2020-08-23 21:52:32 -04:00
hondacrx 97ee7c437d Core/SmartAI: implemented SMART_EVENT_EVENT_PHASE_CHANGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/593d3243d4b8301fe03634d279b51a68b5d9effd)
2020-07-24 18:08:59 -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 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 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 981e1e04c1 Core/SmartScripts: implement SMART_ACTION_PLAY_SPELL_VISUAL_KIT
Port From (https://github.com/TrinityCore/TrinityCore/commit/7d999b70a1640b5dbe3042f59463814f13cdc834)
2019-09-05 12:01:18 -04:00
hondacrx eaadad3774 Core/SAI: Implement new action to set movement speed
Port From (https://github.com/TrinityCore/TrinityCore/commit/5dd6d31c01dcc48f3d286196808ca0f6de9eaf04)
2019-09-04 13:32:16 -04:00
hondacrx 74a1025f41 Core/SmartAI: Allow scripting GameObjects by spawn id too
Port From (https://github.com/TrinityCore/TrinityCore/commit/4ab07ae4e18731cfbffed4787a6db2f10fde7933)
2019-09-01 10:53:09 -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 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
hondacrx 1af2fbdd7d Core/SAI: Add a 5th parameter to SAI events
Port TrinityCore Commit: https://github.com/TrinityCore/TrinityCore/commit/91409cc77e5076e43046dc9749308afcf52f04db
2019-06-19 15:44:16 -04:00
hondacrx 1e1c5c77a8 2019 YAY! 2019-01-01 12:01:55 -05:00
hondacrx 8e20114e10 BFA Update (still lots of testing to do tho) 2018-12-10 12:46:25 -05:00
hondacrx 2c3479c6e2 Core/Refactor: Part 4 2018-05-27 15:40:06 -04:00
hondacrx 5dacd669b5 Core/Refactor: Part 3 2018-05-16 19:57:48 -04:00
hondacrx aaae2edf02 Core/SmartScript: Added ACTION_GO_SET_GO_STATE 2018-03-18 12:01:59 -04:00
hondacrx b750f54f1d Core/Movement: Smooth movement 2018-02-13 10:34:51 -05:00
hondacrx 28c0ef9d03 Happy New Year!!!! 2018-01-02 13:02:21 -05:00
Fabian a3dc7b3f48 Ported .Net Core commits:
hondacrx:
- Initial commit: Switch to .Net Core 2.0
- Fix build and removed not needed files
Fabi:
- Updated solution platforms.
- Changed folder structure.
- Change library target framework to netstandard2.0.
- Updated solution platforms again...
- Removed windows specific kernel32 function usage (Ctrl-C handler).
2017-10-26 17:23:44 +02:00