Commit Graph

52 Commits

Author SHA1 Message Date
Kitzunu
c5fe21fe9a fix(Core/Spell): Earthliving weapon proc (#4015) 2021-01-08 20:18:36 +01:00
Yehonal
aeab8d8bc6 fix(Core/Crash): safe calculation in GetMeleeAttackPoint (#4235)
Should solve: https://github.com/azerothcore/azerothcore-wotlk/issues/4225
2021-01-08 16:55:51 +01:00
Stefano Borzì
b2761626fe feat(Core/CreatureAI): improve npc position during the combat (#3369)
+ tangent equation to find correct angle and distance when moving

+ implemented proper backward

* Improved performance + random angle margin

* chore: add tollerance calculation in instance

* improved LOS checks with movements

* implemented collisions using raycast (imported by TC)

+ improved collision detection for CanReachPositionAndGetCoords

+ improved collision check

+ set correct flags for the backward movement

+ first implementation of slope angle (to improve)

Co-authored-by: Yehonal <yehonal.azeroth@gmail.com>
2021-01-04 20:23:08 +01:00
Francesco Borzì
d4a58700d4 refactor(Core): apply clang-tidy modernize-use-override (#3817) 2020-12-06 18:04:55 +01:00
FALL1N1
0baecd3e8f fix(Core/Pathfinding): Improve - Point movement (#3658) 2020-12-01 10:58:00 -06:00
Andrius Peleckas
d7becdae27 feat(Core/Spells): Functions will return cast result (#3635) 2020-11-13 08:00:07 -06:00
Goatform
5254aec645 fix(Core/Unit): ranged auto-attack sound issue if a player attacks target not in LOS (#3610) 2020-11-07 18:23:42 +01:00
Stefano Borzì
d07a34c1d5 feat(Core/Unit): don't allow additions threat in evade mode and implement AURA_INTERRUPT_FLAG_LEAVE_COMBAT (#3381) 2020-10-23 22:12:37 +02:00
Kitzunu
036a8c2450 fix(Core/Unit): Eating anim (#3472) 2020-10-13 10:23:18 +02:00
Kargatum
a2b26272d2 refactor(Core/Game): restyle game lib with astyle (#3466) 2020-10-12 10:08:15 +02:00
Francesco Borzì
b61ae8abcd fix(Core/Misc): all GCC warnings (#3457) 2020-09-14 17:31:12 +02:00
Kitzunu
1f89282b22 refactor(Core): NULL -> nullptr (#3275)
* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-08-31 11:55:09 +02:00
Viste
ffd03582c9 fix(Core/Unit): melee attack through LoS (#3265) 2020-08-18 14:07:32 +02:00
Francesco Borzì
d2cc3fcbc2 feat(Docker): update to Ubuntu 20.04 + more improvements (#3277) 2020-08-13 00:25:20 +02:00
gengarshadowball
0b35a24053 fix(Core/Spell): Implement SPELL_ATTR0_CU_DONT_BREAK_STEALTH (#3056)
* Implement the ability to add SPELL_ATTR0_CU_DONT_BREAK_STEALTH on spells from DB

Co-authored-by: Shadowball Gengar <shadowballgengar60@gmail>
2020-06-19 12:00:21 +02:00
Viste
38e8503d21 fix(Core/Misc): fix some exploits (#2630) 2020-02-18 08:26:12 +01:00
Stoabrogga
30fa1ae3b4 fix(Core/Unit): Fix Guardian Pets clearing combat state (#2619) 2020-02-13 08:12:52 +01:00
Kaev
2fa9f5c249 fix(Core): potential crashes/bugs reported by static analysis #2 (#2622) 2020-02-03 07:52:27 +01:00
Nefertumm
59234f8f4b fix(CORE): Missing override on various functions (#2602) 2020-01-21 19:03:15 -03:00
Viste
e22d78ecd6 refactor(Core): rename namespaces and macros to acore (#2454) 2019-12-01 13:13:31 +01:00
Stoabrogga
fae7ae95a3 fix(Core/GridNotifiers): increased visibility for large creatures, part 2 (#2378) 2019-11-14 08:04:41 +01:00
Vitoco
4899a7b11d fix(Core/Spell): Glyph of Shadow Word: Death (#1900) 2019-11-04 07:52:17 +01:00
Viste
854b426978 feat(Core): Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert (#2273) 2019-09-26 09:51:33 +02:00
GMKyle
58f3cfe387 fix(Core/Hunter): Stable Master, exotics pets management, tame validations. (#2100) 2019-09-25 18:29:18 +02:00
Stoabrogga
e314a0c716 feat(Core/Player): Additional option for worldserver config parameter "InstantFlightPaths" (#2246) 2019-09-04 01:19:57 +02:00
mik1893
7954a2a07e Creature type flags (#2195)
fix(Core/Creature): refactoring creature type flags and adding CREATURE_TYPE_FLAG_CAN_COLLIDE_WITH_MISSILES - closes #1984
2019-08-16 12:15:14 +01:00
Kargatum
824a80005c Refactor(Core/Misc): Remove remaining COMPILER_HAS_CPP11_SUPPORT related macros (#1627)
* Delete macros UNORDERED_MAP
* Delete macros UNORDERED_SET
2019-03-26 00:01:56 +07:00
Viste(Кирилл)
03bfbf4f7e Fix(Core/Player): fix periodic eating and drinking emotes (#1602) 2019-03-23 11:35:04 +03:00
Francesco Borzì
0758677578 feat(core): allow to debug KickPlayer() (#1549) 2019-03-05 22:58:40 +01:00
Nefertumm
40f68ab026 feat(Commands): Added cheat commands (#1412) 2019-02-24 18:35:08 +01:00
Nefertumm
c15206fc15 Revert "feat(core): Ensure that all actions are compared to fixed point in time (#1236) (#1458)" (#1471)
This reverts commit 51b8773528.
2019-02-15 15:14:49 -03:00
Viste(Кирилл)
51b8773528 feat(core): Ensure that all actions are compared to fixed point in time (#1236) (#1458)
i.e. world update start
2019-02-14 19:22:17 +01:00
Stoabrogga
2d3ea3a308 fix(clang): fix build on version 7 (#1391)
Remove unused private fields
2019-02-09 23:34:28 +01:00
Stoabrogga
3d416de893 Core/Movement: Prevent pet animation stuttering during movement (#1142)
* fix vanity pet distance and angle
* fix vanity pet distance to player
* put size calculation for normal pets into the if-statement for vanity pets
* change pet speed algorithm
* change distance calculation
* another change to the distance calculation; differentiate between player running or flying
2019-01-08 09:36:25 +03:00
talamortis
50aace0e52 [Core / Fix] Mage: Empowered Fire Talent
Fixed an issue where the Mana return was returning 0.2% instead of 2%.
2018-11-29 19:49:47 +00:00
Jinyang li
4b6342b42f Core/NPC: Creatures now alert when they detect stealthed players (#1060)
Creatures stop when they detect a stealthed player like in retail.
Closes #1020
2018-10-31 20:25:23 +01:00
Nick Kraftor
3fecbf9f31 Module hook for kills performed by pets/totems (#912)
* Add hook for pet/totem kills

* Use method to cast unit to creature
2018-06-07 22:00:21 +01:00
ayase
00777a80ae Eluna implementation (#847)
* azerothcore + eluna done.

* Remove the Eluna single thread limit.

* Read Eluna Settings file.

* submodule change.

* fix(test)  Ubuntu - Cant Link Library after Compile

* The ELUNA is disabled by default.

* remove submodule luaEngine.

* some change

* fix a error

* change cmake

* fix: some onplayerchat does not have hooks.

* Eluna: Add BG event Hooks.

* fix:cmake hook AFTER_LOAD_CONF not work.

* Remove the eluna switch.

* Remove some define in the core.

* fix conf file not read in the linux.

* eluna : change bg hook parameter type

* Remove TC log function call

* change bg hook OnBGEnd parameter type.


Note: to enable Eluna, the module is required
2018-05-22 20:22:11 +02:00
Nefertumm
dd300003e2 Update license links (#783) 2018-03-12 10:54:57 +01:00
Yehonal
403ed2600f Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into dir-restructure 2017-12-21 11:26:43 +01:00
Yehonal
17332304fd Using TC structure allowing easier patches importing 2017-12-21 00:20:29 +01:00
Yehonal
b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00
Yehonal
47c2b72123 Merging 2016-08-07 12:47:10 +02:00
mik1893
3679de3710 Core/Unit: fix the 1/10000 chance to miss with 100% chance 2016-08-07 12:35:17 +02:00
mik1893
d9e4622e1a Core/Pet: Casting pet spells on enemies at a distance - now the pet goes at casting distance and does the cast 2016-08-07 12:30:23 +02:00
Yehonal
0ca7526822 Core/Spells: DK Dancing Rune weapon diseases now count towards Heart Strike bonus damage 2016-08-07 12:30:02 +02:00
ShinDarth
b618b6a56f Added AzerothCore labels 2016-07-24 15:55:38 +02:00
mik1893
13d8210867 Fix VS2015 Compile - Part 2 2016-07-08 23:54:26 +02:00
mik1893
f978f833b0 Fix VS2015 Compile 2016-07-08 23:54:22 +02:00
Yehonal
f6eefedcd5 converted all tabs to 4 spaces 2016-06-26 19:23:57 +02:00