Commit Graph

234 Commits

Author SHA1 Message Date
UltraNix
3223f90bcb feat(Core/Spells): add helper to get clean and unmitigated damage for pro… (#7244) 2021-10-05 23:59:57 +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
99f8634361 fix(Core/Spells): basepoints of spell 'Pick Lock' being wrongly added to player's lockpicking skill when evaluating if a lock can be opened (#8072) 2021-10-04 15:45:06 +02:00
UltraNix
06e50a9690 fix(Core/Achievements): Fixed showing achievement statistics of inspected player. (#8093)
* fix(Core/Spells): Implemented SPELL_ATTR0_CU_NO_PVP_FLAG.

Fixes #7938

* fix(Core/Achievements): Fixed showing achievement statistics of inspected player.

Fixes #7979
2021-10-03 18:12:12 +02:00
Skjalf
23edbfe21d fix(Core/Spells): Ensure gameobjects are still locked/closed when loc… (#8012)
* fix(Core/Spells): Ensure gameobjects are still locked/closed when lockpicking/opening them

* Update src/server/game/Spells/Spell.cpp
2021-10-01 10:25:09 +02:00
UltraNix
c477a0533c fix(Core/Spells): Added 3y radius to Feral Charge. (#7901)
Fixes #7762
2021-10-01 09:49:13 +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
Kitzunu
6d83887abd refactor(Core/SpellEffects): Rework some of the null checks (#6987) 2021-09-29 22:03:57 +02:00
UltraNix
c3259dabcf fix(Core/Spells): Implemented PROC_EX_ONLY_FIRST_TICK (#7933) 2021-09-21 06:02:06 -06: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
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
lineagedr
11ce20d296 refactor(Core/Misc): remove duplicate line (#7808) 2021-09-16 11:20:38 +02: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
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
lineagedr
1ae8e7eca5 fix(Core/Item): Luffa removing more than one bleed (#7752) 2021-09-12 19:28:23 +02:00
Kitzunu
511320c5b4 chore(Core/Spells): redefine & Define some castFlags (#7724) 2021-09-10 10:57:23 +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
lineagedr
ae8a78d90a feat(Core/Gameobject): add a range check for gameobjects (#7521) 2021-08-31 10:34:43 +02:00
UltraNix
14b9be2982 fix(Core/Players): healing pet should not reset PvP timer (#7541)
- Closes #6128
2021-08-30 11:05:44 +02:00
Andrius Peleckas
5bb2e5f2f9 fix(Core/Spell]: interrupt invisibility auras on cast (#7508) 2021-08-26 18:01:33 +02:00
UltraNix
45218224b4 fix(Core/Spells): show Execute/Slam misses/dodges/parries in combat log (#7494)
- Closes #7428.
2021-08-26 11:45:22 +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
EPTIC
015f8802a8 fix(Script/Creature): move Shadow Hunter Vosh'gajin script to SAI (#7421) 2021-08-25 10:58:13 +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
lineagedr
e9f4006ed2 fix(Core/Scrips): Kologarn focused eyebeam should target only 1 target (#7405) 2021-08-21 20:19:00 +02:00
lineagedr
888549bcdc fix(Core/Spells): Druid's Enrage not reducing armor (#7394) 2021-08-20 14:41:26 +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
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
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
300dc16159 fix(Core/Spells): Levitate cannot be casted on mounted targets (#7258)
- Closes #7090
2021-08-11 10:34:50 +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
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
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
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
UltraNix
ffdd990aa4 fix(Core/Spells): Glyphs should send SMSG_LEARNED_SPELL/SMSG_REMOVED_… (#7161)
* fix(Core/Spells): Glyphs should send SMSG_LEARNED_SPELL/SMSG_REMOVED_SPELL packet in case of updating spell tooltips.

Fixed #6323

* chore(Core/CharacterHandler): improve comment

* chore(Core/SpellEffects): improve comment

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 15:58:50 +02:00
UltraNix
36a1777b99 fix(Core/Movement): properly handle UNIT_STATE_CHARGING (#7152)
- Closes #6065
- Closes #6669
2021-08-05 13:55:11 +02:00
UltraNix
9a820e2d26 fix(Core/Spells): Master of Elements (#7102)
* Core/Spells: Master of Elements:

Proc now also from arcane spells.
Properly proc from periodic spells.
Fixed #6035.

* You shouldn't be there.

* Buildfix.

* missing sql.
2021-08-02 01:02:38 +02:00
Kitzunu
87b2cd1299 fix(Core/Spell): Make use of SPELL_ATTR2_NO_SCHOOL_IMMUNITIES (#5880) 2021-07-31 15:31:00 +02:00
UltraNix
e37dba8df6 fix(Core/Spells): Far Sight auras are supposed to extend view distance and allows seeing objects from further distance (#7068)
- Closes #5793.
2021-07-26 10:23:08 +02:00
UltraNix
270f7bf506 fix(Core/Items): items with charges should not remove on item unequip its … (#7064)
- Closes #5716
2021-07-25 03:36:40 +02:00
Kitzunu
4ace9f17de fix(Core/Spell): handle 5,000 Gold with SpellScript (#6996) 2021-07-24 00:40:20 +02:00