Commit Graph

664 Commits

Author SHA1 Message Date
郑佩茹
d60bb4fc90 feat(Scripting/Hooks): Implement OnQuestComputeXP() hook 2022-03-07 19:17:29 -07:00
UltraNix
5ed4db09e3 fix(Core/Spells): Fixed getting max spell range for friendly targets. (#10906)
Fixes #10802
2022-03-06 15:51:59 -05:00
IntelligentQuantum
8eeb6ef1b7 feat(Core/Packet): SMSG_CROSSED_INEBRIATION_THRESHOLD (#10893) 2022-03-06 15:49:55 -05:00
IntelligentQuantum
029b79ecce feat(Core/Players): do not update position data on character creation 2022-03-06 15:45:49 -05:00
UltraNix
617d85a498 fix(Core/Movement): Send proper movement animation visuals. (#10843)
Fixed #10812
Fixed #10814
2022-03-06 12:31:41 -05:00
UltraNix
a74e57fb22 fix(Core/Spells): Implemented SPELL_ATTR0_CU_IGNORE_EVADE. (#10832)
Added channel beam at Razorgore pre-fight.
Fixed #10767
2022-03-06 12:26:00 -05:00
Kitzunu
d927ce6fac feat(Core/Creature): Implement quest_greetings table (#10526)
* cherry-pick commit (6dda09818d)

Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
2022-03-06 18:19:08 +01:00
Skjalf
d4b3e8f201 chore(Core/Creature): clean up an unnecessary function (#10904) 2022-03-06 03:12:06 -03:00
Kargatum
acd3ed8759 fix(Core/Player): fix pet not appearing after dismount for warlock (#10899) 2022-03-05 04:54:54 -03:00
UltraNix
b3c8c779dc fix(DB/Spells): add internal proc cooldown to Nature's Grasp (#10757)
Fixes #9475
2022-03-02 13:10:40 +01:00
UltraNix
73957b95f6 fix(Core/Mail): do not show expired mails in packets (#10560)
Fixed #5920
2022-03-01 13:57:37 +01:00
IntelligentQuantum
b275499de4 refactor(Core/Packet): Pet (#9473)
Co-authored-by: temperrr <temperrr@users.noreply.github.com>
2022-03-01 13:50:50 +01:00
Skjalf
cb7f3d50ed fix(Scripts/Kalimdor): fix Azuregos respawn timer not persisting after restarts (#10823) 2022-02-26 18:36:01 -03:00
acidmanifesto
69e2f2e3aa fix/feat: (Core/PacketIO): updated sound and creature addon (#10813)
* fix\feat: (Core/PacketIO): updated sound and creature addon

updated SMSG_PLAY_SOUND, SMSG_PLAY_MUSIC and SMSG_PLAY_OBJECT_SOUND via tc cherry pick
https://github.com/TrinityCore/TrinityCore/pull/2363 and 0f1f7ef401 by @joschiwald  and @ForesterDev
This so far a attempt to align atleast with sound with tc, and correct a potentional issue of hearing creature sounds that is not in visible range. I notice PlaySound was being defined in some weird dependency as it isnt with tc so I renamed it to Playsound. Notice a isLarge still being used in the creature addon when it was depreciated, so i removed that a that seem to of interfered with visibilitydistanceType.

Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com>
Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
2022-02-26 10:05:58 -05:00
UltraNix
534920ada2 fix(Core/Creatures): correct applying swimming moveflag to creatures in water (#10756)
Fixed #10709
2022-02-24 17:25:04 +01:00
UltraNix
4509a36e91 fix(Core): Crashfix. (#10744)
Fixes #10601
Fixes #10733
2022-02-22 11:15:50 -05:00
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