Commit Graph

1271 Commits

Author SHA1 Message Date
UltraNix 7201d8840f fix(Scripts/BlackrockSpire): Urok Doomhowl - improvements: (#9067)
The mobs should attack the pike if there is no players around
The boss should not despawning after summon
Urok's Tribute Pile with Pike and Head should disapear after Urok appear
Fixes #9023
2021-11-12 09:46:07 -03:00
sschepens b7f8083915 feat(Core/Misc): change how Position struct is retrieved (#9017)
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bc changes by return a Position object instead of accepting a Position parameter by reference.

Cherry pick of https://github.com/TrinityCore/TrinityCore/commit/2585e799f95f259dd4b422daf15ef7963173c408
2021-11-10 23:43:00 +01:00
Skjalf 855f098a57 feat(Core/Disables): Implement DISABLE_TYPE_GAME_EVENT (#9099) 2021-11-10 15:06:46 -03:00
Francesco Borzì 1cd8c43447 fix(CI): revert sleep + fix shadowing variable issue (#9106) 2021-11-10 10:18:40 +01:00
Francesco Borzì acf6aab247 fix(CI): trigger builds on C++ changes (#9103) 2021-11-10 10:08:52 +01:00
sschepens fb2a0a8336 refactor(Core): move complex functions from Object.h to Object.cpp (#9016)
Co-authored-by: QAston <qaston@gmail.com>
2021-11-09 20:32:44 +01:00
patou01 863455736e fix(core/Creature): initialize AI before calling OnCreatureCreate 2021-11-09 14:38:59 -03:00
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 (https://github.com/TrinityCore/TrinityCore/commit/fb87ac8e8da3d215d4988b8c2fa25d7a98cf9ee0)

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/7d4fbf706ae19481468901ccd65c497fcabe56bf#diff-ea1c86c26019127a4e99686cd9029f9ec3e8193f2761b262c2475668edc06764)

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/75a6a7a0ad48874e75dd71f766dad3707341bb32#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