Commit Graph

448 Commits

Author SHA1 Message Date
Kitzunu
d464ee7083 refactor(Core/CreatureAI): Turn hardcoded entries into flagsExtra (#8189) 2021-10-12 13:35:22 +02:00
Axel Cocat
57658d821d fix(Core/Unit): perform melee attack when unit has not enough power for melee spell (#7996) 2021-10-12 12:23:52 +02:00
Nefertumm
bcec4191e4 feat(Core/Hooks): Added new hook for pvp flag state (#8336) 2021-10-11 14:40:27 -03:00
UltraNix
0769212db5 fix(Core/Spells): Fixed absorb auras not working with spell damage. (#8427)
Fixes #8412
2021-10-11 18:19:22 +02:00
UltraNix
a6a85c0d5d fix(Core/Spells): typo 89f0c42c0 (#8398) 2021-10-11 00:11:21 -03:00
Skjalf
f96b027ffd fix(Core/Mail): load mails on login instead of when requested (#8065) 2021-10-10 17:15:24 +02:00
UltraNix
89f0c42c0e fix(Core/Spells): Restore dafef5bd78 (#8380)
Fixes #5475
2021-10-09 13:49:45 -03:00
Kitzunu
4e590ed20c fix(Core/Quest): Update all quests when item is optained/removed (#7862)
Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com>
Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
2021-10-09 10:20:07 +02:00
UltraNix
8ef6355aad fix(Core/Item): Dropped loot containers acting soul bound after looking inside them. (#7826)
Fixes #6164
2021-10-09 03:28:29 -03:00
UltraNix
4947887644 fix(Scripts/Brewfest): Rewritten Coren Direbrew's fight(#8040)
- Closes #7890
2021-10-08 21:03:38 +02:00
UltraNix
86084560e0 feat(Core/Eluna): Added new OnPetAddedToWorld() hook for Eluna. (#8084) 2021-10-08 11:57:14 -03:00
UltraNix
69243c4e5d fix(Core/Movement): Improved player's pet follow movement. (#8217)
Fixes #8127
2021-10-08 10:13:00 -03:00
UltraNix
0e5eb1b0cf fix(Core/Pets): Eye of Kilrogg should not put its owner in combat wit… (#7193)
- Closes #6627
2021-10-07 20:03:04 +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
Skjalf
78a2f73825 fix(Core/LFG): implement ERR_PARTY_LFG_BOOT_NOT_ELIGIBLE_S and lower … (#8243) 2021-10-07 13:09:02 +02:00
Skjalf
72de7a9a22 fix(Core/GameObject): credit nearby group members on object activation if they're in reward range (#8240)
Ported from: cd625a12e2
Credits to @Treeston
2021-10-07 13:08:30 +02:00
Skjalf
29c94e5455 fix(Core/Graveyard): prevent non-death knights from getting ported to… (#8206) 2021-10-07 13:07:23 +02:00
Andrius Peleckas
c358bd5f79 fix(Core/Formations): mistake in radians calculation (#8205) 2021-10-07 13:06:22 +02:00
UltraNix
0d411ec2c3 fix(Core/Crash): Evade after cleaning threat references. (#8160) 2021-10-06 01:26:03 -03:00
UltraNix
702573038e Fix(Core/Crash): Fixed a typo on Pet::_SaveSpellCooldowns. (#8277) 2021-10-06 00:03:44 -03: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
UltraNix
3aadaa6d0f fix(Core/Spells): improve displaying spell category cooldowns in client UI. (#8172) 2021-10-04 15:47:44 +02:00
UltraNix
60fb2c38f8 fix(Core/Spells): properly handle SPELLMOD_COOLDOWN for spell category cooldowns. (#8161)
- Closes #8155
2021-10-04 15:47:30 +02:00
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