Commit Graph

560 Commits

Author SHA1 Message Date
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
4947887644 fix(Scripts/Brewfest): Rewritten Coren Direbrew's fight(#8040)
- Closes #7890
2021-10-08 21:03:38 +02: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
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
29c94e5455 fix(Core/Graveyard): prevent non-death knights from getting ported to… (#8206) 2021-10-07 13:07:23 +02:00
UltraNix
c4ebfb4426 fix(Scripts/Event): Always the nearest baker should throw Complimentary Brewfest Sampler back. (#8204)
- Closes #8027
2021-10-07 13:06:08 +02:00
UltraNix
3223f90bcb feat(Core/Spells): add helper to get clean and unmitigated damage for pro… (#7244) 2021-10-05 23:59:57 +02:00
Skjalf
a61d7c2bc8 fix(Core/Spells): correct hunter's Lock and Load procs (#8177)
- Move related code to spell scripts
- Fixes it proc'ing when the target is immune to snares
- Partial port of 746b838870
2021-10-04 15:49:16 +02:00
Skjalf
c55c5e668f fix(Core/Commands): partially fix an issue with mails sent from console never showing up the 'Customer Support' sender in-game (#8064) 2021-10-04 15:44:04 +02:00
Kitzunu
9fbdffee47 refactor(Core/Map): Use std::chrono for SetZoneOverrideLight (#6489)
* cherry-pick e33c4b8f7f

Co-Authored-By: HelloKitty <5829095+HelloKitty@users.noreply.github.com>
2021-10-03 22:07:26 -03:00
patou01
77e46769fa Fix(Core/Uldaman): Door behind Archaedas can close after event. (#8024)
* Fix(Core/Uldaman): Door behind Archaedas can close after event.

Once the boss is dead, we shouldn't be able to close the doors anymore.

Closes https://github.com/azerothcore/azerothcore-wotlk/issues/7358

* removed unnecessary check to make CI happy
2021-10-01 10:59:24 +02:00
Kargatum
52aa0e9966 feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
jestermaniac
1dd53b17f9 fix(DB/Spells): Contagion of rot (#8021)
Co-authored-by: John Smith <mostdefinitelyanagger@outlook.com>
2021-09-27 23:21:51 +02:00
Artem
87a4e493a3 fix(Core/Script): 'Battle at Valhalas' quests done automatically (#7036)
* fix(Core/Script): 'Battle at Valhalas' quests done automatically

Battle at Valhalas series of quests, get to automatically complete

Closes #6753

* Refactoring

* Refactoring

* Refactoring PlayerUpdates.cpp

Co-authored-by: IntelligentQuantum <IntelligentQuantum@ProtonMail.Com>

* Refactoring PlayerQuest.cpp

Co-authored-by: IntelligentQuantum <IntelligentQuantum@ProtonMail.Com>

* Update src/server/scripts/Northrend/zone_icecrown.cpp

Co-authored-by: IntelligentQuantum <IntelligentQuantum@ProtonMail.Com>
2021-09-25 16:59:49 +02:00
Andrius Peleckas
e6b1201e50 fix(Core/Creature): Fixed GroupAI flags usage in creature_formations (#7544)
* fix(Core/Creature): Fixed GroupAI flags usage

* fix(Core/Creature): build fix + code style...

* fix(Core/Creatures): trailing white spaces...

* Core/Formations: allow only certain members to have follow formation

* Core/Formations: fixed ancient data corruption in CreatureGroup::LeaderMoveTo

* Core/Formations: minor optimization

* Core/Formations: improved some warning messages

* Core/Formations: do not load invalid formation data which has unsupported group ai

* Core/Formations: minor adjust for recent commit

* Core/Formations: log formation data which has angle and distance but dont have GROUP_AI_FLAG_FOLLOW_LEADER flag

* Core/Formations: Minor optimization for formation data handling

* Core/Formations: make sure that FormationInfo members are always initialized on its creation

* Core/Formations: minor warnings adjustments

* DB/Formations: fixed some warnings

* Core/Formations: check group flags only if there is any
I have gues that maybe leader could not assist any member at all but members maybe could be linked for motion

* DB/Formations: fixed rest of DB warnings

* Core/Formations: more improvements for supported AI mask check

* Core/Formations: more improvements for data checks

* DB/Formations: fixed warnings

* meh

* DB/Formations: minor correction

* Core/Formations: code style - brackets, you suck... :D
2021-09-24 19:51:55 +02:00
UltraNix
115f8ce17e fix(Scripts/Brewfest): Some tweaks to Dark Iron Attack event. (#8026)
* fix(Scripts/Brewfest): Some tweaks to Dark Iron Attack event.

Fixes #7872

* buildfix.

* typo.

* Crashfix?

* Crashfix.

* Update.
2021-09-24 18:58:52 +02:00
UltraNix
0cd88d026a fix(Script/Quest): move Shay Leafrunner's script from DB to C++ (#7801)
- Closes #1535
- Closes  #6722
2021-09-23 15:19:31 +02:00
UltraNix
048025ceba fix(Scripts/ZulFarrak): Moved Sergeant Bly's script from DB to C++ (#7855) 2021-09-21 04:36:51 -06:00
patou01
47bb5cbb43 fix(Core/BRD): Timer for tomb of seven (#7952) 2021-09-20 14:30:57 -06:00
Silker
e2dd6b2bd8 fix(scripts/Thaddius): Update initial unit_state (#7886) 2021-09-20 04:15:24 -06:00
Kitzunu
339d58ecdc refactor(Core/Misc): Use .empty() instead of == "" (#7870) 2021-09-20 00:46:00 +02:00
UltraNix
86c5511e7b fix(Scripts/Spells): Fixed never-ending Victorious state proc off from Victory Rush. (#7856)
Fixes #7628

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-09-19 16:07:47 +02:00
jestermaniac
a8ca50fc47 fix(Scripts/Items): Powerful Anti-venom (#7854) 2021-09-18 14:45:55 -06:00
UltraNix
6632c4bd62 fix(Scripts/BlackwingLair): starting Razorgore the Untamed fight (#7783)
- Closes #7729
2021-09-17 09:23:39 +02:00
IntelligentQuantum
fec27d8d8a fix(Core/Spell): Warlock Banish (#7832) 2021-09-16 17:10:54 +02:00
UltraNix
cb790b0d48 fix(Scripts/ToC): remove completely invalid code about removing loot (#7814)
- Closes #7804
2021-09-16 14:33:05 +02:00
UltraNix
fd229f75e1 fix(Scripts/BRD): movement of Burning Spirits during Ambassador Flamelash encounter (#7810)
- Closes #6964
2021-09-16 14:30:58 +02:00
Kitzunu
2f449326e0 refactor(Core): Rename ...Manager to ...Mgr (#6910)
* Rename MapManager.h to MapMgr.h

* Rename BanManager.h to BanMgr.h

* Rename MapManager.cpp to MapMgr.cpp

* Rename BanManager.cpp to BanMgr.cpp

* Rename MapRefManager.h to MapRefMgr.h

* Rename ThreatManager.h to ThreatMgr.h

* Rename GridRefManager.h to GridRefMgr.h

* Rename ThreatManager.cpp to ThreatMgr.cpp

* Rename GroupRefManager.h to GroupRefMgr.h

* Rename HostileRefManager.h to HostileRefMgr.h

* Rename HostileRefManager.cpp to HostileRefMgr.cpp

* Rename MMapManager.h to MMapMgr.h

* Rename FollowerRefManager.h to FollowerRefMgr.h

* Rename VMapManager2.h to VMapMgr2.h

* Rename IVMapManager.h to IVMapMgr.h

* Rename MMapManager.cpp to MMapMgr.cpp

* Rename VMapManager2.cpp to VMapMgr2.cpp

* Rename RefManager.h to RefMgr.h

* Rename WaypointManager.h to WaypointMgr.h

* Rename WaypointManager.cpp to WaypointMgr.cpp

* Rename MPQManager.h to MPQMgr.h

* Rename MPQManager.cpp to MPQMgr.cpp

* Rename IMMAPManager.h to IMMAPMgr.h

* fix build

* Update Main.cpp

* chore(Core/Misc): Remove toxic language

* Revert "chore(Core/Misc): Remove toxic language"

* fix build

* build
2021-09-15 17:50:28 +02:00
Efymer
aa9a39e07f feat(Core/debug): Add commad to debug lfg (#6638)
* feat(Core/debug): Add commad to debug lfg

* Update LFGMgr.h

* Update rev_1624914323095978900.sql

* Code review fixes

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-09-14 17:08:49 +02:00
Viste
a9796af174 fix(Core/Misc): bunch of crashfixes (#7307) 2021-09-14 14:38:56 +02:00
UltraNix
7406a01ac3 fix(Core/Spells): several improvements to cooldowns (#7559)
- Reworked spell category cooldowns.
- Implemented category cooldowns for pets.
- Properly shows pet spell cooldowns in player's UI.
- Corrected pet spell cooldowns with infinity duration.
- Do not add/remove infinity spell cooldown on aura apply/remove if casted by item.
- Closes #5263
2021-09-13 20:57:48 +02:00
UltraNix
15b346163d fix(Scripts/BRD): Mobs in Manufactory should attack on Golem Lord Arg… (#7794)
- Closes #3077
2021-09-13 16:09:40 +02:00
IntelligentQuantum
bb343b482e fix(Scripts/DB): Quest OOX 09 - 17 - 2FE (#7792) 2021-09-13 16:06:49 +02:00
CrazyJDev
adab416f29 fix(Scripts/Ulduar): Hodir boss fight issue (#5897)
Co-authored-by: Silker <61223313+Si1ker@users.noreply.github.com>
2021-09-13 00:12:29 +02:00
IntelligentQuantum
e6143a1efd feat(Core/Commands): Gear (#7717) 2021-09-12 12:19:14 +02:00
UltraNix
dd0b964a2a fix(Scripts/Spells): Unlit Torches cannot be used too far away from the bonfire (#7644)
- Closes #6551
2021-09-01 15:50:42 +02:00
Asthalor
33b3ea2fe4 fix(Script/BD): fix skill needed and more for Quest The Spectral Chalice (#7519) 2021-08-31 12:02:17 +02:00
lineagedr
ae8a78d90a feat(Core/Gameobject): add a range check for gameobjects (#7521) 2021-08-31 10:34:43 +02:00
Kitzunu
6978d62482 refactor(Script/Command): modify mount & dismount (#7413)
* refactor(Script/Command): modify mount

* oopsies

* Update rev_1629233438552386300.sql

* codestyle

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* some improvements

* When using .dismount also update speed to 100%

* remove atoul

* Update cs_modify.cpp

* test

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* Update cs_modify.cpp

* fix tyop

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
2021-08-29 10:45:43 +02:00
UltraNix
45218224b4 fix(Core/Spells): show Execute/Slam misses/dodges/parries in combat log (#7494)
- Closes #7428.
2021-08-26 11:45:22 +02:00
UltraNix
a8c0a2cc89 fix(Core/Movement): (#7008)
- Get zone/area IDs from vmap data in the liquid update
- Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
- Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields.
- Clean up liquid state handling on Unit and Player
- Implemented getting area id from gameobject spawns.
- Removed old core related to getting movement flags dependent on environment.
- Movement flags are now processed more precisely and dynamically.

Original source: TrinityCore.

- Closes #5086
- Updates #2208.
2021-08-25 12:41:20 +02:00
EPTIC
015f8802a8 fix(Script/Creature): move Shadow Hunter Vosh'gajin script to SAI (#7421) 2021-08-25 10:58:13 +02:00
UltraNix
ec71301bf7 fix(Scripts/Spell): Volley should trigger pet attack in defensive mode (#7453)
- Closes #7340
2021-08-25 01:13:15 +02:00
UltraNix
1b7d3708a6 fix(Core/Loot): (#7452)
- Players that did not participate in killing dungeon boss are not eligible to get loot.
- Players that are too far away from the looted object are not eligible to get loot.
- Players that released spirit and were outside the dungeon when the loot has been released are eligible to get loot.
- Players that have pending bind are not eligible to get loot.
- Properly get loot recipient for some chests in dungeons.
- All above fixes should work in any loot mode (group loot, master loot, etc.)
- Closes #2104.
2021-08-24 23:48:22 +02:00
Kitzunu
62058ffbea fix(Script/Spells): Anti-Magic Zone amount calc (#7438)
* cherry-pick commit (bea682f95c)

Co-authored-by: Lucas Nascimento <keader.android@gmail.com>
2021-08-24 16:52:54 +02:00
Petric
56a2f6d976 fix(Core/Crash): reload page GetSession check to avoid crash (#7451) 2021-08-22 16:40:40 +02:00
EPTIC
690187cb3f fix(DB/Creature): Gizrul the Slavener (#7414) 2021-08-22 13:43:54 +02:00