Commit Graph

901 Commits

Author SHA1 Message Date
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
1fd963b246 fix(Core/Maps): display instance warning when entering bound dungeon (#7448) 2021-08-25 11:41:43 +02:00
EPTIC
015f8802a8 fix(Script/Creature): move Shadow Hunter Vosh'gajin script to SAI (#7421) 2021-08-25 10:58:13 +02:00
lineagedr
2b9817f0c0 fix(Core/Misc): restore playercreateinfo_item item deletion functionality (#7470) 2021-08-25 10:21:27 +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
Kitzunu
2a36a533ce fix(Core/Spells): Sacred Cleansing range (#7439)
* cherry-pick commit (c8f2056b17)

Co-Authored-By: Lucas Nascimento <keader.android@gmail.com>
2021-08-24 17:48:28 +02:00
UltraNix
1becd73f09 fix(Core/Movement): Rewritten follow movement generator for pets (#7324)
- Closes #7296
2021-08-24 11:08:50 +02:00
UltraNix
39efbb736f fix(Core/Arenas): correct BG status on Arena leave (#7323)
- Closes #7278
2021-08-23 20:18:36 +02:00
Kaytotes
d18545263f feat(Core/Scripts): new OnBeforeFinalizePlayerWorldSession() hook (#7136)
Co-authored-by: Yehonal <yehonal.azeroth@gmail.com>
2021-08-22 13:41:19 +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
e9f4006ed2 fix(Core/Scrips): Kologarn focused eyebeam should target only 1 target (#7405) 2021-08-21 20:19:00 +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
lineagedr
888549bcdc fix(Core/Spells): Druid's Enrage not reducing armor (#7394) 2021-08-20 14:41:26 +02:00
lineagedr
ff7d6d2dae fix(Core/Maps): prevet a crash occurring when shutting the server down. (#7387) 2021-08-20 00:01:48 +02:00
UltraNix
122fd3ec74 fix(Core/Spells): add SPELL_ATTR0_CU_NO_INITIAL_THREAT to some spells (#7291)
- Closes #7241
2021-08-19 16:40:00 +02:00
lineagedr
f538eaceba fix(Core/Chat): muteTime for players that were muted when offline (#7375)
This reverts commit 23beddb209314d6a6ef20c9e7ca7229ee7a1905b
2021-08-19 12:00:55 +02:00
Kitzunu
556d91a2ea feat(Core/Network): Add conf to allow/disallow storing IP address (#7168)
* feat(Core/Network): Add conf to allow/disallow storing the IP address

* cherry-pick commit (68bf7e6d12)

Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-08-19 00:20:07 +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
1e84e062f4 fix(Core/Spells): Beacon of Light should not cause combat. (#7321)
* fix(Core/Spells): Beacon of Light should not cause combat.

Fixed #7276
2021-08-18 00:24:57 +02:00
UltraNix
6b5c3ed04f fix(Core/Spells): Always melee attack target when charge is over. (#7316)
* fix(Core/Spells): Always melee attack target when charge is over.

Fixed #7266

* Update src/server/game/Movement/MovementGenerators/PointMovementGenerator.cpp
2021-08-17 20:36:30 +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
faef417d92 fix(Core/Spells): Master's Call used on rooted pet (#7294)
- Closes #7239
2021-08-14 17:41:50 +02:00
UltraNix
004af40cc0 fix(Core): do not start combat with pet's current victim on spell hit if it's not in combat (#7293)
- Closes #7247
2021-08-14 13:51:26 +02:00
UltraNix
3487973c0e fix(Core/Professions): properly unlearn skill dependent spells (#7290)
- Closes #7165
2021-08-13 17:47:16 +02:00
UltraNix
435761b284 fix(Core/Pets): do not summon pet if owner is being teleported (#7275)
- Closes #7159
2021-08-13 12:02:21 +02:00
Kargatum
da1fd680f3 fix(Core/WorldSocket): add missing hook OnLastIpUpdate (#7272) 2021-08-12 22:58:08 +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
Zenslash
b2d057a599 fix(Core/Auction): server returning wrong items (#7260)
Server Returning Wrong Items With Auction House Function Que

- Closes #7208
2021-08-12 14:26:40 +02:00
UltraNix
300dc16159 fix(Core/Spells): Levitate cannot be casted on mounted targets (#7258)
- Closes #7090
2021-08-11 10:34:50 +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
d356767432 fix(Core/Spells): do not attack focus target while charging (#7235)
- Closes #6721
2021-08-07 12:32:56 +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
0f6dccd98c fix(Core/Items): destroy invalid own guild/arena charters (#7211)
- Closes #6642
2021-08-06 16:26:49 +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
UltraNix
2d56a94016 fix(Core/Spells): Next melee swing spells are supposed to be queued up even when out of range. (#7180)
- Closes #6588
2021-08-06 03:07:36 +02:00
UltraNix
cf5aeaea06 fix(Core/Totems): Totems should not fall to the depth in water. (#7179)
* fix(Core/Totems): Totems should not fall to the depth in water.

Fixed #6562

* chore(Core/Totem.cpp): add brackets

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-06 00:21:41 +02:00
UltraNix
32650b61ee fix(Core/Spells): Implemented SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENT. (#7178)
* fix(Core/Spells): Implemented SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENT.

Fixed #6559.

* Excluded shoot spells.

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 23:44:14 +02:00
UltraNix
5a93dce915 fix(Core/Spells): Disarmed creatures should no cast spells that requi… (#7171)
* fix(Core/Spells): Disarmed creatures should no cast spells that requires weapon.

Fixed #6404
Fixed #6764.

* codestyle.

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 22:41:51 +02:00
UltraNix
7e6727c12a fix(Core/Spells): Forbid using charge if already charging to someone. (#7172)
Fixed #6453

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 21:24:57 +02:00
UltraNix
f755a277d8 fix(Core/Cooldowns): Fixed replacing longer cooldowns by equip cooldown. (#7163)
Fixed #6366
Fixed #6054.

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 20:42:37 +02:00
UltraNix
279b6de88c fix(Core/Spells): Fixed displaying "That Glyph is already inscribed in your spellbook" when activating the same glyph in different spec. (#7162)
Fixed #6342

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 20:06:10 +02:00
UltraNix
d2e84eabb8 fix(Core/Items): Removed tradeable flag from items with temp enchants. (#7160)
Fixed #6325.

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 18:37:10 +02:00