Commit Graph

1104 Commits

Author SHA1 Message Date
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
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
UltraNix c69e309681 fix(Core/Spells): Devastate vs Glyph of Sunder Armor. (#8705)
Fixes #8506
2021-10-24 23:31:19 -03:00
acidmanifesto 0df821cbb0 chore(Core): Code Reduction dealing with Logging, (Cosmetic only). (#8686) 2021-10-24 22:33:16 -03:00
UltraNix 3cddfb84c1 feat(Core/Spells): Implemented SPELLVALUE_AURA_DURATION. (#8690)
- Closes #8505
2021-10-24 23:06:57 +02:00
acidmanifesto 6308b99a33 chore(Core/AI): Change a FollowerAI log from error to debug (#8685) 2021-10-24 10:58:50 -03:00
Ragelezz 416e8d2cbf fix(Core/Spells): Spirit of Kirith spell summon duration adjusted (#8680) 2021-10-24 12:03:07 +02:00
UltraNix cab3992d0f fix(Core/Spells): SPELL_AURA_PROC_TRIGGER_DAMAGE auras should not proc if target is immuned (#8675)
- Closes #8461
2021-10-24 12:02:47 +02:00
UltraNix 16a54fdeac fix(Core/Spells): Polymorphed targets should call assistance. (#8674)
Fixes #8413
2021-10-24 02:58:54 -03:00
UltraNix 96441a91dc fix(Core/Spells): Auras triggered by talents/glyphs should be removed on respec. (#8671)
Fixes #8543
2021-10-24 01:23:04 -03:00
UltraNix 1c77d8a9f2 fix(Core/DungeonFinder): Random Dungeon Finder always removes no perm… (#8561)
Fixes #8222
2021-10-23 18:53:57 -03:00
Kargatum bc9473482e feat(Core/Chat): new argument parsing and unify chat hyperlink parsing (#6243) 2021-10-23 10:15:42 +02:00