Commit Graph

3600 Commits

Author SHA1 Message Date
UltraNix
579a1c0fa4 fix(Scripts/Spells): Nether Portal - Perseverence should not increase… (#13951) 2023-01-31 22:54:23 +01:00
UltraNix
263c5e1214 fix(Scripts/BloodFurnace): The Maker should cast Domination instead o… (#13892) 2023-01-31 22:53:41 +01:00
Maelthyr
6bd7843363 refactor(Core/AuctionHouse): Remove Hungarian notation (#14097) 2023-01-31 22:52:56 +01:00
Benjamin Jackson
7160923f38 refactor(Core/DBCEnums): Reword NYI comment. (#14752) 2023-01-31 22:51:42 +01:00
Skjalf
1fc1e1d5b7 feat(Core/SmartAI): Implement SMART_EVENT_SUMMONED_UNIT and SMART_EVE… (#14811)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-31 22:50:34 +01:00
UltraNix
8981f58682 fix(Core/Spells): Cleasing, Healing Stream Mana Tide totems should ig… (#14679) 2023-01-31 10:53:17 -03:00
AnchyDev
50e2eb8593 fix(Core/SmartAI) Fix null reference when summoning (#14812) 2023-01-31 09:18:39 -03:00
Skjalf
c12d56f2d1 feat(Core/ObjectAccessor): Helper to access creature/object by DB GUID (#14802) 2023-01-31 06:21:50 -03:00
Skjalf
2aeeee9c83 fix(Core/Spells): Remove all hardcoded restrictions for pick pocket sp… (#14788)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-01-29 12:12:21 -03:00
Skjalf
bf30c66ba4 feat(Core/GameObject): Expand IsSummonedBy() to GameObjects (#14789)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-29 09:44:33 -03:00
Skjalf
f59ee4ef7c feat(Core/Creature): Actually despawn creatures on evade with Despawn… (#14786) 2023-01-28 18:47:15 -03:00
Skjalf
b4e3f1310b feat(Core/Unit): Add KillSelf overload (#14785)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-28 17:57:23 -03:00
UltraNix
6ae8ffa8e6 fix(Scripts/GruulsLair): Fixed assigning loot mode to High King Maulgar. (#14781) 2023-01-28 20:44:07 +01:00
UltraNix
ae2e3a4e35 fix(Scripts/MagtheridonsLair): Fixed Blast Nova timers. (#14776) 2023-01-28 11:07:22 +01:00
Kempec Halk
f780ae84b8 refactor(Core/MySQL): MySQL PreparedStatement Affected Row Count (#12002) 2023-01-28 11:05:55 +01:00
Pedro Antonio
ede34b714b fix(DB/Script): Violet Hold Door not opening (#13958) 2023-01-28 11:04:07 +01:00
UltraNix
9ce8b8cf29 fix(Core/Players): Fixed sending power regen update to nearby players. (#14043) 2023-01-28 11:03:56 +01:00
UltraNix
1441ae7d7c fix(Scripts/Command): Command gm visible on should not mark you wit… (#14057) 2023-01-28 11:03:46 +01:00
Maelthyr
6d5cc744aa refactor(Core/World): Remove Hungarian notation (#14095)
Co-authored-by: Syllox <AmanThul-Project@proton.me>
2023-01-28 11:03:22 +01:00
SoalHuang
db2433fd79 fix(Core/Auth): Cleanup PrepareStatements (#14220)
Co-authored-by: soalhuang <soniceme@163.com>
2023-01-28 11:02:48 +01:00
UltraNix
7f7a2f5a92 fix(Core/Creatures): Critters should start fleeing upon entering comb… (#14253) 2023-01-28 11:01:43 +01:00
UltraNix
131e69d691 fix(Core/Maps): Increased visibility distance inside Ahn'Qiraj Temple… (#14271) 2023-01-28 11:01:30 +01:00
Pedro Antonio
160d3141a3 fix(Scripts/HP PvP): Hellfire PvP Objective Flag and Progress bar not in sync (#14304) 2023-01-28 11:01:08 +01:00
Benjamin Jackson
fafeacbcad fix(Core/PlayerQuest): Get base skill value for quest prereqs. (#14393) 2023-01-28 11:00:18 +01:00
Benjamin Jackson
c8bbea9e1b fix(Core/GameObject): Make fishing bobber finish a channeled spell rather than interrupt in all cases. (#14422) 2023-01-28 11:00:07 +01:00
UltraNix
9b59f35cb8 fix(Core/Spells): Fixed Master of Elements not refunding mana. (#14665) 2023-01-28 10:59:25 +01:00
UltraNix
7d65250414 fix(Core): Crashfix. (#14667) 2023-01-28 10:58:58 +01:00
UltraNix
d25ca1f963 fix(Core/Battlegrounds): When team loses the base in EotS, dead playe… (#14668) 2023-01-28 10:58:41 +01:00
UltraNix
7241e48a9a fix(Core): Crashfix. (#14680) 2023-01-28 10:58:06 +01:00
UltraNix
4e01b95777 fix(Core/Combat): Pets should put their owners in combat only on init… (#14682) 2023-01-28 10:57:52 +01:00
UltraNix
44226e4754 fix(Core/Spells): Update crit chance on shapeshifting to/from feral f… (#14683) 2023-01-28 10:57:38 +01:00
NinjaPleezAC
716a822b48 fix(Core/Unit): Petrified Lichen Guard effect (#14436)
Co-authored-by: NinjaSoftworks <121171014+NinjaSoftworks@users.noreply.github.com>
2023-01-26 14:58:12 -05:00
Skjalf
aeed96f3b7 feat(Core/AI): Move TaskScheduler to BossAI class (#14757) 2023-01-26 13:46:30 -03:00
Benjamin Jackson
916d4f50da chore(Core/ObjectMgr): Adjust a few comments/logs to reflect recent changes with stat handling. (#14759) 2023-01-26 05:29:44 -03:00
UltraNix
3fee40be7d fix(Core/Creatures): Spells casted by player should tap the creature … (#14725)
…only if in combat with it.
2023-01-26 04:38:16 -03:00
UltraNix
ff8374ac98 fix(DB/SAI): Caretaker Smither. (#14445)
Fixes #14384
Author: @Gultask 

<!-- First of all, THANK YOU for your contribution. -->

## Issues Addressed:
<!-- If your fix has a relating issue, link it below -->
- Closes #14384

## Tests Performed:
<!-- Does it build without errors? Did you test in-game? What did you
test? On which OS did you test? Describe any other tests performed -->
- Tested ingame.

## How to Test the Changes:
<!-- Describe in a detailed step-by-step order how to test the changes
-->
`.go c id 20363`

<!-- If you intend to contribute repeatedly to our project, it is a good
idea to join our discord channel. We set ranks for our contributors and
give them access to special resources or knowledge:
https://discord.com/invite/DasJqPba)
Do not remove the instructions below about testing, they will help users
to test your PR -->
## How to Test AzerothCore PRs
 
When a PR is ready to be tested, it will be marked as **[WAITING TO BE
TESTED]**.

You can help by testing PRs and writing your feedback here on the PR's
page on GitHub. Follow the instructions here:

http://www.azerothcore.org/wiki/How-to-test-a-PR

**REMEMBER**: when testing a PR that changes something **generic** (i.e.
a part of code that handles more than one specific thing), the tester
should not only check that the PR does its job (e.g. fixing spell XXX)
but **especially** check that the PR does not cause any regression (i.e.
introducing new bugs).

**For example**: if a PR fixes spell X by changing a part of code that
handles spells X, Y, and Z, we should not only test X, but **we should
test Y and Z as well**.

Co-authored-by: Gultask <gultask@gmail.com>
2023-01-25 17:00:19 -03:00
Benjamin Jackson
4e2270c935 feat(Core/ObjectMgr): Add handling specific to heroic player level stats (DKs). (#14378) 2023-01-25 13:14:31 -03:00
M'Dic
437d93926f fix (core): macos12 depreciation workflow error / security CWE-120 (#14746)
* fix (core): macos12 depreciation workflow error

Fix workflow error message:
azerothcore-wotlk/src/common/Utilities/Util.cpp:558:9: fatal error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        sprintf(buffer, "%02X", bytes[i]);

* Update BattlegroundAV.cpp

* more macos12 fixit

* Update spell_generic.cpp
2023-01-23 06:13:27 -05:00
Axel Cocat
513dab0740 feat(Core/Mail): call CanSendMail() even if no items are sent (#14435)
* feat(Core/Mail): call CanSendMail() even if no items are sent

* Update src/server/game/Handlers/MailHandler.cpp

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

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-01-22 20:15:34 +01:00
Foereaper
5fa027a222 refactor(Core/Conf): Removal of unnecessary .dist file loading (#14707)
* Remove .dist file requirement

* Remove unnecessary string cast

* Add required variables for CI build configs

* More required variables

* Add some more default variables to reduce log output

* One last default value to cut down log spam

* Rewrite conf file bash script

This should use the standard .dest file as a template

* Change dir we copy the dest files from

* actually use the correct file name

* need to use double quotes for variables

* add missing username

* set the correct datadir

* Attempt to fix dbimport

Co-authored-by: Foereaper <foereaper@elunatech.com>
2023-01-21 14:48:22 +01:00
UltraNix
1de52e5570 fix(Core/Formations): Implemented new creature formation flag: GROUP_… (#14537)
fix(Core/Formations): Implemented new creature formation flag: GROUP_AI_FLAG_ACQUIRE_NEW_TARGET_ON_EVADE.

Fixes #14494
2023-01-19 20:08:51 +01:00
Gultask
1a2d1c22ff fix(DB/SethekkHalls): Re-construct Sethekk Halls gameobjects and creatures (#14265)
* Create rev_1671229049571189000.sql

* Update rev_1671229049571189000.sql

* pathing

* 2

* 3

* Update rev_1671229049571189000.sql
2023-01-15 21:57:37 -03:00
Axel Cocat
07ac386e61 feat(Core/Database): move MySQL handle and HandleMySQLErrno to protected (#14673)
* feat(Core/Database): move MySQL handle and HandleMySQLErrno to protected

* fix: initialization order
2023-01-15 11:02:43 -05:00
55Honey
e9b040e3d2 feat: getter for the used instance IDs (#14677)
* feat: getter for the used instance IDs

* doxygen
2023-01-15 15:47:49 +01:00
Kitzunu
12f4a28b01 fix(Core/Characters): Correctly update char count on realm selection (#14685) 2023-01-15 15:44:17 +01:00
天鹿
14885e3e96 fix(core/packets): reduce sending unnecessary packets (#13198)
Co-authored-by: Dehravor <dehravor@gmail.com>
2023-01-15 15:31:00 +01:00
Winfidonarleyan
739165a197 fix(Cmake/Build): correct build single app (#12202) 2023-01-15 15:22:53 +01:00
Kitzunu
aecf278cbe chore(Core/Docs): Remvoe old comment (#14684)
* fixed in e322c017ea
2023-01-15 14:30:48 +01:00
UltraNix
0022b3a964 fix(Core): Crashfix. (#14660) 2023-01-14 10:41:40 +01:00
UltraNix
592a26cb8c fix(Core): Crashfix. (#14536) 2023-01-11 02:40:03 -03:00