Commit Graph

3513 Commits

Author SHA1 Message Date
Axel Cocat
a104f397d9 feat(Core): move achievement manager and criteria progress getters to public (#14387) 2022-12-29 13:41:47 +01:00
UltraNix
a101f16124 fix(Core/Config): Set default corpse decay for normal creatures to 5 … (#14039) 2022-12-29 12:09:30 +01:00
Axel Cocat
97b5906124 feat(Core/Player): delete character cache in Player::DeleteFromDB() (#14388) 2022-12-28 19:22:28 -03:00
M'Dic
2850052f3e Add (core): SendTeleportPacket helper (#14389)
* Add (core): SendTeleportPacket helper

add helper to SendTeleportPacket

* sin hard
2022-12-28 13:05:46 -05:00
Angelo Venturini
0a4051c4b2 fix(Core/Handlers): Crash (#14390) 2022-12-28 14:32:55 -03:00
UltraNix
6345958769 fix(Core/Loot): Disenchanted, milled or prospected items should be se… (#14273)
fix(Core/Loot): Disenchanted, milled or prospected items should be sent as retrieval mail in case of full bags.

Fixes #10798
2022-12-27 21:43:12 -03:00
Skjalf
2eb374c6e4 fix(Core/Totem): Implement casting delay for the Fire Totem used by c… (#14276)
* fix(Core/Totem): Implement casting delay for the Fire Totem used by creatures

* clear debug

* Update src/server/game/Entities/Totem/Totem.h

* fix build

* Update Totem.cpp
2022-12-28 00:38:00 +01:00
Skjalf
50b85220a0 fix(Core/AI): Fix target selectors logic when accounting for tanks (#14368) 2022-12-27 15:05:08 -03:00
UltraNix
233d284539 fix(Core/Formations): Implemented new creature formation flag: GROUP_AI_FLAG_ACQUIRE_NEW_TARGET_ON_EVADE. (#13509)
Fixes #13394
2022-12-27 11:31:08 +01:00
Charlton Lau
ba796bee43 fix(Scripts/GO): Druid‘s fly quest (#14085) 2022-12-27 11:27:48 +01:00
Gultask
85711bcdac fix(Scripts/Zangarmarsh): Naturalist Bite shouldn't desummon after casting Mark of Bite (#14354)
Update zone_zangarmarsh.cpp
2022-12-26 06:09:50 -03:00
UltraNix
0c1b967f9b fix(Core/Transports): Added Arrival bell sound for boats. (#14272)
Fixes #11340
2022-12-25 10:35:55 -03:00
UltraNix
49ad7402d9 fix(Core/LFG): Fixed showing dungeon access requirements only for lea… (#14116)
fix(Core/LFG): Fixed showing dungeon access requirements only for leaders in LFG.

Fixes #14070
2022-12-25 10:17:15 -03:00
UltraNix
c7f9f9bc27 fix(Core/Pets): Taunt should work on pets. (#14255)
Fixes #14217
2022-12-25 13:46:01 +01:00
Skjalf
a73d4173df feat(Core/Scripting): Pass SpellInfo through the ModifyPeriodicDamage… (#14360)
feat(Core/Scripting): Pass SpellInfo through the ModifyPeriodicDamageAurasTick() hook
2022-12-24 11:38:21 -03:00
Skjalf
4df5302e2f feat(Scripts/Commands): Output SpellCastResult if the spell fails to … (#14359)
feat(Scripts/Commands): Output SpellCastResult if the spell fails to cast when using the cast spell commands
2022-12-24 09:47:13 -03:00
UltraNix
3fc22f2ff9 fix(Core/Spells): Cursed Cauldron gobs despawn after 5 seconds. (#14252)
Fixes #14241
2022-12-22 03:40:38 -03:00
UltraNix
962cefdcd8 fix(Core/Misc): Consider /dance as an emote state. (#14275) 2022-12-22 07:38:09 +01:00
ZhengPeiRu21
7990de44c1 fix(Core): Correct Quest Details Display at Max Level (#13046)
* fix(Core): Quest Details Display at Max Level

* Add OnSetMaxLevel hook
2022-12-20 12:14:53 +01:00
Skjalf
968bb3fa7e chore(Core/SAI): Align SAI headers with TrinityCore (#14261) 2022-12-17 17:23:22 -03:00
M'Dic
4d8be337a8 update (core): Continue Taxi Flight support helper (#14211)
Thank you for the review approval
2022-12-13 11:43:45 -05:00
UltraNix
4860989242 fix(Scripts/Spells): Fixed level requirements for Blade Ward and Bloo… (#14107)
fix(Scripts/Spells): Fixed level requirements for Blade Ward and Blood Draining enchants.

Fixed Blood Draining proc.
Fixes #12131
2022-12-12 13:57:03 +01:00
UltraNix
069864cda9 fix(Core/Spells): Fixed auras with `AURA_STATE_HEALTH_ABOVE_75_PERCEN… (#14110)
fix(Core/Spells): Fixed auras with `AURA_STATE_HEALTH_ABOVE_75_PERCENT` state.

Fixes #14102
2022-12-12 13:56:53 +01:00
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
72b446fb12 fix(Core/Scripts): Bloodscale Enchantress/Rajis Fyashe freezing circle (#13963)
Co-authored-by: Eridium <killyana@users.noreply.github.com>
Co-authored-by: Lucas Nascimento <keader.android@gmail.com>

Co-authored-by: Eridium <killyana@users.noreply.github.com>
Co-authored-by: Lucas Nascimento <keader.android@gmail.com>
2022-12-11 11:35:08 -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
189afd1409 fix(Scripts/Instances): Fixed text during "Opening the Dark Portal" i… (#13872)
fix(Scripts/Instances): Fixed text during "Opening the Dark Portal" on Black Morass.

Fixes #1999
2022-12-11 10:53:55 -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
f4ccf15091 fix(Scripts/Underbog): Moved Gha'zan script to C++ file. (#13887)
* fix(Scripts/Underbog)L Moved Gha'zan script to C++ file.

Added scripted waypoints.
Fixes #13793

* Update.

* missing player include

* Update.

Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com>
2022-12-11 03:57:38 +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
0b4b578b6f fix(Scripts/Karazhan): Added Opera Event decorations. (#13952)
Fixes #2339
2022-12-06 16:11:27 -03: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
38a3774c63 fix(Scripts/BloodFurnace): Fixed Broggok not casting Poison Cloud. (#13894)
Fixes #13825
2022-12-06 12:48:38 -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
08ff2f277b fix(Scripts/BlackwingLair): Razorgore the Untamed should not reset enco… (#13782)
* fix(Raids/BlackwingLair): Razorgore the Untamed should not reset encounter upon casting Conflagrate when soloing.

Fixes #13761

* Update.
2022-12-06 09:47:08 -03:00
UltraNix
e2bf207ae4 fix(Scripts/Spells): Apple Trap should not activate without the playe… (#13868)
fix(Scripts/Spells): Apple Trap should not activate without the player being on a Rental Ram.

Fixes #13186
2022-12-06 09:42:17 -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
UltraNix
ac65434f3f fix(Scripts/HellfireRamparts): Nazan should descend when Vazruden rea… (#13876)
fix(Scripts/HellfireRamparts): Nazan should descend when Vazruden reaches 35%.

Fixes #13741
2022-12-06 09:40:38 -03:00
UltraNix
b7f81ab372 fix(Scripts/HellfireRamparts): Hellfire Sentry should aggro on each o… (#13878)
fix(Scripts/HellfireRamparts): Hellfire Sentry should aggro on each other's target.

Fixes #13747
2022-12-06 09:40:14 -03:00
UltraNix
608a80a094 fix(Scripts/TempleOfAhnQiraj): Corrected timer for Cthun's Dark Gla… (#13799)
fix(Scripts/Temple of AhnQiraj): Corrected timer for Cthun's Dark Glare ability.

Fixes #13668
2022-12-06 09:28: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
ZhengPeiRu21
9fd5b39065 fix(Scripts/Karazhan): Mark optional boss as completed when it dies (#13175) 2022-12-06 09:26:18 -03:00
UltraNix
fbc78d5ffa fix(Scripts/TempleOfAhnQiraj): Anubisath Sentinels should emote af… (#13797)
fix(Scripts/Temmple of AhnQiraj): Anubisath Sentinels should emote after sharing buffs.

Fixes #13544
2022-12-06 09:25:26 -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