Commit Graph

1750 Commits

Author SHA1 Message Date
SoglaHash
0450420157 fix(Core/Weather): Wrong change type algorithm (#12729)
* fix(Core/Weather): Wrong change type algorithm

There's a rare bug that occurs where it starts raining in zones that
shouldn't

Closes https://github.com/azerothcore/azerothcore-wotlk/issues/12711#issuecomment-1214226996

* Update Weather.cpp
2022-08-25 11:57:54 -03:00
Angelo Venturini
119a2356a0 refactor(Scripts/RuinsOfAhnQiraj): Buru eggs (#12822) 2022-08-23 08:01:28 -03:00
Skjalf
ca9c19ffd4 feat(Core/GameObject): Add an overload to SummonGameObject() to accep… (#12821)
feat(Core/GameObject): Add an overload to SummonGameObject() to accept positions
2022-08-21 19:48:34 -03:00
Angelo Venturini
b78cbef511 fix(Core/RuinsOfAhnQiraj): Lash should not disarm (#12788)
* fix(Core/RuinsOfAhnQiraj): Lash should not disarm

* Update src/server/game/Spells/SpellInfoCorrections.cpp

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

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-08-21 10:57:48 -03:00
UltraNix
76f976fd80 fix(Core/Creatures): Implemented CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE extra flag. (#12802)
* fix(Scripts/AhnQiraj): Rajaxx wave mobs should not chain-aggro each other.

Fixed #12745

* Update.
2022-08-21 10:45:10 -03:00
M'Dic
02541165b4 fix(Misc/Log): Info to debug learn spell (#12774)
fix (logging): Info to Debug Learn Spell
2022-08-21 14:40:37 +02:00
M'Dic
8b9541873a feat(Core/ChatHandler/Conf): Flood Control Addon Messages (#12603)
* feat(Core/ChatHandler): Flood Control Addon Messages

Original Closed PR by @Kitzunu
https://github.com/azerothcore/azerothcore-wotlk/pull/11675

Cherrypicked TC:
cherry-pick commit (TrinityCore/TrinityCore@5384fc1)
cherry-pick commit (stoneharry/TrinityCore@a0629fc)

Co-Authored-By: stoneharry 3818405+stoneharry@users.noreply.github.com
Co-Authored-By: Shauren shauren.trinity@gmail.com
Co-Authored-By: stoneharry <3818405+stoneharry@users.noreply.github.com>
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* update: (pr): Review Response

* update: (core): Chathandler

No reason why this case should even exist. Previous or current.  This cast is under two sided interations which will always lead to you being in a group of some sorts. there is literally zero sense having a above or equal to level 80 if statement here.

* update (cleanup): Code Style

suggestion per @Nefertumm

Co-Authored-By: Angelo Venturini <nefertum.dev@protonmail.com>

Co-authored-by: stoneharry <3818405+stoneharry@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com>
2022-08-17 10:37:34 -04:00
Skjalf
3cfdc7e678 fix(Core/Loot): Unique items shouldn't be hidden indiscriminately (#12759) 2022-08-16 15:52:01 -03:00
Kargatum
c3f7c4371d feat(Core/BattlegroundQueue): remove queue in all group if player leave (#12731) 2022-08-16 13:21:55 -03:00
Angelo Venturini
cb887bbc22 fix(Core/TempleOfAhnQiraj): Ouro rewrite (#12683) 2022-08-15 17:51:20 -03:00
Maelthyr
d0d1671745 feat(Core/Debug): GetDebugInfo implementation (#12705)
Cherry-pick: 9a924fb9d5

Co-authored-by: jackpoz <giacomopoz@gmail.com>

Co-authored-by: jackpoz <giacomopoz@gmail.com>
2022-08-15 09:43:41 -03:00
Synful-Syn
b7b882367e fix(Core/Mage) Water Elemental wrongly ressurected at Spirit Healer (#12684) 2022-08-15 03:35:07 -03:00
Angelo Venturini
11c1867f05 fix(Core/Scripting): OnAuctionSuccessful on buyout (#12732)
fix(Core/Scripting): OnAuctionSuccessful
2022-08-14 10:17:16 -03:00
Skjalf
4952e6032f fix(Scripts/Misc): Lower Artorius damage treshold when he damages him… (#12695)
* fix(Scripts/Misc): Lower Artorius damage treshold when he damages himself & his dot shouldn't be affected by his enrage

* Update SpellInfoCorrections.cpp
2022-08-13 22:24:58 -03:00
M'Dic
5dd22f822d fix (core): Cast sub-expression to wider-type (#12430)
sub-expression may overflow before being added to a wider type.
Possible fix for a segmentation fault being reported in the chat.
2022-08-13 15:05:23 -04:00
M'Dic
5fe01e2d19 update (core): Additional anticheat helper (#12692)
update (core): Addition anticheat helper
2022-08-09 14:27:09 -04:00
Skjalf
e476533e6e chore(Core/GameObject): Clear an error that often doesn't mean anything (#12689)
* chore(Core/GameObject): Clear an error that often doesn't mean anything

* drop it to debug
2022-08-09 12:57:49 -03:00
UltraNix
1c6eab5856 fix(Core): Crashfix. (#12643) 2022-08-07 18:22:12 -03:00
UltraNix
2a0737b557 fix(Core/SmartScripts): Fixed SMART_TARGET_OWNER_OR_SUMMONER target. (#12644) 2022-08-07 14:00:00 -03:00
UltraNix
22494532ce fix(Core/Spells): Fixed Druid T3 8P bonus. (#12598) 2022-08-05 21:33:59 -03:00
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