Commit Graph

343 Commits

Author SHA1 Message Date
Stefano Borzì
034b521501 feat(CI): add cppcheck (#15211)
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-03-05 18:47:18 +01:00
avarishd
6e61f38454 fix(Script/PitOfSaron): Pit of Saron - Remove hardcode and duplicated texts in DB (#15160) 2023-03-04 17:42:45 -03:00
avarishd
ea19c7f808 fix(Scripts/HallsOfReflection): Halls of Reflection - Fix Alliance side, text broadcasts and hardcodes. (#15227) 2023-03-04 17:39:34 -03:00
IntelligentQuantum
23fbdd0fe3 fix(Core/Scripts): Zort's Protective Elixir (#14365) 2023-03-04 12:22:22 +03:30
Skjalf
efe62bea4a fix(Scripts/IcecrownCitadel): fix Lord Marrowgar bone spikes (#15238) 2023-03-01 17:16:37 -03:00
Skjalf
a2d722e80d chore(Scripts/Ulduar): fix typo/misc when loading instance data (#15215) 2023-02-26 23:06:50 -03:00
Skjalf
590ab7c67f fix(Scripts/Naxxramas): Remove Sapphiron encounter boss requirements (#15048) 2023-02-15 05:26:25 -03:00
Skjalf
25c77a59c9 fix(Scripts/Ulduar): Don't load encounter states as IN_PROGRESS (#15041) 2023-02-14 05:17:08 -03:00
Kitzunu
bd6034e1a9 refactor(Core/AI): Some more refactoring prep for Comat Threat system… (#15026)
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
2023-02-13 21:39:40 +01:00
Skjalf
af8a927d85 fix(Scripts/Ulduar): Fix Stormcaller Brundir flying under texture (#14940) 2023-02-13 00:54:37 +01:00
Skjalf
0dbb8c814c refactor(Core/InstanceScript): refactored load and save methods (#14977)
Co-authored-by: joschiwald <736792+joschiwald@users.noreply.github.com>
2023-02-12 15:53:48 -03:00
Kitzunu
f039836a2f chore(Core/Misc): Change all TODO to doxygen comment (#14966) 2023-02-12 10:05:34 -03:00
UltraNix
15731486eb fix(Scripts/AzjolNerub): Fixed Hadronox being killed by mobs. (#14123) 2023-02-11 07:54:25 -03:00
cctvzj
1805cc269e fix(Script/Nexus/EOE/Oculus) The Scion of Eternity(EOE) target wrong and player can not ride the dragon in Oculus (#14830)
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-02-05 16:03:35 -03:00
Skjalf
bf30c66ba4 feat(Core/GameObject): Expand IsSummonedBy() to GameObjects (#14789)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-29 09:44:33 -03:00
Skjalf
b4e3f1310b feat(Core/Unit): Add KillSelf overload (#14785)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-28 17:57:23 -03:00
Pedro Antonio
ede34b714b fix(DB/Script): Violet Hold Door not opening (#13958) 2023-01-28 11:04:07 +01:00
M'Dic
437d93926f fix (core): macos12 depreciation workflow error / security CWE-120 (#14746)
* fix (core): macos12 depreciation workflow error

Fix workflow error message:
azerothcore-wotlk/src/common/Utilities/Util.cpp:558:9: fatal error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        sprintf(buffer, "%02X", bytes[i]);

* Update BattlegroundAV.cpp

* more macos12 fixit

* Update spell_generic.cpp
2023-01-23 06:13:27 -05: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
Angelo Venturini
72b446fb12 fix(Core/Scripts): Bloodscale Enchantress/Rajis Fyashe freezing circle (#13963)
Co-authored-by: Eridium <killyana@users.noreply.github.com>
Co-authored-by: Lucas Nascimento <keader.android@gmail.com>

Co-authored-by: Eridium <killyana@users.noreply.github.com>
Co-authored-by: Lucas Nascimento <keader.android@gmail.com>
2022-12-11 11:35:08 -03:00
Skjalf
19fa22ba92 Revert "refactor(Core/Movement): Naming convention" (#14100)
Revert "refactor(Core/Movement): Naming convention (#13989)"

This reverts commit d2f440c3e8.
2022-12-11 03:53:09 +01:00
Maelthyr
3024bee3ba refactor(Core/UnitAI): Update target selector (#13169)
* refactor(Core/UnitAI): Update TargetSelector.

Cherry-pick:
*https://github.com/TrinityCore/TrinityCore/pull/19930

Co-authored-by: Treeston <treeston@users.noreply.github.com>

* fix GGC/CLang errors in scripts

* .

* missing a file and fix a script error

* .

* fix path changes dude to a miss click in the second commit

* .

Co-authored-by: Maelthyrr <lynethris@protonmail.ch>
Co-authored-by: Treeston <treeston@users.noreply.github.com>
2022-12-06 09:27:13 -03:00
Maelthyr
d2f440c3e8 refactor(Core/Movement): Naming convention (#13989)
update codestyle

Co-authored-by: Maelthyrr <lynethris@protonmail.ch>
2022-12-02 05:52:01 -03:00
Skjalf
fb08f8e905 chore(Scripts/ToC): Correct variable naming according to standarrds (#13786)
* chore(Scripts/ToC): Correct variable naming according to standarrds

* Update src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/instance_trial_of_the_crusader.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-11-12 16:47:59 +01:00
Mickaël Mauger
7222699f61 fix(Scripts/ToC): Fix Trial of the Champion and Trial of the Crusader on … (#13772)
fix(scripts): Fix Trial of the Champion and Trial of the Crusader on player enter cleanup
2022-11-12 12:14:24 -03:00
Maelthyr
c1c9dc6105 refactor(Core/ScriptedAI): few improvements with threat methods (#13146)
improve threat scripts

Co-authored-by: Maelthyrr <lynethris@protonmail.ch>
2022-11-12 13:29:28 +01:00
ZhengPeiRu21
5a7822282f feat(Core): Config to disable all Wintergrasp processing (#13086)
* feat(Core): Config to disable all Wintergrasp processing

* Use 2 instead of -1 - configs are parsed as uint

* Fix build warnings
2022-11-01 06:22:09 -03:00
Walter Pagani
b4419512a3 fix(Scripts/ICC): gossip in boss Deathbringer Saurfang (#12381) 2022-10-14 17:35:06 +02:00
M'Dic
2e6f6e26da Add (core\db): Support for Homebind Orientation (#13389)
Add (core\db) Support for Homebind Orientation
2022-10-12 14:39:02 -04: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
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
Kitzunu
c10a229f05 refactor(Scripts/Anubarak): Convert spellscripts to new system (#13194) 2022-10-01 11:52:04 -04:00
Maelthyr
1f472bddd3 refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992) 2022-09-25 15:20:34 -03:00
UltraNix
87861a86c1 fix(Core): Crashfix. (#13126) 2022-09-25 10:40:21 -03:00
SoglaHash
e3f9ad1e6b fix(CORE/Naxxramas): Portals and Teleports (#12696)
This fixes overlapping portals inside and outside Naxxramas. Their
rotation is also corrected (from CCW to CW). The post-boss
Naxxramas portals now teleport to the blue hub portal and activate only
when all wings are cleared. This requirement can be bypassed with the
orbs, which are now correctly
casting their respective sapphiron entry/exit spells in addition to having the
correct position.
2022-09-21 13:06:34 -04:00
Grimgravy
8c369ef865 fix(Core/Quest): improved flight of the wintergarde defender (#12437)
* fix(Scripts/Quest): Flight of the Wintergarde Defender

* .

* update

* update
2022-08-27 09:51:40 -03:00
Angelo Venturini
0f36736d42 fix(Core): Freeze on Lord Jaraxxus (#12616) 2022-08-03 11:25:21 -04:00
UltraNix
44094613b5 fix(Core): Crashfix. (#12296) 2022-07-03 10:37:02 -04:00
IntelligentQuantum
8de594e000 feat(Core/Scripts): Added Boundary in Azjol nerub (#12159) 2022-07-02 09:11:37 -04:00
IntelligentQuantum
afe48578d7 feat(Core/Scripts): Added Boundary in Obsidian sanctum (#12158)
* .

* Clion event trace

* Update .gitignore

* feat(Core/Scripts): Added Boundary in Obsidian sanctum

* .
2022-06-26 04:46:06 -03:00
IntelligentQuantum
07a6c17449 feat(Core/Scripts): Added Boundary in Forge of Souls (#11798) 2022-06-24 10:26:10 -04:00
Skjalf
c6ff6005be fix(Scripts/UtgardePinnacle): Svala Sorrowgrave's sacrifice should o… (#12069) 2022-06-20 09:46:05 -03:00
UltraNix
a6b91026a7 fix(Core): Crashfix. (#12093) 2022-06-18 10:40:29 -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
avarishd
9aa3fef4a8 fix(Script/Quest): Mystery of the Infinite minor adjustments & zone_dragonblight move to db from hardcode (#11810)
* Update zone_dragonblight.cpp

* add IsFlying check to Future/past NPC & better randomizer

* ocd ( align =)

* Add Nozdormu "phasing"

* cs
2022-06-08 08:32:57 -03:00
UltraNix
f312600513 fix(Core): Crashfix. (#11956) 2022-06-07 23:38:33 -03:00
avarishd
75858bd786 fix(Script/Instance): Ulduar - Fix Keeper's missing gossips and remove hardcode (#11831)
* Ulduar-Keepers-Gossip

* codestyle
2022-06-06 09:47:11 -03:00
avarishd
156b1eb969 fix(Script/Instance): Ulduar - Flame Leviathan Hardcore to DB (#11879)
* Hardcore removal and comment out RepairText for Players

* codestyle

* Remove (now) unused void Say
2022-06-06 09:05:59 -03:00
avarishd
86ea199867 fix(Script/Core): Move hardcoded text to DB (#11829)
* Remove hardcodes from zones

And minor changes on (Q)  The cleansing

* cs

* codestyle
2022-05-30 04:23:29 -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