Commit Graph

424 Commits

Author SHA1 Message Date
Skjalf
0d1f72a55b fix(Core/Players): solve issue with hunters never being able to roll need on polearms and properly check conditions to roll on relics (#8148) 2021-10-04 15:46:40 +02:00
Axel Cocat
02cdbdd538 fix(Core/Player): check for existing corpse on respawn (#8112) 2021-10-04 15:45:54 +02:00
UltraNix
de8d0b49f8 fix(Core/Items): toggle temporary items enchantments during items swap. (#8067)
- Closes #7957
2021-10-04 15:44:49 +02:00
UltraNix
cff7cc58ff fix(Core/Players): Fixed getting resting exp in cities/inns. (#8020)
Fixes #7939
2021-10-01 10:50:36 +02:00
UltraNix
0c8fb1ea73 fix(Core/Movement): Properly handled root movement acks. (#8019)
Fixes #7892
2021-10-01 10:41:31 +02:00
UltraNix
30e9ce350c fix(Core/Spells): Do not send doubled learning packet if spell is lea… (#8140)
* fix(Core/Spells): Do not send doubled learning packet if spell is learned from skill.

Fixes #7764

* typo.
2021-10-01 01:16:48 +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
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
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
c3259dabcf fix(Core/Spells): Implemented PROC_EX_ONLY_FIRST_TICK (#7933) 2021-09-21 06:02:06 -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
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