Commit Graph

59 Commits

Author SHA1 Message Date
hondacrx 65855d1f22 Misc Fixes 2021-01-08 20:45:13 -05:00
hondacrx 6608cbcb83 Core/Items: Fix crash when loading npcs with equiped items 2021-01-02 12:48:43 -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 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 18d7144ca6 Core/Spawn: Move spawn group state management from sObjectMgr to the Map object, which makes it actually function as intended with instances.
Port From (https://github.com/TrinityCore/TrinityCore/commit/27806eeac9d2588d2f7a3b8a0852d45b15a6a241)
2020-08-24 21:21:27 -04:00
hondacrx 8b6c86d568 Core/Creature: regenerate health
Port From (https://github.com/TrinityCore/TrinityCore/commit/9a5e2b80b39d3c0a466aec1ab3a6dbccf938f570)
2020-08-24 19:19:13 -04: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 15ae7a7c66 Dynamic Creature/Go spawning
Port From (https://github.com/TrinityCore/TrinityCore/commit/03b125e6d1947258316c931499746696a95aded2)
2020-08-23 21:52:32 -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 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 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 0ece69bf90 Fix a whole set of possible infinite loop crashes in SAI (events triggering themselves even with cooldown set).
Port From (https://github.com/TrinityCore/TrinityCore/commit/e6145a8ec4aee285a9f9da4d252d832b5e73fff0)
2020-07-22 14:11:31 -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 a7f58dc076 Game/AI: SMART_ACTION_JUMP_TO_POS should resume path when reached jump location
Port From (https://github.com/TrinityCore/TrinityCore/commit/a0feff65bec4e7583e281afe7f82cf1a8c77de68)
2020-05-06 14:52:33 -04:00
hondacrx c3adef77a9 Misc cleanups 2020-05-05 19:09:57 -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 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 c79a31dfff Core/Entities: spawned movementtype should override template movementtype
Port From (https://github.com/TrinityCore/TrinityCore/commit/a24cb8a057d53c4df15b97e536c14640d9d08610)
2019-08-31 15:25:49 -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 2d2a72ce3e Core/Misc: Various crash fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/4f65dc5e20cc3af5b3595809707c632faa6e5900)
2019-08-17 11:23:32 -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 146f0639e2 Core/SmartAI: Delay SMART_ACTION_FORCE_DESPAWN by at least one world tick
Port From (https://github.com/TrinityCore/TrinityCore/commit/a29a157e34e603aed5dd813702f16bb3e0ccd3a5)
2019-08-15 11:55:27 -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 468b053946 Core/Maps: Replaced spawnmask with difficulty list 2018-09-17 12:08:48 -04:00
hondacrx 7255455b22 Core/Refactor: Part 5 2018-07-05 10:57:42 -04: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 7d4c0b7634 Core/Misc: Misc cleanups and changing of fields 2018-05-13 20:26:05 -04:00
hondacrx f26f7a4348 Core/Misc: Fixed rotation of many gameobjects summoned in garrison and various scripts 2018-05-08 15:36:23 -04:00
hondacrx 9b40067017 Core/Refactor: Part 2 2018-05-07 22:07:35 -04:00
hondacrx fa35d60f60 Core/Entities: Phasing rewrite 2018-03-28 11:09:30 -04:00
hondacrx aaae2edf02 Core/SmartScript: Added ACTION_GO_SET_GO_STATE 2018-03-18 12:01:59 -04:00
hondacrx 874e5b7b2c Core/Scripts: Fix loading of spell scripts. 2018-03-13 15:44:02 -04:00
hondacrx 5e571794bf Core/AI: Added new method for search friendly targets with certain entry and hp pct below a value 2018-03-11 14:47:19 -04:00
hondacrx 8c142d6077 Core/Misc: Fix null error and not finding transports 2018-02-16 15:04:24 -05:00