Commit Graph

2141 Commits

Author SHA1 Message Date
ZhengPeiRu21
5af67b384b feat: Add CanPlaceAuctionBid hook (#15154)
* feat: Add CanPlaceAuctionBid hook

* Codestyle fix
2023-04-17 21:06:04 -03:00
M'Dic
8aa2a2ac0f chore (core): Clean up (#15977)
* chore (core): Clean up

* Update SmartScript.cpp

* more clean up

* Update boss_xt002.cpp
2023-04-16 21:04:56 -04:00
Skjalf
f3c63f9662 feat(Core/SAI): Implement SMART_ACTION_SET_GUID (#15978)
* feat(Core/SAI): Implement SMART_ACTION_SET_GUID

* Update SmartScript.cpp

* Update src/server/game/AI/SmartScripts/SmartScriptMgr.h

* Update SmartScript.cpp
2023-04-16 21:00:44 -03:00
Skjalf
8fa0953671 feat(Core/Creature): Implement CREATURE_FLAG_EXTRA_DONT_OVERRIDE_ENTR… (#15976)
feat(Core/Creature): Implement CREATURE_FLAG_EXTRA_DONT_OVERRIDE_ENTRY_SAI
2023-04-16 19:45:09 -03:00
Gultask
aaa548df0b Revert "fix(Core/SAI): Set minions in combat with their master's vict… (#15967)
Revert "fix(Core/SAI): Set minions in combat with their master's victim (#14959)"

This reverts commit 1e17eaae0b.
2023-04-15 19:49:03 -03:00
Gultask
fd6941de7c fix(Core/SmartAI): Prevent MOVE_TO_POS from creating large distances between target (#15899)
Update SmartScript.cpp
2023-04-09 23:44:52 -03:00
Skjalf
78384368ba fix(Scripts/Steamvault): Rework Mekgineer Steamrigger (#15896) 2023-04-09 16:26:35 -03:00
Skjalf
d47e93830f feat(Core/Scripts): Allow scheduling multiple hp checks at once for i… (#15897)
feat(Core/Scripts): Allow scheduling multiple hp checks at once for identical phases
2023-04-09 15:37:04 -03:00
Skjalf
a695d00932 fix(Scripts/Steamvault): Rework Kalithresh (#15883) 2023-04-08 21:56:09 -03:00
Gultask
d851e79a90 fix(DB/ShadowLab): Re-Construct Shadow Labyrinth (#15635)
* Create rev_1679869717906181100.sql

* Update rev_1679869717906181100.sql

* Update rev_1679869717906181100.sql

* Update rev_1679869717906181100.sql

* Update rev_1679869717906181100.sql

* WIP

* build

* more random spawns

* reorganize spawns to be more readable

* equip_id

* All scripted up to Murmur

* Murmur RP

* avoid many reschedulings

* Missing heroic ritualists

* Update rev_1679869717906181100.sql

* leftovers

* variables
2023-04-05 23:52:52 -03:00
Kitzunu
5a55cb9522 fix(Core/Spell): Remove channeled auras when caster and target are no… (#15419)
fix(Core/Spell): Remove channeled auras when caster and target are not on the same map

* Chery-pick commit (d23c839998)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-04-02 15:36:13 -03:00
UltraNix
b42075f849 fix(Core/SmartScripts): Fixed SMART_EVENT_FRIENDLY_HEALTH_PCT event. (#15579)
Fixes #15515
2023-04-02 15:34:01 -03:00
Kitzunu
e91d62dce6 fix(Core/Players): Added error message for death knights attempting to lea… (#15420)
Core/Players: Added error message for death knights attempting to leave their starting zone early

* cherry-pick commit (2dc1b69a70)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-04-02 15:32:47 -03:00
Kitzunu
29d79e080f fix(Core/Guilds): Improve HandleRoster performance (#15421)
* cherry-pick commit ee6bbd68bd

* takes call time from ~400 microseconds to ~260 microseconds on my machine in a guild with 900 members

Co-authored-by: ihm-tswow <76849026+ihm-tswow@users.noreply.github.com>
2023-04-02 15:32:25 -03:00
Kitzunu
f80fb9b482 fix(Core/World): Remove artificially high minimal update intervals an… (#15422)
fix(Core/World): Remove artificially high minimal update intervals and Allow specifying minimum world updates diff in config

* Allow specifying minimum world updates diff in config
* Remove artificially high minimal update intervals

* cherry-pick commit (29a4153f00)
* cherry-pick commit (de4920de81)
* cherry-pick commit (32cef906b0)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2023-04-02 15:31:50 -03:00
Kitzunu
511c1918bd fix(Core/Item): Fixed incorrect damage mod for Heirloom 2H weapons (#15443)
* cherry-pick commit (13fa60ab86)

Co-authored-by: robinsch <robinsch@users.noreply.github.com>
2023-04-02 15:30:47 -03:00
Kitzunu
a0c51a45fb fix(Core/Player): Send player's own auras before all visible objects (#15445)
* fix(Core/Player): Send player's own auras before all visible objects

* cherry-pick commit (c6cd272505)

Co-Authored-By: Mikhail Redko <13364438+r4d1sh@users.noreply.github.com>

* Update Map.cpp

* Update src/server/game/Entities/Player/Player.cpp

* Update src/server/game/Entities/Player/Player.cpp

* Update src/server/game/Maps/Map.cpp

---------

Co-authored-by: Mikhail Redko <13364438+r4d1sh@users.noreply.github.com>
2023-04-02 15:30:26 -03:00
UltraNix
a72f5f97e6 fix(Core/Spells): Implemented ENCHANT_PROC_ATTR_EXCLUSIVE. (#15476)
Fixes #12132
2023-04-02 15:28:23 -03:00
UltraNix
d029ffe3ab fix(Core/Spells): Fixed Battlegear of Eternal Justice set bonus. (#15593)
Fixes #14696
2023-04-02 15:28:03 -03:00
UltraNix
1acbb9ee53 fix(Core/Spells): Fixed Spiritual Attunement not working with partial… (#15767)
fix(Core/Spells): Fixed Spiritual Attunement not working with partial overheals.

Fixes #14430
2023-04-02 10:13:16 -03:00
Axel Cocat
d028a6253a fix(Core/Pet): fix Pet::resetTalentsForAllPetsOf for stabled pets (#15779) 2023-04-02 14:48:03 +02:00
Kitzunu
933b3e1fdd fix(Core/Groups): Implement MSG_RAID_READY_CHECK_FINISHED (#15442)
* cherry-pick commit (c8f7dd13b8)

Co-authored-by: robinsch <robinsch@users.noreply.github.com>
2023-03-31 10:43:49 +02:00
M'Dic
f10928fa5c fix (core) : Violating Flag correction (#15648) 2023-03-30 06:24:23 -03:00
UltraNix
d4f8134b3b fix(Core/Spells): Lightning Overload should not proc off from itself. (#15595)
Fixes #15499
2023-03-29 01:28:00 -03:00
UltraNix
7035e87543 fix(Core/Spells): Shadow Word: Death vs critters. (#15594)
Fixes #14299
2023-03-29 01:27:17 -03:00
UltraNix
1160f3bda9 fix(Core/Spells): Turn the Tables can stack with itself. (#15597)
Fixes #13911
2023-03-29 00:28:56 -03:00
Axel Cocat
357a2a33ce feat(Core/ChatHandler): ignore chat level requirement when whispering self (#15564)
feat(Core/ChatHandler): ignore chat level requirement when whispering self
2023-03-25 00:14:38 +01:00
UltraNix
a90c3c387d fix(Core/Spells): Seed of Corruption cannot be reflected. (#15473)
* fix(Core/Spells): Seed of Corruption cannot be reflected.

Fixes #15458

* Update.
2023-03-24 06:25:12 -03:00
Gultask
9e6dcb9e08 chore(Core/Players): Fix typo (#15552)
Update Player.cpp
2023-03-24 06:23:29 -03:00
Axel Cocat
5e9b88a9a9 feat(Core/Mail): call CanSendMail() when returning to sender (#15553) 2023-03-23 18:56:48 -03:00
UltraNix
61652c20c1 fix(Core/Players): Set environmental lava damage timer to 2.02 sec. (#15475)
Fixes #12170
2023-03-23 08:06:57 -03:00
avarishd
2bdf5467b4 fix(Core/SAI): Remove duplicated GO_STATE (#15530)
* fix(Core/SmartScripts): Remove duplicated GO_STATE

* comment in/out some stuff
2023-03-23 08:05:28 -03:00
M'Dic
826ac63af3 revert (core): Dismount helper (#15544)
* Revert "add (core): Dismount Helper (#15511)"

This reverts commit 1d5092d37f.

* Revert "add (core): Dismount Helper (#15511)"

This reverts commit 1d5092d37f.
2023-03-22 12:02:11 -04:00
avarishd
2e4d19a42f fix(Core/Spells): Add more exceptions to Aura of Despair. (#15231)
* fix(Core/Spells): Add more exceptions to Aura of Despair.

* Remove mana shield, works on Animus aoe...

Probably needs more work to proc only on searing flames, and not on profound darkness.
2023-03-21 18:32:39 -03:00
UltraNix
ed31c22cc5 fix(Core/Gossip): Do not close gossip on target deselection. (#15457)
Fixes #12399
2023-03-21 18:30:43 -03:00
UltraNix
2396638a70 fix(Core): Crashfix. (#15448) 2023-03-21 12:45:47 -03:00
M'Dic
1d5092d37f add (core): Dismount Helper (#15511) 2023-03-20 13:26:16 -04:00
Skjalf
1a562948a6 fix(Core/Object): Permanently invisible creatures should be able to e… (#15498) 2023-03-20 13:16:58 -03:00
UltraNix
a8b8199acb fix(Core/Grids): Creatures should attack when loaded into grid. (#15453)
* fix(Core/Grids): Creatures should attack when loaded into grid.

Fixes #14645

* Update.
2023-03-20 10:45:41 -03:00
Kitzunu
465c5b12e4 fix(Core/Arena): Fix lag caused by arena distribution (#15444)
* cherry-pick commit (3f3dee8049)

Co-authored-by: ibakula <10998369+ibakula@users.noreply.github.com>
Co-authored-by: Gildor <521036+Jildor@users.noreply.github.com>
2023-03-18 09:50:45 +01:00
avarishd
7f7ec62a0a fix(Core/Spells): Healing Salve having cast time. (#15329) 2023-03-17 17:38:54 +01:00
Pedro Antonio
307d09877a fix(Core/Battlefield): Wintergrasp Workshops SW/SE (#14104)
* Now only SW and SE are owned by Attacker, the rest are for Defender team

Co-authored-by: M'Dic <joshua.lee.betts@gmail.com>
2023-03-17 15:26:54 +01:00
Kitzunu
0f2f86171a fix(Core/Mail): Reorder mail attachment checks (#15418)
* The check never hits as CanBeTraded() checks for empty bag too and we need to check it before as it uses a different error

* Cherry-pick : 9658d15b0c

Co-authored-by: Anton Popovichenko <walkline.ua@gmail.com>
2023-03-17 15:15:58 +01:00
Kitzunu
422db05290 fix(Core/Spell): Removed gathering failure chance from herbalism and … (#15423)
fix(Core/Spell): Removed gathering failure chance from herbalism and mining nodes

* cherry-pick commit (052dfe27fc)

Co-authored-by: Tony Konzel <saxxonpike@gmail.com>
2023-03-17 10:24:36 +01:00
Kitzunu
fd2fcc1275 fix(Core/Achievements): Add log for missing achievement (#15425)
* fix(Core/Achievements): Add log for missing achievement

* cherry-pick commit (af5bd270c3)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-03-17 10:24:15 +01:00
Kitzunu
8b27d9c464 fix(Core/PacketIO): Require valid WorldSession for CMSG_KEEP_ALIVE (#15426)
* cherry-pick commit (de4340af37)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-03-17 10:23:29 +01:00
UltraNix
8e27906634 fix(Core/Spells): Do not remove item casted auras on respec. (#15350) 2023-03-16 18:35:15 -03:00
avarishd
aa3e2e052a fix(Core/Spells): Draenei Call of Air 4/4 Susurrus buff duration. (#15255) 2023-03-16 19:02:31 +01:00
Pedro Antonio
175c961c54 fix(Core/BattlefieldWG): Workshops/Graveyard not changing to neutral (#14002) 2023-03-16 18:51:59 +01:00
Skjalf
40ff0c607e fix(Scripts/IcecrownCitadel): Fix ICC buff not being reapplied after … (#15407) 2023-03-16 05:20:25 -03:00