Commit Graph

2380 Commits

Author SHA1 Message Date
M'Dic
825db0f8c1 update (core): Knock Back Helpers (#12639)
Adds knock back helpers to the core for future core and module use.
2022-08-05 20:15:58 -04:00
UltraNix
e2c4c5a5dc fix(Core/Spells): Volley should suspend auto-shot. (#12596) 2022-08-05 21:07:03 -03:00
Angelo Venturini
1e77b9575f fix(Core/SAI): Unused parameters warnings (#12620) 2022-08-05 14:45:03 -03:00
天鹿
bd7ee56abe fix(Core/AI): correct Permit level for trigger flagged creatures (#12614)
partially picked from 1de89579c7
2022-08-05 13:33:17 -03:00
Nefertumm
c806c62c62 fix(Core/Spells): Crashfix (#12609) 2022-08-03 09:05:24 -03:00
UltraNix
572a680c16 fix(Core/Movement): Improvements to taxi flight movement generator: (#12347)
Changed multi-segment taxi paths to fly nearby flight masters along the way, not directly through them.
Taxi cost on multi-segment paths is now charged per segment when it is started.
Properly send taxi node status on login, as well as if the taxi master is out of range.
Apply reputation discount to all points in multi-segment paths.
Properly clean up list of taxi destinations upon arrival at final node.
Teleport players to the destination taxi node location instead of their current ground position.
Don't start a spline with just 1 point in FlightPathMovementGenerator
Source: TrinityCore.
2022-08-01 23:21:11 -03:00
UltraNix
a5346d7811 fix(Scripts/Spells): Fixed T3 6P Frostfire Regalia bonus not proccing. (#12585) 2022-08-01 18:09:01 -03:00
UltraNix
f13854cd5e fix(Core/SmartScripts): Fixed SMART_ACTION_START_FOLLOW not complet… (#12580)
…ing quests.
2022-08-01 17:53:03 -03:00
UltraNix
529eebb107 fix(Core/Services): Re-check all achievement criterias on faction cha… (#12582)
...nge.
2022-08-01 16:20:07 -03:00
Nefertumm
63f52ab751 fix(Core): Crashfix on loot roll (#12605) 2022-08-01 16:06:45 -03:00
Benjamin Jackson
fc2433cf9e fix(Scripts/Mail) Fix faction server mail rewards. (#12593)
* Create blackrock-drakes.sql

* Switch some things around.

* DELETE IT AGAIN
2022-07-31 09:43:40 -04:00
UltraNix
bba9b9ce79 fix(Core): Crashfix. (#12581) 2022-07-30 11:59:30 -03:00
AnchyDev
dcbf224392 feat(Core): Add OnGroupRollRewardItem hook. (#12538)
Added OnGroupRollRewardItem hook.
2022-07-26 21:08:41 -03:00
UltraNix
c19d6b74e9 fix(Core/Spells): Make sure that attacker is always in combat with it… (#12516)
fix(Core/Spells): Make sure that attacker is always in combat with its victim when dealing damage/generating threat done by spells.

Fixes #10801
2022-07-25 16:34:21 -03:00
UltraNix
7aea91fcb3 fix(Core/Spells): Lightning Shield should not proc off from self-cast… (#12501)
fix(Core/Spells): Lightning Shield should not proc off from self-casted items.

Fixes #12361
2022-07-25 16:09:39 -03:00
Skjalf
e3c7b52253 feat(Core/Creature): Implement SetRegeneratingPower() to disable powe… (#12535)
feat(Core/Creature): Implement SetRegeneratingPower() to disable power gains
2022-07-25 12:12:27 -03:00
Skjalf
cd3151df40 fix(Scripts/RuinsOfAhnQiraj): Implement Rajaxx waves (#12513) 2022-07-25 12:12:08 -03:00
UltraNix
d0f70b6cbf fix(DB/SAI): Fixed completing quest "Into The Realm of Shadows" (#12515) 2022-07-25 17:24:51 +07:00
ZhengPeiRu21
631686be7e fix(Core): Instance Reset Exploit Fix (#12459)
* fix(Core): Fix Instance Reset Exploit

* Whitespace fix

* Remove unnecessary include

* Check player instance save IDs when adding to map

* Only compare playerBind during login
2022-07-24 14:37:42 -03:00
UltraNix
5008e633e3 fix(Core/Spells): Elemental Mastery should only affect Lightning Bolt… (#12499)
* fix(Core/Spells): Elemental Mastery should only affect Lightning Bolt, Chain Lightning and Lava Burst.

Fixes #10903

* Update.
2022-07-24 14:33:05 -03:00
Synful-Syn
d2f126710f chore(Cleanup): Merge redundant if in Totem::Update() (#12423)
TotemUpdate-too-long
2022-07-24 14:29:13 -03:00
UltraNix
b81a14976c fix(Scripts/Spells): Glyph of Felguard. (#12497)
* fix(Scripts/Spells): Glyph of Felguard.

Fixes #12432

* Update.
2022-07-24 13:38:03 -03:00
UltraNix
b2c3bd06e9 fix(Core/Pets): Warlock should not be refunded with Soul Shard on log… (#12409)
fix(Core/Pets): Warlock should not be refunded with Soul Shard on logging out.

Fixes #12058
2022-07-24 13:16:24 -03:00
UltraNix
801e68b1dd fix(Core/Creatures): Added new AI function OnTeleportUnreacheablePlayer to teleport all unreachable players. (#12193)
* fix(Core/Creatures): Implemented CREATURE_FLAG_EXTRA_TELEPORT_UNREACHABLE_PLAYERS.

Fixed #11750

* Update.

* Update.

* Update.
2022-07-24 13:10:41 -03:00
Nefertumm
5b0896577f fix(Core): Crash on smart event: near players (#12479) 2022-07-24 13:06:36 -03:00
Nefertumm
f0777d1fd3 fix(Core/AI): validate stored targets (#12489)
Co-authored-by: Meji <meji46@users.noreply.github.com>
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>

Co-authored-by: Meji <meji46@users.noreply.github.com>
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-07-24 13:06:11 -03:00
UltraNix
0b0a142580 feat(Core/Entities): Enabled loading basic stats for players, pets an… (#12394)
* feat(Core/Entities): Enabled loading basic stats for players, pets and items from database as 32 bit integers.

Closes #12386
2022-07-23 12:12:07 -04:00
ZhengPeiRu21
2d4e93dc3e fix(Core): SMART_ACTION_SET_HOME_POS should accept a parameter (#12468) 2022-07-22 21:20:14 -04:00
UltraNix
1066bc76b1 fix(Core/Spells): Upon using charge warrior should start auto attacki… (#12408)
...ng the targeted enemy once you reach them.
2022-07-19 18:02:45 -03:00
Nefertumm
9b6da94510 fix(Core/AI): more AI factory checks (#12402)
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
Co-authored-by: Treeston <treeston@users.noreply.github.com>
Co-authored-by: Aokromes <aokromes@users.noreply.github.com>
2022-07-19 14:31:03 -03:00
IntelligentQuantum
6ac7dfa26f refactor(Core/SmartScripts): GetTargets returns ObjectList instead of ObjectList* (#11950) 2022-07-18 11:15:57 +02:00
IntelligentQuantum
cc52712ac1 refactor(Core/AI): factory functions cleanup (#11779) 2022-07-15 16:11:49 +02:00
ZhengPeiRu21
e548805017 fix(Core): Fix indexing in UpdatePlayerSetting (#12375)
* fix(Core): Fix indexing in UpdatePlayerSetting

* Fix integer signing
2022-07-13 16:46:14 -04:00
Skjalf
9920e01b2b feat(Core/Scripting): Add several UnitHooks (#12365) 2022-07-11 14:57:38 -03:00
Axel Cocat
aa89f6c3a6 feat(Core): add OnDisplayId hook (#12320) 2022-07-11 09:11:26 -03:00
acidmanifesto
4d888f9431 update (core): Clean Up SendGMText (#12317) 2022-07-10 19:27:56 -04:00
Maelthyr
2c7b274bc5 refactor(Core): Improve struct alignment and codestyle (#12335)
refactor(Core): improve struct alignment and codestyle
2022-07-10 14:19:11 -04:00
UltraNix
12a07ff91f fix(Core/Spells): Fixed LoS problems with hunter traps. (#12348)
* fix(Core/Spells): Fixed LoS problems with hunter traps.

Fixes #12332

* missing
2022-07-10 14:18:36 -04:00
ZhengPeiRu21
a6e8f060a5 feat(Core/Config): Configurable Water Breath Timer (#11945)
* feat(Core/Config): Configurable Water Breath Timer

* Config Formatting

Add missing linebreaks

* Use int instead of float for water breath timer

* Correctly get CONFIG_WATER_BREATH as Int instead of Float value

* Move CONFIG_WATER_BREATH_TIMER to WorldInt configs

* More logical WaterBreath configuration
2022-07-10 14:14:27 -04:00
UltraNix
f6ede1a503 fix(DB/ZulGurub): Hoodoo Piles should not melee atack their targets. (#12269)
Will of Hakkar is casted on pile looter.
Fixes #12186
2022-07-09 10:12:16 -04:00
UltraNix
346150c92a fix(Scripts/ZulGurub): Hakkar's Blood Siphon (#12196) 2022-07-09 11:05:09 -03:00
Skjalf
32ba21d029 feat(Core/Scripting): Implement OnAllowedForPlayerLootCheck() hook (#12316)
* feat(Core/Scripting): Implement OnAllowedForPlayerLootCheck() hook

* reverse logic
2022-07-09 00:10:04 -03:00
ZhengPeiRu21
e21011c223 fix(Core): Implement ACHIEVEMENT_CRITERIA_DATA_TYPE_S_ITEM_QUALITY (#12246)
* fix(Core): Implement ACHIEVEMENT_CRITERIA_DATA_TYPE_S_ITEM_QUALITY

* Missing DB values from TrinityCore

* Fix DELETE to include all added entries

* Fix AchievementCriteriaData validation

* Correctly check criteria data for receive item achievements
2022-07-07 12:45:50 -04:00
ZhengPeiRu21
2b6284d1c9 fix(Core): Fix Achievement Packets (#12255) 2022-07-07 12:45:08 -04:00
UltraNix
c3d8340e6b fix(Core/Gossips): Properly send packet with questgiver query handler. (#12290)
Fixes #12215
2022-07-06 09:05:45 -03:00
UltraNix
e6a6dceaee fix(Core/Combat): Removed UNIT_FLAG_IMMUNE_TO_PC when entering comb… (#12288)
fix(Core/Combat): Removed `UNIT_FLAG_IMMUNE_TO_PC` when entering combat with player.

Fixes #12211
Fixes #12214
Fixes #12219
Fixes #12212
2022-07-03 15:28:36 -04:00
UltraNix
65e02d9422 fix(Core/SmartScripts): Added option to override current running time… (#12298)
fix(Core/SmartScripts): Added option to override current running timed actionlist.

Fixes #12227
2022-07-03 11:22:25 -04:00
UltraNix
7b9a5a676b fix(Core/Spells): Smash Mammoth Trap should open Mammoth Calf's trap. (#12295)
Fixes #12225
2022-07-03 11:20:33 -04:00
UltraNix
0a71a46c50 fix(Core/Spells): Place Fake Fur should activate Caribou Trap. (#12297)
Fixes #12226
2022-07-03 10:35:51 -04:00
Skjalf
16f2983307 fix(Scripts/ZulGurub): Thekal improvements (#12238)
* fix(Scripts/ZulGurub): Thekal improvements

* Update boss_thekal.cpp
2022-07-02 13:37:56 -03:00