Commit Graph

272 Commits

Author SHA1 Message Date
IntelligentQuantum
ab4ee71762 feat(Core/Maps): AreaBoundary (#10525)
* cherry-picked commit (2da458c56d)
2022-04-15 14:10:41 +02:00
Axel Cocat
17e143763a fix(Core/Unit): Remove some hardcoded texts (#5816) 2022-04-15 13:17:06 +02:00
UltraNix
47790c9714 fix(Core/Vmaps): Stop M2s from occluding for spellcast LoS. Original autho… (#11341)
* Core/Vmaps: Stop M2s from occluding for spellcast LoS. Original authors: @Shauren & @HelloKitty

Fixes #11293

* buildfix.

Co-Authored-By: HelloKitty <5829095+HelloKitty@users.noreply.github.com>
2022-04-10 09:24:35 -03:00
Kitzunu
9858773ab6 fix(Scripts/UtgardPinnacle): Implement Beast's Mark (#11298)
* chery-pick commit (f6409efcf6)

Co-Authored-By: Lucas Nascimento <keader.android@gmail.com>

Co-authored-by: Lucas Nascimento <keader.android@gmail.com>
2022-04-07 15:55:01 -03:00
UltraNix
48fccc851d fix(Scripts/Raids): Fixed setting UNIT_FLAG_NON_ATTACKABLE flag to … (#10759)
* fix(Scripts/Raids): Fixed setting `UNIT_FLAG_NON_ATTACKABLE` flag to some Trial of the Champions bosses.

Fixes #8980

* Update.

* Update.

* Update.
2022-04-06 05:48:06 -03:00
UltraNix
8426da6e6b fix(Scripts/Ulduar): Sara's buffs should be casted randomly among the players. (#11255)
Fixes #11240
2022-04-05 09:12:54 -03:00
Kitzunu
b41967a067 feat(Core/GameObject): Gob flag helpers (#11287) 2022-04-05 13:52:58 +02:00
Kitzunu
edb7cac19b feat(Core/Unit): NPCFlags helpers (#11286)
* cherry-pick commit (TrinityCore/TrinityCore@d611925)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
2022-04-05 13:52:42 +02:00
Kitzunu
535c7451a2 feat(Core/Unit): New helpers for DynamicFlags (#11230)
* feat(Core/Unit): New helpers for DynamicFlags

* cherry-pick commit (d611925dc7)

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

* oopsie

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-04-01 07:14:29 -03:00
UltraNix
3255e1cdf7 fix(Scripts/Ulduar): Yogg-Saron portals should be interactable. (#11150)
* fix(Scripts/Ulduar): Yogg-Saron portals should be interactable.

Fixes #11140

* Update

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

Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
2022-04-01 07:07:37 -03:00
UltraNix
76227539dd fix(Scripts/Ulduar): Do not spawn Hodir chests if already defeated. (#11149)
Fixes #11139
2022-04-01 07:05:37 -03:00
IntelligentQuantum
395eed4045 feat(Scripts/Spells): Move to spell scripts Deathbolt (#11100)
* .

* Update zone_sholazar_basin.cpp

* Update SpellEffects.cpp
2022-04-01 07:00:45 -03:00
Walter Pagani
e139ed1c0b fix(Scripts/Icecrown): Lich King should not evade attacks on last phase (#11146)
Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
2022-03-30 09:47:52 -03:00
Kitzunu
856aed6fc6 feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 (#11227) 2022-03-30 07:59:42 -03:00
UltraNix
69616e5d6d fix(Scripts/Ulduar): Open the chamber door on Kologarn's death. (#11085) 2022-03-27 01:38:06 -03:00
UltraNix
5b50f04c5c fix(Scripts/Ulduar): The Flame Leviathan's main gate should be closed during the fight. (#11083) 2022-03-27 01:37:27 -03:00
UltraNix
df89bbafe4 fix(Scripts/Vehicles): The next player entering Salvaged Siege Engine… (#10987)
… should control turret if it's not occupied.
2022-03-27 01:16:12 -03:00
Grimgravy
c797cb0b93 fix(Scripts/Quest): improved Overwhelmed! (#10387) 2022-03-25 12:44:25 +01:00
UltraNix
68891ccd74 fix(Core/Loot): Fixed some chests inside dungeons not being bound only to participants. (#10995) 2022-03-18 18:33:04 -03:00
UltraNix
d07430199d fix(Scripts/Ulduar): "I Could Say That This Cache Was Rare" achievement. (#10912) 2022-03-12 04:44:27 -03:00
UltraNix
37d92f8dc8 fix(Scripts/Ulduar): Fixed spawning Hodir chests. (#10844) 2022-03-09 05:26:25 -03:00
UltraNix
5e7166977e fix(Scripts/Ulduar): Fixed launching Leviathan's hard mode. (#10911)
Fixes #10877
2022-03-09 05:17:32 -03:00
avarishd
a2b2b26056 fix(Scripts/Ulduar): Flame Leviathan first time engage (#10809) 2022-03-02 00:03:31 +01:00
acidmanifesto
69e2f2e3aa fix/feat: (Core/PacketIO): updated sound and creature addon (#10813)
* fix\feat: (Core/PacketIO): updated sound and creature addon

updated SMSG_PLAY_SOUND, SMSG_PLAY_MUSIC and SMSG_PLAY_OBJECT_SOUND via tc cherry pick
https://github.com/TrinityCore/TrinityCore/pull/2363 and 0f1f7ef401 by @joschiwald  and @ForesterDev
This so far a attempt to align atleast with sound with tc, and correct a potentional issue of hearing creature sounds that is not in visible range. I notice PlaySound was being defined in some weird dependency as it isnt with tc so I renamed it to Playsound. Notice a isLarge still being used in the creature addon when it was depreciated, so i removed that a that seem to of interfered with visibilitydistanceType.

Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com>
Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
2022-02-26 10:05:58 -05:00
UltraNix
4509a36e91 fix(Core): Crashfix. (#10744)
Fixes #10601
Fixes #10733
2022-02-22 11:15:50 -05:00
Kitzunu
665919d010 refactor(Core/Misc): rename some variables that can be confusing (#10592) 2022-02-14 20:06:59 +01:00
Kitzunu
455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
Kitzunu
cf65cd6baf refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792) 2022-02-09 11:59:30 +01:00
IntelligentQuantum
93520f6466 feat(Core/Position): own file (#10505) 2022-02-08 05:12:42 -03:00
Kitzunu
1c0019ec18 fix(Scripts/Spell): properly script collapsing cave aura (#10092)
* cherry-pick commit (8d1a5fa126)

Co-authored-by: Sorikoff <46191832+Sorikoff@users.noreply.github.com>
2022-01-24 21:18:47 -03:00
Kargatum
8b7df23f06 feat(Core/Time): Implement saparated manager for game time (#8630) 2022-01-24 17:55:00 +07:00
Malcrom
dfac47a562 feat(Core/Creature): Allow 3 ids per spawn point. TESTING (#10169)
* feat(Core/Creature): Allow 3 ids per spawn point.

* Move GetRandomId to a function

* Update id to id1

* Fixed some errors crashing core and text

* Set ids to lowercase for GetRandomId function

* Update src/server/database/Database/Implementation/WorldDatabase.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-01-14 19:21:50 -04:00
Kitzunu
d1cc65b1c7 refactor(Core/Misc): isEmpty to IsEmpty (#10011) 2022-01-13 21:43:15 -05:00
Kitzunu
9d96adeb6b fix(Scripts/Icecrown Citadel): Ensure Deathbringer Saurfang casts Frenzy (#10048)
* cherry-pick commit (a0a64b10b5)

Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com>
2022-01-08 16:12:33 +01:00
Kitzunu
cb7e355291 refactor(Core/Misc): sin() to std::sin() (#9795) 2022-01-06 19:29:40 +01:00
Francesco Borzì
b748730bc8 refactor(Core): remove unused imports (#9969) 2022-01-02 20:22:09 +01:00
Kitzunu
913e65f97f refactor(Core/Misc): fabs() to std::fabs() (#9790)
- prefer std functions over C functions
2021-12-31 20:41:00 -03:00
Kitzunu
ac99eb48e1 refactor(Core/Misc): abs() to std::abs() (#9789) 2021-12-31 19:29:39 -03: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
UltraNix
07c93c2dfa fix(Core/Movement): Fixed adding wrong flag on root. (#9803)
* fix(Core/Movement): Fixed addind wrong flag on root.

Fixes #5891
2021-12-22 13:54:23 -03:00
IntelligentQuantum
11a734bf2b refactor(Core/Scripts): Spell To Scripts (#9718) 2021-12-21 11:13:45 -03:00
Kitzunu
7617ae4645 refactor(Core/Misc): fmod() to std::fmod() (#9796)
- prefer std functions over C functions
2021-12-21 01:16:59 -03:00
Francesco Borzì
cbc7e5466a refactor(Core): remove unused imports (#9767) 2021-12-19 19:41:14 +01:00
Kitzunu
de49c3bead chore(Script/Misc): Cleanup some JustDied hooks (#9669) 2021-12-18 08:26:43 -03:00
Kitzunu
9be67e508b refactor(Scripts/Zone): move crystalsong_forest to new system (#9700) 2021-12-17 18:07:28 +01:00
Kitzunu
05a2d5baa8 refactor(Scripts/AhnKahet): new script system (#9040) 2021-11-28 04:23:19 -03:00
patou01
801a20fce2 refactor(Core): Clean-up after FD (#8586) 2021-11-28 03:04:14 -03:00
acidmanifesto
29f49108a5 chore(Core): Remove unnecessary slang Cosmetic (#9325)
* Remove unnecessary slang

Removes ZOMG! that is used in the src in logging and notes. Completely Unnecessary. Contributes to nothing useful. Inflates source. Not needed at all in any shape or form. Not Developer Lingo either.

* Further Clean Up

Removed Profanity

* sensible grammar correction

* More ZOMG! removal
2021-11-25 04:31:54 -03:00
Kargatum
f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00