Commit Graph

497 Commits

Author SHA1 Message Date
Jelle Meeus
30f273e593 fix(Scripts/Naxxramas): Add post-Gothik Four Horsemen introduction (#20550) 2025-02-16 23:14:09 +01:00
p-tkachuk
409ad14e14 fix(DB/SAI) Quest Feedin' Da Goolz (12652) (#21264)
Co-authored-by: Hexadecimal <hd@hd.hd>
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
2025-02-16 00:26:27 +01:00
demetrzz
61f04f69db fix(Scripts/Naxxramas): Maexxna's Outer Web Door (#21445)
Co-authored-by: pavel_k <pavel_k@mail.com>
2025-02-15 22:29:57 +01:00
Takenbacon
ee69a569c4 fix(Core/Grids): Grid improvements (#20955) 2025-02-14 22:11:27 +01:00
Anton Popovichenko
db9b4cf0c6 fix(Scripts/ICC): Fix crash in npc_darnavan when killer is nil. (#21438) 2025-02-14 05:54:45 +01:00
Andrew
f9415f38cb fix(Scripts/Naxxramas): Update Faerlina script (#21375) 2025-02-13 05:04:36 -03:00
Anton Popovichenko
47c524581b fix(Core/Scripts): Fix buffer-overflow errors in scripts. (#21419) 2025-02-12 16:34:56 -03:00
Andrew
b17d69b33c feat(Core/Unit): Add SpellSchoolMask info to the DamageDealt() hook (#21411) 2025-02-12 12:16:02 +01:00
Andrew
7e29e023e8 fix(Core/Creature): Allow temp summons to respawn when despawning on … (#21363) 2025-02-10 08:46:31 +01:00
chaosua
775febad9c fix(Scripts/Northrend): Exclude Dalaran Sewer Exit Pipe from GUARD teleport checks (#21222) 2025-02-06 20:50:22 +01:00
manstfu
23e27f350e fix(Scripts/IcecrownCitadel): Sindragosa P3 Exploit (#20938)
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
2025-02-06 11:54:49 +01:00
p-tkachuk
6753b44b16 fix(Scripts/Oculus): Prevent boss Urom teleportation to nowhere on fast kill (#21305)
Co-authored-by: Hexadecimal <hd@hd.hd>
2025-02-03 17:47:38 +01:00
Razor2142
20ad1c68ec fix(Scripts/Naxxramas): fixed invalid horseman state on instance init (#21167) 2025-01-19 08:15:34 +01:00
Andrew
4a3fab424c refactor(Core/Instances): Implement GetTeamIdInInstance() for two-fac… (#21168) 2025-01-17 23:51:25 -03:00
manstfu
bf4118362a fix(Core/Group): CF Faction Assign & Leader Instance Faction (#21118)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2025-01-13 08:54:47 -03:00
EricksOliveira
b373df9b3d fix(Scripts/Halion): Halion freeze against "Feign Death" hunters (#21093) 2025-01-07 06:13:09 +01:00
Andrew
d6edcf810d fix(Scripts/PitOfSaron): Fix Scourgelord Tyrannus not respawning afte… (#21070) 2024-12-30 18:56:18 -03:00
blinkysc
4e49f522b4 fix(Scripts/PitOfSauron): Reset Scourgelord Tyrannus encounter state (#21057)
Co-authored-by: Nicholas Lee <nicholaslee@Nicholass-MacBook-Air.local>
Co-authored-by: blinkysc <binders-36-gap@icloud.com>
2024-12-30 18:09:20 -03:00
Kitzunu
a1e1bded35 fix(Scripts/ICC): Use threatlist for vampiric bite (#21012)
Co-authored-by: Grimdhex <176165533+Grimdhex@users.noreply.github.com>
2024-12-27 22:33:18 -03:00
Kitzunu
bff594c4f5 feat(Unit/Misc): HasAnyAuras() HasAllAuras() HasAuras() (#21040) 2024-12-26 05:51:54 -03:00
Stepan Makhorin
cbdab03623 fix(Scripts/ICC): Make Blood-Queen Lana'thel bite tanks as well (#17834) 2024-12-22 11:48:36 +01:00
Kitzunu
ceefd89a06 feat(CI/Codestyle): check for curly brackets before/after if/else statements (#20977)
* feat(CI/Codestyle): check for braces after if/else statements

* right need to edit a cpp file to trigger cpp check

* Revert "right need to edit a cpp file to trigger cpp check"

This reverts commit 2e34d8c52f35216549107a3476e79e79ea2ae077.

* fix codestyle in cpp

* Update oculus.cpp

* Update codestyle.py

* Update codestyle.py

* Update codestyle.py

* Update codestyle.py
2024-12-19 21:14:58 +01:00
Jelle Meeus
80e6a3a412 fix(Scripts/TrialOfChampion): fail and send custom spell error when trying to mount without lance equipped (#19932) 2024-12-12 06:54:40 +01:00
blinkysc
cef1b781d7 fix(Scripts/IcecrownCitadel): Vengeful Shade unroot timer fix (#20902)
Vengeful Shade unroot timer fix

Co-authored-by: Nicholas Lee <nicholaslee@Nicholass-MacBook-Air.local>
2024-12-12 00:03:29 -03:00
DuckBone
26518b3790 Fix(DB/Script): Halls of Stone, Brann escort (#20312)
* Fix(DB/Script): Halls of Stone, Brann escort

- escort, tribunal, bjonnir code completion

Closes issue #13079

* Fix(DB/Script): Halls of Stone, Brann escort

* Fix(DB/Script): Halls of Stone, Brann escort

* Fix(DB/Script): Halls of Stone, Brann escort

* Fix(DB/Script): Halls of Stone, Brann escort

* Fix(DB/Script): Halls of Stone, Brann escort

* Fix(DB/Script): Halls of Stone, Brann escort

* Update rev_1729968739299017200.sql

* Fix(DB/Script): Halls of Stone, Brann escort fix

* Fix(DB/Script): Halls of Stone, Brann escort fix 2

* Fix(DB/Script): Halls of Stone, Brann escort brackets format

* Fix(DB/Script): Halls of Stone, Brann escort remove whitespace

* Fix(DB/Script): Halls of Stone, Brann escort remove last whitespace

---------

Co-authored-by: zalazoltan86 <zalazoltan86@gmail.com>
2024-12-03 20:57:11 +01:00
Andrew
8c387fa2b8 refactor(Scripts/UtgardeKeep): Modernize Prince Keleseth script (#20806) 2024-12-02 08:17:16 -03:00
Kitzunu
ed008a8780 refactor(Core/Spells): Add helpers for HasAuraType (#20802) 2024-12-01 08:50:59 -03:00
Andrew
938c637c9a refactor(Scripts/VioletHold): Move all spells to spelldifficul… (#20796)
refactor(Scripts/VioletHold): Move all spell scripts to spelldifficultydbc
2024-12-01 08:47:52 -03:00
Andrew
a4a278a0e7 refactor(Scripts/UtgardeKeep): Upgrade scripts to new register method (#20795) 2024-11-30 20:25:27 -03:00
Andrew
bef9e46e9b refactor(Scripts/TheNexus): Update Command Kolurg script (#20783) 2024-11-30 16:52:57 -03:00
Andrew
65ec5bbceb refactor(Scripts/Nexus): Update creature scripts to new register method (#20728) 2024-11-25 03:15:49 -03:00
Andrew
86d06d8849 refactor(Scripts/Naxxramas): Modernize Anubrekhan script (#20596)
* refactor(Scripts/Naxxramas): Modernize Anubrekhan script

* Update boss_anubrekhan.cpp
2024-11-16 16:00:34 -03:00
Francesco Borzì
b2ddd10369 refactor(src/server/scripts): remove unused imports (#20540) 2024-11-13 06:35:15 +01:00
Jelle Meeus
5f7d1d302f fix(Scripts/BoreanTundra): make Escape from the Winterfin Caverns group completable (#20359)
Group instead of Area
2024-11-11 16:53:07 -03:00
Jelle Meeus
3de510fa68 fixup(Scripts/CrusaderColiseum)spellscripts (#20417) 2024-11-02 20:01:47 +01:00
Jelle Meeus
bbbcaac77c refactor(scripts/CrusadersColiseum): spell scripts use registry macros (#20400) 2024-11-01 16:54:14 -03:00
Jelle Meeus
7eb1b64a6f refactor(Scripts/Northrend): spell scripts use registry macros (#20401) 2024-11-01 16:11:14 -03:00
Francesco Borzì
c06cadfe75 refactor(src/common|server): remove unused import (big part 1) (#20377)
* refactor(src/common|server): remove unused import (big part 1)

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: attempt to fix damn linkin error
2024-10-31 21:46:11 +01:00
Yggdrasil WoW
02b190668b fix(Scripts/Icecrown Citadel): Correct pipe pathing for Vengeful Fles… (#20048)
* fix(Scripts/Icecrown Citadel): Correct pipe pathing for Vengeful Fleshreapers

* fix(Scripts/Icecrown Citadel): Correct pipe pathing for Vengeful Fleshreapers

---------
2024-10-29 05:54:39 +01:00
Francesco Borzì
cb7e28df05 refactor(src/server/game/*): remove unused imports (big part 1) (#20310) 2024-10-27 10:25:40 +01:00
Andrew
d340ae029b fix(Scripts/Dragonblight): Fix Torturer Leclaft spamming abilities (#20130)
fix(Scripts/Dragonblight): Fix Toturer Leclaft spamming abilities
2024-10-05 11:02:31 +02:00
Francesco Borzì
5a96ce283d refactor(Scripts): remove unused imports (#20086) 2024-09-29 13:20:21 +02:00
Anton Popovichenko
2e0a57084c fix(Scripts/ICC): Fix Valkyr "teleportation" effect caused by movement desynchronization between server and client. (#20080) 2024-09-29 13:13:59 +02:00
chaosua
8566e4ace3 fix(DB/creature_text): (Pit of Saron, AzjolNerub) assign BroadcastTextId to creature_text (#18611)
* (Instance:Pit of Saron) cleanup some duplicated txt lines and make use broadcast_text for localization support
(Instance:AzjolNerub) added ruRU creature_text localization for Anub'arak intro (because BroadcastTextId unknown)

* Update txt_line_fix.sql

Remove excess line breaks

* Rescued Alliance Slave connect heroic version template

---------

Co-authored-by: Walter Pagani <paganiwalter@gmail.com>
2024-09-22 14:43:38 +02:00
Kitzunu
386aea03ee chore(Core/Misc): Some cleanup (#19970)
* remove weird blanks

* update if

* ) ) to ))

* missed some ) )

* now switch

* .
2024-09-21 19:34:31 +02:00
天鹿
dd2167b00b fix(Core/AI): Creature SetInCombatState Leashing. (#19889)
* Update Unit.cpp

* Update pit_of_saron.cpp

* Update Unit.cpp
2024-09-07 01:03:19 -03:00
Benjamin Jackson
bf18b9bdfb fix(Core/AI): Improve creature leashing behavior. (#19751)
* Init.

https: //github.com/vmangos/core/commit/7d2f1e2923734ea1b983eeaa0208cfd158d4af02
Co-Authored-By: ratkosrb <35845488+ratkosrb@users.noreply.github.com>

* Hackfix for pets.

* Whoops.

* Correct evade uses.

* Conflict.

* Actually fix grace timer.

* Add visibility distance check.

Creatures should always fail combat checks in the open world if they're outside of visibility distance, might not be the case for worldbosses.

---------

Co-authored-by: ratkosrb <35845488+ratkosrb@users.noreply.github.com>
2024-09-03 21:08:56 +02:00
Benjamin Jackson
1edac37ac3 refactor(Core): Make more use of helpers. (#19835)
* Init.

* Reword.

* Update codestyle script.

Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Add gameobject type ID check, reorder checks.

* Add helper/codestyle check for unit type.

* `IsUnit()` -> `IsCreature()`

* Add `IsUnit()` method.

* Use type mask.

https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com>

* Replace instances of `isType` with `IsUnit`.

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
2024-09-03 14:41:31 -03:00
Grimdhex
221dbd3fdb chore(Apps/Codestyle): add new codestyle checks for pointers and range loops (#19841)
* chore(Apps/Codestyle): add new codestyle checks for pointers and range loops

* revert a typo
2024-09-03 13:02:38 -03:00
Kitzunu
9af86553c5 chore(Core/Misc): update floor and ceil to std (#19837) 2024-09-03 08:01:00 -03:00