Commit Graph

411 Commits

Author SHA1 Message Date
UltraNix
ab59991106 fix(Core/Spells): Properly remove item dependent passive auras on item unequip (#7944) 2021-09-20 12:37:07 -06: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
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
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
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
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
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
IntelligentQuantum
e6143a1efd feat(Core/Commands): Gear (#7717) 2021-09-12 12:19:14 +02:00
UltraNix
e7fe6dcb00 fix(Core/Quests): properly handle quests with QuestType=0. (#7718)
- Closes #6732
2021-09-10 01:04:28 +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
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
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
UltraNix
2f9f95221b fix(Core/Items): armor type requirement for needing items in LFG grou… (#7523)
- Closes #7467
2021-09-02 10:39:57 +02:00
UltraNix
7965ea5aaa fix(Core/Movement): set proper flying animations for creatures with INHABIT_GROUND (#7589)
- Closes #7579
2021-09-01 12:15:01 +02:00
UltraNix
498faf380b fix(Core/DungeonFinder): misc improvements (#7488)
- Players should be able to enter the same dungeon if just completed it
- Properly define if the proposal is new
- Set teleport point to the nearest graveyard if teleported to dungeon from other instance
- Display completed encounters when joining LFG in progress (excluding random)
- Closes #5914
- Closes #7388
2021-09-01 10:44:29 +02:00
Silker
9d81f3525f fix(Core/Creature): Disable periodic call for assistance on minions from instances (#7650) 2021-08-31 08:03:09 -06:00
UltraNix
ec149b52d9 fix(Core/Cooldowns): SPELLMOD_COOLDOWN should not affect category coo… (#7164)
- Closes #6391.
2021-08-31 12:01:09 +02:00
lineagedr
ae8a78d90a feat(Core/Gameobject): add a range check for gameobjects (#7521) 2021-08-31 10:34:43 +02:00
Andrius Peleckas
dd14c63088 fix(Core/Vendors): incorrect check which allowed/disabled alliance players (#7507) 2021-08-26 15:41:17 +02:00
UltraNix
f23d42c0dd fix(Core/Entities): mobs called for help should check if can see and detect the enemy (#7493)
- Updates #7125
2021-08-26 10:38:27 +02:00
Petric
2929cddaf2 fix(Core/Spec): changing spec now removes auras of spells with rank > 1 (#7482)
- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/4284
2021-08-25 16:00:39 +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
UltraNix
032ca32a04 fix(Core/Spells): do not remove stances when teleported from Instance/BG (#7469)
- Closes #7402
2021-08-25 01:55:37 +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
UltraNix
1becd73f09 fix(Core/Movement): Rewritten follow movement generator for pets (#7324)
- Closes #7296
2021-08-24 11:08:50 +02:00
jestermaniac
5f6780532f fix(Core/Unit): adds in formation not attacking when leader killed (#7412)
Co-authored-by: John Smith <mostdefinitelyanagger@outlook.com>
2021-08-22 13:32:27 +02:00
lineagedr
1174b43184 feat(Core/Item): remove item auras after unequipping an item. (#7398)
* [Core/Item]: Remove item auras after unequipping an item.

* chore(Core/Item): add brackets, improve codestyle

* Update

* update

* Update

* Update

* constexpr

* Update Player.cpp
2021-08-20 20:17:01 +02:00
UltraNix
bd9b02a3af fix(Core/Movement): Properly updates MOVE_WALK in case of slowing auras. (#7371)
fixed #7301
2021-08-18 11:59:13 +02:00
UltraNix
3fa1aa1c17 fix(Core/Pets): controllable guardians (including pets) should not set the combat with its target when commanded to attack it (#7315)
- Closes #7264
2021-08-16 17:43:56 +02:00
UltraNix
723dbbff58 fix(Core/Players): remove shapeshift auras on taxi restore (#7292)
- Closes #7240
2021-08-15 23:32:55 +02:00
UltraNix
3487973c0e fix(Core/Professions): properly unlearn skill dependent spells (#7290)
- Closes #7165
2021-08-13 17:47:16 +02:00
UltraNix
622c9bc0dd fix(Core/Visibility): notify AI of nearby creatures immediately if forced update object visibility is called (#7274)
- Closes #7126
2021-08-12 19:10:03 +02:00
UltraNix
e8b944710a fix(Core/Players): don't reset contested PvP timer if teleported between two maps (#7257)
- Closes #7077
2021-08-11 02:15:22 +02:00
UltraNix
700878f483 fix(Core/Spells): remove hack-fix for sword specialization proc (#7245)
- Closes #6935
2021-08-10 19:19:06 +02:00
KiK0
2b5144c8fe fix(Core/Spells): Glyph of Freezing Trap Applying Slow Incorrectly (#7184) 2021-08-08 15:09:51 +02:00
UltraNix
5b057798e7 fix(Core/Maps): Enabled dead players to be resurrected at the dungeon entrance if cannot enter it due to some reasons (#7236)
- Closes #6790
2021-08-07 16:10:07 +02:00
UltraNix
d3d6d0be12 fix(Core/Spells): always select correct item on weapon skill update (#7135)
- Closes #6158
2021-08-07 14:17:14 +02:00
UltraNix
5831c336df fix(Scripts/Spells): Windfury Weapon should not consume Flurry stacks. (#7151)
* fix(Scripts/Spells): Windfury Weapon should not consume Flurry stacks.

Fixed #6234

* Update src/server/scripts/Spells/spell_shaman.cpp
2021-08-07 00:28:07 +02:00
UltraNix
14ad1def8b fix(Core/Spells): pets should not dispel beneficials bufs from neutral units not being at war with pet's owner (#7230)
- Closes #6691
2021-08-06 18:39:35 +02:00
UltraNix
955c1d1ea1 fix(Core/Quests): SMSG_QUESTUPDATE_COMPLETE on quest completion (#7213)
- Closes #6652
2021-08-06 17:22:04 +02:00
UltraNix
2ed34db42f fix(Core/Spells):SPELL_ATTR5_AURA_AFFECTS_NOT_JUST_REQ_EQUIPED_ITEM (#7205)
- Closes #6617
2021-08-06 12:32:30 +02:00