Commit Graph

13867 Commits

Author SHA1 Message Date
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
Benjamin Jackson
e3e4133e88 fix(Core/Handlers): Only remove emote if player is moving. (#19740)
Init.
2024-09-03 13:12:32 -03:00
github-actions[bot]
b0ddca234d chore(DB): import pending files
Referenced commit(s): 9999a80c96
2024-09-03 16:08:30 +00:00
Anton Popovichenko
9999a80c96 feat(Core/Achievements): Add possibility to complete achievements and update achievement criteria for offline players. (#19851) 2024-09-03 13:05:23 -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
sudlud
c929b95172 fix(Conf): sync default values with core defaults (#19708)
fix(Conf): sync values with core defaults
2024-09-03 08:02:28 -03:00
Kitzunu
9af86553c5 chore(Core/Misc): update floor and ceil to std (#19837) 2024-09-03 08:01:00 -03:00
Kitzunu
de2bcbdabf refactor(Core/Misc): Acore::StringFormat to fmt format (#19838)
refactor(Core/Utilities): Acore::StringFormat to fmt format

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/10356
2024-09-03 07:59:37 -03:00
github-actions[bot]
f6fd978a7a chore(DB): import pending files
Referenced commit(s): 4eb44a08b5
2024-09-03 00:21:49 +00:00
Carriola
4189b4399a fix(DB/Creature): Steamvault - Coilfang Oracle casts Frostshock twice (#19844)
* fix(DB/Creature): Steamvault - Coilfang Oracle casts Frostshock twice

* fix extended to heroic mode
2024-09-02 21:21:09 -03:00
github-actions[bot]
4eb44a08b5 chore(DB): import pending files
Referenced commit(s): fd2e2936f6
2024-09-03 00:20:51 +00:00
Carriola
fd2e2936f6 fix(DB/Creature): Black Temple - Dragonmaw Wyrmcallers don't use Jab … (#19855)
fix(DB/Creature): Black Temple - Dragonmaw Wyrmcallers don't use Jab ability
2024-09-02 21:20:00 -03:00
Andrew
0954e314a0 fix(Scripts/BlackTemple): Fix Zerevor not casting Dampen Magic OOC (#19768)
* fix(Scripts/BlackTemple): Fix Zerevor not casting Dampen Magic OOC

* Update boss_illidari_council.cpp

* recast every 1min

* implement the recast checks

* Update CreatureAI.h

* Update boss_illidari_council.cpp

* Update boss_illidari_council.cpp

* fix ooc cast

* Update boss_illidari_council.cpp

* always respect the 60s lock

* Update boss_illidari_council.cpp

* Update boss_illidari_council.cpp
2024-09-02 20:44:34 -03:00
Benjamin Jackson
0158fa3e9e fix(Core/Handlers): Don't allow data to be sent while not grouped. (#19852)
Init.

https: //github.com/TrinityCore/TrinityCore/commit/f57647287af1f47a1c4a503cde654d6ff8f4261c

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-09-02 15:22:01 -03:00
Jelle Meeus
0504c7f9de fix(Core/GameObject): fixup allow use of Mage portal if caster is offline and still in group (#19853)
* fix portals

* fixup! fix portals

* fixup! fixup! fix portals
2024-09-02 14:00:15 -03:00
Benjamin Jackson
2f00db3418 fix(Scripts/BlackTemple): Adjust order of damage calculations for Shared Rule. (#19849)
Init.
2024-09-02 05:34:30 -03:00
github-actions[bot]
e295dfdea7 chore(DB): import pending files
Referenced commit(s): cdd816a1c6
2024-09-02 02:22:34 +00:00
Benjamin Jackson
cdd816a1c6 fix(DB/Spell): Don't allow Molten Flame damage to stack from multiple spawns. (#19848)
Init.
2024-09-01 23:21:40 -03:00
github-actions[bot]
981f35d173 chore(DB): import pending files
Referenced commit(s): 485e998afc
2024-09-02 01:55:59 +00:00
Benjamin Jackson
485e998afc fix(DB/Creature): Adjust Shadowy Construct run speed. (#19847)
Init.
2024-09-01 22:55:05 -03:00
Jelle Meeus
e1abc72a25 fix(Core/Spell): warrior stances proccing darkmoon card vengeance damage (#19796)
add spellinfocorrection
2024-09-01 20:58:03 -03:00
Saqra1
62b825f8bd fix(Core/Movement): Don't move for change in orientation only (#19687)
Changing only the orientation of a unit also flags it as if it were
moving, which causes spells to be interrupted.
2024-09-01 20:57:17 -03:00
Jelle Meeus
5d4c85143c fix(Core/GameObject): Allow use of Mage portal if caster is offline and still in group (#19797)
search group of user for ownerGUID
2024-09-01 20:56:05 -03:00
github-actions[bot]
dd32c74a7e chore(DB): import pending files
Referenced commit(s): 5c3e4cae6d
2024-09-01 23:55:33 +00:00
Andrew
5c3e4cae6d fix(DB/Creature): Fix unit flags for Arcane Charge trigger npc (#19833) 2024-09-01 20:54:41 -03:00
Benjamin Jackson
888aa00cfb fix(Core/Guild): Require repair rights in order to make use of guild repairs. (#19836)
* Init.

* Ensure only repair requests are screened.

* Adjust parentheses.
2024-09-01 00:48:13 -03:00
Kitzunu
5d31b9f98f refactor(Core/Item): Add helpers (#19828) 2024-08-31 19:38:50 -03:00
Benjamin Jackson
f88812443d refactor(Core): Correct typo. (#19830)
Init.
2024-08-31 17:38:03 -03:00
Andrew
83d623e559 fix(Scripts/BlackTemple): Fix Mother Shahraz teleport (#19820)
fix(Scripts/BlackTemple): Fix Mother Sharaz teleport

Co-authored-by: Keader <keader.android@gmail.com>
2024-08-31 17:35:17 -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
sudlud
43d60694e4 fix(CI/codestyle): bump dependencies for Node.js 20 (#19778) 2024-08-31 22:25:52 +02:00
github-actions[bot]
5331a29962 chore(DB): import pending files
Referenced commit(s): 9ae19e5429
2024-08-31 15:23:12 +00:00
Carriola-wotlk
9ae19e5429 fix(DB/Item): Feathermoon Headdress has the wrong stats (#19814)
* fix(DB/Item): Feathermoon Headdress has the wrong stats

* ITEM_MOD_SPELL_DAMAGE_DONE deprecated check removed
2024-08-31 12:22:18 -03:00
github-actions[bot]
be4b0f536e chore(DB): import pending files
Referenced commit(s): 5ab142af93
2024-08-31 14:06:15 +00:00
Carriola-wotlk
63a0f333df fix(DB/Creature): SSC - Greyheart Spellbinder miss Banish ability (#19813)
fix(DB/Creature)-SSC-Greyheart-Spellbinder-miss-Banish-ability
2024-08-31 11:06:11 -03:00
Grimdhex
5ab142af93 fix(Core/AI): remove an unused variable in ScriptedAI (#19816)
fix(Core/AI): remove an unused variable
2024-08-31 11:05:18 -03:00
Benjamin Jackson
8874953862 fix(Core/CharmInfo): Respect charm spell indices when adding to action bar. (#19811)
Init.
2024-08-31 10:36:57 -03:00
Benjamin Jackson
30f87a3e2f fix(Scripts/BlackTemple): Call evade for Council creature when members evade. (#19808)
Init.
2024-08-31 09:41:19 -03:00
Benjamin Jackson
9a503d4703 fix(Scripts/BlackTemple): Ensure Illidari council health is balanced across wipes. (#19809)
Init.
2024-08-31 09:40:48 -03:00
github-actions[bot]
fc735e37a2 chore(DB): import pending files
Referenced commit(s): 0fb2c5efeb
2024-08-30 19:22:27 +00:00
Jelle Meeus
0fb2c5efeb fix(Scripts/TheEye): Kaelthas remove enchanted weapons (#19801)
* remove weapons

Co-authored-by: killerwife <killerwife@gmail.com>

* style

for consistency

* also cast on KT JustDied

* fix TriggerCastFlags to not ignore reagent cost

* Apply suggestions from code review

---------

Co-authored-by: killerwife <killerwife@gmail.com>
2024-08-30 16:20:52 -03:00
Grimdhex
e4aab5b4f0 fix(Scripts/TempestKeep): revamp Kael'Thas (#19648)
* fix(Scripts/TempestKeep): force attackstop for all player during the last phase and cleanup the script of Kael'Thas

* few new fixes

* fix codestyle

* fix codestyle and remove misc stuff

*remove the useless DisableSpline
*remove also a misc change use only during the dev

* pass the health to DamageTaken instead UpdateIA

* avoid to iterate over the threatlist and use RemoveAllAttackers() instead

* Revert "avoid to iterate over the threatlist and use RemoveAllAttackers() instead"

This reverts commit 0623c0075191c91c2530496c83d017d3b6a824db.

* Revert "pass the health to DamageTaken instead UpdateIA"

This reverts commit 7f8609af603ecc042c819801a2f04d9d65c5031a.

* revert recents commits

* avoid potential conflicts with others enums

* fix build
2024-08-30 16:10:51 -03:00
github-actions[bot]
b1bae64171 chore(DB): import pending files
Referenced commit(s): 0bef1e1ee6
2024-08-30 17:37:10 +00:00
Benjamin Jackson
0bef1e1ee6 fix(DB/Creature): Add taunt immunity to Gurtogg Bloodboil. (#19800)
Init.
2024-08-30 14:36:18 -03:00
sudlud
40eb616e1f fix(Conf): drop unused options from worldserver.conf.dist (#19725) 2024-08-30 09:08:17 -03:00
ianmeesters
a83cd03bfb feat(Core/Player): add OnCalculateTalentsPoints hook (#19749)
* playerTalentsHook

* oeps :#

* :#

* does this work?

* make reference

---------

Co-authored-by: Amy Fang <amy@cavemail.ddns.net>
2024-08-30 09:06:07 -03:00
github-actions[bot]
6b7a61483b chore(DB): import pending files
Referenced commit(s): 2bb45fcd30
2024-08-30 12:05:27 +00:00
Benjamin Jackson
2bb45fcd30 fix(Scripts/BlackTemple): Adjust handling for Shared Rule spell. (#19770) 2024-08-30 09:04:08 -03:00
Tereneckla
1fd59e2831 feature(Core/Chat): allow fmt-chrono formatting (#19794) 2024-08-30 07:44:45 -03:00
github-actions[bot]
a7d7e78fed chore(DB): import pending files
Referenced commit(s): e1c923ff94
2024-08-29 19:11:20 +00:00