Commit Graph

2141 Commits

Author SHA1 Message Date
Skjalf
790f444ffa fix(Core/Unit): properly reset displayIds when having a shapeshift au… (#14134)
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
2022-12-11 20:13:12 -03:00
UltraNix
b615ccd9e9 fix(Core/SmartScripts): Added new parameter onlyInCombat to `SMART_… (#13947)
* fix(Core/SmartScripts): Added new parameter `onlyInCombat` to `SMART_EVENT_FRIENDLY_MISSING_BUFF` event.

Coilfang Scale-Healer should cast Power Word: Shield only in combat.
Fixes #13838

* missing sql.
2022-12-11 11:35:28 -03:00
Angelo Venturini
4992940453 fix(Core/Auras): Implement Roc form (#13959)
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>

Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
2022-12-11 10:58:20 -03:00
UltraNix
a2ffce3e51 fix(Core/Dungeons): Fixed displaying custom requirement texts from `d… (#14125)
fix(Core/Dungeons): Fixed displaying custom requirement texts from `dungeon_access_requirement`.

Fixes #14069
2022-12-11 08:58:48 -03:00
ZhengPeiRu21
06c458e748 feat(Core): EnableLowLevelRegenBoost config option (#13035)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-12-11 04:53:10 +01:00
UltraNix
0f4e8f07ff fix(Core/Movement): Falling/Jumping/Knockback effects should not make… (#14044)
fix(Core/Movement): Falling/Jumping/Knockback effects should not make mobs to evade.
2022-12-11 03:55:20 +01:00
Skjalf
19fa22ba92 Revert "refactor(Core/Movement): Naming convention" (#14100)
Revert "refactor(Core/Movement): Naming convention (#13989)"

This reverts commit d2f440c3e8.
2022-12-11 03:53:09 +01:00
UltraNix
2dcf38a847 fix(Core/Players): Fixed awarding kill credit while being on vehicles. (#13944)
Fixes #12849
2022-12-06 12:49:19 -03:00
UltraNix
003bd93666 fix(DB/Conditions): Pint-Sized Pink Pachyderm and Wolpertinger should… (#13946)
fix(DB/Conditions): Pint-Sized Pink Pachyderm and Wolpertinger should be visible only to party members or drunk players.

Fixes #13900
2022-12-06 12:47:43 -03:00
UltraNix
d32daab969 fix(Core/GameObject): Implement restock mechanic for non-consumable gameob… (#13950)
Core/GameObject: Implement restock mechanic for non-consumable gameobjects.

Don't allow non-consumable goobers/chests to despawn on use.
Source: TrinityCore.
Fixes #13909
2022-12-06 12:44:44 -03:00
Mickaël Mauger
868053d4ce fix(Core/Loot): Fix quest items looting system (#13720)
* Fix quest items loot

* Fix coding conventions
2022-12-06 12:42:44 -03:00
UltraNix
975fd8782f fix(DB/SAI): Fixed spam chat made by Coilfang Slavemaster and Coilfan… (#13871)
fix(DB/SAI): Fixed spam chat made by Coilfang Slavemaster and Coilfang Slavehandler scripts.

Fixes #1888
2022-12-06 09:41:45 -03:00
UltraNix
95652e14d5 fix(Core/SmartScripts): Implemented new target type: SMART_TARGET_SUM… (#13880)
* fix(Core/SmartScripts): Implemented new target type: SMART_TARGET_SUMMONED_CREATURES.

Fixes #13787

* Update.

* Update.
2022-12-06 09:41:05 -03:00
Maelthyr
3024bee3ba refactor(Core/UnitAI): Update target selector (#13169)
* refactor(Core/UnitAI): Update TargetSelector.

Cherry-pick:
*https://github.com/TrinityCore/TrinityCore/pull/19930

Co-authored-by: Treeston <treeston@users.noreply.github.com>

* fix GGC/CLang errors in scripts

* .

* missing a file and fix a script error

* .

* fix path changes dude to a miss click in the second commit

* .

Co-authored-by: Maelthyrr <lynethris@protonmail.ch>
Co-authored-by: Treeston <treeston@users.noreply.github.com>
2022-12-06 09:27:13 -03:00
UltraNix
b9ea8b16af fix(Core/Session): Fixed loading global account data and tutorials. S… (#14038)
fix(Core/Session): Fixed loading global account data and tutorials. Source: TrinityCore.

Fixes #11974
2022-12-06 09:08:46 -03:00
Maelthyr
735fb46ce6 refactor(Core/Achievement): Remove Hungarian notation (#13991) 2022-12-02 05:52:25 -03:00
Maelthyr
d2f440c3e8 refactor(Core/Movement): Naming convention (#13989)
update codestyle

Co-authored-by: Maelthyrr <lynethris@protonmail.ch>
2022-12-02 05:52:01 -03:00
Winfidonarleyan
a1a1528cb4 feat(Core/Crypto): add support OpenSSL 3.0 (#13354) 2022-11-24 01:12:20 +07:00
UltraNix
e6aef88aba fix(DB/Spells): Drums of War/Battle/Speed/Restorarion should apply Ti… (#13866)
...nnitus debuff.
2022-11-21 19:08:28 -03:00
UltraNix
00a8077560 fix(DB/Conditions): Grub should sell its items only to players who co… (#13803)
...mpleted "Dig Rat Stew" quest.
2022-11-21 18:52:16 -03:00
UltraNix
8f697bdaee fix(Core/Items): Item sell prices are affected by durability loss. So… (#13801)
...urce: Vmangos.
2022-11-21 18:51:40 -03:00
UltraNix
7e4c688476 fix(Core/Units): Do not stun players during taxi flight. (#13798)
Fixes #13654
2022-11-21 06:13:50 -03:00
Angelo Venturini
e0803fb0cb fix(Core): Crash on random movement SAI (#13862) 2022-11-19 15:26:53 -03:00
UltraNix
79bef9a057 fix(Core/Pets): Save all spell cooldowns to db. (#13809)
Fixes #13539
2022-11-16 01:26:46 -03:00
UltraNix
ae84bf67c4 fix(Core/Spells): Fixed Glyph of Kilrogg. (#13802)
Fixes #13623
2022-11-16 01:26:05 -03:00
UltraNix
3603f44dad fix(Core/Spells): FIxed calculating LoS for dynamic objects. (#13795)
Fixes #13777
2022-11-16 01:19:29 -03:00
UltraNix
6278072b16 fix(Core/Loot): Fixed processing duplicated loot item within different groups. (#13038)
Fixes #13038
2022-11-12 13:31:29 +01:00
Maelthyr
c1c9dc6105 refactor(Core/ScriptedAI): few improvements with threat methods (#13146)
improve threat scripts

Co-authored-by: Maelthyrr <lynethris@protonmail.ch>
2022-11-12 13:29:28 +01:00
UltraNix
c1bb1d47f9 fix(Core/Creature): Prevent flying creatures from falling on respawn. (#13774) 2022-11-12 13:24:12 +01:00
ZhengPeiRu21
42c5028018 fix(Core): Correct Rest Bonus Formula (#13173) 2022-11-11 23:32:02 -03:00
Mickaël Mauger
2c4df1054e fix(Core): Fix guild bank update broadcasts (#13520)
Fix guild bank update broadcasts
2022-11-11 16:25:24 -03:00
Gultask
ff5983cb16 fix(Spells/TempleOfAhnQiraj): Attempt to partly fix Digestive Acid not being applied (#13751)
* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp
2022-11-09 05:40:34 -03:00
Skjalf
b129626ee3 fix(Core/Unit): Prevent CTM rooted flag from being removed on aura ex… (#13732)
fix(Core/Unit): Prevent CTM rooted flag from being removed on aura expiration
2022-11-08 05:44:32 -03:00
Skjalf
6177ce4688 feat(Core/Scripting): Create OnStoreNewItem() hook (#13725) 2022-11-07 00:26:47 -03:00
Skjalf
bb9e80ded1 fix(Core/Unit): Exclude Sword Specialization and Hack and Slash from … (#13706)
* fix(Core/Unit): Exclude Sword Specialization and Hack and Slash from the extra attack range check

* fix  logic
2022-11-05 15:04:02 -03:00
Skjalf
8b7fb759c2 feat(Core/Scripting): Expand ModifySpellDamageTaken() to include the … (#13707)
feat(Core/Scripting): Expand ModifySpellDamageTaken() to include the spell data
2022-11-05 12:39:58 -03:00
Skjalf
e5ff59ec17 fix(Core/Unit): Check if the unit is within melee range before proces… (#13697)
fix(Core/Unit): Check if the unit is within melee range before processing extra attack procs
2022-11-04 19:27:02 -03:00
Skjalf
e64138314c fix(Core/Scripting): Also call the OnLootItem() hook on master looted… (#13683)
fix(Core/Scripting): Also call the OnLootItem() hook on master looted items
2022-11-03 21:49:12 -03:00
Skjalf
ef8d7f4ed9 feat(Core/Scripting): Implement OnAuraApply() hook for unitscripts (#13658)
* feat(Core/Scripting): Implement OnAuraApply() hook for unitscripts

* fix build

* Update ScriptMgr.h
2022-11-02 22:34:52 -03:00
Skjalf
ab3548e2e4 feat(Core/Scripting): Expand ModifyHealReceived() to also include hea… (#13655)
feat(Core/Scripting): Expand ModifyHealReceived() to also include healing over time
2022-11-02 19:19:17 -03:00
M'Dic
8f19bcddf4 Add (core\logging): Log sync db queries in mapupdater (#13638)
This will Log sync db queries in World::Update() loop for the mapupdater when building in debug.
Originally part of TC Commit https://github.com/TrinityCore/TrinityCore/pull/25174
Apparently azerothcore never cherrypicked it entirely for whatever reason and is needed when running a debugger in debug build for me to find and address some recent crash issues that been posted on the issues to fully verify the issue.

Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
2022-11-01 19:00:42 -04:00
ZhengPeiRu21
5a7822282f feat(Core): Config to disable all Wintergrasp processing (#13086)
* feat(Core): Config to disable all Wintergrasp processing

* Use 2 instead of -1 - configs are parsed as uint

* Fix build warnings
2022-11-01 06:22:09 -03:00
UltraNix
330d45bda8 fix(Core/Spells): Spells requires cast from behind victim bypass Dete… (#13499)
fix(Core/Spells): Spells requires cast from behind victim bypass Deterrence.

Fixes #13212
2022-10-29 07:18:27 -03:00
UltraNix
4ac437419f fix(Core/Units): Fixed uninitialized m_cleanDamage variable after e390087 (#13485)
fix(Core/Units): Fixed uninitialized `m_cleanDamage` variable after e390087.

Improved 252755415c
2022-10-29 07:16:26 -03:00
UltraNix
3da4d30371 fix(Core/Players): Fixed obtaining extra (custom) talent points only … (#13526)
fix(Core/Players): Fixed obtaining extra (custom) talent points only for DK class.

Fixes #4327
2022-10-29 07:15:32 -03:00
UltraNix
f3820bd375 fix(Core/Players): Players should nt able to rest in unfriendly taver… (#13493)
* fix(Core/Players): Players should nt able to rest in unfriendly taverns. Original author: @Rushor

Fixes #13459

* Update.
2022-10-29 07:15:18 -03:00
UltraNix
670d5724cb fix(Core/Pets): Tamed hunter pets should deal physical damage. (#13522)
Fixes #13497
2022-10-29 07:14:07 -03:00
UltraNix
eb3f80ceff fix(Core/Spells): Implemented SPELL_HIT_TYPE_SPLIT hit type. Source: … (#13518)
fix(Core/Spells): Implemented SPELL_HIT_TYPE_SPLIT hit type. Source: TrinityCore.

Fixes #13306
2022-10-29 07:13:36 -03:00
UltraNix
4ef1010f37 fix(Core/Spells): Maelstrom Weapon should not reset attack timers. (#13504)
Fixes #13179
2022-10-29 07:13:09 -03:00
UltraNix
0cd6319cfc fix(Core/Spells): Fixed calculating LoS for dynamic objects. (#13521)
Fixes #13255
2022-10-29 07:12:49 -03:00