Commit Graph

1837 Commits

Author SHA1 Message Date
UltraNix
e5b8dbeb29 fix(Core/Achievements): new achievement criteria type ACHIEVEMENT_CRITERIA_DATA_TYPE_BG_TEAMS_SCORES (#7756)
- Closes #7613
2021-09-11 11:02:38 +02:00
Kitzunu
511320c5b4 chore(Core/Spells): redefine & Define some castFlags (#7724) 2021-09-10 10:57:23 +02:00
UltraNix
e7fe6dcb00 fix(Core/Quests): properly handle quests with QuestType=0. (#7718)
- Closes #6732
2021-09-10 01:04:28 +02:00
IntelligentQuantum
790030810b fix(Core/Guild): prevent join multiple guilds exploit (#7631) 2021-09-09 11:48:58 +02:00
UltraNix
a314d6091a fix(Core/Loot): properly handle referenced group loot templates (#7539) 2021-09-09 11:48:17 +02:00
Francesco Borzì
efdb64af07 Revert "fix(Core/Unit): NPC enters into EvadeMode, he loses all his Auras (#6379)" (#7793)
This reverts commit 569e3399c6.
2021-09-09 10:51:19 +02:00
Stefano Borzì
17b408004f chore(Core/Condition): replace assertion with logs preventing server crash (#7730) 2021-09-07 15:58:04 +02:00
UltraNix
a561ce8937 fix(Core/Items): properly display item spell charges (#7722)
- Closes #7598
2021-09-07 11:19:12 +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
Kitzunu
df6ad0db29 refactor(DBC/Misc): Redefine & Define FactionTemplateFlags (#7697) 2021-09-07 02:07:37 +02:00
UltraNix
066d2ef85b feat(Core/Loot): add configurable option to specify ilv restriction for items below player class in NeedBeforeGreed loot mode in DF (#7701) 2021-09-06 18:24:41 +02:00
UltraNix
02b0b29ffa fix(Core/Loot): Quest items should not be lootable/visible if quest objective already fulfilled (#7700)
- Closes #6442
2021-09-06 15:33:13 +02:00
UltraNix
29559d3747 fix(Core/Loot): Only Paladins, Warriors and Shamans should be able to roll Need on shields (#7696)
- Closes #4858
2021-09-06 13:06:54 +02:00
Srđan Panić
0ef71e7aa3 fix(Core/pathing): incorrect pathing of caster mobs when their casts fail due to LOS (#7472)
* Fix incorrect pathing of caster mobs when their casts fail due to LOS

The original problem was that the casters, when their casts were blocked
by a los of line of sight, would not run directly towards the player, but
would rather run around within the spell range until a clear line of
sight was found. This made it near impossible to make casters stop their
casts and force them into melee range by using an obstacle.

This fix makes caster mobs run directly into melee until a clear line of
sight is reached whenever a player hides behind an obstacle regardless of
whether the mob is within spell range or not.

* Cleaning up whitespace

* Tidying up
2021-09-05 12:00:39 +02:00
UltraNix
50991bdce4 fix(Core/Creatures): Creatures' guardian should not despawn on summon… (#7607)
- Closes #6211
2021-09-05 01:34:52 +02:00
UltraNix
32cb433f10 fix(Core/Pets): Spells casted by pets and delayed due to LoS or not in range cause should have cast time (#7667)
- Closes #5231
2021-09-03 15:47:25 +02:00
UltraNix
ec9d6d38da fix(Core/Movement): properly send movement *ack packets to controlling players. (#7635)
- Closes #7606
2021-09-02 10:40:51 +02:00
UltraNix
2f9f95221b fix(Core/Items): armor type requirement for needing items in LFG grou… (#7523)
- Closes #7467
2021-09-02 10:39:57 +02:00
UltraNix
fb0c3b4cb2 fix(Core): Possible DF crashfix (#7684) 2021-09-01 21:20:29 +02:00
UltraNix
efc5cd467d fix(Core): possible crashfix (#7683) 2021-09-01 19:14:16 +02:00
UltraNix
dd0b964a2a fix(Scripts/Spells): Unlit Torches cannot be used too far away from the bonfire (#7644)
- Closes #6551
2021-09-01 15:50:42 +02:00
UltraNix
7965ea5aaa fix(Core/Movement): set proper flying animations for creatures with INHABIT_GROUND (#7589)
- Closes #7579
2021-09-01 12:15:01 +02:00
UltraNix
498faf380b fix(Core/DungeonFinder): misc improvements (#7488)
- Players should be able to enter the same dungeon if just completed it
- Properly define if the proposal is new
- Set teleport point to the nearest graveyard if teleported to dungeon from other instance
- Display completed encounters when joining LFG in progress (excluding random)
- Closes #5914
- Closes #7388
2021-09-01 10:44:29 +02:00
UltraNix
bfaa32f253 fix(Core/DungeonFinder): re-queueing being inside dungeon and member leaving DF (#7570)
- Closes #6790
2021-08-31 23:37:49 +02:00
Silker
9d81f3525f fix(Core/Creature): Disable periodic call for assistance on minions from instances (#7650) 2021-08-31 08:03:09 -06:00
Asthalor
33b3ea2fe4 fix(Script/BD): fix skill needed and more for Quest The Spectral Chalice (#7519) 2021-08-31 12:02:17 +02:00
UltraNix
ec149b52d9 fix(Core/Cooldowns): SPELLMOD_COOLDOWN should not affect category coo… (#7164)
- Closes #6391.
2021-08-31 12:01:09 +02:00
lineagedr
ae8a78d90a feat(Core/Gameobject): add a range check for gameobjects (#7521) 2021-08-31 10:34:43 +02:00
Patrick Lewis
1c43e6ac6e feat(Core/Config): add option for LFG expansion (#7256) 2021-08-30 20:39:19 +02:00
UltraNix
c111955399 fix(Core/Maps): fix getting wrong area/zone on spawn (#7590)
- Closes #7580
2021-08-30 14:49:44 +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
Kitzunu
6978d62482 refactor(Script/Command): modify mount & dismount (#7413)
* refactor(Script/Command): modify mount

* oopsies

* Update rev_1629233438552386300.sql

* codestyle

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* some improvements

* When using .dismount also update speed to 100%

* remove atoul

* Update cs_modify.cpp

* test

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* Update cs_modify.cpp

* fix tyop

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
2021-08-29 10:45:43 +02:00
Francesco Borzì
d8b8e123f6 refactor(Core/Common): code cleanup (part 12) (#7520) 2021-08-26 18:02:08 +02:00
Andrius Peleckas
5bb2e5f2f9 fix(Core/Spell]: interrupt invisibility auras on cast (#7508) 2021-08-26 18:01:33 +02:00
Andrius Peleckas
dd14c63088 fix(Core/Vendors): incorrect check which allowed/disabled alliance players (#7507) 2021-08-26 15:41:17 +02:00
Kitzunu
f06f871718 fix(Core/Chat): print zoneId on GM command used (#7503) 2021-08-26 14:30:59 +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
f23d42c0dd fix(Core/Entities): mobs called for help should check if can see and detect the enemy (#7493)
- Updates #7125
2021-08-26 10:38:27 +02:00
UltraNix
e35e47c2f7 fix(Core/Movement): properly initialized combat distance for creatures with SAI script (#7437)
- Closes #7331
2021-08-26 02:15:07 +02:00
Petric
2929cddaf2 fix(Core/Spec): changing spec now removes auras of spells with rank > 1 (#7482)
- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/4284
2021-08-25 16:00:39 +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
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
ec71301bf7 fix(Scripts/Spell): Volley should trigger pet attack in defensive mode (#7453)
- Closes #7340
2021-08-25 01:13:15 +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
Kitzunu
62058ffbea fix(Script/Spells): Anti-Magic Zone amount calc (#7438)
* cherry-pick commit (bea682f95c)

Co-authored-by: Lucas Nascimento <keader.android@gmail.com>
2021-08-24 16:52:54 +02:00
UltraNix
1becd73f09 fix(Core/Movement): Rewritten follow movement generator for pets (#7324)
- Closes #7296
2021-08-24 11:08:50 +02:00