Commit Graph

648 Commits

Author SHA1 Message Date
UltraNix
982be6de00 fix(Core/GameObjects): move activation code of traps to GO_ACTIVATED (#10537)
- Original author: @Gacko
2022-02-19 22:26:26 +01:00
UltraNix
b97869edb8 fix(Core/Spells): Deep Freeze should damage only permanent stun-immuned targets (#10452)
Fixed #10386

Co-authored-by: temperrr <temperrr@users.noreply.github.com>
2022-02-19 13:47:42 +01:00
Malcrom
da5258bd0b fix(Core/Creature): Allow Multi id in areas with zone script (#10735) 2022-02-18 16:11:40 -05:00
Malcrom
47a4d0c054 fix(Core/Creature): Allow setting no equipment. (#10730)
* Core(Creature Equipment): Fix core to allow assigning no equipment
2022-02-18 12:27:33 -05:00
UltraNix
1366838a05 fix(DB/Creatures): Nat Pagle should display vendor icon if player completed Nat's Measuring Tap quest. (#10657)
Moved c++ script to DB. Original author: @offl
Fixes #10559
2022-02-17 01:13:39 +01:00
Nefertumm
b5b4891470 fix(Core/Scripts/BWL): Vaelastrasz Burning Adrenaline (#10626) 2022-02-15 00:47:17 +01:00
Kitzunu
3501ceb710 refactor(Core/DB/playercreateinfo_spell_custom): Load empty (#10595) 2022-02-14 20:21:56 +01:00
Kitzunu
665919d010 refactor(Core/Misc): rename some variables that can be confusing (#10592) 2022-02-14 20:06:59 +01:00
Kitzunu
455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
Francesco Borzì
6aa727c455 feat(Core/Conf): Rate.MissChanceMultiplier (#10639) 2022-02-13 11:12:08 +01:00
UltraNix
89deb60d43 fix(Core/Spells): Flasks should not be overridden by elixirs. (#10301)
* fix(Core/Spells): Flasks should not be overridden by elixirs.
2022-02-12 15:51:27 +01:00
Kitzunu
ead906c58f refactor(Core/Packets): Rewrite MSG_RANDOM_ROLL to new packet class (#10590)
* refactor(Core/Packets): Rewrite MSG_RANDOM_ROLL

* cherry-pick commit (c0f516caee)

Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
Co-Authored-By: DJScias <439655+DJScias@users.noreply.github.com>

* handle crash check in DoRandomRoll()

* Update MiscPackets.h

* Update Player.h

Co-authored-by: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
Co-authored-by: DJScias <439655+DJScias@users.noreply.github.com>
2022-02-11 10:30:49 +01:00
Nefertumm
c9ac48e824 fix(Core/Events): Apothecary Hummel (#10615)
* Fix(Core/Events): Apothecary Hummel

Co-authored-by: sirikfoll <sirikfoll@hotmail.com>
Co-authored-by: Killyana <Killyana@users.noreply.github.com>

* missed return

* Missing include

* Fixed delete

Co-authored-by: sirikfoll <sirikfoll@hotmail.com>
Co-authored-by: Killyana <Killyana@users.noreply.github.com>
2022-02-11 06:00:10 -03:00
Kitzunu
9d166722c4 refactor(Core/Creature): More functions capitalized (#10012)
* GetLeader

* IsFormed

* build
2022-02-10 18:40:00 +01:00
UltraNix
0fa4a90aa8 fix(Core/Spells): Added some exceptions to `SPELL_AURA_PREVENT_REGENE… (#9844)
* fix(Core/Spells): Added some exceptions to `SPELL_AURA_PREVENT_REGENERATE_POWER` auras.

Fixes #2042
2022-02-10 15:34:00 +01:00
Kitzunu
210029095a fix(Core/GameObjects): Do not allow players to interact with gobs that use "Point" icon (#9800)
- cherry-pick commit (c52c0f0b7d)

- This was confirmed in sniffs, see TrinityCore/TrinityCore@c52c0f0#commitcomment-34342342

Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
2022-02-10 14:50:33 +01:00
acidmanifesto
c50f7feda0 feat (core): Add Teleport Helpers (#10611)
* feat (core): Add Teleport Helpers

* Lower case the things
2022-02-09 20:54:46 -05:00
Skjalf
fb890b3310 feat(Core/Player): Implement option to convert excess honor points int… (#10565) 2022-02-09 18:04:56 -03:00
Kitzunu
cf65cd6baf refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792) 2022-02-09 11:59:30 +01:00
Kitzunu
13643c969c refactor(Core/Spell): Use ApplySpellFix with SpellInfo (#9938) 2022-02-08 14:09:15 +01:00
Francesco Borzì
cfd9ebe107 fix(Core): macOS build (part 2) (#10586) 2022-02-08 12:41:31 +01:00
Kargatum
11006041ac fix(Core/Build): macOS build (part 1) (#10549) 2022-02-08 11:21:17 +01:00
IntelligentQuantum
93520f6466 feat(Core/Position): own file (#10505) 2022-02-08 05:12:42 -03: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
Kitzunu
f4c6a4ce27 fix(Core/Misc): Remove c++ check for c++11 (#10439) 2022-02-04 19:00:33 +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
Skjalf
c45c23ffe7 fix(Core/Player): Align SaveSeasonQuestStatus() with TrinityCore (#10503) 2022-02-02 21:14:02 -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
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
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
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
Kargatum
e8f34b2309 feat(Core/Common): add support fmt style for ASSERT and ABORT (#10355)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

* Update src/server/game/Spells/Spell.cpp
2022-01-25 23:15:51 +01:00
UltraNix
902f33a62b fix(Core/Spells): Implemented spell proc phases. (#9725)
* fix(Core/Spells): Implemented spell proc phases.

Fixes #9634
2022-01-24 15:29:03 -03:00
Kargatum
8b7df23f06 feat(Core/Time): Implement saparated manager for game time (#8630) 2022-01-24 17:55:00 +07:00
IntelligentQuantum
75fc2d1b2d fix(Scripts/Commands): quest complate kill reward (#9926) 2022-01-24 09:22:40 +01:00
UltraNix
2f8318fd58 fix(Scripts/Hunter): Bestial Wrath shoul not be castable on dead pets. (#9896)
Bestial Wrath should expire while pet is offline.
2022-01-23 23:45:24 -03:00
UltraNix
1cbf52fb3d fix(Core/Spells): Fixed Revive Pet. (#10324)
Fixed #10267
2022-01-23 21:19:52 -03:00
Skjalf
22ec66566c feat(Core/Scripting): Implement OnSpellHealingBonusTakenNegativeModifiers hook (#10318) 2022-01-23 17:56:41 -03:00
UltraNix
ac0129a0ac fix(Core/Spells): Passive auras with SPELL_ATTR0_ONLY_INDOORS/SPELL_A… (#9837)
* fix(Core/Spells): Passive auras with SPELL_ATTR0_ONLY_INDOORS/SPELL_ATTR0_ONLY_OUTDOORS should not be removed when entering/leaving buildings.

Fixes #9209
2022-01-22 23:09:17 -03:00
Francesco Borzì
abc56842c4 refactor(Core): remove unused imports (#10296) 2022-01-22 11:21:35 +01:00
Kargatum
6d7f58e6ed feat(Core/Common): delete old Tokenizer (#10121) 2022-01-21 14:59:05 +07:00
UltraNix
b24fd81734 fix(Core/Spells): Properly handle client-side orientation on stun. (#10107)
Fixes #9738
2022-01-20 12:12:40 -03:00
Kargatum
259b9133f6 feat(Core/Common): add new helpers for time utility (#10207) 2022-01-19 12:01:59 +07:00
Francesco Borzì
9dc88def35 refactor(Core): apply clang-tidy modernize-* (#9975)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-01-17 14:35:07 +01:00
Skjalf
fe4899202d feat(Core/Conditions): Implement CONDITION_SOURCE_CREATURE_VISIBILITY (#10208) 2022-01-17 06:05:32 -03:00
UltraNix
e842119605 fix(Core/Spells): Drop combat on Mind Control cancel. (#10201)
Fixes #9980
2022-01-16 22:26:23 -03:00
UltraNix
19b68ffb57 fix(Core/Pets): Manual using pet spell should not reset attack command. (#9635)
Fixes #9632
2022-01-16 14:44:21 -05:00