Azcobu
1889fffbde
fix(Core/Spell): Apply AURA_STATE_FAERIE_FIRE to Faerie Fire ( #6105 )
...
Adds missing anti-stealth aura to Faerie Fire variant with spell ID 20656.
2021-06-01 15:03:36 +02:00
Kitzunu
b00ac48cfa
feat(Core/Script): Allow spell script ValidateSpellInfo to work with any container type ( #6078 )
...
* Cherry-pick https://github.com/TrinityCore/TrinityCore/commit/f2f0aeb562dfc1a78b04d13a14e3c37a58367619
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2021-06-01 13:55: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
Kitzunu
b846179986
refactor(Core/Spell): Change "Attribute &" to HasAttribute() ( #5991 )
2021-05-29 11:56:19 +02:00
Silker
d04f4be6c5
fix(Core/Spell): Apply AURA_STATE_FAERIE_FIRE ( #5703 )
2021-05-12 21:46:47 -06: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
UltraNix
2189ac0b08
feat(Core/Anticheat): Preparation to implement new passive anticheat … ( #5516 )
2021-05-07 18:10:44 +02: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
Kitzunu
eac6cdd5e0
fix(Core/Spell): Apply AURA_STATE_FAERIE_FIRE to Faerie Fire ( #5319 )
2021-04-26 13:38:41 +02:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00
KiK0
45d92751dd
fix(Core/Spells): Cloak of Shadows: Spell [Pounce Bleed] should not be ( #5305 )
2021-04-24 13:15:26 -04: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
Kitzunu
3054bf8233
chore(Core/SpellMgr): Indentation ( #5145 )
2021-04-11 12:04:20 +02:00
Kitzunu
c7e8310624
feat(Core/Spell): Define SPELL_AURA_PREVENT_DURABILITY_LOSS ( #5148 )
2021-04-09 20:56:31 +02:00
Footman
c32cd06a78
fix(Core/Movement): fix multiple creature movement issues ( #5097 )
2021-04-09 20:56:19 +02:00
Kitzunu
91dfedd080
fix(Core/Spell): make use of SPELL_ATTR3_IGNORE_PROC_SUBCLASS_MASK ( #5005 )
2021-04-07 23:10:12 +02:00
Kitzunu
88ddc24464
fix(Core/Spell): Make use of SPELL_ATTR6_DONT_CONSUME_PROC_CHARGES ( #5004 )
2021-04-07 23:07:35 +02:00
UltraNix
6eeb088211
fix(Core/Movement): Corrected calculating ground level in shallow water. ( #5114 )
2021-04-04 23:22:13 +02:00
Silker
6dc4ca8503
fix(scripts/Naxx): The art of Naxxramas (2/2) ( #5057 )
2021-04-02 21:57:00 -06: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
Kitzunu
166ed0d7c2
fix(Core/Spell): Restricted Flight Area ( #5016 )
2021-03-28 12:20:39 +02: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
fb5d2fa2e5
fix(Core/Spell): Make use of SPELL_ATTR7_IGNORE_COLD_WEATHER_FLYING ( #4933 )
2021-03-24 18:19:57 -06: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
UltraNix
adf627cb65
feat(Core/Spells): Implemented SPELL_AURA_DETECT_AMORE. ( #4850 )
2021-03-21 15:18:55 +01: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
Cláudio Costa
aea4ce3094
fix(scripts/Ulduar): Improve Hodir ( #4703 )
2021-03-20 08:36:30 -06:00
Stefano Borzì
d82d2041b4
fix(Core/SpellEffect): Increase speed of cat charge ( #4795 )
2021-03-19 22:54:25 -06: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
r0m1ntik
b24ee3fc10
fix(Core/Spells): Warlock Death Coil shouldn't be able to crit ( #4629 )
2021-03-12 15:12:43 +01:00
Stefano Borzì
7988717eef
fix(Code/Fishing): improve timing of fishing ( #4733 )
2021-03-07 13:13:29 +01: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
Kitzunu
d902411171
fix(Core/Spell): Clearcasting duration ( #4422 )
2021-02-06 21:06:30 -05:00
Kitzunu
9fd6f1079b
fix(Core/Spell): SPELL_EFFECT_TELEPORT_UNITS_FACE_CASTER to face caster ( #4351 )
...
* fix(Core/Spell): SPELL_EFFECT_TELEPORT_UNITS_FACE_CASTER to face caster
* cherry-pick https://github.com/TrinityCore/TrinityCore/commit/28353e920b531b7dd221ac926049f5a68b75e7ec
Co-Authored-By: Meji <2695278+meji46@users.noreply.github.com >
* [[nodiscard]]
* return;
* fix last thing
* build
* Revert "build"
This reverts commit c892cc292f3592c5089840e393b525f74904779b.
* Update Object.h
* Update Object.h
* Update Object.h
Co-authored-by: Meji <2695278+meji46@users.noreply.github.com >
2021-02-03 17:06:37 +01:00
Kitzunu
0d52b4ca4a
feat(Core/Spell): Implement ValidateSpellInfo ( #4323 )
...
* feat(Core/Spell): Implement ValidateSpellInfo
* cherry-pick from https://github.com/TrinityCore/TrinityCore/commit/2b5d7eef3a091e67c27e853d43ac0bebbfa67531 & https://github.com/TrinityCore/TrinityCore/commit/a0a158b5b851db7e2c16819ec89e913d914a3aba
* sLog->outError
* cleanup
* convert to ValidateSpellInfo
* fix error log
* improve sLog->outError
* remove non related spells stuff from Validate
* remove the last
* build
* build x2
2021-02-01 18:57:25 +01:00
Kitzunu
683ddf6c8d
fix(Core/Spell): Detect Undead ( #4310 )
2021-02-01 16:21:33 +01: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
Kitzunu
fcad2b56ae
refactor(Core/Spell): Define some unknown spell attributes ( #4305 )
...
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2021-01-31 23:03:44 +01:00
Kitzunu
628c75d67f
fix(Core/SpellMgr): Add cooldown to some vehicle spells ( #4300 )
...
* fix(Core/SpellMgr): Add cooldown to some spells
* author and spellscript
Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com >
2021-01-31 03:09:50 +01:00