Commit Graph

1205 Commits

Author SHA1 Message Date
Kargatum
fad214efe0 feat(Core/ScriptMgr): replace macro and cleanup (#9598) 2021-12-10 15:05:28 -03:00
Skjalf
2d55974c0c Revert "fix(Core/Spells): Forward core changes (#8841)" (#9631)
This reverts commit 85d2c39a48.
2021-12-10 15:31:48 +01:00
UltraNix
e5cbba1c4c fix(Core/Spells): Melee spells are not affected by cast haste modifiers. Source: TrinityCore. (#9501)
Fixes #5136
2021-12-10 01:21:49 -03:00
UltraNix
52d8e1b68a fix(Core/Spells): Channeled destination spells should not interrupt flag capturing. (#9472)
Fixes #9225
2021-12-09 23:45:01 -03:00
schell244
39355fa1ee fix(Core/Players): Update the player's zone and area only after update the player's position server-side (#9419) 2021-12-09 21:58:43 -03:00
acidmanifesto
85d2c39a48 fix(Core/Spells): Forward core changes (#8841) 2021-12-09 18:24:16 -03:00
UltraNix
0300cef119 fix(Core/Auras): Always process hover/waterwalking movement flags on aura removal. (#9416)
Fixes #9056
2021-12-09 18:06:53 -03:00
Kargatum
c8809f15c2 feat(Core/ScriptMgr): correct execute bool hooks (#9574) 2021-12-09 10:58:23 -03:00
UltraNix
52d4c43bcf fix(Core/Spells): Damage spell modifiers do not affect wands. (#9418)
Fixes #9130
2021-12-09 08:11:58 -03:00
Noxies
c95c29838b feat(Scripts/Commands): Item restoration command (#9538)
* Implement item restore command & move itemmove to new item cmd

* Implement LANG_COMMAND_DISABLED

* Prevent command usage if no config is set

* WIP: `.item restore list`

* Fix restore list & create base for restore item

* Send item to player via mail

* Put player as last argument

* Use Postmaster & fix restore list

* Show item name in restore list

* Update HandleItemMoveCommand to be using the api

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>

* Send item instantly if online
2021-12-08 23:57:15 -03:00
UltraNix
85abfafb2b fix(Core/Battlegrounds): Delay a little bit relocation of dead players. (#9302)
Fixes #8958
2021-12-08 18:10:26 -03:00
Malcrom
e8481791e0 fix(Core/Spell) Green Beam spells should only hit one target (#9593)
* fix(Core/Spell) Green Beam spells should only hit one target

* Update SpellMgr.cpp

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
2021-12-08 19:48:32 +01:00
acidmanifesto
fa1c2eca9d fix(Core/Player): Fix potential freeze on login after skipping cinematics (#9577)
Move to static_cast and matching it up with tc stops the error on console and first login characters from being frozen when skipping cinematics
2021-12-08 11:50:49 -03:00
IntelligentQuantum
caedaa8617 Core/ScriptMgr: Duplicate include (#9511) 2021-12-07 18:37:19 -08:00
Ollie Armitage
bb6b7f2fab fix(Core/Loot): Send Retrieval Mail for lost disenchant mats 2021-12-06 22:13:58 -03:00
IntelligentQuantum
1f645099b6 fix(Core/Spells): Steady Shot now deals the correct damage when using Heirloom Weapons. 2021-12-06 21:54:52 -03:00
acidmanifesto
1b5c4d82db fix(Core\Logging): Capitalization 2021-12-06 19:39:04 -03:00
UltraNix
90451c1d3f fix(Core/Movement): Unroot should remove MOVEMENTFLAG_FALLING if not really falling (#9428)
- Closes #9187
2021-12-06 20:56:40 +01:00
UltraNix
d0167d0d6d fix(Core/Corpses): Reset corpse location data if player already resurrected in different dungeon map. (#9429)
Fixes #9210
2021-12-06 14:48:46 -03:00
Kargatum
18d5482415 fix(Core/Chat): correct logic for using guild officer chat (#9535) 2021-12-06 12:29:20 -03:00
Kitzunu
6b6e90d43d feat(Script/Misc): Implement missing FactoryGameObjectScript (#9388) 2021-12-05 07:14:15 -03:00
Kargatum
846487acaa fix(Core/ScriptMgr): Cleanup few scripts (#9497) 2021-12-04 17:33:02 -03:00
Kargatum
0b507d531d refactor(Scripts/Commands): convert cs_modify to new system (#9474) 2021-12-04 11:56:47 -03:00
Kargatum
aa872743e7 fix(Core/ScriptMgr): correct condition for AreaTrigger (#9491)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-12-04 21:39:54 +07:00
acidmanifesto
1500453f59 feat(Core\Player): Added createplayerinfo_cast_spell support cast spell for some class spells (#9448) 2021-12-03 18:33:21 -03:00
55Honey
e094b6f90c chore(Core/Warden): comment auto ban from TIMING_CHECK_FAIL (#9470) 2021-12-02 19:26:10 -03:00
Noxies
09a087aed8 fix(Core/LFG): Prevent leaving LFG if in combat (#9466) 2021-12-02 13:01:22 -03:00
Kargatum
51adbffae4 feat(Core/Modules): add separated lib for modules (#9281) 2021-12-02 20:28:58 +07:00
UltraNix
8668a03e14 fix(Core/DungeonFinder): Dead players should be able to get XP reward from random dungeon. (#9319)
Fixes #9082
2021-12-01 07:04:41 -03:00
UltraNix
fc4b5a93a0 fix(Core/Quests): Do not save queststatus for autocomplete quests . S… (#9425)
* fix(Core/Quests): Do not save queststatus for autocomplete quests . Source: TrinityCore.

Fixes #9150
2021-11-30 21:05:06 -03:00
Kitzunu
f9337497d8 chore(Core/Auras): Clean up Aura::CanBeSaved() (#9343) 2021-11-30 13:03:04 -03:00
UltraNix
8d579b54ea fix(Core/Pets): Master Demonologist should not be removed on pet resummon. (#9317)
Fixes #8994
2021-11-30 07:03:04 -03:00
Kitzunu
201fb580a4 fix(Core/Auras): Set proper displayId for mounts that changes dependi… (#9342)
* fix(Core/Auras): Set proper displayId for mounts that changes depending on your Riding skill and location with more than one modelId

* cherry-pick commit (a5b8e167dd)

Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com>

* codestyle

Co-authored-by: Gildor <521036+Jildor@users.noreply.github.com>
2021-11-29 20:57:38 -03:00
UltraNix
c36168c604 fix(Core/Spells): Fixed calculating damage/healing pct auras on aura refresh. (#9316)
Fixes #8962
2021-11-29 20:36:48 -03:00
UltraNix
5d544f6001 fix(Core/Spells) T9 2p Hunter bonus vs Mortal Shots. (#9246)
Fixed getting bonus damage from critical strikes for melee/ranged DoT spells.
Fixes #8859
2021-11-29 13:46:49 -03:00
IntelligentQuantum
683b7ae1e2 fix(Core/Entities): add missing nul pointer checks in HandleProcTrigger Spell (#9303) 2021-11-29 13:20:40 -03:00
UltraNix
0b551a055c fix(Scripts/Spells): Mind Control should put both caster and target in combat. (#9301)
Fixes #8938
2021-11-29 12:09:39 -03:00
IntelligentQuantum
0632f3baff fix(Core/CharacterHandler): Reputation + Map Explore AT_FIRST_LOGIN (#9252) 2021-11-29 00:23:25 +01:00
IntelligentQuantum
ab761c9865 fix(Core/Player): prevent crash exploit spam duel starting (#9226) 2021-11-28 16:42:53 -03:00
UltraNix
d667906040 fix(Core/Spells): Increased Arcane Bolt effect radius to 40 yards. (#9217)
Fixes #8930
2021-11-28 05:29:53 -03:00
patou01
801a20fce2 refactor(Core): Clean-up after FD (#8586) 2021-11-28 03:04:14 -03:00
Skjalf
849839c688 chore(Core/Instances): Move the objectdata loading log from error to debug level (#9382) 2021-11-27 07:56:10 -03:00
Andrius Peleckas
36fc50e1a8 fix(Core/Formations): fixed possible finite loop related to GROUP_AI_FLAG_EVADE_TOGETHER (#9279) 2021-11-25 23:46:12 -03:00
UltraNix
4942012db9 fix(Core/Loot): Always interrupt any spell casting while looting corpse. (#9160)
Fixes #8860
2021-11-25 23:24:43 -03:00
patou01
44de147a9b fix(Core/Loot) remove stealth/feign death on loot (#8982)
* remove a few auras on loot

* remove mount, doesn't work

* removed unnecessary check. Changed to vector

* exception for pickpocketing

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

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

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

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

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

* not as elegant yadi yada but it seems to work

* extra comment

* stealth doesn't remove on containers and enchant anymore, but should it?

* moved a few lines to the right place

* remove disenchant and prospect from not breaking stealth

* typo

* comments

Co-authored-by: Kargatum <dowlandtop@yandex.com>
2021-11-25 20:38:54 +01:00
Kitzunu
bf05bd3c88 refactor(Core/BattlegroundSA): Convert to std::chrono (#8499) 2021-11-25 14:24:43 -03:00
acidmanifesto
29f49108a5 chore(Core): Remove unnecessary slang Cosmetic (#9325)
* Remove unnecessary slang

Removes ZOMG! that is used in the src in logging and notes. Completely Unnecessary. Contributes to nothing useful. Inflates source. Not needed at all in any shape or form. Not Developer Lingo either.

* Further Clean Up

Removed Profanity

* sensible grammar correction

* More ZOMG! removal
2021-11-25 04:31:54 -03:00
UltraNix
140374e3e0 fix(Core): Fixed dead loop. (#9312) 2021-11-24 10:27:10 -03:00
Skjalf
bf666becd9 fix(Core/Creature): prevent useless grid searches (#9307) 2021-11-24 12:02:46 +01:00
Petric
11373cd78a fix(Core/Shutdown): add checks to see if MapUpdater threads are joineable (#7450) 2021-11-24 11:41:49 +01:00