Commit Graph

798 Commits

Author SHA1 Message Date
Francesco Borzì
aa3896d52a fix(Core): Undefined symbols ArenaSpectator::HandleSpectatorSpectateC… (#6580) 2021-06-26 16:41:05 +02:00
Kargatum
b2a0714205 feat(Core/Arena): support cross-faction teams (#6448) 2021-06-26 15:37:33 +02:00
Kitzunu
5d66e57181 chore(Core/Spell): SpellId's should always be uint32 (#6466)
* chore(Core/Spell): SpellId's should always be uint32

* Update spell_item.cpp
2021-06-25 02:11:36 +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
5991b2769a feat(Core/Scripts): split the huge scriptloader into smaller pieces (#5346)
* feat(Core/Scripts): split the huge scriptloader into smaller pieces

* AddSC_swamp_of_sorrows del

* 1

* add mod info

* 1

* 039f0e0faa

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-22 23:19:02 +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
57911957ad fix(Core/BattlegroundAB): add missing Victory near sound (#5556) 2021-06-22 01:00:27 +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
Francesco Borzì
eeab4f5de6 fix(Core): macOS build (#6479) 2021-06-21 18:10:40 +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
Bogir[rus]
64aa901c2a feat(Core): improve check of set variables (#6336)
Co-authored-by: Bogir <m-000@bk.ru>
2021-06-20 13:13:24 +02:00
Kitzunu
2e32a80f24 chore(Core/SmartScript): Fix typo (#6355)
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-06-20 01:29:30 +02:00
Kargatum
17838998c4 chore(Core/Gossip): delete old gossips api (#5414) 2021-06-19 12:18:25 +02:00
Francesco Borzì
23e9b85d0e refactor(Core): code cleanup (part 3) (#6380) 2021-06-19 01:25:29 +02:00
buddiman
8e9643c3b0 feat(Core/Commands): GM command to display strings (#6268)
- Implements a new GM command to display strings from the acore_string table
- Syntax: .string #id [#locale]
- Closes https://github.com/azerothcore/azerothcore-wotlk/issues/1052
2021-06-18 17:09:52 +02:00
Axel Cocat
848bb0891b feat(Core): add argument to .character rename to add name to reserved_name (#6163) 2021-06-18 17:09:29 +02:00
UltraNix
289f140ab1 fix(Core/Loot): Fixed loading conditioned item loot. (#6337)
- Fixes #6326
2021-06-18 17:07:24 +02:00
buddiman
4811a14bd6 fix(CORE/Quests): Quest dialog fails to close with follow-up quest (#6309)
- Fixes the problem with the quest dialog which doesn't close/update on a follow-up quest if there is no space in the inventory
- Closes: https://github.com/azerothcore/azerothcore-wotlk/issues/6296
2021-06-18 17:05:29 +02:00
Cláudio Costa
07861d0548 fix(Core/DB): Brewspewer hardcoded conditions (#6301) 2021-06-18 17:04:41 +02:00
UltraNix
b2e42f52a0 fix(Core/SmartScripts):SMART_TARGET_CREATURE/GAMEOBJECT_GUID (#6298) 2021-06-18 16:05:08 +02:00
Kargatum
3da83cc0e6 feat(Common/IPLocation): replace ip2nation by ip2location (#5653) 2021-06-17 22:02:08 +02:00
Kargatum
2ba258a88b feat(Core/Logging): Changed format of packet log file from .bin to .pkt (#5949) 2021-06-17 16:51:45 +02:00
Francesco Borzì
466cdb68d6 refactor(Core): code cleanup (part 2) (#6374) 2021-06-16 20:40:42 +02:00
Francesco Borzì
7d9fe22e28 refactor(Core): code cleanup (part 1) (#6361) 2021-06-16 12:58:14 +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
Kargatum
4a3af9b140 feat(Core/BGQueue): rework queue announce (#6114) 2021-06-15 17:50:42 +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
42019c09b1 fix(Core/Spells): Updates autoshoot spell target in case of clientside target change. (#6257)
- Closes #5206
- Closes https://github.com/chromiecraft/chromiecraft/issues/322
2021-06-11 15:30:58 +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
66d4fd88f5 fix(Core/Spells): disable fishing if not in LOS within boober destination. (#6138)
- Closes #5485
- Closes https://github.com/chromiecraft/chromiecraft/issues/471
2021-06-05 23:24:14 +02:00
UltraNix
8a09a0bc21 fix(Core/Spells): Shadowmeld targets only players. (#6136)
- Closes #5541
- Closes https://github.com/chromiecraft/chromiecraft/issues/483
2021-06-05 21:43:19 +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
Kargatum
3f875674d5 chore(Core/MIsc): added few helpers for chat commands (#6175) 2021-06-04 00:17:18 +02:00
UltraNix
62ae4b53e6 fix(Core/Spells): On autoshot interrupt send proper packet to cancel autoshot clientside. (#6169)
- Closes #5734
- Closes chromiecraft/chromiecraft#454
2021-06-03 16:30:26 +02:00
anguaive
d6c85d4664 fix(Core/Spell): Remove delay from Flare activation (#5933)
* fix(DB/spell): Remove delay from Flare activation

The activation of the Flare (spell id: 1543) AoE aura was delayed
until the projectile hit the ground, which takes 5 seconds. Apparently
this is not blizzlike and the area should be activated instantly
when casting the spell.

Closes #5908
Closes https://github.com/chromiecraft/chromiecraft/issues/650

* Remove unnecessary delete

* Move Flare spell fix to SpellMgr

* Fix indentation
2021-06-03 14:01:40 +02:00
Kitzunu
a75e34c793 feat(Core/Spell): AssertSpellInfo (#6115)
* feat(Core/Spell): AssertSpellInfo

(cherry picked from commit e52878b6b5)
(cherry picked from commit 8c44259fae)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>

* Update SpellMgr.h
2021-06-03 07:39:48 +02:00
Kitzunu
7152ddc82c refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 (#6113)
* refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457

(cherry picked from commit d6201e5dbb)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: SilverIce <slifeleaf@gmail.com>

* Update CellImpl.h

* w

* more more brackets

* ew

* fix build
2021-06-03 05:27:51 +02:00
Kitzunu
7cb967fb56 fix(DB/Spell): Furious Howl & Call of the Wild (#6047)
- Fix Furious Howl (Rank 1) from applying to party members
- Move Furious Howl & Call of the Wild to DB
2021-06-02 12:38:28 +02:00
Kargatum
1011594a6a chore(Core/AchievementMgr): add GetAchievement helper (#6121) 2021-06-01 18:48:14 +02:00