Commit Graph

364 Commits

Author SHA1 Message Date
UltraNix
14ad1def8b fix(Core/Spells): pets should not dispel beneficials bufs from neutral units not being at war with pet's owner (#7230)
- Closes #6691
2021-08-06 18:39:35 +02:00
UltraNix
955c1d1ea1 fix(Core/Quests): SMSG_QUESTUPDATE_COMPLETE on quest completion (#7213)
- Closes #6652
2021-08-06 17:22:04 +02:00
UltraNix
2ed34db42f fix(Core/Spells):SPELL_ATTR5_AURA_AFFECTS_NOT_JUST_REQ_EQUIPED_ITEM (#7205)
- Closes #6617
2021-08-06 12:32:30 +02:00
UltraNix
cf5aeaea06 fix(Core/Totems): Totems should not fall to the depth in water. (#7179)
* fix(Core/Totems): Totems should not fall to the depth in water.

Fixed #6562

* chore(Core/Totem.cpp): add brackets

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-06 00:21:41 +02:00
UltraNix
32650b61ee fix(Core/Spells): Implemented SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENT. (#7178)
* fix(Core/Spells): Implemented SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENT.

Fixed #6559.

* Excluded shoot spells.

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 23:44:14 +02:00
UltraNix
f755a277d8 fix(Core/Cooldowns): Fixed replacing longer cooldowns by equip cooldown. (#7163)
Fixed #6366
Fixed #6054.

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 20:42:37 +02:00
UltraNix
279b6de88c fix(Core/Spells): Fixed displaying "That Glyph is already inscribed in your spellbook" when activating the same glyph in different spec. (#7162)
Fixed #6342

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 20:06:10 +02:00
UltraNix
ffdd990aa4 fix(Core/Spells): Glyphs should send SMSG_LEARNED_SPELL/SMSG_REMOVED_… (#7161)
* fix(Core/Spells): Glyphs should send SMSG_LEARNED_SPELL/SMSG_REMOVED_SPELL packet in case of updating spell tooltips.

Fixed #6323

* chore(Core/CharacterHandler): improve comment

* chore(Core/SpellEffects): improve comment

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 15:58:50 +02:00
UltraNix
8522809bb3 Core/Spells: Regenerating POWER_HAPPINESS should not generate additional threat. (#7146)
Fixed #6190

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-04 16:56:47 +02:00
UltraNix
d0b994496f fix(Core/Pets): Corrected pet speed catchup system. (#7131) 2021-08-04 07:05:27 +02:00
UltraNix
9a820e2d26 fix(Core/Spells): Master of Elements (#7102)
* Core/Spells: Master of Elements:

Proc now also from arcane spells.
Properly proc from periodic spells.
Fixed #6035.

* You shouldn't be there.

* Buildfix.

* missing sql.
2021-08-02 01:02:38 +02:00
Kitzunu
80ff915f24 fix(Core/Spell): Impelement SPELL_ATTR7_NO_ATTACK_DODGE & SPELL_ATTR7_NO_ATTACK_PARRY & SPELL_ATTR7_NO_ATTACK_MISS (#7099)
cherry-pick commit (bd6de8eb61)

Co-Authored-By: Ovah <18347559+Ovahlord@users.noreply.github.com>
Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com>
2021-08-01 22:03:45 +02:00
Shiroe
7f4c556148 fix(Core): Impelement CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ (#7101) 2021-08-01 18:37:49 +02:00
Kitzunu
87b2cd1299 fix(Core/Spell): Make use of SPELL_ATTR2_NO_SCHOOL_IMMUNITIES (#5880) 2021-07-31 15:31:00 +02:00
Shiroe
2f63e81a94 feat(Core/DB): Add Creature ExperienceModifier (#7095) 2021-07-30 07:56:42 +02:00
UltraNix
47f7c46f96 fix(Core/Spells): melee spells on sitting targets guaranteed critical strikes (#7085)
- Closes #5986
2021-07-27 13:37:47 +02:00
UltraNix
f9125f130e fix(Core): player's fall position on elevators (#7076)
- Closes #5804.
- Closes #5936.
2021-07-27 10:08:00 +02:00
UltraNix
e37dba8df6 fix(Core/Spells): Far Sight auras are supposed to extend view distance and allows seeing objects from further distance (#7068)
- Closes #5793.
2021-07-26 10:23:08 +02:00
UltraNix
1f3a097761 fix(Core/Spells): Divine Shield should prevent from environmental damage (#7071)
- Closes #5804
2021-07-25 19:44:16 +02:00
UltraNix
270f7bf506 fix(Core/Items): items with charges should not remove on item unequip its … (#7064)
- Closes #5716
2021-07-25 03:36:40 +02:00
Kitzunu
9ab6ba9664 chore(Core/Misc): remove toxic language (#6988) 2021-07-21 23:57:20 +02:00
robinsch
a3e3fd029f fix(Core/Item): prevent possible items dupe (#6943) 2021-07-21 12:05:12 +02:00
raizo
b8f05472e4 refactor(Core/Player): created update player category (#6872) 2021-07-17 23:47:14 +02:00
Kargatum
8568c4fb33 feat(Core): replace ACE network with Boost.Asio (#6574) 2021-07-16 10:43:56 +02:00
Francesco Borzì
1c4523415a fix(Core): -Wambiguous-reversed-operator warning (#6864) 2021-07-14 00:35:33 +02:00
Francesco Borzì
f73ef1cd5a fix(Core/Unit): -Wdeprecated-enum-enum-conversion warning (#6868) 2021-07-13 11:51:58 +02:00
Francesco Borzì
4103fca5a4 fix(Core/ObjectGuid): prevent creating copies when looping objects (#6852) 2021-07-10 15:54:16 +02:00
Francesco Borzì
19869e65ff refactor(Core/Player): extract methods based on existing categories (#6838) 2021-07-10 12:49:33 +02:00
Francesco Borzì
65c9d3669f chore(Core/Player): add error log when previously ASSERT (#6802) 2021-07-09 17:55:09 +02:00
Francesco Borzì
439a9403ac fix: forgot to push addition to previous commit (#6836) 2021-07-08 23:38:25 +02:00
Francesco Borzì
dcb66138bf refactor(Core/Player): extract KillRewarder, TradeData and PlayerTaxi (#6804) 2021-07-08 23:34:22 +02:00
Shiroe
f8c8e98a0a feat(Core): port aggro distance from vMaNGOS (#6214)
Read detection_range values from creature_template
2021-07-08 18:01:27 +02:00
天鹿
0d02da65f9 fix(Core/Player): Paladin's Seal of Righteousness (#6727) 2021-07-08 15:41:06 +02:00
UltraNix
06d23c1006 fix(Core): prevent crash (#6677)
TODO: add error log
2021-07-07 22:40:15 +02:00
Kitzunu
66da9f1354 chore(Core/Misc): add LOG_ERROR where there was commented ASSERT (#6761) 2021-07-07 17:56:17 +02:00
Necropola
341d65c1db fix(Core/Player): learnSkillRewardedSpells AFERT ALL skills have been loaded (#6676)
- Closes #6670
- Closes https://github.com/chromiecraft/chromiecraft/issues/1046
2021-07-06 12:46:18 +02:00
Kitzunu
9c5b5e4ca9 refactor(GameObject): Update some methods to UpperCamelCase (#6487) 2021-06-28 19:41:32 +02:00
Kitzunu
ccd73918ae fix(Core/Player): Learn runeforging & lockpicking skills (#6612)
* cherry-pick commit (b1ac631f68)

Co-authored-by: r00ty-tc <173349+r00ty-tc@users.noreply.github.com>
2021-06-27 17:46:13 +02:00
Kitzunu
7080edfc1c fix(Core/Player): Correct SPEC_MASK for addSpell() (#6561)
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-06-25 00:34:05 +02:00
Kitzunu
06ee4ea7c4 feature(Core/Spells): Allow to learn all spells for characters on cre… (#6464)
* feature(Core/Spells): Allow to learn all spells for characters on creation

* Cherry-picked from TrinityCore

* now it works =)

* Update Player.cpp
2021-06-23 23:55:10 +02:00
Shiroe
569e3399c6 fix(Core/Unit): NPC enters into EvadeMode, he loses all his Auras (#6379) 2021-06-23 16:56:08 +02:00
UltraNix
a9b2ddba7a fix(Core/Mail): cleanup pending auction sale mail (#6022) 2021-06-23 12:46:48 +02:00
Kargatum
20a67cbfcf fix(Core/Build): correct macos build (#6492)
* fix(Core/Build): correct macos build

* 1

* 2

* 3

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-22 16:27:03 +02:00
Kargatum
9ac6fddcae feat(Core/Database): port TrinityCore database API (#5611) 2021-06-22 06:21:07 +02:00
Kitzunu
1be561e03b fix(Core/Player): Use SkillLineAbility.dbc to determine player initia… (#6015)
* fix(Core/Player): Use SkillLineAbility.dbc to determine player initial spells - skill assignment done in a new table `playercreateinfo_skills`

* Cherry-pick 2a3546ca36

* Cherry-Pick d28b66bca8

* Cherry-Pick 193408f335

- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/1659
- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/6036
- Closes https://github.com/chromiecraft/chromiecraft/issues/693

Co-Authored-By: Shauren shauren.trinity@gmail.com
Co-Authored-By: Rothend 67004168+Rothend@users.noreply.github.com
Co-Authored-By: claudiodfc claudio.daniel.f.c@gmail.com
2021-06-21 21:23:18 +02:00
Kargatum
5787d00d54 chore(Core/Logging): replace most server loggers (#5726)
* chore(Core/Logging): replace most server loggers

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-21 03:07:12 +02:00
Francesco Borzì
36a6d04156 fix(Core): check spell info and prevent crash (#6454) 2021-06-20 19:52:44 +02:00
Cláudio Costa
07861d0548 fix(Core/DB): Brewspewer hardcoded conditions (#6301) 2021-06-18 17:04:41 +02:00
Francesco Borzì
466cdb68d6 refactor(Core): code cleanup (part 2) (#6374) 2021-06-16 20:40:42 +02:00
Bogir[rus]
e3a5727222 chore(Core): typo fixes (#6272)
Co-authored-by: Bogir <m-000@bk.ru>
2021-06-16 11:28:00 +02:00