hondacrx
5cc8c0dadf
Fix an overly strict check that was causing guardians to evade loop. Also make players properly enter combat when their pets are engaged by a creature.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/09027e5ccc9618e5fae45a354bcd01cd04ee0aa1 )
2020-07-24 16:35:22 -04:00
hondacrx
db44970987
Pet/Guardian AI hook re-organizing
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f7a7d02a7f50400cdc2be3c4722afeefe7efce80 )
2020-07-22 15:27: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
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
e96e880237
Core/AI: some tweaks on boundary functionality
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f3a49059acb7b19ef95ebb7f6fe6887a123cd1c9 )
2020-05-19 14:02:29 -04:00
hondacrx
de44d88f7e
Core/AI: added a function to allow 0 damage attacks (sparring) depending on target
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/bb3f2a11cfa909a0b40450050f33a3893f6bb061 )
2020-05-19 13:59:04 -04:00
hondacrx
d97c8ceaf6
Core/AI: prevent launching a new MoveChase if victim didn't change
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9c53ee0fe8ec98b3a192f065bd1ac30fc111f73c )
2020-05-18 22:47:27 -04:00
hondacrx
c9a91fa62f
Core/Movement: MotionMaster & MovementGenerators cleaning
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/14c6a4d8238e4f383557359436b5f73cb730d4ea )
2020-05-07 14:16:30 -04:00
hondacrx
ffe569ffb7
Core/AI: AreaBoundary refactor
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3f79c9f69674618a7d7e2bf8484f9ec6ce15b2df )
2020-05-06 15:15:21 -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
95a80cf51e
Core/Creatures: disabled "automatic" monster sparring
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/27b5d1834850a1e7c64cb03200cdf7610d354730 )
2019-09-01 10:55:39 -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
b3faf9685a
Fix build. (scripts are fixed but most need updated tho)
2019-08-18 23:23:18 -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
e6f049d531
Core/Pets: Fixed flashing pet attack button ( #18906 )
...
Port TrinityCore Commit: https://github.com/TrinityCore/TrinityCore/commit/d1cbd8a837116a0fadae06cf5714a345035eb799
2019-08-14 23:35:18 -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
7aa494d5dd
Core/Errors: Stop using System.Diagnostics.Contracts, Its just closing the server without error or warning. We now log the error and then throw a exception
2018-06-15 12:34:56 -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
70fb5c6fd8
Core/AI: Added CreatureAI hook that is getting triggered when a spell cast has been successfully finished.
2018-04-12 18:14:14 -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
761af36d05
Core/Misc: Misc fixes
2018-03-18 11:44:55 -04:00
hondacrx
874e5b7b2c
Core/Scripts: Fix loading of spell scripts.
2018-03-13 15:44:02 -04:00
hondacrx
39b2467cd0
Core/Pets: Pet Attack Distance
2018-03-11 14:50:43 -04:00