Commit Graph

769 Commits

Author SHA1 Message Date
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
Kargatum
d398c34c61 chore(Core/Common): delete macro UNUSED (#6119) 2021-06-01 17:22:29 +02:00
Azcobu
1889fffbde fix(Core/Spell): Apply AURA_STATE_FAERIE_FIRE to Faerie Fire (#6105)
Adds missing anti-stealth aura to Faerie Fire variant with spell ID 20656.
2021-06-01 15:03:36 +02:00
Kitzunu
b00ac48cfa feat(Core/Script): Allow spell script ValidateSpellInfo to work with any container type (#6078)
* Cherry-pick f2f0aeb562
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-06-01 13:55:51 +02:00
Kitzunu
ca27ce5e37 fix(Script/Command): Build (#6159)
* fix(Script/Command): Build

* codestyle ci is weird

* Update MovementHandler.cpp

* Update cs_server.cpp

* Update cs_server.cpp
2021-05-31 16:51:34 +02:00
Kitzunu
897a02bb75 refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
Kargatum
e3c1e739c6 feat(CI/Codestyle): add check core logs (#6012) 2021-05-31 11:03:00 +02:00
v.tihomirov
793b915907 fix(Core/Unit): Prevent Unit emote when entering combat (#6030) 2021-05-31 09:59:25 +02:00
Kitzunu
ae665f7ec3 feat(Core/Command): server debug (#6007)
* initial work

* fix query

* load

* clean up

* remove from startup

* ACE

* remove static

* Update MySQLThreading.cpp

* not used

* Update MySQLThreading.cpp

* unit testing

* Update WorldMock.h

* show Boost ver

* Update WorldMock.h

* include

* Now we have boost::filesystem woo

* fix build

* fix typo
2021-05-30 21:12:01 +02:00
UltraNix
107658ebbc fix(Core/Spells): triggering potion cooldowns (from TC) (#6016) 2021-05-30 11:53:16 +02:00
Axel Cocat
a355b4d27c fix(Core): fix instance portal not resurrecting when corpse is not spawned (#6106) 2021-05-29 15:37:34 +02:00
Kitzunu
b846179986 refactor(Core/Spell): Change "Attribute &" to HasAttribute() (#5991) 2021-05-29 11:56:19 +02:00
Kitzunu
f1b43a8976 fix(Core/Player): Weapon skill gain (#5961) 2021-05-28 00:49:24 +02:00
Kargatum
d8911d816f feat(Core/PacketIO): correct parsing some opcodes (#6051) 2021-05-28 00:34:54 +02:00
Chero
2ae84e2faf fix(Core/Creature): Creatures will periodically call for assistance. (#5065) 2021-05-27 13:42:48 +02:00
Kargatum
ea5f5f2072 feat(Core/RealmList): port TrinityCore realm api (#5626)
* feat(Core/RealmList): port TrinityCore realm api

* 1

* whitespace cleanup

* Update data/sql/updates/pending_db_auth/rev_1620114805872279900.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* 1

* 2

* Update data/sql/updates/pending_db_auth/rev_1620114805872279900.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* `

* 1

* small corrects

* finish maybe

* realm.Id.Realm

* ws

* 1

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-05-27 00:12:46 +02:00
Kargatum
78e1719c80 feat(Core/Misc): includes cleanup (#5953) 2021-05-26 19:00:08 +07:00
Francesco Borzì
3716ddf3e4 fix(Core/WorldSession): prevent crash in SendPacket (#6045) 2021-05-25 18:05:13 +02:00
Kitzunu
6ac7c559c5 refactor(Core/Creature): Split creature.h (#5974) 2021-05-25 16:25:42 +02:00
robinsch
a75b84ab2e fix(Core): CFBG achievements (#5900) 2021-05-22 15:14:29 +02:00
Kargatum
63a273507c feat(Core/Packets): Port packet handling from TrinityCore (#5617)
* feat(Core/Packets): Port packet handling from TrinityCore

* 1

* 2

* 3

* 1

* 2

* #3670

* 3

* 1

* codestyle

* fix msvc warnings
2021-05-22 00:10:46 +02:00
Maxpro
3f6da61535 fix(Core/Unit): criticals not working against sitting players. (#5872) 2021-05-21 16:35:08 +02:00
Francesco Borzì
aab32e5f30 feat(TOTP): use feature toggle via authserver.conf (#5978)
* Revert "Revert "feat(Core/Auth): add AccountInfo helper (#5640)" (#5971)"

This reverts commit fe6db2ff96.

* feat(TOTP): use feature toggle via authserver.conf

* chore(wip): wip

* Update src/server/authserver/authserver.conf.dist

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-05-21 09:56:52 +02:00
Kitzunu
fe6db2ff96 Revert "feat(Core/Auth): add AccountInfo helper (#5640)" (#5971)
This reverts commit e50754d804.
2021-05-20 23:23:50 +02:00
Kargatum
e50754d804 feat(Core/Auth): add AccountInfo helper (#5640) 2021-05-20 10:16:50 +02:00
Kargatum
ea2e606b13 feat(Core/Logging): improve DB logging (#5437) 2021-05-17 01:49:18 +02:00
Necropola
f239908840 fix(Core/Loot): make Loot::AddItem() honor LootItem::AllowedForPlayer() (#5774)
Original Author: @Wyrserth
2021-05-17 00:15:51 +02:00
Kargatum
13f71c9c4d feat(Core/Random): port random system from TrinityCore (#5454)
* feat(Core/Random): port random system from TrinityCore

* lic

* logic correct

* MultimapErasePair move

* whitespace

17:13:34 1. 'Containers.h'. Replace (1)
17:13:40 2. 'LootMgr.h'. Replace (1)
17:13:44 3. 'World.cpp'. Replace (1)
17:13:47 4. 'instance_scholomance.cpp'. Replace (1)

* correct debug build
2021-05-16 21:53:21 +02:00
UltraNix
0d699222de fix(Core/Gameobjects):bloading addon table. (#5885)
Fixed #5771.
2021-05-16 11:58:38 +02:00
Francesco Borzì
fd801c9310 feat(Core/BG): revamp Battleground.QueueAnnouncer.Limit (#5267) 2021-05-15 17:42:20 +02:00