Commit Graph

1870 Commits

Author SHA1 Message Date
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
UltraNix
e7fe6dcb00 fix(Core/Quests): properly handle quests with QuestType=0. (#7718)
- Closes #6732
2021-09-10 01:04:28 +02:00
IntelligentQuantum
790030810b fix(Core/Guild): prevent join multiple guilds exploit (#7631) 2021-09-09 11:48:58 +02:00
UltraNix
a314d6091a fix(Core/Loot): properly handle referenced group loot templates (#7539) 2021-09-09 11:48:17 +02:00
Francesco Borzì
efdb64af07 Revert "fix(Core/Unit): NPC enters into EvadeMode, he loses all his Auras (#6379)" (#7793)
This reverts commit 569e3399c6.
2021-09-09 10:51:19 +02:00
Stefano Borzì
17b408004f chore(Core/Condition): replace assertion with logs preventing server crash (#7730) 2021-09-07 15:58:04 +02:00
UltraNix
a561ce8937 fix(Core/Items): properly display item spell charges (#7722)
- Closes #7598
2021-09-07 11:19:12 +02:00
UltraNix
2e41da548e fix(Core/Spells): implement SPELL_GROUP_SPECIAL_FLAG_SAME_SPELL_CHECK group stack flag (#7709)
- Closes #6664
2021-09-07 02:10:13 +02:00
Kitzunu
df6ad0db29 refactor(DBC/Misc): Redefine & Define FactionTemplateFlags (#7697) 2021-09-07 02:07:37 +02:00
UltraNix
066d2ef85b feat(Core/Loot): add configurable option to specify ilv restriction for items below player class in NeedBeforeGreed loot mode in DF (#7701) 2021-09-06 18:24:41 +02:00
UltraNix
02b0b29ffa fix(Core/Loot): Quest items should not be lootable/visible if quest objective already fulfilled (#7700)
- Closes #6442
2021-09-06 15:33:13 +02:00
UltraNix
29559d3747 fix(Core/Loot): Only Paladins, Warriors and Shamans should be able to roll Need on shields (#7696)
- Closes #4858
2021-09-06 13:06:54 +02:00
Srđan Panić
0ef71e7aa3 fix(Core/pathing): incorrect pathing of caster mobs when their casts fail due to LOS (#7472)
* Fix incorrect pathing of caster mobs when their casts fail due to LOS

The original problem was that the casters, when their casts were blocked
by a los of line of sight, would not run directly towards the player, but
would rather run around within the spell range until a clear line of
sight was found. This made it near impossible to make casters stop their
casts and force them into melee range by using an obstacle.

This fix makes caster mobs run directly into melee until a clear line of
sight is reached whenever a player hides behind an obstacle regardless of
whether the mob is within spell range or not.

* Cleaning up whitespace

* Tidying up
2021-09-05 12:00:39 +02:00
UltraNix
50991bdce4 fix(Core/Creatures): Creatures' guardian should not despawn on summon… (#7607)
- Closes #6211
2021-09-05 01:34:52 +02:00
UltraNix
32cb433f10 fix(Core/Pets): Spells casted by pets and delayed due to LoS or not in range cause should have cast time (#7667)
- Closes #5231
2021-09-03 15:47:25 +02:00
UltraNix
ec9d6d38da fix(Core/Movement): properly send movement *ack packets to controlling players. (#7635)
- Closes #7606
2021-09-02 10:40:51 +02:00