Commit Graph

259 Commits

Author SHA1 Message Date
M'Dic 7e58650cf5 revert(Core): ChrRace.dbc full implementation (#16114)
* revert (core): ChrRace.dbc full implementation

we revert this due to several issues arrising. Although the dbc reading is done in full and correctly. Azerothcore relied on the original handling (althought not propper) for so long that  there is

* revert

* Update remove_charrace_dbc.sql

* Update remove_charrace_dbc.sql

* Update remove_charrace_dbc.sql
2023-04-29 08:23:11 -03:00
M'Dic 3eae4c5713 fix(core/dbc): improve ChrRace DBC handling (#14843)
Cherry pick of https://github.com/TrinityCore/TrinityCore/pull/24508

Co-authored-by: HelloKitty <5829095+HelloKitty@users.noreply.github.com>
2023-04-28 01:29:33 +02:00
UltraNix 790417b1b1 fix(Core/Spells): Fixed somed Druid idols not being modified by spell… (#15452)
fix(Core/Spells): Fixed somed Druid idols not being modified by spell power coefficients.

Fixes #14479
2023-04-22 10:08:01 -03:00
天鹿 d75bcf0f67 chore(core): Cleanup code (#16012)
* Update SmartScript.cpp

* Update M2Stores.cpp

* Update PetHandler.cpp

* Update WaypointMovementGenerator.cpp

* Update WorldSession.cpp

* Update spell_item.cpp

* Update LoginDatabase.cpp
2023-04-19 21:34:48 -03:00
Skjalf 5dcea531b5 fix(Scripts/ShadowLabyrinth): Update Murmur script (#15970)
Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
2023-04-17 00:19:12 -03:00
Timothy Vaccarelli a8a3011278 fix(Script/Spell): Fix animal blood pool effect and position (#15918)
Adapted from TC Commits 3ddc6e70df0401a0677bef536e6b0e46e3dbf9e9 and cc3293c0023b36434747190103a1f0ffee0f8488

Co-authored-by: sirikfoll <sirikfoll@hotmail.com>
Co-authored-by: Rushor <rushor@github.com>
2023-04-12 08:07:00 -03:00
avarishd 55b9c2479d fix(Spells/Scripts): Raise Ally improvements. (#15545)
* fix(Scripts/Spells): Raise Ally improvements.

Co-Authored-By: GMKyle <25353073+GMKyle@users.noreply.github.com>

* update

* Update pet_dk.cpp

* Update spell_dk.cpp

---------

Co-authored-by: GMKyle <25353073+GMKyle@users.noreply.github.com>
2023-04-09 15:55:35 -03:00
avarishd 971e2f538e fix(DB/SAI): Outland Basilisks. (#15578)
* fix(DB/SAI): Outland Basilisks.

* update

* update

* sniff for 20283 (Marshrock Stomper)

Co-Authored-By: Gultask <100873791+Gultask@users.noreply.github.com>

---------

Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
2023-04-09 15:54:53 -03:00
Kitzunu 35195a6eef refactor(Scripts/Item): Make Goblin Weather Machiene script more read… (#15467)
* refactor(Scripts/Item): Make Goblin Weather Machiene script more readable

* need to validate spells ofc

* initialize the var to make ci happy
2023-03-22 06:06:32 -03:00
UltraNix b2f209fb93 fix(Scripts/Spells): Bladestorm vs Sweeping Strikes. (#15472)
Fixes #15464
2023-03-20 16:39:45 -03:00
Gultask ce40ed6278 fix(Core/Spells): Improve Feign Death scripts (#15496)
init

Co-authored-by: offl <11556157+offl@users.noreply.github.com>
2023-03-20 02:49:01 -03:00
UltraNix a375e713f9 fix(Core/Spells): Casting Basaic Campfire should give cooking skill. (#15194) 2023-03-13 08:18:00 -03:00
Tereneckla 88d31a1a71 fix (Core/Spells) Correct Life Tap mana gain and cleanup (#15278) 2023-03-11 19:28:12 -03:00
UltraNix 479c965c4e fix(Scripts/Spells): Fixed Rogue T10 4P bonus. (#15336) 2023-03-11 16:58:44 -03:00
Kitzunu bd6034e1a9 refactor(Core/AI): Some more refactoring prep for Comat Threat system… (#15026)
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
2023-02-13 21:39:40 +01:00
Skjalf 35e993edc7 fix(Scripts/Spells): Prevent Omen of Clarity from procing from crafti… (#14910) 2023-02-13 00:57:53 +01:00
Kitzunu f039836a2f chore(Core/Misc): Change all TODO to doxygen comment (#14966) 2023-02-12 10:05:34 -03:00
Skjalf 2aeeee9c83 fix(Core/Spells): Remove all hardcoded restrictions for pick pocket sp… (#14788)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-01-29 12:12:21 -03:00
UltraNix 9b59f35cb8 fix(Core/Spells): Fixed Master of Elements not refunding mana. (#14665) 2023-01-28 10:59:25 +01:00
M'Dic 437d93926f fix (core): macos12 depreciation workflow error / security CWE-120 (#14746)
* fix (core): macos12 depreciation workflow error

Fix workflow error message:
azerothcore-wotlk/src/common/Utilities/Util.cpp:558:9: fatal error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        sprintf(buffer, "%02X", bytes[i]);

* Update BattlegroundAV.cpp

* more macos12 fixit

* Update spell_generic.cpp
2023-01-23 06:13:27 -05:00
Kitzunu 97a01b430d fix(Script/Item): Elixir of Shadows for pets (#14514)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/13067
2023-01-07 23:08:19 +01:00
Kitzunu 7b774c8141 fix(Core/Spell): Roll 'dem Bones (#14522)
* fix(Core/Spell): Roll 'dem Bones

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/14357

* Partial cp of https://github.com/TrinityCore/TrinityCore/commit/029527365f1763c45e8668c16ecd25ba7553bb22

Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com>

* newline pleb

Co-authored-by: joschiwald <736792+joschiwald@users.noreply.github.com>
2023-01-07 20:05:42 +01:00
Gultask 6b4ef50e7a Revert "fix(Core/Spells): Ignite and Revitalize should not prelong co… (#14513)
Revert "fix(Core/Spells): Ignite and Revitalize should not prelong combat. (#13812)"

This reverts commit 96fa9c5c7b.
2023-01-05 23:14:56 -03:00
UltraNix 96fa9c5c7b fix(Core/Spells): Ignite and Revitalize should not prelong combat. (#13812)
Fixes #13330
2023-01-06 00:50:53 +01:00
UltraNix 44c1d9898c fix(Scripts/Spells): Omen of Clarity should not proc from Revitalize. (#13867) 2023-01-02 20:59:02 +01:00
Kitzunu 4870b14b1f refactor(Core/Object): getLevel() -> GetLevel() (#14122)
* refactor(Core/Object): getLevel() -> GetLevel()

* fix build and sneak some doxygen in

* codeSTLE

* codestyle
2022-12-31 17:39:23 +01:00
UltraNix 4860989242 fix(Scripts/Spells): Fixed level requirements for Blade Ward and Bloo… (#14107)
fix(Scripts/Spells): Fixed level requirements for Blade Ward and Blood Draining enchants.

Fixed Blood Draining proc.
Fixes #12131
2022-12-12 13:57:03 +01:00
Angelo Venturini 72b446fb12 fix(Core/Scripts): Bloodscale Enchantress/Rajis Fyashe freezing circle (#13963)
Co-authored-by: Eridium <killyana@users.noreply.github.com>
Co-authored-by: Lucas Nascimento <keader.android@gmail.com>

Co-authored-by: Eridium <killyana@users.noreply.github.com>
Co-authored-by: Lucas Nascimento <keader.android@gmail.com>
2022-12-11 11:35:08 -03:00
Angelo Venturini 9c16f56ccb fix(Core/Scripts): Master of elements odd crash (#13849) 2022-11-21 16:52:08 -03:00
UltraNix ae84bf67c4 fix(Core/Spells): Fixed Glyph of Kilrogg. (#13802)
Fixes #13623
2022-11-16 01:26:05 -03:00
UltraNix a490a9ac31 fix(Scripts/Items): Green Whelp Armor affects only enemies level 50 a… (#13800)
...nd below.
2022-11-16 01:25:32 -03:00
UltraNix 9e89917fd7 fix(Core): Crashfix. (#13484)
Fixes #13329
Fixes #13145
2022-11-01 06:21:30 -03:00
UltraNix 4ac437419f fix(Core/Units): Fixed uninitialized m_cleanDamage variable after e390087 (#13485)
fix(Core/Units): Fixed uninitialized `m_cleanDamage` variable after e390087.

Improved 252755415c
2022-10-29 07:16:26 -03:00
Angelo Venturini 252755415c fix(Core/Spells): Overflow damage (#13424) 2022-10-15 19:42:25 -03:00
UltraNix e390087efd feat(Core/Items): Implemented elemental weapon damage. Source: Trinit… (#13050)
...yCore.
2022-10-08 14:34:52 -03:00
Angelo Venturini ad4ce0895f fix: Qaston revert (#13320)
* Revert "fix(Core/QAston): fixed shields oneshotting (#13271)"

This reverts commit e05f61d1b3.

* Revert "fix(Core): Crash (#13292)"

This reverts commit a818bcf3e2.

* Revert "fix: Crash (#13241)"

This reverts commit be423a91b5.

* delete sql

* Revert "refactor(Core/Spells): Implement QAston Proc System (#11079)"

This reverts commit cbd3fd0967.

* add sql revert

* fix sql

* remove update from world.updates
2022-10-05 21:53:20 +02:00
Angelo Venturini be423a91b5 fix: Crash (#13241) 2022-10-03 16:14:43 -03:00
IntelligentQuantum cbd3fd0967 refactor(Core/Spells): Implement QAston Proc System (#11079)
* .

* sql

* .

* .

* 1

* 2

* 3

* 4

* 5

* 6

* 7

* 8

* 9

* 10

* 11

* 12

* 13

* 14

* 15

* Update spell_item.cpp

* Update Unit.cpp

* 16

* 17

* 18

* 19

* 20

* 21

* Update Unit.cpp

* REVERT UltraNIX Commit

* 22

* 23

* .

* .

* .

* warrior

* warlock

* shaman rogue priest paladin mage

* spell item

* hunter

* druid

* dk

* war

* error style

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* .

* DOND DEL ME WAD DO DO

* error 2

* .

* .

* .

* FIX

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* .

* ja genau

* Update .gitignore

* .

* .

* .,

* .

* .

* .

* .

* Update Unit.cpp
2022-10-02 19:39:34 +02:00
Kitzunu 434b98e60b fix(Scripts/Spells): Remove some magic numbers (#13193) 2022-10-01 11:44:43 -04:00
Angelo Venturini 47f9f4917a fix(Core/Item): Renataki's Charm of Beasts (#13124) 2022-09-28 00:22:08 -03:00
Maelthyr 1f472bddd3 refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992) 2022-09-25 15:20:34 -03:00
Grimgravy 7400338ecb fix(core/quest): improved egg collection (#12640)
* fix(core/quest): improved egg collection

* .

* Update rev_1659836460796753400.sql

* update
2022-09-25 10:46:24 -03:00
UltraNix 91daa6cb78 fix(Scripts/Spells): Prevent from stacking basic campfires on each ot… (#13037)
fix(Scripts/Spells): Prevent from stacking basic campfires on each other.

Fixes #9369
2022-09-25 10:44:33 -03:00
Angelo Venturini d2610941bd fix(Core): Crash (#13106) 2022-09-24 03:28:32 -03:00
Grimgravy e273d6f4f0 fix(Scripts/Quest): improved egg freezing (#12575) 2022-09-21 17:03:43 +02:00
ZhengPeiRu21 fd08f6150f fix(Core): Hunter Readiness crash fix (#12987)
Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com>
2022-09-20 15:07:30 -03:00
UltraNix a5ab96c79d fix(Scripts/Spells): Finger of Frost Shatter Combo. (#13006) 2022-09-19 00:46:17 -03:00
ZhengPeiRu21 1ddd884d6a feat(Core): Implement SP Bonus Coefficients from DBC (#12562)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/1826437c094966ae339a154844df8587b2122888)

* Co-authored by: ariel- <ariel-@users.noreply.github.com>

* feat(Core): Implement SP Bonus Coefficients from DBC

* Several coefficient corrections

* Fix spell_dru_lifebloom
2022-09-17 11:09:04 +02:00
UltraNix 0ae93c1c94 fix(Scripts/Item): Winter Veil Disguise Kit cannot be used during pre… (#12883)
...paration phase.
2022-09-06 21:38:50 -03:00
Skjalf 9e7aae74ac fix(Scripts/Spells): Fix Itch (26078) not applying Vekniss Catalyst (#12930) 2022-09-03 04:01:39 -03:00