Commit Graph

1966 Commits

Author SHA1 Message Date
Kitzunu
bc82f36f1f refactor(Core/Unit): clean MonsterText methods (#6957) 2021-10-15 10:25:29 +02:00
Kitzunu
b8f67ae58f refactor(Core/Creature): Rename some TypeFlags (#8483)
* cherry-pick from (4b028e599e)

Co-Authored-By: offl <11556157+offl@users.noreply.github.com>
2021-10-14 19:56:46 -03:00
UltraNix
8b70222ae2 fix(Core/Spells): Revive pet cannot be used on alive pets. (#8434)
Fixes #8315
2021-10-14 19:54:18 -03:00
Francesco Borzì
0bed420c71 chore(Conf): move BG QueueAnnouncer conf to the right section (#8515) 2021-10-15 02:48:33 +07:00
Kitzunu
118a555b06 fix(Core/Spells): Fix all cases of client crash when pressing ESC after a spell being cast (#8497)
* cherry-pick commit (f765e8eb73)

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/8143

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-10-14 20:32:30 +02:00
Skjalf
476d085aa4 fix(Scripts/Spells): Fix Lock and Load proc from Frost Trap (#8441) 2021-10-15 00:49:15 +07:00
Skjalf
b871bdc708 fix(Core/EventScripts): Credit nearby group members when using the SCRIPT_COMMAND_QUEST_EXPLORED event_scripts command (#8378) 2021-10-14 17:19:07 +02:00
jestermaniac
5d36c94a2d fix(CORE/Unit): Fix controllable guardians evading when not posed to be (#7959) 2021-10-14 11:48:37 -03:00
UltraNix
cb71cc0131 fix(Core/Units): clear emote state on attack rather than on combat st… (#8170)
- Closes #6281
2021-10-14 16:18:51 +02:00
Andrius Peleckas
5d73180c61 feat(Core/SAI): implemented a new SAI action type SMART_ACTION_DO_ACTION (#8375)
* feat(Core/SAI): implemented a new SAI action type SMART_ACTION_DO_ACTION
This will give possibility to trigger certain actions on instance scripts or creatures/gobjects

* yet we still love you "blank line" xD
2021-10-14 14:06:28 +02:00
jestermaniac
d4c4608db8 fix(Scripts/Spells): Linken's boomerang (#8179)
* fix(Scripts/Spells): Linken's boomerang

* Update rev_1633027575141830731.sql
2021-10-14 13:25:16 +02:00
Skjalf
3894dfc897 fix(Core/SAI): Update SMART_ACTION_FORCE_DESPAWN to allow temporarily despawning gameobjects (#8340)
* fix(Core/SAI): Update SMART_ACTION_FORCE_DESPAWN to allow temporarily despawning gameobjects

* brackets

* Some improvements

* restore the virtual
2021-10-14 13:23:59 +02:00
UltraNix
b8345a2f98 fix(Core/DungeonFinder): Seasonal bosses are available only via Dunge… (#8056)
* fix(Core/DungeonFinder): Seasonal bosses are available only via Dungeon Finder tool.

Fixes #7889

* Update.

* Buildfix.

* Missing.
2021-10-14 13:22:37 +02:00
jestermaniac
da69fec345 fix(Core/Entities): contested guards attacking after bg/recent pvp (#7518)
* fix(Core/Entities): contested guards attacking after bg/recent pvp

* fix(Core/Entities): contested guards attacking after bg/recent pvp

* Update Unit.cpp

* fix(Core/Entities): contested guards attacking after bg/recent pvp

* fix(Core/Entities): contested guards attacking after bg/recent pvp

* Update Unit.cpp
2021-10-14 13:21:18 +02:00
Kitzunu
b96cecf98d refactor(Core/Achievement): Achivement earned message will use broadc… (#8485)
* refactor(Core/Achievement): Achivement earned message will use broadcast text instead of acore_string

* cherry-pick commit (465e4a0b0f)

Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com>

* sql

* fix build

* build

* restore gender
2021-10-14 13:11:13 +02:00
Kargatum
1c40caa4d6 feat(Core/Player): add helper for send large count mail items (#8460) 2021-10-14 15:25:15 +07:00
Skjalf
747a2a4f0e fix(Core/Graveyards): rework the graveyard selection logic to allow l… (#8022) 2021-10-13 20:07:19 +02:00
acidmanifesto
430157f71d feat(Core): GetDeadCreatureListInGrid helper added, for aoe loot (#8445) 2021-10-13 11:32:01 -03:00
Andrius Peleckas
b5f8b485a8 feat(Core/SAI): implemented boss state handling in SMART_ACTION_SET_INST_DATA + added additional data checks (#8369) 2021-10-13 09:54:33 -03:00
Skjalf
e458ab0d5f fix(Scripts/Spells): Fix pets not being resurrected by BG Spirit Healers (#8421) 2021-10-12 22:56:00 -03:00
UltraNix
13eacaed8d fix(Core/Spells): Always stand up on spell cast. (#8337)
Fixes #7032
2021-10-12 15:15:28 -03:00
Ragelezz
c8ff0bcc4a fix:(Core\Scripts):Krikthir the Gatewatcher minions position (#8120) 2021-10-12 14:51:30 -03:00
Axel Cocat
cb19dbf492 fix(Core/Player): fix Eluna hook in Player::CanUseItem (#7117) 2021-10-12 13:35:45 -03:00
Kitzunu
d464ee7083 refactor(Core/CreatureAI): Turn hardcoded entries into flagsExtra (#8189) 2021-10-12 13:35:22 +02:00
Axel Cocat
57658d821d fix(Core/Unit): perform melee attack when unit has not enough power for melee spell (#7996) 2021-10-12 12:23:52 +02:00
UltraNix
bc451d2eca fix(Core/Pets): Disable /petfollow command while using vehicle. (#8304)
Fixes #8156
2021-10-11 16:19:56 -03:00
Nefertumm
bcec4191e4 feat(Core/Hooks): Added new hook for pvp flag state (#8336) 2021-10-11 14:40:27 -03:00
UltraNix
0769212db5 fix(Core/Spells): Fixed absorb auras not working with spell damage. (#8427)
Fixes #8412
2021-10-11 18:19:22 +02:00
Francesco Borzì
060cd00bb7 chore(Core): add Prefix to Command menu
Co-authored-by: banehammer <felixwuensch@outlook.com>
Co-authored-by: banehammer <87540548+banehammer@users.noreply.github.com>
2021-10-11 12:41:00 +02:00
UltraNix
a6a85c0d5d fix(Core/Spells): typo 89f0c42c0 (#8398) 2021-10-11 00:11:21 -03:00
Skjalf
dd34d7e138 fix(Script/Spells): Summon Shy-Rotam (#8382)
* Move creature summon script to core spell scripts from event_scripts
* Fixes it not engaging player when summoned
2021-10-11 00:15:06 +02:00
Skjalf
f96b027ffd fix(Core/Mail): load mails on login instead of when requested (#8065) 2021-10-10 17:15:24 +02:00
Skjalf
1e57b6fb99 fix(Core/Spells): add several missing null checks for the DamageInfo struct to fix a crash (#8322) 2021-10-10 16:07:14 +02:00
UltraNix
66809383d1 fix(Core/Spells): add several missing null checks for the DamageInfo struct to fix a crash - Part II. (#8376) 2021-10-10 15:56:42 +02:00
UltraNix
80570efc29 fix(Scripts/Instances): fix some bosses flying animations (#7851)
- Closes #4900
2021-10-10 00:58:19 +02:00
UltraNix
0eec867c3b feat(Core/LFG): Implemented LFG_OPTION_ENABLE_SEASONAL_BOSSES. (#8219)
Closes #8098
2021-10-09 14:57:23 -03:00
UltraNix
89f0c42c0e fix(Core/Spells): Restore dafef5bd78 (#8380)
Fixes #5475
2021-10-09 13:49:45 -03:00
Kitzunu
4e590ed20c fix(Core/Quest): Update all quests when item is optained/removed (#7862)
Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com>
Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
2021-10-09 10:20:07 +02:00
UltraNix
8ef6355aad fix(Core/Item): Dropped loot containers acting soul bound after looking inside them. (#7826)
Fixes #6164
2021-10-09 03:28:29 -03:00
UltraNix
4947887644 fix(Scripts/Brewfest): Rewritten Coren Direbrew's fight(#8040)
- Closes #7890
2021-10-08 21:03:38 +02:00
UltraNix
86084560e0 feat(Core/Eluna): Added new OnPetAddedToWorld() hook for Eluna. (#8084) 2021-10-08 11:57:14 -03:00
UltraNix
69243c4e5d fix(Core/Movement): Improved player's pet follow movement. (#8217)
Fixes #8127
2021-10-08 10:13:00 -03:00
Skjalf
8514eaf9a0 fix(Scripts/BRD): Rework Shadowforge Braziers (#8233)
- Both gates should open when both braziers are lit, regardless of the order
- Added missing flavor text from Magmus, spoken once the gates open
2021-10-07 22:20:02 +02:00
UltraNix
f2e0744513 fix(Core/Spells): Premeditations should not break enemy's stealth. (#8220)
- Closes #8154
2021-10-07 21:20:41 +02:00
UltraNix
0e5eb1b0cf fix(Core/Pets): Eye of Kilrogg should not put its owner in combat wit… (#7193)
- Closes #6627
2021-10-07 20:03:04 +02:00
Skjalf
99cc428511 fix(Core/Spells): Improved Drain Soul triggering from every target … (#8144)
...that dies and not just the one affected by Drain Soul and move the Drain Soul code to spell scripts

- TC Ports: d9743c984f (diff-ea612aafadff90005e88b243eb000369be9e5cb6f8dc85a008d31e42b156e0ec) and  2b1b36f561 (diff-ea612aafadff90005e88b243eb000369be9e5cb6f8dc85a008d31e42b156e0ec)
2021-10-07 18:58:46 +02:00
UltraNix
c51fb81df0 fix(DB/Spell): Glodrak Huntsniper should not spaw with his mug throwing spell if player does not have Portable Brewfest Keg. (#8062)
- Closes #7913
2021-10-07 13:10:20 +02:00
Skjalf
78a2f73825 fix(Core/LFG): implement ERR_PARTY_LFG_BOOT_NOT_ELIGIBLE_S and lower … (#8243) 2021-10-07 13:09:02 +02:00
Skjalf
72de7a9a22 fix(Core/GameObject): credit nearby group members on object activation if they're in reward range (#8240)
Ported from: cd625a12e2
Credits to @Treeston
2021-10-07 13:08:30 +02:00
Skjalf
cdb45a7ef1 fix(Core/SAI): Fix SMART_ACTION_CALL_AREAEXPLOREDOREVENTHAPPENS not working with gameobject sources if the player is in group (#8234) 2021-10-07 13:08:07 +02:00