Commit Graph

355 Commits

Author SHA1 Message Date
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
UltraNix
0d96866cea fix(Core/Packets): sending item's random property in a few packets (#6193)
- Closes #4843
2021-06-15 12:37:58 +02:00
UltraNix
5330cd983c fix(Core/Player): Players are allowed to continue melee attacking on … (#6267)
- Closes #6248.
- Closes #5734
- Closes chromiecraft/chromiecraft#795
2021-06-13 19:27:36 +02:00
Yehonal
baf437bb98 feat(Core): improved some hooks (#6302) 2021-06-13 10:23:24 +02:00
Maxpro
1b896277bd fix(Core/Unit): dodges, parries and critters not increasing weapon skills (#5895)
This fixes not getting skill ups from attacking an enemy and them parrying your attack or dodging it.
This also fixes attacking a critter and not getting weapon skill ups.
Previously Dodge and Parry were only giving a chance to increase the victims DEFENSE skill.
I changed it so it will proc on victim and attacker. for weapon and defense skills
Also, critters were being checked to not give weapon skill ups on purpose but I removed the check.
2021-06-13 00:39:14 +02:00
UltraNix
dafef5bd78 fix(Core/Spells): category cooldowns (#6191)
- Closes #5475
- Closes https://github.com/chromiecraft/chromiecraft/issues/466
2021-06-12 19:51:47 +02:00
UltraNix
69c214bec5 fix(Core/Spells): Spells and auras activated by item use should not be removed on unequip. (#6255)
- Closes #5124
- Closes chromiecraft/chromiecraft#327
2021-06-10 15:19:15 +02:00
UltraNix
7106e66421 fix(Core/Pets): Pets should update speed out of combat only if are following their owner. (#6207)
- Closes #5250
- Closes chromiecraft/chromiecraft#406
2021-06-09 14:14:41 +02:00
UltraNix
6dacfc0717 fix(Core/Loot): properly save and load from DB loot from items (#6151)
- Closes #5472
- Closes https://github.com/chromiecraft/chromiecraft/issues/456
2021-06-08 19:26:34 +02:00
UltraNix
617a935ee4 fix(Core/Spells): Changing druid forms should not remove items auras triggered on use. (#6135)
- Closes #5637
- Closes https://github.com/chromiecraft/chromiecraft/issues/525
2021-06-05 13:52:09 +02:00