Commit Graph

1599 Commits

Author SHA1 Message Date
UltraNix
3c1e76e55d fix(Core/Duel): Player during duel countdown is not a valid attack target. (#11509) 2022-05-03 02:36:03 -03: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
SilentCLD
ffa2f071bc fix(Core/Wintergrasp): Reimplement Wintergrasp quests and fix vendors (#11533) 2022-04-25 18:20:10 -03: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
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
Kitzunu
1501445b0a chore(Core/Misc): nullptr cleanup (#11467) 2022-04-21 19:17:20 +02:00
acidmanifesto
eb91bbfc56 feat (core): another helper implemented (#11469) 2022-04-21 13:15:11 -04:00
Kitzunu
90c47ca61a fix(Core/Spell): Move SelectTrajTarget log to Debug (#11465)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/6785
2022-04-21 18:22:37 +02:00
acidmanifesto
d38b6ce0db Feat: (core) Additional Helper (#11457)
* Feat: (core) Additional Helper
2022-04-21 06:06:22 -04:00
Kitzunu
7ecd738674 feat(Core/Mail): Server mail (#10628) 2022-04-19 23:43:14 +02:00
天鹿
b801274b89 fix(Core/SmartScripts): null crash in SMART_TARGET_PLAYER_DISTANCE (#11442 2022-04-19 16:17:51 +02:00
UltraNix
f7214e24ea feat(Core/SmartScripts): Improvements to SMART_EVENT_FRIENDLY_HEALTH_PCT: (#11171)
* Added new parameter: radius.
* The event can be used with SMART_TARGET_SELF and SMART_TARGET_ACTION_INVOKER target types.
* Closes #5270
2022-04-18 19:35:37 +02:00
IntelligentQuantum
c93a84e821 feat(Spell/Scripts): Move Spell gen remove impairing auras to spell scripts (#11104) 2022-04-18 19:35:07 +02:00
IntelligentQuantum
7b352b7658 feat(Core/Conditions): CONDITION_STAND_STATE (#10287)
* cherry-pick commit (TrinityCore/TrinityCore@ea53f79)
2022-04-18 19:33:10 +02:00
acidmanifesto
93a8d4fb63 fix (core) Remove not need operator || (#11425)
Since the mysterous why things evade in shallow water root issue was finally determined because of our shallow water calculations was wrong that was corrected by pr https://github.com/azerothcore/azerothcore-wotlk/pull/11419 we can now remove this operator
2022-04-17 13:24:15 -04:00
IntelligentQuantum
659775548f feat(Core/SmartScripts): Add an action_param3 to "summon gob" to control when the object will despawn (#10254)
* cherry-pick commit (TrinityCore/TrinityCore@ca4f1e3)
2022-04-17 03:48:22 +02:00
IntelligentQuantum
3555f5916d fix(Core/SmartScripts): don't allow to start a new SAI actionlist while the entity is already running one (#10230)
* cherry-pick commit (2b1cde2560)
2022-04-17 03:46:08 +02:00
IntelligentQuantum
e38a17d2da feat(Core/SmartScripts): SMART_EVENT_EVENT_PHASE_CHANGE (#10054)
* cherry-pick commit (619a5534c5)
2022-04-17 01:55:52 +02:00
acidmanifesto
c283883aea fix (core): Shallow Water Calulation Correction (#11419)
Shallow water calculation (in water and water walking value) is in correct and were matching. not right at all. this corrects the issue.
2022-04-16 16:38:57 -04:00
acidmanifesto
db360f0cfb Fix (Core\DB) Hostil to Hostile spelling fix (#11399)
* Fix (Core) Hostil to Hostile spelling fix

* sql cmd adjustment as well

* AliGnZ

* Further Hostil to Hostile Correction

Per @Si1ker  Research via https://github.com/azerothcore/azerothcore-wotlk/pull/11399#issuecomment-1099506373
2022-04-16 11:00:38 -04:00
UltraNix
5a9bf21cd8 fix(Core/Spells): Implemented spell priorities. (#11278)
* fix(Core/Spells): Implemented spell priorities.

Fixes #11261

* Update.

* Update.

* Update.
2022-04-16 15:28:24 +02:00
UltraNix
13993a0b5b fix(Core/Units): Stop melee attacking victim if being charmed by non-friendly target. (#11353)
Fixes #11316
2022-04-16 14:45:16 +02:00
UltraNix
3d609bfd24 fix(Core/Spells): Send proper caster's guid in SMSG_SPELL_START/SMSG_SPELL_GO packets in case of spells casted originally by gameobjects. (#11337)
Added visual channeling when mind controlling Razorgore by player.
Fixes #11275
2022-04-15 12:16:02 -03:00