Commit Graph

138 Commits

Author SHA1 Message Date
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 029527365f

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
UltraNix
14f3b444ae fix(Core/Creatures): Implemented `SUMMON_PROP_FLAG_ONLY_VISIBLE_TO_SU… (#14054)
* fix(Core/Creatures): Implemented `SUMMON_PROP_FLAG_ONLY_VISIBLE_TO_SUMMONER` summon flag.

Fixes #6674

* Update.
2023-01-06 00:52:05 +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
eb3f80ceff fix(Core/Spells): Implemented SPELL_HIT_TYPE_SPLIT hit type. Source: … (#13518)
fix(Core/Spells): Implemented SPELL_HIT_TYPE_SPLIT hit type. Source: TrinityCore.

Fixes #13306
2022-10-29 07:13:36 -03:00
M'Dic
55a5684c87 Add (core): Effect Transmit Anticheat Helper (#13447)
Add (core): Anticheat Helper
2022-10-23 09:19:35 -04: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
e05f61d1b3 fix(Core/QAston): fixed shields oneshotting (#13271)
* fix(Core/QAston): fixed shields oneshotting

* fix build
2022-10-04 19:37:48 +02: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
SoglaHash
fa00250323 fix(CORE/Spells): Fix Scaling of some Guardians (#12625)
* fix(CORE/Spells): Fix Scaling of some Guardians

Guardians summoned by engineering and items have wrong scaling.

This will fix Engineering items having the wrong stat scaling.

Also fix some Guardians summoned by items to have appropriate level and
stats.
Closes AzerothCore issue #12446

* Fix whitespace

* fix codestyle
2022-10-01 22:35:09 +02:00
Maelthyr
1f472bddd3 refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992) 2022-09-25 15:20:34 -03:00
ZhengPeiRu21
1ddd884d6a feat(Core): Implement SP Bonus Coefficients from DBC (#12562)
* cherry-pick commit (1826437c09)

* 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
406f2bcd02 fix(Core/Battlegrounds): Fixed setting proper winner team at the end … (#12868)
fix(Core/Battlegrounds): Fixed setting proper winner team at the end of battleground.

Fixes #11717
Fixes #12688
2022-08-31 06:40:32 -03:00
UltraNix
8c1b729375 fix(Core/Spells): Removed any triggered auras on glyph removal. (#12168)
* fix(Core/Spells): Removed any triggered auras on glyph removal.

Fixes #11939

* Update.
2022-06-28 16:19:35 -04:00
UltraNix
1bb343c847 fix(Core/Professions): Players should be able to update gathering ski… (#12033)
fix(Core/Professions): Players should be able to update gathering skill only once per gameobject.

Fixes #11918
2022-06-19 07:46:56 -04:00
Maelthyr
d928d8d96a refactor(Core/Unit): PC&NPC Immunity (#11986)
* initial

* refactor(Core/Unit): PC & NPC Immunities

Cherry-pick TC: 74af880217

Co-authored-by: Treeston <treeston.nmoc@gmail.com>

* fix builds error

Cherry-pick TC: 74af880217

Co-authored-by: Treeston <treeston.nmoc@gmail.com>

* Fix nef combat, and replace SetFlag by SetUnitFlag

* fix combat with jedoga

Co-authored-by: Treeston <treeston.nmoc@gmail.com>
2022-06-18 08:16:45 -04:00
Nefertumm
396fd35ed5 fix(Core/Spells): Implement SPELL_EFFECT_ACTIVATE_OBJECT (#11648)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2022-06-13 21:10:31 -03:00
Maelthyr
32334f5f14 refactor(Core/Unit): minor changes for the combat system (#11904)
Cherry-pick from TC: https://github.com/TrinityCore/TrinityCore/pull/19966

Co-authored-by: Treeston <treeston.nmoc@gmail.com>
2022-06-13 19:40:29 -03:00
UltraNix
55720eedd3 fix(Scripts/Spells): Sweeping Strikes - improvements. (#11666)
* fix(Scripts/Spells): Sweeping Strikes - improvements.

Fixes #11594

* Buildfix.
2022-05-23 05:49:56 -03:00
UltraNix
914ea4f9c3 fix(Core/Items): Properly transfer enchantment durations from old to … (#11828)
fix(Core/Items): Properly transfer enchantment durations from old to newly created/summoned items.

Fixes #11687
2022-05-23 04:27:53 -03:00
UltraNix
99f1cd84e2 fix(Core/Spells): Improvements to Far Sight spell: (#11683)
* fix(Core/Spells): Improvements to Far Sight spell:

Far Sight should not interrupt while casting another spell.
Corrected setting Far Sight object as an active object.
Fixed grid activation range for active dynamic objects.
When Far Sight is over, the camera be reset to player.
Enable swapping camera between Far Sight and Sentry Totem.
Fixes #6368

* Update.

* Update.
2022-05-23 04:26:51 -03:00
Maelthyr
c5368816fa Core/Combat: rename getThreatMgr() to GetThreatMgr() (#11758) 2022-05-18 05:36:57 -03:00
天鹿
32b7531295 fix(Scripts/Spells) charge Auto attack (#11693)
* Update MotionMaster.h

* Update MotionMaster.cpp

* Update SpellEffects.cpp

* Update MotionMaster.cpp

* Update MotionMaster.h

* Update MotionMaster.cpp

* Update MotionMaster.h

* Update SpellEffects.cpp

* Update Spell.cpp

* Update Spell.cpp

* Update SpellEffects.cpp
2022-05-10 08:21:43 +02:00
IntelligentQuantum
59e45c251e fix(Core/Spell): Improvements to path generation for Charge mechanic (#11534)
It has its flaws but it can be improved and it's actually a lot better than what we currently have.
2022-04-27 20:18:44 -03:00
UltraNix
b7be09e96c fix(Core/Players): Updates visibility of nearby entities around player's viewpoint in case of immediate changing farsight object. (#11520)
Fixes #11322
2022-04-27 15:12:45 +02:00
acidmanifesto
f5b263274f add (core): additional helper for jump destination (#11489) 2022-04-23 06:51:51 -04:00
Skjalf
f137230974 fix(Core/Spells): Prevent shadow spells from triggering Nefarian's corrupted healing (#11470) 2022-04-21 20:24:20 -03:00
IntelligentQuantum
c93a84e821 feat(Spell/Scripts): Move Spell gen remove impairing auras to spell scripts (#11104) 2022-04-18 19:35:07 +02:00
IntelligentQuantum
f7760b4ea0 fix(Spell/Scripts): MOVE Drinking to spell scripts (#11105) 2022-04-15 14:16:30 +02:00
Kitzunu
b709a22ddc feat(Core/Players): PlayerFlag helpers (#11294)
* feat(Core/Players): PlayerFlag helpers

* Update Player.h

* fix build
2022-04-05 18:53:50 +02:00
Kitzunu
edb7cac19b feat(Core/Unit): NPCFlags helpers (#11286)
* cherry-pick commit (TrinityCore/TrinityCore@d611925)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
2022-04-05 13:52:42 +02:00
Kitzunu
535c7451a2 feat(Core/Unit): New helpers for DynamicFlags (#11230)
* feat(Core/Unit): New helpers for DynamicFlags

* cherry-pick commit (d611925dc7)

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

* oopsie

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-04-01 07:14:29 -03:00
IntelligentQuantum
7a294787d3 feat(Scripts/Spell): Teleporting to Script
Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
2022-04-01 07:03:22 -03:00
IntelligentQuantum
b680ea3dae feat(Scripts/Spells): Move to spell scripts - Brittle Armor & Mercurial Shield (#11116)
* .

* Update SpellEffects.cpp
2022-04-01 07:02:06 -03:00
IntelligentQuantum
395eed4045 feat(Scripts/Spells): Move to spell scripts Deathbolt (#11100)
* .

* Update zone_sholazar_basin.cpp

* Update SpellEffects.cpp
2022-04-01 07:00:45 -03:00
Kitzunu
856aed6fc6 feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 (#11227) 2022-03-30 07:59:42 -03:00
UltraNix
9c0c925433 fix(Core/Combat): Improved extra attacks handling. Author: @trickerer (#11169)
Fixes #9423
Fixes #11138
2022-03-27 11:08:18 -04:00
IntelligentQuantum
d1ac62ff6e feat(Core/Spells): Move Spell q1846 bending shinbone to spell scripts (#11106) 2022-03-27 02:06:23 -03:00
IntelligentQuantum
a704aa3005 feat(Core/Spells): Move Spell death knight initiate visual to spell scripts (#11103) 2022-03-27 02:02:17 -03:00
IntelligentQuantum
d1ecdc8f61 feat(Core/Spells): Move Spell item dimensional ripper area52 to spell scripts (#11099) 2022-03-27 01:58:58 -03:00
IntelligentQuantum
7410f1a3cb feat(Core/Spells): Move Spell pri lightwell to spell scripts (#11089) 2022-03-27 01:55:59 -03:00
IntelligentQuantum
5719e46236 feat(Core/Spells): Move spell_item_runic_healing_injector to spell scripts (#11088) 2022-03-27 01:53:16 -03:00
UltraNix
6c60dc3841 fix(Core/Spells): Kill credits given via spells should always be awarded to players 2022-03-15 15:55:55 +01:00
Nefertumm
707968ee95 fix(Scripts/BlackwingLair): Nefarian (#10536) 2022-03-09 13:32:09 -03:00
UltraNix
e4d3f57d7c fix(Scripts/Raids): some corrections to Broodlord Supression Room: (#10834)
Supression traps should always hit players.
Supression traps should not be disarmed after Broodlord defeat.
Supression traps should be visible after disarm.
Fixes #10768
2022-03-03 11:29:31 +01:00
acidmanifesto
69e2f2e3aa fix/feat: (Core/PacketIO): updated sound and creature addon (#10813)
* fix\feat: (Core/PacketIO): updated sound and creature addon

updated SMSG_PLAY_SOUND, SMSG_PLAY_MUSIC and SMSG_PLAY_OBJECT_SOUND via tc cherry pick
https://github.com/TrinityCore/TrinityCore/pull/2363 and 0f1f7ef401 by @joschiwald  and @ForesterDev
This so far a attempt to align atleast with sound with tc, and correct a potentional issue of hearing creature sounds that is not in visible range. I notice PlaySound was being defined in some weird dependency as it isnt with tc so I renamed it to Playsound. Notice a isLarge still being used in the creature addon when it was depreciated, so i removed that a that seem to of interfered with visibilitydistanceType.

Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com>
Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
2022-02-26 10:05:58 -05:00
Kitzunu
455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
UltraNix
0b02ba87fc fix(Core/Reputations): Faction rep gained by killing mobs is now prop… (#9737)
* fix(Core/Reputations): Faction rep gained by killing mobs is now properly rounded up.

Do not increase reputation rank if exceeds max rank cap.
Fixes #8718
2022-02-05 07:37:00 -03:00
Kitzunu
8f249a3d84 fix(Core/Misc): Revert commits causing massive delays (#10408)
* this reverts commit (674b168add)

* this reverts commit (b085ee61eb)

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/10407
2022-01-28 16:45:47 -05:00
acidmanifesto
b085ee61eb fix (core): EffectInstaKill Prevents spell animation fix (#10379)
* fix (core): EffectInstaKill Prevents spell animation before deal damage execution

This fixes the issue of spell animations of chain effects of a spell dealing with EffectInstaKill. This was identified as a issue in support of @malcrom 's current scripting efforts. We fix the issue by putting a half second delay and making the delay of a function possible and independent.

Co-Authored-By: Malcrom <malcromdev@gmail.com>

* Fix double to float

Co-Authored-By: Malcrom <malcromdev@gmail.com>

* Remove the STD

I put the STD in STUD and all I need is U

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

per @kitzunu the great

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

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

per @nefertumm the beast

Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>

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

Co-authored-by: Kargatum <dowlandtop@yandex.com>

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

Co-authored-by: Kargatum <dowlandtop@yandex.com>

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

Co-authored-by: Kargatum <dowlandtop@yandex.com>

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

Co-authored-by: Kargatum <dowlandtop@yandex.com>

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

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* Notes Added

Co-authored-by: Malcrom <malcromdev@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
2022-01-28 11:14:21 -05:00