Commit Graph

4735 Commits

Author SHA1 Message Date
Kitzunu
6d83887abd refactor(Core/SpellEffects): Rework some of the null checks (#6987) 2021-09-29 22:03:57 +02:00
UltraNix
a7f52e9019 feat(Core/Battlegrounds): Implemented new timed config for queue anno… (#8053)
* feat(Core/Battlegrounds): Implemented new timed config for queue announce system.

Closes #6637.

* Update.

* typo.

* Update.
2021-09-28 19:18:23 +02: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
UltraNix
26f1aaa0c8 fix(Core/Players): Properly save resting state to DB. (#8014)
Fixes #7782
2021-09-25 18:16:10 +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
Skjalf
4bf98a17de fix(Core/Calendar): Solve the issue with calendar event invite response time never updating (#8006) 2021-09-24 20:24:18 +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
c3259dabcf fix(Core/Spells): Implemented PROC_EX_ONLY_FIRST_TICK (#7933) 2021-09-21 06:02:06 -06:00
UltraNix
048025ceba fix(Scripts/ZulFarrak): Moved Sergeant Bly's script from DB to C++ (#7855) 2021-09-21 04:36:51 -06:00
UltraNix
1bf4f54b32 fix(Core/Combat): Creatures should evade if its only victim is teleporting to other map (#7975) 2021-09-20 16:05:45 -06:00
IntelligentQuantum
73bac1777c fix(Core/Player): Remove mount aura on a flight (#7976) 2021-09-20 14:56:01 -06:00
patou01
47bb5cbb43 fix(Core/BRD): Timer for tomb of seven (#7952) 2021-09-20 14:30:57 -06:00
UltraNix
ab59991106 fix(Core/Spells): Properly remove item dependent passive auras on item unequip (#7944) 2021-09-20 12:37:07 -06:00
Francesco Borzì
db6635ab7b fix(Core/Map): remove ABORT() to prevent crash (#7904) 2021-09-20 16:15:54 +02:00
jestermaniac
f76d08f328 fix(CORE/Reputation): +Rep aura modify quest with override faction (#7887) 2021-09-20 06:08:26 -06:00
UltraNix
d6118de10f fix(Core/Spells): Applying category spell cooldown instead of spell cooldown (#7878) 2021-09-20 04:43:35 -06:00
Kitzunu
0a5fbfdfcf fix(Core/Spell): Add additional check to LoadSpellScripts() (#7860) 2021-09-20 04:33:59 -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
Kitzunu
6df7303b24 refactor(Core/Maps): Change map file version from FourCC to uint32 (#7866)
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-09-20 00:45:42 +02:00
Kitzunu
b70083599b fix(Core/Unit): Improve check for players to automatically stand if a… (#7869)
* fix(Core/Unit): Improve check for players to automatically stand if attacked

* vicitm -> victim
2021-09-19 22:14:57 +02:00
Kitzunu
5ceeeb0d98 fix(Core/Misc): SendAuthWaitQueue typo (#7868)
* cherry-pick commit <a832a1fe90>

Co-Authored-By: Jan Van Buggenhout <1895262+chipzz@users.noreply.github.com>

Co-authored-by: Jan Van Buggenhout <1895262+chipzz@users.noreply.github.com>
2021-09-19 18:44:27 +02:00
Kitzunu
b79ae92a24 fix(Core/Spell): Remove SPELL_ATTR4_NO_CAST_LOG from being applied to some spells (#7867) 2021-09-19 17:47:35 +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
Kitzunu
4fb2dc1fc4 fix(Core/Spell): PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW applies only with invisibility type INVISIBILITY_GENERAL (0) (#7863)
Co-Authored-By: Meji <2695278+meji46@users.noreply.github.com>
2021-09-18 18:09:48 +02:00
Kitzunu
ca9605215b feat(Core/Misc): improve enum flags with type safe operators (#7865) 2021-09-17 14:51:01 +02:00
Kitzunu
f6f18cb538 fix(Core/Creature): remove combo points on evade (#7861) 2021-09-17 13:42:04 +02: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
Silker
4dc642d530 fix(Creature/Core): Boss phased reset (#7828)
Co-authored-by: Si1ker <Si1ker@users.noreply.github.com>
Co-authored-by: lineagedr <lineagedr@users.noreply.github.com>
Co-authored-by: Footman <footman@hotmail.de>
2021-09-16 14:32:36 +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
lineagedr
11ce20d296 refactor(Core/Misc): remove duplicate line (#7808) 2021-09-16 11:20:38 +02:00
patou01
10ad759653 fix(Core/Unit): Improve pets behavior (#7836) 2021-09-16 02:27:28 -06: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
Kitzunu
a4a0976d5e fix(Core/Spell): Remove ErrorCube visual (#5713)
* fix(Core/Spell): Remove ErrorCube visual

* cherry-pick https://github.com/trinitycore/trinitycore/commit/3b5014fdae

* cherry-pick small part of f4f7e6324d

Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: Treeston <14020072+treeston@users.noreply.github.com>

* brackets

* Update rev_1620443413425226200.sql

* Update rev_1620443413425226200.sql

* It was the S, AN S

* Update SpellMgr.cpp

* Update SpellMgr.cpp

* Revert "Merge branch 'master' into fix-visual"

This reverts commit f0b629a2835c2a2d9aa5696bb7539c1ae9b14d57, reversing
changes made to c06f4465d15e9f71426d796e2fcfe714592c3443.

* Revert "Revert "Merge branch 'master' into fix-visual""

This reverts commit bfdf75bd6f8f06944463249de5d398a9e77c3a79.

* fix build

Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Treeston <14020072+treeston@users.noreply.github.com>
2021-09-15 01:38:10 +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
132f6c3c19 fix(DB/Spells): define Dust Field as a positive spell (#7798)
- Closes #5392
- Closes #6285
2021-09-13 16:10:31 +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
lineagedr
1ae8e7eca5 fix(Core/Item): Luffa removing more than one bleed (#7752) 2021-09-12 19:28:23 +02:00
IntelligentQuantum
e6143a1efd feat(Core/Commands): Gear (#7717) 2021-09-12 12:19:14 +02:00
UltraNix
e5b8dbeb29 fix(Core/Achievements): new achievement criteria type ACHIEVEMENT_CRITERIA_DATA_TYPE_BG_TEAMS_SCORES (#7756)
- Closes #7613
2021-09-11 11:02:38 +02:00
Kitzunu
511320c5b4 chore(Core/Spells): redefine & Define some castFlags (#7724) 2021-09-10 10:57:23 +02:00