Commit Graph

3611 Commits

Author SHA1 Message Date
Skjalf
dba8c49bce chore(Core/Object): Rename GetGOData() to GetGameObjectData() (#14875) 2023-02-05 08:35:52 -03:00
UltraNix
61dec3f143 fix(Core/Socket): CMSG_WARDEN_DATA should not reset idle connections. (#14865) 2023-02-05 11:47:59 +01:00
Angelo Venturini
0ed7813e84 refactor(Core/Instance): make SetBossState void (#13412) 2023-02-05 00:05:20 +01:00
UltraNix
28b6014d12 fix(Scripts/HellfireRamparts): Removed invalid spells from Omor the U… (#14538) 2023-02-04 19:56:49 -03:00
UltraNix
b1bc1c24e4 feat(Core/Scripting): Added new hook: OnInstanceIdRemoved. (#14670)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: 55Honey <71938210+55Honey@users.noreply.github.com>
2023-02-04 19:56:20 -03:00
Kitzunu
e581cd34ac fix(Scripts/GruulsLair): Improvements to High King Maulgar (#14732) 2023-02-04 19:54:49 -03:00
Skjalf
1ee93986f6 refactor(Scripts/Karazhan): Use std::chrono for Maiden, Servant Quart… (#14864) 2023-02-04 15:46:59 -03:00
Skjalf
8aa331b432 fix(Core/Creature): Fix bosses with hard reset flag not respawning an… (#14862) 2023-02-04 15:35:53 -03:00
Skjalf
c08a5ba3fa fix(Scripts/TempleOfAhnQiraj): Fix C'thun not using abilities after e… (#14859) 2023-02-04 12:17:43 -03:00
Kitzunu
b94d5b94ae fix(Core/Calendar): Correct calculation of reset time (#14834) 2023-02-01 06:18:13 -03:00
Skjalf
439c394784 refactor(Scripts/Karazhan): Maiden of Virtue script update (#14836) 2023-02-01 05:25:42 -03:00
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