Commit Graph

268 Commits

Author SHA1 Message Date
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
ea24a7b231 fix(Scripts/ZulGurub): Mandokir's Threatening Gaze. (#12095)
* fix(Scripts/ZulGurub: Mandokir's Threatening Gaze.

Boss can melee attack while casting.
Boss charges after the debuff run out.
Guillotine is casted on hit rather than on launch.
Properly coded Threatening Gaze Charge (with dot/hot exceptions)
Whirlwind is removed during charge.
Fixes #11748

* Update

* missing

* Update

* Update.

* Update.

* Update.

* Update.

* Update.
2022-06-26 04:50:50 -03:00
UltraNix
255c5d8b72 fix(Core): Crashfix. (#11903)
* fix(Core): Crashfix.

Fixes #11650

* Update.
2022-06-26 04:50:22 -03:00
UltraNix
e11fea28c5 fix(Core/Units): Fixed problems with charming non-demon creatures by … (#12164)
fix(Core/Units): Fixed problems with charming non-demon creatures by warlock.

Fixed #12114
2022-06-26 04:44:30 -03:00
UltraNix
53836284c2 fix(Core/Spells): Shaman T10 4Set bonus should properly extend Flame … (#12167)
* fix(Core/Spells): Shaman T10 4Set bonus should properly extend Flame Shock duration.

Fixes #11938

* Update.
2022-06-26 04:44:15 -03:00
UltraNix
61c64bbf30 fix(Core/Movement): Water-bound creatures should not evade if their t… (#12112)
fix(Core/Movement): Water-bound creatures should not evade if their target is near the surface/jumping in the water.

Fixed #10383
2022-06-20 14:31:28 -04:00
UltraNix
a935e51754 fix(Core/Pets): Mob "soloed" by pet should not grant exp/loot to its … (#11969)
* fix(Core/Pets): Mob "soloed" by pet should not grant exp/loot to its master.

Fixes #11528
2022-06-19 07:46:23 -04:00
UltraNix
82cfd1b8d4 fix(Scripts/ZulGurub): Improvements to Madonkir's melee spells. (#12096)
Overpower is casted on dodge.
Execute is casted when victim is below 20% health.
Cleave is casted when there is at least 5 targets in melee range.
Fixes #11747
2022-06-18 13:50:23 -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
UltraNix
daff1239d3 fix(Core/Units): Fixed restoring running movement flag after charm. Source: TrinityCore (#12019)
fix(Core/Units): Fixed restoring running movement flag after charm.

Fixes #12018
2022-06-16 08:45:46 -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
bab2c6291b fix(Core/Spell): Fixed Divine Shield not granting immunity to spell s… (#11954)
...chools.
2022-06-07 23:43:36 -03:00
UltraNix
a0da7417a0 fix(Core/Units): Clear any movement on charm - vol. 2. (#11897)
* fix(Core/Units): Clear any movement on charm - vol. 2.

Fixes #11880

* Update.
2022-05-30 04:19:53 -03:00
UltraNix
b66586c1d7 fix(Core/Spells): Fixed players being able to mount with all transfor… (#11767)
…m auras.

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-05-25 04:56:35 -03:00
UltraNix
b638d44693 fix(Core/Units): Clear any movement on charm. (#11826)
Fixes #10343
2022-05-23 06:04:27 -03:00
Maelthyr
dfc6adb081 refactor(Core/Combat): DeleteThreatLists() become ClearAllThreat() (#11824)
refactor(Chore/Combat): DeleteThreatLists() become ClearAllThreat()
2022-05-23 05:51:52 -03:00
UltraNix
bcfaf2daad fix(Scripts/Spells): Replenishment should proc off from Vampiric Touc… (#11772)
* fix(Scripts/Spells): Replenishment should proc off from Vampiric Touch even if target died from Mind Blast.

Fixes #8502

* Update.
2022-05-23 05:45:01 -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
Charlton Lau
3c9b56438e fix(Core/Spell): Enslaved Demon does not auto-attack/auto-cast (#11677) 2022-05-18 04:59:39 -03:00
UltraNix
82ae30d4ed fix(Core/Spells): Priest with Spirit of Redemption should be immediat… (#11771)
fix(Core/Spells): Priest with Spirit of Redemption should be immediately killed when fall into abyss.

Fixes #3777
2022-05-17 10:01:11 -03:00
avarishd
4ce3515c60 fix(Core/Spells): Allow spells with SPELL_ATTR0_CU_REQ_CASTER_BEHIND_TARGET attribute to go through deterrence. (#11644)
* Update settings.json

* Revert "Update settings.json"

This reverts commit 1f6724477db4cff361c800b858d3bc1a6d11d6bb.

* detter
2022-05-08 23:19:39 +02:00
UltraNix
3c1e76e55d fix(Core/Duel): Player during duel countdown is not a valid attack target. (#11509) 2022-05-03 02:36:03 -03:00
UltraNix
898eabe6dd fix(Core): Restored code about shared visions removed in d504a62. (#11493)
Fixes #11368
2022-04-25 09:26:32 -03:00
UltraNix
a57aecbf8c fix(Scripts/Spells): Improvements to Brood Power: Bronze: (#11499)
Brood Power bronze affects only one target.
Death Talon Wyrmguard gain the Brood Power aura only once per lifetime.
Fixes #11448
2022-04-24 03:25:07 -03:00
UltraNix
34c8f9a020 fix(Core/Spells): Fixed some damage overflows during resilience calculations. (#11497) 2022-04-24 00:39:21 -03:00
acidmanifesto
f2de895921 fix(core): Null check the helpers (#11476)
* fix (core): move helper

* Update Spell.cpp

* Update Unit.cpp
2022-04-22 10:11:06 -03:00
Kitzunu
1501445b0a chore(Core/Misc): nullptr cleanup (#11467) 2022-04-21 19:17:20 +02:00
acidmanifesto
eb91bbfc56 feat (core): another helper implemented (#11469) 2022-04-21 13:15:11 -04:00
acidmanifesto
d38b6ce0db Feat: (core) Additional Helper (#11457)
* Feat: (core) Additional Helper
2022-04-21 06:06:22 -04:00
acidmanifesto
db360f0cfb Fix (Core\DB) Hostil to Hostile spelling fix (#11399)
* Fix (Core) Hostil to Hostile spelling fix

* sql cmd adjustment as well

* AliGnZ

* Further Hostil to Hostile Correction

Per @Si1ker  Research via https://github.com/azerothcore/azerothcore-wotlk/pull/11399#issuecomment-1099506373
2022-04-16 11:00:38 -04:00
UltraNix
13993a0b5b fix(Core/Units): Stop melee attacking victim if being charmed by non-friendly target. (#11353)
Fixes #11316
2022-04-16 14:45:16 +02:00
IntelligentQuantum
ab4ee71762 feat(Core/Maps): AreaBoundary (#10525)
* cherry-picked commit (2da458c56d)
2022-04-15 14:10:41 +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
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
UltraNix
d195c09f56 fix(Core/Spells): Fixed an issue with Premeditation removing itself. (#11093)
Co-authored-by: Treeston <Treeston@users.noreply.github.com>
2022-03-27 01:50:29 -03:00
UltraNix
7796cdee33 fix(Core/Spells): Fixed implementation of CAST_FLAG_POWER_LEFT_SELF flag. (#10908) 2022-03-27 01:22:29 -03:00
UltraNix
df89bbafe4 fix(Scripts/Vehicles): The next player entering Salvaged Siege Engine… (#10987)
… should control turret if it's not occupied.
2022-03-27 01:16:12 -03:00
IntelligentQuantum
6a6d0e5907 feat(Core/Packet): SMSG_DURABILITY_DAMAGE_DEATH (#10894) 2022-03-23 13:35:30 +01:00
UltraNix
da0f2e3ae2 fix(Core/Spells): Nature's Swiftness should not be consumed by instant spells. (#10909) 2022-03-18 18:15:56 -03:00
UltraNix
b01aa11f18 fix(Core/Spells): Ruthlessness/Seal Fate selecting wrong proc target (#10982)
Fixes #10328
2022-03-16 18:58:49 +01:00
UltraNix
c0e12e297d fix(Core/Spells): Beacon of Light should not proc off from Glyph of Holy Light and Judgement of Light. (#10564)
Fixed #2782
2022-03-14 15:51:09 +01:00
Nefertumm
0e35b681fb feat(Core/Conf): Miss Chance Multiplier (#10873) 2022-03-08 21:44:22 +01:00
UltraNix
5ed4db09e3 fix(Core/Spells): Fixed getting max spell range for friendly targets. (#10906)
Fixes #10802
2022-03-06 15:51:59 -05:00
UltraNix
617d85a498 fix(Core/Movement): Send proper movement animation visuals. (#10843)
Fixed #10812
Fixed #10814
2022-03-06 12:31:41 -05:00
UltraNix
a74e57fb22 fix(Core/Spells): Implemented SPELL_ATTR0_CU_IGNORE_EVADE. (#10832)
Added channel beam at Razorgore pre-fight.
Fixed #10767
2022-03-06 12:26:00 -05:00
UltraNix
b3c8c779dc fix(DB/Spells): add internal proc cooldown to Nature's Grasp (#10757)
Fixes #9475
2022-03-02 13:10:40 +01:00