Commit Graph

3498 Commits

Author SHA1 Message Date
Rochet2
8a0ba39b53 fix(Docker): add cache to dockerignore to speed up local build (#4366)
Apparently including cmake cache to the build context will take a long time for consecutive builds and causes docker build to spend a long time at `Sending build context to docker daemon (x %)` step.
2021-02-04 13:39:00 +01:00
AzerothCoreBot
b0d0378e40 chore(DB): import pending SQL update file
Referenced commit(s): 8cce6687d7
2021-02-04 09:46:24 +00:00
55Honey
8cce6687d7 fix(DB/Item) Flamewrought Key zhCN translation (#4365)
* Update item_template_locale.sql

* Revert changes to base sql files

* zhCN translation for Flamewrought Key

Created a pending_db_world sql file to add zhCN translations for Flamewrought Key

* Cleanup

* Cleanup

* Update data/sql/updates/pending_db_world/rev_1611865917828980400.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update rev_1611865917828980400.sql

backticks for `locale`
2021-02-04 10:44:56 +01:00
AzerothCoreBot
36fb4765d8 chore(DB): import pending SQL update file
Referenced commit(s): bd6b1752fd
2021-02-04 01:31:10 +00:00
Kitzunu
bd6b1752fd fix(DB/Quest): Journey to Undercity outro (#4389) 2021-02-03 20:29:36 -05:00
AzerothCoreBot
c0656c66d2 chore(DB): import pending SQL update file
Referenced commit(s): 1b0b8abb8e
2021-02-03 23:16:43 +00:00
Peter
1b0b8abb8e fix(DB/gameobject): Book of Ur should be lootable by all (#4362)
Co-authored-by: Zoidwaffle <zoidwaffle@gmail.com>
2021-02-03 18:15:02 -05:00
AzerothCoreBot
64016e234e chore(DB): import pending SQL update file
Referenced commit(s): ae74eb0713
2021-02-03 17:44:53 +00:00
Peter
ae74eb0713 fix(DB/gameobject): Compendium of the Fallen should be lootable by all (#4360)
Co-authored-by: Zoidwaffle <zoidwaffle@gmail.com>
2021-02-03 18:43:28 +01: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 28353e920b

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
Francesco Borzì
504a788c63 fix(DB): bad sql syntax 2021-02-03 12:23:32 +01:00
AzerothCoreBot
557f940bba chore(DB): import pending SQL update file
Referenced commit(s): 6853291338
2021-02-03 09:48:01 +00:00
Vox
6853291338 fix(DB/Creature): Tender Strider Meat chance increase / icon for Refurbished Steam Tank (#4250)
* fix(db/core)

* Update rev_1610314669347459800.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-02-03 10:46:31 +01:00
AzerothCoreBot
cc8735fb19 chore(DB): import pending SQL update file
Referenced commit(s): 8cb01f5f36
2021-02-03 09:25:02 +00:00
Stefano Borzì
8cb01f5f36 feat(DB/Waypoint): improve Princess and companions movements (#4397)
* feat(DB/Waypoint): improve Princess and companions movements

* Update rev_1612129573861765384.sql
2021-02-03 10:23:29 +01:00
AzerothCoreBot
18e3ece24f chore(DB): import pending SQL update file
Referenced commit(s): 5c994d2d6d
2021-02-03 04:34:15 +00:00
Stefano Borzì
5c994d2d6d feat(DB/SAI): murloc fear when Mmmrrrggglll die (#4391)
* feat(DB/SAI): murloc fear when Mmmrrrggglll die

* chore(style): add new line
2021-02-03 05:32:54 +01:00
AzerothCoreBot
d82a8d59f7 chore(DB): import pending SQL update file
Referenced commit(s): 6e1fb0d525
2021-02-03 02:45:33 +00:00
Kitzunu
6e1fb0d525 feat(Core/Creature): implement c_t->spell_school_immune_mask (#4358)
* feat(Core/Creature): implement spell_school_immune_mask

* ae878e18ef

Co-Authored-By: Wyreth <32145860+Wyreth@users.noreply.github.com>

* Import from TC

* just capitalize sql keywords

* Update rev_1611769264588956600.sql

Co-authored-by: Wyreth <32145860+Wyreth@users.noreply.github.com>
2021-02-03 03:44:09 +01:00
AzerothCoreBot
887995f348 chore(DB): import pending SQL update file
Referenced commit(s): 1b7efadd5f
2021-02-03 01:21:40 +00:00
Kitzunu
1b7efadd5f fix(DB/Creature): Add spirit healer to gy 1318 (#4371)
* acb3999bb8

Co-Authored-By: ModoX <moardox@gmail.com>

Co-authored-by: ModoX <moardox@gmail.com>
2021-02-02 20:20:09 -05:00
AzerothCoreBot
ef72f69df0 chore(DB): import pending SQL update file
Referenced commit(s): c628cd776e
2021-02-03 00:29:10 +00:00
Kitzunu
c628cd776e fix(DB/Creature): Lunar Festival Harbinger gossip (#4383) 2021-02-03 01:27:35 +01:00
55Honey
5a3c77a691 refactor(Core/Config): Change PlayerStart.AllSpells to .CustomSpells (#4345)
* Change PlayerStart.AllSpells to .CustomSpells

Remove wrong info regarding the  playercreateinfo_spell_custom table. Change the config flags name to match its purpose.

* Update src/server/worldserver/worldserver.conf.dist

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/World/World.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/World/World.cpp
2021-02-03 01:01:33 +01:00
AzerothCoreBot
5e2aa422ba chore(DB): import pending SQL update file
Referenced commit(s): f11ed6c938
2021-02-02 17:17:08 +00:00
Stefano Borzì
f11ed6c938 fix(DB/Quest): wrong quest chain order (#4320) 2021-02-02 12:15:30 -05:00
AzerothCoreBot
4409ce38bc chore(DB): import pending SQL update file
Referenced commit(s): b43c5c9bf3
2021-02-02 15:10:22 +00:00
Kitzunu
b43c5c9bf3 fix(Core/Spell): Instant Statue (#4319)
* fix(Core/Spell): Instant Statue

* make sure GetCaster() is not null

* values

* unit not player

* scriptName

* Update spell_item.cpp

* feat(Core/Spell): Implement ValidateSpellInfo

* Cherry-pick from 2b5d7eef3a & a0a158b5b8

* Revert "feat(Core/Spell): Implement ValidateSpellInfo"

This reverts commit 7690f02b49c82c65de3e92307063211a2e9941f5.

* Revert "Revert "feat(Core/Spell): Implement ValidateSpellInfo""

This reverts commit 8ffbb46fafe1f2d1597b4295b9e5fcec822d1181.

* Update spell_item.cpp

* dependant on https://github.com/azerothcore/azerothcore-wotlk/pull/4323

* untargetable
2021-02-02 16:08:52 +01:00
Francesco Borzì
f85cb30c99 feat(Core/Conf): toggle XP price (#4388) 2021-02-02 04:11:54 +01:00
Patrick Lewis
2bbfb20d6f feat(CI): use acore-core-build-action (#4326) 2021-02-02 00:34:36 +01:00
AzerothCoreBot
7e9795fb3e chore(DB): import pending SQL update file
Referenced commit(s): f65cfb6f20
2021-02-01 23:14:35 +00:00
Peter
f65cfb6f20 fix(DB/Creature): Convert npc_anchorite_truuen to sai (#4324)
* fix(DB/Core): Anchorite Truuen

Anchorote Truuen is escorted in quest Tomb of the Lightbringer, but he's
too fast and doesn't aggro on anything.

* Updated using suggestions from @pklloveyou

Co-authored-by: Zoidwaffle <zoidwaffle@gmail.com>
2021-02-02 00:13:01 +01:00
AzerothCoreBot
58c1d0025e chore(DB): import pending SQL update file
Referenced commit(s): 50a4b44c76
2021-02-01 22:51:25 +00:00
Peter
50a4b44c76 fix(DB/gameobject): The Damaged Chest quest Tome of the Cabal should respawn right away (#4321)
Co-authored-by: Zoidwaffle <zoidwaffle@gmail.com>
2021-02-01 23:49:57 +01:00
AzerothCoreBot
e7cc7561c3 chore(DB): import pending SQL update file
Referenced commit(s): 4efcc16181
2021-02-01 22:05:48 +00:00
Peter
4efcc16181 fix(DB/gameobject): The Scarlet Key should be lootable by all (#4317)
The Scarlet Key from Doan's Strongbox inside Scarlet Monastery Library wing should be lootable by all.

Currently only one can loot and then the respawn is 24 hours.

This fix will make it respawn almost instantly for all to loot.

Reference: https://wowwiki.fandom.com/wiki/The_Scarlet_Key

Co-authored-by: Zoidwaffle <zoidwaffle@gmail.com>
2021-02-01 23:04:14 +01:00
AzerothCoreBot
7fb198fb18 chore(DB): import pending SQL update file
Referenced commit(s): 722237d1ba
2021-02-01 21:21:02 +00:00
Peter
722237d1ba fix(DB/gameobject): Move location of Chest of The Seven in BRD (#4315)
Inside Blackrock Depths the "Chest of The Seven" spawns in a slightly wrong location.

- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/4293

Co-authored-by: Zoidwaffle <zoidwaffle@gmail.com>
2021-02-01 22:19:32 +01:00
Kitzunu
0d52b4ca4a feat(Core/Spell): Implement ValidateSpellInfo (#4323)
* feat(Core/Spell): Implement ValidateSpellInfo

* cherry-pick from 2b5d7eef3a & a0a158b5b8

* 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
AzerothCoreBot
b68f469c73 chore(DB): import pending SQL update file
Referenced commit(s): 911ac12ea6
2021-02-01 17:18:00 +00:00
LannyE
911ac12ea6 fix(DB): missing Lunar Festival GOs and creatures (#4367)
Major Cities were missing Lunar Festival gameobjects and NPCs/Creatures
- Darnassus:  Added the entire Festival location  (gameobjects/creatures)
- Shattrath:  Added both Festival locations  (gameobjects/creatures)
- Dalaran:  Added the entire Festival location  (gameobjects/creatures)
- Silvermoon:  Added the entire Festival location  (gameobjects/creatures)
- Exodar: Added the entire Festival location (gameobjects/creatures)
- Exodar: Removed New Year's event objects from the Lunar Event (Festive Kegs,
Party Tables, and extra Haybales)
-Removed gameobject 11997 deletion.  Doesn't exist
-Added game_event_gameobject cleanup by removing GUIDs 11995 - 12000
of gameobjects that do not exist from Lunar Event.
2021-02-01 18:11:46 +01:00
AzerothCoreBot
d45a2f1f82 chore(DB): import pending SQL update file
Referenced commit(s): 9c239d17cb
2021-02-01 17:10:16 +00:00
Stefano Borzì
9c239d17cb feat(DB/SAI): lunar festival invitation teleport (#4354) 2021-02-01 18:08:42 +01:00
AzerothCoreBot
adcf3f7abb chore(DB): import pending SQL update file
Referenced commit(s): 68f7cf3fab
2021-02-01 17:02:36 +00:00
Peter
68f7cf3fab fix(DB/gameobject): Core Fragment should not despawn (#4311)
Co-authored-by: Zoidwaffle <zoidwaffle@gmail.com>
2021-02-01 18:00:54 +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
AzerothCoreBot
1774a322c8 chore(DB): import pending SQL update file
Referenced commit(s): 628c75d67f
2021-01-31 02:11:22 +00: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