Commit Graph

1855 Commits

Author SHA1 Message Date
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
Droz
32f94f2798 fix(core): Horde Warsong Gulch gates dont despawn (#13381)
fix(core): issue 13375 - Horde Warsong Gulch gates dont despawn
2022-10-15 11:08:58 -04:00
ZhengPeiRu21
414546aeca fix(Core): Fix PlayerSettingVectors (#13338)
* fix(Core): Fix PlayerSettingVectors

* Fix compile warning
2022-10-15 11:06:09 -04:00
Angelo Venturini
96ff759953 fix(Scripts/TempleOfAhnQiraj): Change spawn mode for Spawn of Fankriss (#13408) 2022-10-14 16:28:03 -03:00
Angelo Venturini
f6b8840e34 refactor: rename spell_proc fields (#13334)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-10-13 14:04:55 -03:00
M'Dic
2e6f6e26da Add (core\db): Support for Homebind Orientation (#13389)
Add (core\db) Support for Homebind Orientation
2022-10-12 14:39:02 -04:00
Skjalf
7eb096ae0b fix(Core/Creature): Fix LinkedRespawn not working with id2, etc. (#13367) 2022-10-12 14:03:56 -03:00
UltraNix
e390087efd feat(Core/Items): Implemented elemental weapon damage. Source: Trinit… (#13050)
...yCore.
2022-10-08 14:34:52 -03:00
UltraNix
0ae8790956 fix(Core/Creatures): Renamed CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE to CREATURE_FLAG_EXTRA_IGNORE_ASSISTANCE_CALL (#13130) 2022-10-06 00:18:05 -03:00
UltraNix
78a383f4f7 fix(Core/Spells): Rental Racing Ram will not be removed upon entering… (#13192)
...water.
2022-10-05 21:35:46 -03:00
Angelo Venturini
60efd8215d fix(Core/Vehicle): Crash (#13180) 2022-10-05 21:06:11 -03:00
Angelo Venturini
ad4ce0895f fix: Qaston revert (#13320)
* Revert "fix(Core/QAston): fixed shields oneshotting (#13271)"

This reverts commit e05f61d1b3.

* Revert "fix(Core): Crash (#13292)"

This reverts commit a818bcf3e2.

* Revert "fix: Crash (#13241)"

This reverts commit be423a91b5.

* delete sql

* Revert "refactor(Core/Spells): Implement QAston Proc System (#11079)"

This reverts commit cbd3fd0967.

* add sql revert

* fix sql

* remove update from world.updates
2022-10-05 21:53:20 +02:00
Angelo Venturini
e05f61d1b3 fix(Core/QAston): fixed shields oneshotting (#13271)
* fix(Core/QAston): fixed shields oneshotting

* fix build
2022-10-04 19:37:48 +02:00
Angelo Venturini
a818bcf3e2 fix(Core): Crash (#13292) 2022-10-04 07:38:12 -03:00
Angelo Venturini
be423a91b5 fix: Crash (#13241) 2022-10-03 16:14:43 -03:00
Angelo Venturini
590525b86c fix: Crash (#13230) 2022-10-02 22:35:45 -03:00
IntelligentQuantum
cbd3fd0967 refactor(Core/Spells): Implement QAston Proc System (#11079)
* .

* sql

* .

* .

* 1

* 2

* 3

* 4

* 5

* 6

* 7

* 8

* 9

* 10

* 11

* 12

* 13

* 14

* 15

* Update spell_item.cpp

* Update Unit.cpp

* 16

* 17

* 18

* 19

* 20

* 21

* Update Unit.cpp

* REVERT UltraNIX Commit

* 22

* 23

* .

* .

* .

* warrior

* warlock

* shaman rogue priest paladin mage

* spell item

* hunter

* druid

* dk

* war

* error style

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* .

* DOND DEL ME WAD DO DO

* error 2

* .

* .

* .

* FIX

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* .

* ja genau

* Update .gitignore

* .

* .

* .,

* .

* .

* .

* .

* Update Unit.cpp
2022-10-02 19:39:34 +02:00
Bogir[rus]
05329af838 Update LFGMgr.cpp (#13197)
Small typo fix
2022-10-01 18:02:26 -04:00
SoglaHash
fa00250323 fix(CORE/Spells): Fix Scaling of some Guardians (#12625)
* fix(CORE/Spells): Fix Scaling of some Guardians

Guardians summoned by engineering and items have wrong scaling.

This will fix Engineering items having the wrong stat scaling.

Also fix some Guardians summoned by items to have appropriate level and
stats.
Closes AzerothCore issue #12446

* Fix whitespace

* fix codestyle
2022-10-01 22:35:09 +02:00
M'Dic
967f8ce6d6 update (core): Startup console capitalizations (#13195) 2022-10-01 13:09:34 -04:00
M'Dic
33fcab0917 fix (core): Log correction (#13181)
fix (core): Commit LOG correction
2022-10-01 09:45:29 -04:00
M'Dic
ed68d1bffa fix (Core/Spell): Shadowform Dispel (#13155) 2022-09-28 12:13:46 -04:00