Commit Graph

2059 Commits

Author SHA1 Message Date
IntelligentQuantum
93520f6466 feat(Core/Position): own file (#10505) 2022-02-08 05:12:42 -03:00
acidmanifesto
b0b9fece99 fix: (core) Game Hook Correction (#10572) 2022-02-07 13:18:47 -05:00
Nefertumm
87f76587d8 fix(Scripts/MoltenCore): Ragnaros dying while submerging (#10535)
* Fix(Core/MC): Ragnaros dying while submerging

* Don't die on submerge

* Update boss_ragnaros.cpp
2022-02-07 06:39:50 -03:00
acidmanifesto
cfb171efda fix (conf): Added additional Cateloge NPC IDS (#10547)
* fix (conf): Added additional Cateloge NPC IDS

This is soo we can get a proppery pass\fail status on npc catelog modules dealing with hard coded gossip

* Update worldserver.conf.dist
2022-02-05 16:32:25 -05:00
IntelligentQuantum
3f85eb9ac6 fix(Scripts/Commands): cs_list crash (#10480)
* Update cs_list.cpp

* This way? not tested

* Update cs_list.cpp
2022-02-05 18:43:39 +01:00
UltraNix
0b02ba87fc fix(Core/Reputations): Faction rep gained by killing mobs is now prop… (#9737)
* fix(Core/Reputations): Faction rep gained by killing mobs is now properly rounded up.

Do not increase reputation rank if exceeds max rank cap.
Fixes #8718
2022-02-05 07:37:00 -03:00
Kargatum
de13bf426e feat(Core/DBLayer): replace char const* to std::string_view (#10211)
* feat(Core/DBLayer): replace `char const*` to `std::string_view`

* CString

* 1

* chore(Core/Misc): code cleanup

* cl

* db fix

* fmt style sql

* to fmt

* py

* del old

* 1

* 2

* 3

* 1

* 1
2022-02-05 00:37:11 +01:00
UltraNix
6c0113c9a5 fix(Core/Spells): Wolverine Bite (#10312)
- Closes #10293
- Source: TrinityCore
2022-02-04 19:13:30 +01:00
Nefertumm
efce657db4 fix(Core/BWL): do not open Nefarian door until Chromaggus is defeated (#10472) 2022-02-04 19:05:26 +01:00
Kitzunu
f4c6a4ce27 fix(Core/Misc): Remove c++ check for c++11 (#10439) 2022-02-04 19:00:33 +01:00
Nefertumm
aa6ecec2ab feat(Core/Map): add DoForAllPlayers method (#10371) 2022-02-04 18:54:29 +01:00
Kitzunu
b50984e9bf feat(Core/Player): Stats limitation (#10403)
Co-authored-by: Corbi <12052933+corbi@users.noreply.github.com>
2022-02-04 17:56:53 +01:00
Nefertumm
1dbbed0c50 fix(DB/Quest): move Lost In Battle to DB (#10378) 2022-02-04 17:53:18 +01:00
IntelligentQuantum
799c9cec5c refactor(Core/GuildHandler): remove unused function (#10375) 2022-02-04 17:53:00 +01:00
Bogir[rus]
0b4d483783 feat(Core/Conf): handle custom creatures IDs and exclude them from checks (#10367) 2022-02-04 17:52:23 +01:00
IntelligentQuantum
e85e556d19 feat(Core/Conditions): CONDITION_DIFFICULTY_ID (#10332) 2022-02-04 17:43:31 +01:00
Nefertumm
634e41fc1c fix(Core/Spells): delete creatures threat list after taming them for t… (#10224) 2022-02-04 15:27:20 +01:00
Kargatum
3a0a9ba088 feat(Core/Common): move EventMap to separated files, add support chrono (#10209) 2022-02-04 15:12:45 +01:00
Nefertumm
40d233a9f6 fix(Scripts/MoltenCore): Separate teleport timers for Majordomo Executus (#10348) 2022-02-04 02:19:33 -03:00
Kitzunu
c63ebde9d7 feat(Guild/Commands): guild rename (#10323)
* feat(Guild/Commands): guild rename

* cherry-pick commit (678cade116#)

* Update cs_guild.cpp
2022-02-03 06:01:16 -03:00
Skjalf
c45c23ffe7 fix(Core/Player): Align SaveSeasonQuestStatus() with TrinityCore (#10503) 2022-02-02 21:14:02 -03:00
acidmanifesto
48ad8b519b Revert "fix (core): Smart Script Clean up\Code Reduction (#10491)" (#10494)
This reverts commit 0a218c975f.
Memory Leak Issue is being identified by a few fellow devs in response to the clean up.
2022-02-02 13:43:48 -05:00
acidmanifesto
0a218c975f fix (core): Smart Script Clean up\Code Reduction (#10491)
* fix (core): Smart Script Clean up

No need to repeat ObjectList* targets = GetTargets(e, unit); over 100 times in the same void you sinners.

* Update SmartScript.cpp

* Update SmartScript.cpp
2022-02-02 12:40:32 -05:00
Nefertumm
db09b11524 refactor(Core/Hook): OnPlayerReputationChange (#10471) 2022-02-02 13:05:47 -03:00
Nefertumm
dfa28e4f7d Revert "fix(Core/Spells): Fix spellclick (#8232)" (#10483)
This reverts commit faa4035de7.
2022-02-01 18:01:42 -03:00
UltraNix
89d3a4d6b3 fix(Scripts/Pets): Increased Shadowfiend hp. (#10304)
Fixed #4792
2022-02-01 05:54:46 -03:00
Skjalf
4c5aceedbd feat(Core/Scripting): Implement OnLoadSpellCustomAttr global hook (#10469) 2022-01-31 18:03:42 -03:00
Skjalf
2d7434f767 feat(Scripts/Commands): Implement go quest starter/ender command (#10442)
* feat(Scripts/Commands): Implement go quest starter/ender command

* Update cs_go.cpp
2022-01-31 08:56:37 -03:00
Nefertumm
ede60e2bc0 chore(Core/Texts): Rename parameter for creature texts (#10317) 2022-01-31 06:48:55 -03:00
Skjalf
4df8b23c5f fix(Core/Scripting): Fix healing reduction abilities not applying cor… (#10435) 2022-01-31 00:56:40 -03:00
UltraNix
8f8fbd95ce fix(Core/Spells): Implemented SPELL_GROUP_SPECIAL_FLAG_SKIP_STRONGER_SAME_SPELL. (#10307)
Fixed #10263
2022-01-30 21:29:22 -03:00
UltraNix
0c09e88f64 fix(Core/Spells): Removed MECHANIC_POLYMORPH from PX-238 Winter Wondervolt spells. (#10302)
Fixed #9719
2022-01-30 16:56:31 -03:00
UltraNix
d9e1cf40c0 fix(Core/DungeonFinder): Fixed joining to LFG dungeon if there is alr… (#10062)
* fix(Core/DungeonFinder): Fixed joining to LFG dungeon if there is already a LFG group inside it.iterator

Fixes #9824

* Buildfix.
2022-01-30 09:48:00 -03:00
IntelligentQuantum
5577ea3fdc feat(Core/Conditions): CONDITION_PET_TYPE (#10299) 2022-01-30 02:48:04 -03:00
acidmanifesto
8207e3ffb5 fix (core) : TransportMgr Load up time (#10388)
* fix (core) : TransportMgr Load up time

* white space fix

* merge fix

* merge fix again

* Update TransportMgr.cpp

* Update TransportMgr.cpp

* Update TransportMgr.cpp

* fix conflich with preload grids for continent static transports
2022-01-29 10:44:19 -05:00
IntelligentQuantum
915b6a2738 feat(Core/SmartScripts): Add distance option for SMART_ACTION_SOUND & SMART_ACTION_RANDOM_SOUND (#10255) 2022-01-29 11:18:21 -03:00
IntelligentQuantum
ebda297390 feat(Core/Conditions): CONDITION_TAXI 2022-01-29 09:36:46 -03:00
IntelligentQuantum
1ec6ea1cea feat(Core/Conditions): CONDITION_CHARMED (#10298) 2022-01-29 02:51:23 +01:00
WORISX
6a08c9cbdb fix(Core/Pathfinding): Remove unnecesary LiquidData Z check (#10251)
* Core/Pathfinding: Remove unnecesary LiquidData Z check

*Remove an unnecessary LiquidData status check for Z correcing points count added probably for SunwellCore before the Movement Rewritte done last year , this fixes global pathfinding problems on all Movement Generators including all pathfinding problems that make creatures and players go through textures.

* Update PathGenerator.cpp

Typo on last commit
2022-01-29 02:38:34 +01:00
IntelligentQuantum
9fadfa6499 feat(Core/SmartScripts): SMART_ACTION_PLAY_CINEMATIC (#10231)
* cherry-pick commit (63aa5d1e35)
2022-01-28 23:53:27 +01:00
Kitzunu
8f249a3d84 fix(Core/Misc): Revert commits causing massive delays (#10408)
* this reverts commit (674b168add)

* this reverts commit (b085ee61eb)

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/10407
2022-01-28 16:45:47 -05:00
UltraNix
ab121e246e fix(Core/Spells): Removed Focused/Brutal on map change. (#10105)
Fixes #6195
Fixes #9724
2022-01-28 20:06:54 +01:00
UltraNix
fbb50210aa fix(Core/Spells): Reset melee swing timer on cast rather than on finish. (#10101)
Fixes #7216
2022-01-28 18:10:30 +01:00
acidmanifesto
674b168add fix (core): Delay added so spell animation plays on unit death (#10394)
* fix (core): Delay added so spell animation plays on unit death

Unit death not showing full spell animation. This delay of 400ms provides that opportunity for it to not be nerfed.

* Notes added.
2022-01-28 11:26:15 -05:00
acidmanifesto
b085ee61eb fix (core): EffectInstaKill Prevents spell animation fix (#10379)
* fix (core): EffectInstaKill Prevents spell animation before deal damage execution

This fixes the issue of spell animations of chain effects of a spell dealing with EffectInstaKill. This was identified as a issue in support of @malcrom 's current scripting efforts. We fix the issue by putting a half second delay and making the delay of a function possible and independent.

Co-Authored-By: Malcrom <malcromdev@gmail.com>

* Fix double to float

Co-Authored-By: Malcrom <malcromdev@gmail.com>

* Remove the STD

I put the STD in STUD and all I need is U

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

per @kitzunu the great

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

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

per @nefertumm the beast

Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>

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

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

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

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

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

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

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

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

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

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

* Notes Added

Co-authored-by: Malcrom <malcromdev@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
2022-01-28 11:14:21 -05:00
Beta.Yi
c737b837dd fix(Core/Spell): Summon Arcane Disruptor 2022-01-28 00:29:24 +01:00
Kargatum
5969df4e30 refactor(Core/Logging): switch to fmt style for LOG_ (#10366)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

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

* rework logging

* add fmt replace logs

* logging

* FMT_LOG_

* settings

* fix startup

* 1

* 2

* 3

* 4

* 5

* fmt::print

* to fmt
2022-01-27 16:44:41 +01:00
Nefertumm
75951926e6 feat(Core/Logs): Improve logs for linked_respawn (#10202) 2022-01-27 08:35:44 -03:00
Kargatum
3d6724e448 feat(Core/Chat): delete delay for channels (#10365)
* feat(Core/Chat): delete delay for channels

* 1
2022-01-27 07:58:59 -03:00
Nefertumm
1ddf5d8d1f fix(Core/MC): Core Hounds should despawn after death (#10219) 2022-01-26 21:18:45 -03:00