Commit Graph

1739 Commits

Author SHA1 Message Date
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
Nefertumm
298b08c9a5 fix(Core/ZulGurub): Hazza'rah improvements (#12236)
* fix(Core/ZulGurub): Hazza'rah improvements

* dumb
2022-07-01 20:22:13 +02:00
UltraNix
e924289405 fix(Core): Crashfix. (#12184) 2022-06-28 20:04:23 -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
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
Nefertumm
64a0cbba5a fix(Core/ZulGurub): Hakkar improvements (#12134)
* fix(Core/ZulGurub): Hakkar improvements

* remove debug

* code improvements

* just select the current victim for cause insanity

* remove will of hakkar <.<

* aspect of arlokk and marli should do a threat wipe

* dumb
2022-06-26 04:47:08 -03:00
UltraNix
68d026e8ac fix(Core/Spells): Fixed cooldowns on shaman totems. (#12166)
Fixed #11937
2022-06-26 04:46:22 -03:00
Skjalf
46789d5df6 fix(Scripts/BlackwingLair): Correct Bone Constructs abilities (#12180) 2022-06-26 04:45:15 -03:00
UltraNix
ee7539e117 fix(Core/LFG): Fixed joining seasonal bosses if only `LFG_OPTION_ENAB… (#12163)
fix(Core/LFG): Fixed joining seasonal bosses if only `LFG_OPTION_ENABLE_SEASONAL_BOSSES` is set.

Fixes #12135
2022-06-26 04:44:45 -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
Julio A. Leyva Osorio
37c1ce5e36 fix(core): Npc gossip error logging (#11999) 2022-06-24 12:35:25 -03:00
UltraNix
113bdacb5f fix(Core/Tools): Revert "Handle different slopes in mmaps and Add so… (#12111)
...me more input parameters to improve"

This reverts commit b544eb420e.
Fixes #12079
2022-06-21 16:07:53 -03:00
Kitzunu
73bd2b446c fix(Core/Groups): Level restriction on allowing raid groups (#12110) 2022-06-21 13:18:03 -03:00
Skjalf
ed7622b028 feat(Core/Formations): Implement GROUP_AI_FLAG_DONT_RESPAWN_LEADER_ON… (#12128) 2022-06-21 07:07:41 -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
Nefertumm
2db5f9a231 fix(Core/ZulGurub): Mandokir charge and chained spirits (#12072)
* fix(Core/ZulGurub): Mandokir charge and chained spirits

* build

* properly script threatening gaze

* refactor vilebranch speaker script

* remove useless trigger spell for Frightening Shout

* blank spaces

* build...

* sadly you can cheese threatening gaze

* revert threatening gaze part

* style

* charge should target the farthest one

* revert last thing of threatening gaze

* mod charge
2022-06-19 07:50:52 -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
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
UltraNix
39c0f1a700 feat(Core/Players): Enabled resurrecting players from opposite factio… (#12012)
* feat(Core/Players): Enabled resurrecting players from opposite faction in crossfactioned raids.

Fixes #8600

* Update
2022-06-18 13:49:35 -04:00
Luis Vaz
37ee4c6a88 fix (core): value of the MAX_ARENA_SLOT const
Update ArenaTeam.h
2022-06-18 13:48:24 -04:00
UltraNix
0cf1303b9a fix(Core/Items): Special bags cannot be stored inside other special b… (#12032)
fix(Core/Items): Special bags cannot be stored inside other special bags.

Fixes #11946
2022-06-18 13:46:00 -04:00
UltraNix
2cde0c35ba fix(Core/Spells): Fixed calculating LoS for dynamic objects. (#12090)
Fixed #12080
2022-06-18 11:08:07 -04:00
UltraNix
d41cf026e0 fix(Core/Spells): Fixed calculating LoS checks for spells casted by g… (#12091)
fix(Core/Spells): Fixed calculating LoS checks for spells casted by gameobjects.

Fixed #12066
2022-06-18 11:05:18 -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
117a18c961 fix(Scripts/ZulGurub): Renataki - improvements: (#11967)
Added missing spells and events.
Removed invalid spells
Corrected event timers
Fixes #11620
Fixes #11621
2022-06-16 11:39:09 -03: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
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
UltraNix
d5221ae423 fix(Scripts/ZulGurub): Fixed Jindo's Brain Wash Totem. (#11839) 2022-06-13 21:04:58 -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
Kempec Halk
8e7c4fa226 fix(Core): Deserter overrides from BG and Command (#11961)
* fix(Core/Command): Deserter offline add

* feat(Core/Command): Deserter online add restriction

* fix(Core/Battleground): Deserter overrides longer debuff
2022-06-13 08:58:49 -03:00
UltraNix
db41a0132e fix(Core/Misc): Fixed radius of areatriggers in battlegrounds. (#12017)
* fix(Core/Misc): Fixed radius of areatriggers in battlegrounds.

Fixes #12004

* buildfix.
2022-06-13 08:57:35 -03:00
Eddy Vega
3b0cd43d12 fix(scripts/ZulGurub): Rewrite Broodlord Mandokir and Ohgan (#11854)
Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
2022-06-13 08:52:28 -03:00
UltraNix
a2bc0ae028 fix(Core/Objects): Include combat reach instead of object size in LoS… (#12013)
... calculations.

Fixed LoS calculations for dynamic objects.
Modified combat reach of Deep Pool Threshfin.
Fixes #11886
2022-06-13 01:03:06 -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
41b0fa02f2 fix(Scripts/ZulGurub): Shade of Jin'do's invisibility aura should not… (#11838)
* fix(Scripts/ZulGurub): Shade of Jin'do's invisibility aura should not be removed on attack.

Fixes #11557

* missing stuff.

* Update.
2022-06-06 15:20:40 -03:00
Skjalf
5c7e7afade fix(Scripts/ZulGurub): Rewrite High Priest Thekal (#11784) 2022-06-06 09:35:48 -03:00
UltraNix
228b2f6f6b fix(Core/Movement): Improved fleeing movement generator. (#11896)
* fix(Core/Movement): Improved fleeing movement generator.

Fixes #11850

* Update.
2022-06-06 09:19:27 -03:00
UltraNix
f28c678c14 fix(Core/Spells): Hunter traps should not be activated by targets not… (#11971)
fix(Core/Spells): Hunter traps should not be activated by targets not in LoS.

Fixes #11432
2022-06-06 09:03:24 -03:00
UltraNix
3f8bf7f994 fix(Core/Spells): Properly handle SPELL_MOD_THREAT flat spell mods. (#11911)
* fix(Core/Spells): Properly handle SPELL_MOD_THREAT flat spell mods.

Fixes #11570

* buildfix.
2022-06-06 09:01:32 -03:00