Commit Graph

1114 Commits

Author SHA1 Message Date
UltraNix
affa6f9084 refactor(Core/Combat): Cleanup DoZoneInCombat function. (#8789)
* Core/Combat: Cleanup DoZoneInCombat function.

Updates #7960

* Restore distance parameter.

* You don't belong here.

* Update
2021-11-09 00:54:44 +01:00
Kitzunu
24f9f993cc refactor(GameObjectAI): Change self-accessor to "me" (#9041) 2021-11-08 22:06:04 +01:00
Kitzunu
a062653c0e chore(Script/ApplySpellFix): Correct some comments (#9001) 2021-11-08 13:46:11 -03:00
IntelligentQuantum
4653641a0b refactor(Scripts/Commands): Convert cs_cast to new system (#8997) 2021-11-08 09:06:51 -03:00
UltraNix
e55a93eec8 Core/Spells: Triggered spells should not cause players to stand up (#8986)
- Closes #8764
2021-11-07 20:41:25 +01:00
UltraNix
b00e9072b4 fix(Core/Spells): Troll Roof Stalker's Stealth and Ashenvale Outrunne… (#8984)
- Closes #8727
2021-11-07 20:41:07 +01:00
UltraNix
9f0a78a0ca fix(Core/Spells): Slam should suspend attack timers (#8981)
- Closes #8723
2021-11-07 20:40:48 +01:00
UltraNix
0e84538ee1 fix(Core/Players): charge should not delay player's auto attacks (#8978)
- Closes #7266
2021-11-07 20:40:34 +01:00
UltraNix
53a7a295fd fix(Core/DungeonFinder): enable requeueing inside random dungeon (#8948)
- Closes #8609
2021-11-07 20:40:03 +01:00
Kargatum
c0728f6e2d feat(Core/Packets): rework HandleWhoOpcode (#8863) 2021-11-07 09:51:36 +01:00
Kitzunu
430fa147fd feat(Scripts): Implement generic script loader and registry macros (#8976)
* cherry-pick commit (fb87ac8e8d)

* cherry-pick commit (7d4fbf706a (diff-ea1c86c26019127a4e99686cd9029f9ec3e8193f2761b262c2475668edc06764))

* cherry-pick commit (75a6a7a0ad (diff-ea1c86c26019127a4e99686cd9029f9ec3e8193f2761b262c2475668edc06764))

Co-Authored-By: Treeston <14020072+Treeston@users.noreply.github.com>
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-11-07 02:21:00 -03:00
acidmanifesto
0958f2f129 fix(Core/DB/SAI): [Quest] - Weapons of Spirit / Allows Value 3 for react SAI WP Start Consolidated PR (#8926) 2021-11-07 00:21:05 +01:00
UltraNix
70d8b88f3b feat(Core/Modules): Preparation to implement progression-system module. (#8837) 2021-11-06 10:06:12 -03:00
acidmanifesto
93bbff4cca feat(Core/SAI): Wp table add in orientation and delay collumn (#8927)
ADD (Core) Wp table add in orientation and delay collumn
TC Cherry pick of TrinityCore/TrinityCore@4b7d19c
2021-11-06 08:43:45 -03:00
Skjalf
eb62acfad5 feat(Core/World): Don't prevent players from logging characters by default (#8993) 2021-11-05 21:31:45 -03:00
UltraNix
987ee3da3d fix(Core/Items): properly show quest items count deposited/withdrew from bank (#8956)
- Closes #8699
2021-11-06 00:02:17 +01:00
UltraNix
6796a86b7f fix(Core/Item): showing errors when cannot equip some item (#8932)
- Closes #8604
2021-11-06 00:00:47 +01:00
Andrius Peleckas
3ce64b0f01 feat(Core/Spells): implement two new custom attributes to handle aura saving rule (#8377) 2021-11-05 15:56:45 +01:00
Skjalf
d80f7d467d feat(Core/Unit): Implement DoCastRandomTarget() helper (#8876) 2021-11-05 07:47:08 -03:00
Francesco Borzì
c91959bba9 fix(Core/PlayerUpdates): one more C++20 compile warning (#8959) 2021-11-05 08:57:13 +01:00
acidmanifesto
70b0de4e1f fix(Core/Quest): Refresh SMSG_QUESTGIVER_STATUS_MULTIPLE after a quest change (#8902)
Co-authored-by: Malcrom <malcromdev@gmail.com>
2021-11-04 23:51:54 +01:00
UltraNix
1926027066 fix(Core/Pets): controllable guardians (including pets) should not set the combat with its target when commanded to attack it. (#8877) 2021-11-04 23:49:57 +01:00
Kargatum
21214d12c8 feat(Core/Socket): make world OnSocketAccept like auth (#8946) 2021-11-04 18:42:34 +01:00
acidmanifesto
8ac01da463 fix(Spell/Core): Prayer of Mending Heal not smart Healing [TC Cherry Pick] (#8753)
Co-authored by @Keader
2021-11-04 18:24:24 +01:00
IntelligentQuantum
d5509ceb37 refactor(Scripts/Commands): Convert cs_go to new system (#8874) 2021-11-04 12:41:59 -03:00
patou01
ea2c880fc8 fix(Core/Unit): Reduce mobs speed when low on health (#7932) 2021-11-04 10:43:24 -03:00
acidmanifesto
6ff6f48e74 fix(Core/SmartAI): improve SMART_EVENT_GOSSIP_HELLO (#8849)
Add another value to event_param1 for SMART_EVENT_GOSSIP_HELLO to support all cases of OnGossipHello/OnReportUse in GameObjects:
- event_param1 set to 0: execute the action for both OnGossipHello and OnReportUse. This might result in the action being executed twice when clicking the GameObject
- event_param1 set to 1: execute the action for only OnGossipHello
- event_param1 set to 2: execute the action for only OnReportUse
2021-11-04 09:49:20 +01:00
Skjalf
b2ce49135e feat(Core/Scripting): implement OnlyOnceAreaTrigger & Zul'Gurub's in… (#8850)
Co-authored-by: Treeston <treeston.mmoc@gmail.com>
2021-11-03 23:43:03 +01:00
Kargatum
aa7932e971 feat(Core/EnumUtils): add more enum for support chat command (#8828) 2021-11-03 10:50:11 +01:00
Skjalf
80febc4de0 fix(Core/Player): clear current title if the player loses it (#8827) 2021-11-03 00:13:54 +01:00
Skjalf
1ed0a67ed1 fix(Scripts/BlackrockSpire): Rend Blackhand improvements (#8826) 2021-11-02 19:31:35 -03:00
Skjalf
d35c6b6022 feat(Core/Scripts): implemented a guid map in InstanceScript, this wa… (#8781)
Co-authored-by: joschiwald <joschiwald.trinity@gmail.com>
2021-11-02 19:55:50 +01:00
Nefertumm
2f2569d09a fix(Core/Map): encounters list for heroic difficulties (#8224) 2021-11-02 12:37:13 -03:00
UltraNix
e57e0e7cd1 fix(Core/Creatures): AttackStart in MoveInLineOfSight is called only for aggressive mobs. (#8878)
Fixes #8868
2021-11-02 11:43:18 -03:00
Malcrom
f106de8788 refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708) 2021-11-01 17:04:32 +01:00
IntelligentQuantum
0a2c7a3756 refactor(Scripts/Commands): Convert cs_spectator to new system (#8811) 2021-10-29 20:35:01 -03:00
acidmanifesto
86329a43ab fix(Core/GameObject): Segment fault error fix (#8824)
Closes https://github.com/azerothcore/azerothcore-wotlk/issues/8819
2021-10-29 17:39:01 -03:00
IntelligentQuantum
fe682805ab refactor(Scripts/Commands): Convert commands to new system Part 1 (#8704) 2021-10-29 15:58:59 -03:00
Kargatum
67b3ac442a fix(Core/Chat): add missing Eluna chat api (#8821) 2021-10-30 00:38:06 +07:00
Kitzunu
7f69acd466 fix(Core/Unit): remove wrong CombatStop() when charming (#8733) 2021-10-29 15:33:14 +02:00
Meltie2013
250dee5be9 feat(Core): implement world availability option (#8755) 2021-10-29 15:32:19 +02:00
Malcrom
a7cc26e2ef fix(Core) Quest Relations (#8777) 2021-10-29 07:53:29 -03:00
Kargatum
a650fd495c feat(Core/Metrics): implement real time statistic visualization (#8663) 2021-10-28 14:47:29 +02:00
Kitzunu
26ff29a1a0 fix(Core/Spell): Implement SPELL_ATTR7_BYPASS_NO_RESURECTION_AURA (#7859)
Co-authored-by: stoneharry <3818405+stoneharry@users.noreply.github.com>
2021-10-27 08:29:11 -03:00
Skjalf
2cf4d05867 feat(Core/SAI): Allow forcing creatures/gameobjects's respawn timers when using SMART_ACTION_FORCE_DESPAWN (#8714) 2021-10-27 04:21:29 -03:00
Skjalf
041b327c80 fix(Core/GameObject): Spawn linked traps when gameobjects are created (#8572) 2021-10-26 22:15:30 -03:00
IntelligentQuantum
04143658ab chore(Core/Arena): LANG_AREAN_ERROR_NAME_NOT_FOUND > LANG_ARENA_ERROR_NAME_NOT_FOUND (#8737) 2021-10-26 06:20:38 -03:00
acidmanifesto
bcd1a701ac fix(Core): ScriptName not readable in creature and gameobject table fix (#8715) 2021-10-25 14:25:13 +02:00
Skjalf
fffdb31c05 feat(Core/LFG): move the LFG max kick count & kick prevention timers … (#8683) 2021-10-25 10:17:12 +02:00
acidmanifesto
d72b741fbf feat(Core): CreatureUnitRelocationWorker reworked (#8672)
This is further support of void MoveInLineOfSight(Unit* who) override of creature AIs.
Currently before this PR, src scripted creatures of void MoveInLineOfSight(Unit* who) override would only follow void MoveInLineOfSight(Unit* who) override if they were hostile and nothing else. With this PR we create it with any aggression stance\faction stance, which will open up while improving upon only the future scripting of the core.

- Ellminates restricting HasReactState(REACT_AGGRESSIVE) only to requirements of creatures to use void MoveInLineOfSight(Unit* who) override to having no React State requirements.
2021-10-25 10:16:24 +02:00