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
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
c3259dabcf
fix(Core/Spells): Implemented PROC_EX_ONLY_FIRST_TICK ( #7933 )
2021-09-21 06:02:06 -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
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
Kitzunu
511320c5b4
chore(Core/Spells): redefine & Define some castFlags ( #7724 )
2021-09-10 10:57:23 +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
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
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
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
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
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
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
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
9ab6ba9664
chore(Core/Misc): remove toxic language ( #6988 )
2021-07-21 23:57:20 +02:00
Kitzunu
66da9f1354
chore(Core/Misc): add LOG_ERROR where there was commented ASSERT ( #6761 )
2021-07-07 17:56:17 +02:00
Kargatum
5787d00d54
chore(Core/Logging): replace most server loggers ( #5726 )
...
* chore(Core/Logging): replace most server loggers
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-06-21 03:07:12 +02:00
UltraNix
66d4fd88f5
fix(Core/Spells): disable fishing if not in LOS within boober destination. ( #6138 )
...
- Closes #5485
- Closes https://github.com/chromiecraft/chromiecraft/issues/471
2021-06-05 23:24:14 +02:00
Kitzunu
7152ddc82c
refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 ( #6113 )
...
* refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457
(cherry picked from commit d6201e5dbb )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
Co-Authored-By: SilverIce <slifeleaf@gmail.com >
* Update CellImpl.h
* w
* more more brackets
* ew
* fix build
2021-06-03 05:27:51 +02:00
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore ( #6043 )
2021-05-31 14:21:54 +02:00
UltraNix
107658ebbc
fix(Core/Spells): triggering potion cooldowns (from TC) ( #6016 )
2021-05-30 11:53:16 +02:00
UltraNix
44babc3c3a
fix(Core/Pooling): Fixed less and less objects from pools being spawned the longer the server is running ( #5572 )
2021-05-08 12:39:09 -06:00
Kargatum
db7d754f3f
feat(Core/Common): delete lib game-interface inherited ( #5333 )
...
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-05-07 02:16:44 +07:00
Kitzunu
5954d9c739
refactor(Core/Misc): Define & Rename Attributes ( #5311 )
2021-04-28 14:55:24 +02:00
KiK0
310f856932
fix(Core/Spells): Do not allow the use of the master's call while the pet is controlled [port from TC] ( #5273 )
2021-04-27 15:54:58 +02:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00
Kargatum
4af4cbd3d9
feat(Core/Logging): rework logging ( #4692 )
...
* feat(Core/Logging): rework logging
* correct level for sql.sql
* del unused config options
* Correct build
* correct after merge
* whitespace
20:29:37 1. 'Player.cpp'. Replace (1)
20:29:37 2. 'ObjectMgr.cpp'. Replace (3)
* 1
* correct logging
* correct affter merge
* 1
* 2
* LOG_LEVEL_WARN
* #include "AppenderDB.h"
* 3
* 4
* 5
* 1. 'WorldSocket.cpp'. Replace (1)
* 6
* 1
2021-04-17 11:20:07 +02:00
Kitzunu
33aeadf8b6
refactor(Core/Misc): Define & Rename Attributes and flags ( #5193 )
2021-04-15 14:16:39 +02:00
Kargatum
2b3d46bd4f
feat(Core/Hooks): added collection of hooks to extends AC ( #3047 )
...
This collection of hooks comes from the Maelstrom project. It allows to release modules such as :
- 3v3-soloqueue
- 1v1 arena
- pvestats
and many others
2021-04-13 13:26:39 +02:00
UltraNix
6eeb088211
fix(Core/Movement): Corrected calculating ground level in shallow water. ( #5114 )
2021-04-04 23:22:13 +02:00
Stefano Borzì
d4b8defcd8
Revert "feat(Core/Spells): improve SpellCheckRange(), spell cast when dismounting, falling or levitating spells ( #3384 )" ( #5052 )
...
This reverts commit b424273574 .
2021-03-30 12:55:07 +02:00
Kargatum
c053e111d3
fix(Scripts/Commands): correct reloading creature_template table ( #5020 )
2021-03-30 09:55:05 +07:00
Stefano Borzì
b424273574
feat(Core/Spells): improve SpellCheckRange(), spell cast when dismounting, falling or levitating spells ( #3384 )
2021-03-26 15:56:35 +01:00
Kitzunu
83e430f28a
fix(Core/Spell): Make use of SPELL_ATTR6_NOT_RESET_SWING_IF_INSTANT ( #4931 )
2021-03-24 16:58:41 -06:00
Petric
5aed4dd193
fix(Core/Commands): .cheat god lowering hp to 1 and .cheat power not refilling power ( #3299 )
2021-03-21 15:15:00 +01:00
Francesco Borzì
f6a17164be
fix(Core/License): issue with old files license ( #4762 )
2021-03-17 09:46:01 -06:00
Cláudio Costa
99c2efe3c2
fix(Core): Rogue - Premeditation fix ( #4695 )
2021-03-16 16:58:56 -06:00
Kitzunu
28f1dc5c0c
refactor(Core): replace NULL with nullptr ( #4593 )
2021-03-02 01:34:20 +01:00
Kitzunu
dbc0ff6554
refactor(Core): sort #includes alphabetically ( #4579 )
2021-02-24 22:34:42 +01:00
Kitzunu
82eb8b44d1
refactor(Core/Spell): Pascal Case some SpellEntry types ( #4432 )
2021-02-08 19:01:37 -05:00
Vox
94173dbbd9
fix(Core/Spell): Restore Stealth remove check ( #4491 )
2021-02-07 14:08:10 -05:00
Kitzunu
440d4191ae
fix(Core/Spell): Restore SPELL_ATTR0_CU_AURA_CC ( #4472 )
2021-02-07 09:06:27 -05:00
Yehonal
c8f43d8584
feat(Core/Movement): Improved pathfinding, collisions and movements ( #4220 )
...
Npc positioning
Implemented slope check to avoid unwanted climbing for some kind of movements (backwards, repositioning etc.)
Implemented backwards movement
Re-implemented circle repositioning algorithm (smartest than retail, but with the same feeling)
Fixed random position of summoned minions
Improved pet following movement. Also, they attack NPC from behind now. Thanks to @Footman
Swimming creatures
Fixed max_z coordinate for swimming creatures. Now only part of their body is allowed to be out of the water level
Fixed pathfinder for swimming creatures creating shortcuts for specific segments, now they swim underwater to reach the seashore instead of flying above the water level.
Creatures with water InhabitType but no swimming flag now, when not in combat, will walk on water depth instead of swimming. Thanks @jackpoz for the original code
UNIT_FLAG_SWIMMING in UpdateEnvironmentIfNeeded to show the swimming animation correctly when underwater
Implemented HasEnoughWater check to avoid swimming creatures to go where the water level is too low but also to properly enable swimming animation only when a creature has enough water to swim.
Walking creatures
Extended the DetourNavMeshQuery adding area cost based on walkability (slope angle + source height) to find better paths at runtime instead of completely remove them from mmaps
improve Z height in certain conditions (see #4205 , #4203 , #4247 )
Flying creatures
Rewriting of the hover system
Removed hacks and improved the UpdateEnvironmentIfNeeded. Now creatures can properly switch from flying to walk etc.
Spells
LOS on spell effect must be calculated on CollisionHeight and HitSpherePoint instead of position coords.
Improved position for object/creature spawned via spells
Improved checks for Fleeing movements (fear spells)
Other improvements
Implemented method to calculate the CollisionWidth from dbc (used by repositioning algorithm etc.)
Improved raycast and collision checks
Co-authored-by: Footman <p.alexej@freenet.de >
Co-authored-by: Helias <stefanoborzi32@gmail.com >
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-02-01 01:34:27 +01:00