Commit Graph

1646 Commits

Author SHA1 Message Date
ZhengPeiRu21
0053ac67d9 Merge branch 'azerothcore:master' into Playerbot 2022-05-10 08:46:47 -06:00
天鹿
32b7531295 fix(Scripts/Spells) charge Auto attack (#11693)
* Update MotionMaster.h

* Update MotionMaster.cpp

* Update SpellEffects.cpp

* Update MotionMaster.cpp

* Update MotionMaster.h

* Update MotionMaster.cpp

* Update MotionMaster.h

* Update SpellEffects.cpp

* Update Spell.cpp

* Update Spell.cpp

* Update SpellEffects.cpp
2022-05-10 08:21:43 +02:00
IntelligentQuantum
a31a30566e feat(Tools/Mapextractor): Implemented liquid object detection (#11402)
* .

* .

* .

* .

* .

* .

* .

* Delete Utils.cpp
2022-05-08 23:38:22 +02:00
UltraNix
933bf7b633 refactor(Core/Movement): Rewritten fleeing movement generator. Source: TrinityCore. (#11586)
* fix(Core/Movement: Rewritten fleeing movement generator.

Fixes #5980
Fixes #9314

* Update.
2022-05-08 23:35:40 +02:00
avarishd
4ce3515c60 fix(Core/Spells): Allow spells with SPELL_ATTR0_CU_REQ_CASTER_BEHIND_TARGET attribute to go through deterrence. (#11644)
* Update settings.json

* Revert "Update settings.json"

This reverts commit 1f6724477db4cff361c800b858d3bc1a6d11d6bb.

* detter
2022-05-08 23:19:39 +02:00
Kitzunu
969cb68c35 fix(Core/Auras): INVISIBILITY_UNK10 also applies the flag PLAYER_FIELD_BYTE… (#11588)
* ore/Auras: INVISIBILITY_UNK10 also applies the flag PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW

* cherry-pick commit (230f40f359)

Co-Authored-By: Meji <2695278+meji46@users.noreply.github.com>

* Update Object.h

* Update Object.h

Co-authored-by: Meji <2695278+meji46@users.noreply.github.com>
2022-05-08 23:10:10 +02:00
Kitzunu
33f6486180 fix(Core/ItemHandler): fix selling items over gold limit (#11673)
* cherry-pick commit (d0b8fb87f2)

Co-Authored-By: okfok <44704482+okfok@users.noreply.github.com>

Co-authored-by: okfok <44704482+okfok@users.noreply.github.com>
2022-05-08 10:42:35 +02:00
Kitzunu
ca0de49df2 fix(Core/Spells): Paladin's Judgements can be applied on different targets at the same time (#11672)
* cherry-pick commit (4bff223851)

Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com>

Co-authored-by: Gildor <521036+Jildor@users.noreply.github.com>
2022-05-08 10:42:10 +02:00
UltraNix
56982f9eba fix(DB/Quest): Krolmir, Hammer of Storms. (#11661)
* fix(DB/Quest): Krolmir, Hammer of Storms.

Fixes #11637

* Buildfix.

* Update src/server/game/Spells/SpellInfoCorrections.cpp

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

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-05-08 10:19:26 +02:00
UltraNix
aeb260c3cc fix(Core/Guardian): Crashfix. (#11659) 2022-05-07 10:35:19 +02:00
ZhengPeiRu21
c2efd301b5 Merge branch 'azerothcore:master' into Playerbot 2022-05-06 16:13:01 -06:00
Kitzunu
2e13ad75e2 refactor(Core/Spells): make DoCast functions use SpellCastResult (#11546)
* refactor(Core/Spells): make DoCast use SpellCastResult

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update UnitAI.cpp

* Update UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.h
2022-05-06 00:43:27 -03:00
Tralenor
6cf82e3bd6 feat(Core/DB): Add Hooks On creature/game object save to db (#11246)
* implement OnCreatureSaveToDB and OnGameObjectSaveToDB Hooks

* fix Whitespaces in ScriptMgr.h

Co-authored-by: Timothée Moos <t1997.m@gmx.net>
2022-05-06 00:42:49 -03:00
ZhengPeiRu21
c6df5eae3a Merge branch 'azerothcore:master' into Playerbot 2022-05-04 10:47:16 -06:00
UltraNix
3c1e76e55d fix(Core/Duel): Player during duel countdown is not a valid attack target. (#11509) 2022-05-03 02:36:03 -03:00
郑佩茹
0326d8576d Merge branch 'master' into Playerbot
# Conflicts:
#	src/server/game/World/IWorld.h
#	src/server/game/World/World.cpp
#	src/server/game/World/World.h
#	src/server/scripts/Commands/cs_server.cpp
2022-05-02 16:39:21 -06:00
acidmanifesto
cc6528ad7b Fix (core) water level and ground level correction (#11552)
We do not need to excessively have ground level be -2 below the player when underwater. ground level is ground level. no need for a lower adjustment. Most likely left over from from when the shallow water calculations was wrong entirely that lead to false hits with water walking detection due to core side calculations.
2022-05-01 08:44:03 -04:00
UltraNix
8900cab657 fix(Core/Minions): Crashfix. (#11592) 2022-05-01 10:28:20 +02:00
UltraNix
43db8a6d13 fix(Core/Movement): Improved pet's follow movement. (#11585)
Fixes #9254
2022-05-01 07:01:10 +02:00
Kitzunu
026941c39e refactor(DB): Handle SQL files in a new way (#11494)
* refactor(DB): Handle SQL files in a new way

* remove proof that it works files

* Update rev_1650721405699287200.sql

* Update rev_1650721339143444200.sql

* Update rev_1650721386624384400.sql

* fix build

* fix
2022-04-28 14:37:37 -03:00
IntelligentQuantum
59e45c251e fix(Core/Spell): Improvements to path generation for Charge mechanic (#11534)
It has its flaws but it can be improved and it's actually a lot better than what we currently have.
2022-04-27 20:18:44 -03:00
UltraNix
b7be09e96c fix(Core/Players): Updates visibility of nearby entities around player's viewpoint in case of immediate changing farsight object. (#11520)
Fixes #11322
2022-04-27 15:12:45 +02:00
UltraNix
35596b0b01 fix(Core/Battlegrounds): Remove all DoTs when exiting battleground. (#11517)
Fixes #11332
2022-04-27 15:12:33 +02:00
ZhengPeiRu21
92841a35e1 Merge branch 'azerothcore:master' into Playerbot 2022-04-26 08:42:57 -06:00
SilentCLD
ffa2f071bc fix(Core/Wintergrasp): Reimplement Wintergrasp quests and fix vendors (#11533) 2022-04-25 18:20:10 -03:00
ZhengPeiRu21
84b794ab38 Merge branch 'azerothcore:master' into Playerbot 2022-04-25 08:58:13 -06:00
Revision
a1707b2d14 feat(Core/Player): Allow stay in group when logged out (#10887)
* Config option

* Extra check

* Fixes

Updated some comments
Removed the config option from the first if since it's not necessary (afaik)

* REVERT

Reverting the if to what I had it at originally until I can get some input on it...

* Updated if

Got some input and this is working as intended

* Update World.cpp

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

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

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-04-25 09:29:44 -03:00
UltraNix
898eabe6dd fix(Core): Restored code about shared visions removed in d504a62. (#11493)
Fixes #11368
2022-04-25 09:26:32 -03:00
UltraNix
3a525b8345 fix(Core): Crashfix. (#11495) 2022-04-25 09:26:03 -03:00
UltraNix
54ebdfcfc1 fix(Core/Formations): Implemented GROUP_AI_FLAG_RESPAWN_ON_EVADE flag. (#11512)
Fixes #11364
2022-04-25 09:24:46 -03:00
UltraNix
7dc494bd55 fix(Core/Spells): Rapture should ignore line of sight. (#11519)
Rapture should not generate threat.
Fixes #11396
2022-04-25 09:24:14 -03:00
Skjalf
d8d0d5a5e4 feat(Core/Creature): Implement ModifyThreatPercentTemp() function (#11521)
* feat(Core/Creature): Implement ModifyThreatTemporary function

* feat(Core/Creature): Implement ModifyThreatPercentTemp() function

* fix build
2022-04-24 22:48:37 -03:00
UltraNix
f5948b5fe4 fix(Core/Battlegrounds): Fixed battleground queue announcer. (#11348) 2022-04-24 16:55:00 -03:00
IntelligentQuantum
b544eb420e feat(Core/Mmaps): Handle different slopes in mmaps and Add some more input parameters to improve (#10974) 2022-04-24 16:44:50 -03:00
IntelligentQuantum
090cc5e2c6 fix(Tools/Mapextractor): Fix water height redundancy algorithm ignoring "no water" (#10947) 2022-04-24 15:14:20 -03:00
acidmanifesto
ad520391d0 fix (core): Water Calculation Corrections (#11516) 2022-04-24 09:58:22 -04:00
UltraNix
a57aecbf8c fix(Scripts/Spells): Improvements to Brood Power: Bronze: (#11499)
Brood Power bronze affects only one target.
Death Talon Wyrmguard gain the Brood Power aura only once per lifetime.
Fixes #11448
2022-04-24 03:25:07 -03:00
UltraNix
34c8f9a020 fix(Core/Spells): Fixed some damage overflows during resilience calculations. (#11497) 2022-04-24 00:39:21 -03:00
Kitzunu
d6c195a989 fix(Core/Spells): Custom attributes belong in the DB (#11405)
* fix(Core/Spells): Custom attributes belong in the DB

* Update rev_1650033460420476500.sql
2022-04-23 11:36:06 -03:00
Kitzunu
8d3c183345 fix(Core/Player): null crash in RemovePet() (#11464)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/11331
2022-04-23 11:33:44 -03:00
UltraNix
d6c95b4db8 fix(Core/Pets): Handle health-aurastates on pet loading. (#11491)
Fixes #11481
2022-04-23 11:32:46 -03:00
UltraNix
385176f434 fix(Core): Crashfix. (#11490)
* fix(Core): Crashfix.

* Update.
2022-04-23 11:32:09 -03:00
IntelligentQuantum
9fa3436cbe feat(Core/SmartScripts): SMART_EVENT_FLAG_WHILE_CHARMED (#10286) 2022-04-23 16:26:42 +02:00
Kitzunu
c55c4aa015 feat(Core/Creature): CREATURE_FLAG_EXTRA_MODULE (#11445)
* feat(Core/Creature): CREATURE_FLAG_EXTRA_MODULE

* Update CreatureData.h

* Update CreatureData.h

* Update CreatureData.h

* Update enuminfo_CreatureData.cpp

* Update enuminfo_CreatureData.cpp

* Update enuminfo_CreatureData.cpp

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2022-04-23 16:22:17 +02:00
Kitzunu
5def0cdd12 chore(Core/CreatureAI): improve log (#11468)
* chore(Core/CreatureAI): improve log

* Update CreatureAI.cpp

* Update CreatureAI.cpp
2022-04-23 15:10:07 +02:00
acidmanifesto
f5b263274f add (core): additional helper for jump destination (#11489) 2022-04-23 06:51:51 -04:00
ZhengPeiRu21
8b0ef0b5a0 Merge branch 'azerothcore:master' into Playerbot 2022-04-22 09:13:49 -06:00
acidmanifesto
4ec69ba3ed fix (core): inhabit CanSwim revert (#11475) 2022-04-22 09:34:37 -04:00
acidmanifesto
f2de895921 fix(core): Null check the helpers (#11476)
* fix (core): move helper

* Update Spell.cpp

* Update Unit.cpp
2022-04-22 10:11:06 -03:00
Skjalf
f137230974 fix(Core/Spells): Prevent shadow spells from triggering Nefarian's corrupted healing (#11470) 2022-04-21 20:24:20 -03:00