Commit Graph

1876 Commits

Author SHA1 Message Date
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
UltraNix
41d3df9fcb fix(Scripts/Commands): Fixed command learn all my talents for chars… (#13529)
fix(Scripts/Commands): Fixed command `learn all my talents` for chars with 255 level.

Fixes #4788
2022-10-29 07:12:35 -03:00
UltraNix
bcd9ad5066 fix(Core/Quest): Fixed implementation of CONFIG_QUEST_IGNORE_AUTO_ACCEPT and CONFIG_QUEST_IGNORE_AUTO_COMPLETE configs. (#13525)
Fixes #3503
2022-10-29 07:11:50 -03:00
UltraNix
ab9c648504 fix(Core/Movement): Removed some leftover after c8f43d8584. (#13524)
Closes #2623
2022-10-29 07:11:36 -03:00
Gultask
003f574bf4 fix(Scripts/TempleOfAhnQiraj): Properly prevent Uppercut from triggering Double Attack (#13581)
* netherstorm&shadowmoon

* 1

* fix

* 2
2022-10-28 19:37:04 -03:00
UltraNix
93796bb01d fix(Core/Creatures): Fixed loading transform auras from DB. (#13489)
Fixes #13472
2022-10-27 05:23:51 -03:00
UltraNix
5338117e0d fix(Core/Movement): Fixed mobs evading attacks in case of incompleted… (#13519)
fix(Core/Movement): Fixed mobs evading attacks in case of incompleted movement paths.

Fixes #12339
Fixes #13156
2022-10-27 05:23:05 -03:00
UltraNix
3c8a148b1e fix(Scripts/Temple of AhnQiraj): Slime Toxin clouds should despawn 10… (#13492)
* fix(Scripts/Temple of AhnQiraj): Slime Toxin clouds should despawn 10 sec after Viscidus death.

Fixes #13420

* Update.
2022-10-25 10:43:39 -03:00
Skjalf
192bf4736b feat(Scripts/Commands): Implement character changeaccount command (#13532)
* feat(Scripts/Commands): Implement character changeaccount command

* strings and stuff

* clear unused
2022-10-24 22:43:46 -03:00
Skjalf
e55d7cb951 fix(Core/ObjectAcessor): Fix crash caused by forced character renames (#13527) 2022-10-24 12:24:23 -03:00
UltraNix
e2b866dea3 fix(Core/Spells): Deep Wounds can proc off from non-physical spells. (#13494)
Fixes #13431
2022-10-23 16:51:47 -03:00
M'Dic
55a5684c87 Add (core): Effect Transmit Anticheat Helper (#13447)
Add (core): Anticheat Helper
2022-10-23 09:19:35 -04:00
schell244
28d1913276 fix(Core/Event): Rework STV Fishing Extravaganza (#12506)
* rework riggle bassbait script

* make sure STV_FISHING_HAS_WINNER gets reset

* add script for npc Jang, some improvements for Riggle script. TODO: Jang quest menu and Fishbot5000 quest condition

* fix jang not offering quest

* script fishbot 5000

* some cleanup

* some more cleanuo

* endline

* minimum fishing req for quests is 150

* min fishing skill for flyer is 150

* link box to correct event

* riggle: broadcast texts, announcement happens when pools despawn

* remove redundant code

* Convert Fishbot5000 to db, cleanup comments

* add missing end line - finished now.

* attempt to fix event not launching in real time

* fix condition for world states, when value is 0, convert jang to db

* keep jang gossip also when event has a winner

* small further improvements

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* apply suggestions

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* apply suggestions

* apply one more suggestion

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* apply suggestion

* use Talk() instead of Yell()

* use Yell() without passing LANG_UNIVERSAL

Co-authored-by: schell244 <>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-10-20 08:39:30 -04:00
M'Dic
800c16bbf8 Fix (core): SMSG_BINDPOINTUPDATE packet fix (#13452) 2022-10-18 06:47:04 -04:00
Angelo Venturini
252755415c fix(Core/Spells): Overflow damage (#13424) 2022-10-15 19:42:25 -03:00
Dev-Priest
7530d6aff5 fix(Core/Battleground): Correct Alterac Valley mine announcement (#13411)
Fix text when capturing an alterac valley mine which was the wrong way
2022-10-16 00:06:31 +02:00