Commit Graph

97 Commits

Author SHA1 Message Date
Gultask
c0bbb52483 fix(Scripts/Midsummer): Stop Bonfires from spawning more gameobjects (#16618)
* Update midsummer.cpp

* .
2023-06-24 20:29:05 -03:00
Revision
6e39ffa64e fix(Core/GameObject): Pumpkin Shrine (#13460)
Co-authored-by: M'Dic <joshua.lee.betts@gmail.com>
2023-03-16 18:57:36 +01: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
Kitzunu
f039836a2f chore(Core/Misc): Change all TODO to doxygen comment (#14966) 2023-02-12 10:05:34 -03:00
Maelthyr
afb071bb04 refactor(Scripts): Update vanilla scripts to std::chrono (#14876)
Co-authored-by: Maelthyrr <AmanThul-Project@proton.me>
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-02-05 12:35:48 -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
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
UltraNix
e2bf207ae4 fix(Scripts/Spells): Apple Trap should not activate without the playe… (#13868)
fix(Scripts/Spells): Apple Trap should not activate without the player being on a Rental Ram.

Fixes #13186
2022-12-06 09:42:17 -03: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
UltraNix
7f4fe2e3ec fix(Scripts/Spells): Hallow's End Candy punpkin treat should turn pla… (#13808)
...yer into a pirate.
2022-11-21 18:59:24 -03:00
UltraNix
dbd785593d fix(Scripts/HallowsEnd): Fixed starting "Let the fires come" event. (#13487)
Fixes #13440
Fixes #13441
2022-10-23 12:04:55 -03:00
UltraNix
24c60ec302 fix(Scripts/Brewfest): Fixed race for tokens dailies. (#13109)
* fix(Scripts/Brewfest): Fixed race for tokens dailies.

Fixes #13077

* Update.
2022-09-25 22:45:25 -03:00
UltraNix
ddcf0e79b6 fix(Scripts/Brewfest): Added inebriate effect to Complimentary Brewfe… (#13112)
fix(Scripts/Brewfest): Added inebriate effect to Complimentary Brewfest Sampler.

Fixes #13085
2022-09-25 13:11:31 -03:00
Meramaf
e1e4c6cddc Script/Spell: fix Midsummer's Juggling Torch (#12198)
* Script/Spell: fix Midsummer's Juggling Torch

* Update juggling_torch_fix.sql

* Update data/sql/updates/pending_db_world/juggling_torch_fix.sql

Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>

* Update midsummer.cpp

Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
2022-07-02 16:30:58 -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
IntelligentQuantum
ab4ee71762 feat(Core/Maps): AreaBoundary (#10525)
* cherry-picked commit (2da458c56d)
2022-04-15 14:10:41 +02:00
Kitzunu
856aed6fc6 feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 (#11227) 2022-03-30 07:59:42 -03:00
UltraNix
a92708686d fix(Core/Spells): Crown Parcel Service Uniform should dismount players (#10654)
- Closes #10652
2022-02-15 12:46:53 +01:00
Kitzunu
455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
Nefertumm
c9ac48e824 fix(Core/Events): Apothecary Hummel (#10615)
* Fix(Core/Events): Apothecary Hummel

Co-authored-by: sirikfoll <sirikfoll@hotmail.com>
Co-authored-by: Killyana <Killyana@users.noreply.github.com>

* missed return

* Missing include

* Fixed delete

Co-authored-by: sirikfoll <sirikfoll@hotmail.com>
Co-authored-by: Killyana <Killyana@users.noreply.github.com>
2022-02-11 06:00:10 -03:00
Kitzunu
27df910cb7 refactor(Script/Event): convert midsummer into new system (#9607) 2022-02-10 04:26:37 +01:00
Skjalf
7bed30a52d chore(Scripts/Events): fix typo (#10604) 2022-02-09 11:11:13 -03:00
Skjalf
4b32ad1853 fix(Scripts/Events): Fix not being able to start the Apothecary Trio … (#10596)
* fix(Scripts/Events): Fix not being able to start the Apothecary Trio encounter

* ops

* Update love_in_air.cpp

* Update love_in_air.cpp
2022-02-09 04:13:38 -03:00
Kargatum
8b7df23f06 feat(Core/Time): Implement saparated manager for game time (#8630) 2022-01-24 17:55:00 +07:00
Kargatum
259b9133f6 feat(Core/Common): add new helpers for time utility (#10207) 2022-01-19 12:01:59 +07:00
Kitzunu
d1cc65b1c7 refactor(Core/Misc): isEmpty to IsEmpty (#10011) 2022-01-13 21:43:15 -05:00
Kitzunu
cb7e355291 refactor(Core/Misc): sin() to std::sin() (#9795) 2022-01-06 19:29:40 +01:00
Kitzunu
69683a3472 chore(Scripts/Misc): Cleanup some more JustDied hooks (#9768) 2021-12-31 12:00:40 -03:00
Kargatum
c81891fc11 feat(Core/AI): convert SelectAggroTarget to enum class (#9893) 2021-12-28 19:13:12 -03:00
Francesco Borzì
cbc7e5466a refactor(Core): remove unused imports (#9767) 2021-12-19 19:41:14 +01:00
Kitzunu
5685a0e401 refactor(Scripts/Events): convert childrens_week to new system (#9611) 2021-12-14 21:15:16 -03:00
Kitzunu
695f8350af refactor(Scripts/Events): convert hallows_end to new system (#9610) 2021-12-14 15:41:36 -03:00
Kitzunu
4226976b3e refactor(Scripts/Events): convert brewfest to new system (#9612) 2021-12-13 07:04:56 -03:00
Kitzunu
92d7c276c1 refactor(Scripts/Event): convert pilgrims_bounty into new system (#9608) 2021-12-13 05:41:09 -03:00
Kitzunu
2af6e0ee20 refactor(Scripts/Events): convert love_in_air to new system (#9609) 2021-12-13 05:22:16 -03:00
Kitzunu
fa1f9085bb refactor(Script/Spells): convert winter_veil into new system (#9606) 2021-12-13 04:39:27 -03:00
UltraNix
6c1846ad8f fix(Scripts/Brewfest): Set proper npc entry to NPC_NORMAL_VOODOO (#9262)
* fix(Scripts/Brewfest): Set proper npc entry to `NPC_NORMAL_VOODOO`

Fixes #8027
2021-12-08 17:31:04 -03:00
Kitzunu
c37b6de450 fix(Script/Spell): Winter Wondervolt Trap (#9464) 2021-12-07 06:25:16 -03:00
UltraNix
41437acc9c fix(Scripts/Brewfest): Reload faction auras for revelers after respawn. (#9264)
Fixes #7871
2021-12-02 14:14:05 -03:00
Kargatum
f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
Kitzunu
6a430cd2f9 fix(Scripts/Misc): Replace some AddItem/CreateItem with spells (#9006)
Co-authored-by: offl <11556157+offl@users.noreply.github.com>
2021-11-20 09:59:52 -03:00
Nefertumm
436c60907d fix(Core/Achievement): Throw food (#9098) 2021-11-12 17:07:16 +01:00
sschepens
b7f8083915 feat(Core/Misc): change how Position struct is retrieved (#9017)
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bc changes by return a Position object instead of accepting a Position parameter by reference.

Cherry pick of 2585e799f9
2021-11-10 23:43:00 +01:00
Kitzunu
24f9f993cc refactor(GameObjectAI): Change self-accessor to "me" (#9041) 2021-11-08 22:06:04 +01:00
Malcrom
f106de8788 refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708) 2021-11-01 17:04:32 +01:00
UltraNix
ba719f0feb fix(Core/Event): improve "Let the fires come" event (#8199) 2021-10-16 16:24:48 +02:00
Kitzunu
bc82f36f1f refactor(Core/Unit): clean MonsterText methods (#6957) 2021-10-15 10:25:29 +02:00
UltraNix
b8345a2f98 fix(Core/DungeonFinder): Seasonal bosses are available only via Dunge… (#8056)
* fix(Core/DungeonFinder): Seasonal bosses are available only via Dungeon Finder tool.

Fixes #7889

* Update.

* Buildfix.

* Missing.
2021-10-14 13:22:37 +02:00
UltraNix
4947887644 fix(Scripts/Brewfest): Rewritten Coren Direbrew's fight(#8040)
- Closes #7890
2021-10-08 21:03:38 +02:00