Commit Graph

530 Commits

Author SHA1 Message Date
Yunfan Li 7347f64938 Merge branch 'master' into Playerbot 2024-12-13 18:51:37 +08: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
Yunfan Li 889b509313 Merge branch 'master' into Playerbot 2024-12-05 00:08:25 +08: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
Yunfan Li 1294d79764 Merge branch 'master' into Playerbot 2024-11-25 23:22:31 +08: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
Yunfan Li fce06946e1 Merge branch 'master' into Playerbot 2024-11-16 13:15:00 +08: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
Yunfan Li 545bb18af4 Merge branch 'master' into Playerbot 2024-11-08 20:58:52 +08: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
Yunfan Li abd9b4ebb8 Merge branch 'master' into Playerbot 2024-10-30 21:43:42 +08: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
Yunfan Li 418afce6d7 Merge branch 'master' into Playerbot 2024-10-10 23:13:20 +08: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
Yunfan Li 9ebdbd8459 Merge branch 'master' into Playerbot 2024-09-29 23:22:47 +08: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
Yunfan Li 66c55bc450 Merge branch 'master' into Playerbot 2024-09-22 21:56:15 +08: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
Yunfan Li 6f5b504e4c Merge branch 'master' into Playerbot 2024-09-07 14:27:11 +08: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
Yunfan Li 414805e692 Merge branch 'master' into Playerbot 2024-09-04 23:46:34 +08: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
Benjamin Jackson f88812443d refactor(Core): Correct typo. (#19830)
Init.
2024-08-31 17:38:03 -03:00
Walter Pagani 3b45e90e41 fix(Scripts/ICC): NPC Muradin Dialogues (#18931)
Co-authored-by: Meji <alvaro.megias@outlook.com>
Co-authored-by: 天鹿 <18535853+PkllonG@users.noreply.github.com>
2024-08-31 17:34:56 -03:00
Yunfan Li fdb6fedc00 Naxx scripts header 2024-08-26 23:05:53 +08:00
Yunfan Li a642358a43 Merge branch 'master' into Playerbot 2024-08-26 22:29:54 +08:00
Grimdhex 643362d697 refactor(Core/Object): adds consistency in the use of type object check (#19671) 2024-08-25 09:57:37 -03:00
Grimdhex 61f3a631c3 fix(Server): remove double blank lines at the end of several files (#19735) 2024-08-25 07:21:14 -03:00
Yunfan Li 1bf88ad3a3 Merge branch 'master' into Playerbot 2024-08-19 18:59:50 +08:00
Kitzunu 337135bf9e refactor(Core/Misc): Use NpcFlag helpers (#19676)
* chore(Core/Misc): Use HasNpcFlag instead of HasFlag

* extend to all npcflag helpers
2024-08-19 10:17:02 +02:00
Yunfan Li d436f97ea2 fix(Script/Vehicles): The next player entering Salvaged Siege Engine … (#19674)
fix(Script/Vehicles): The next player entering Salvaged Siege Engine should control turret if it's not occupied.
2024-08-18 14:28:56 -03:00
Yunfan Li f5e44cd8a6 Merge branch 'master' into Playerbot 2024-08-01 15:41:23 +08:00
Francesco Borzì 02a05fbd4c refactor(src/common): remove unused imports (#19506)
* refactor(src/common): remove unused imports

* fix: build

* chore: fix build

* chore: size_t -> std::size_t

* chore: fix fuckup from previous commit

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build with std::size_t

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build
2024-07-30 20:06:46 -03:00