Commit Graph

868 Commits

Author SHA1 Message Date
TheDdraig
336967b324 Fix (Core/Scripts): Warrior T3 8P Bonus Fix (#10561)
* Fix (Core/Scripts): Warrior T3 8P Bonus Fix

* Update spell_warrior.cpp

* Update spell_warrior.cpp
2022-02-09 13:56:24 -05:00
Skjalf
7bed30a52d chore(Scripts/Events): fix typo (#10604) 2022-02-09 11:11:13 -03:00
Kitzunu
cf65cd6baf refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792) 2022-02-09 11:59:30 +01: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
IntelligentQuantum
93520f6466 feat(Core/Position): own file (#10505) 2022-02-08 05:12:42 -03:00
Nefertumm
87f76587d8 fix(Scripts/MoltenCore): Ragnaros dying while submerging (#10535)
* Fix(Core/MC): Ragnaros dying while submerging

* Don't die on submerge

* Update boss_ragnaros.cpp
2022-02-07 06:39:50 -03:00
IntelligentQuantum
3f85eb9ac6 fix(Scripts/Commands): cs_list crash (#10480)
* Update cs_list.cpp

* This way? not tested

* Update cs_list.cpp
2022-02-05 18:43:39 +01:00
UltraNix
0b02ba87fc fix(Core/Reputations): Faction rep gained by killing mobs is now prop… (#9737)
* fix(Core/Reputations): Faction rep gained by killing mobs is now properly rounded up.

Do not increase reputation rank if exceeds max rank cap.
Fixes #8718
2022-02-05 07:37:00 -03:00
Kargatum
de13bf426e feat(Core/DBLayer): replace char const* to std::string_view (#10211)
* feat(Core/DBLayer): replace `char const*` to `std::string_view`

* CString

* 1

* chore(Core/Misc): code cleanup

* cl

* db fix

* fmt style sql

* to fmt

* py

* del old

* 1

* 2

* 3

* 1

* 1
2022-02-05 00:37:11 +01:00
Nefertumm
efce657db4 fix(Core/BWL): do not open Nefarian door until Chromaggus is defeated (#10472) 2022-02-04 19:05:26 +01:00
Nefertumm
1dbbed0c50 fix(DB/Quest): move Lost In Battle to DB (#10378) 2022-02-04 17:53:18 +01:00
Nefertumm
634e41fc1c fix(Core/Spells): delete creatures threat list after taming them for t… (#10224) 2022-02-04 15:27:20 +01:00
Kargatum
3a0a9ba088 feat(Core/Common): move EventMap to separated files, add support chrono (#10209) 2022-02-04 15:12:45 +01:00
Nefertumm
40d233a9f6 fix(Scripts/MoltenCore): Separate teleport timers for Majordomo Executus (#10348) 2022-02-04 02:19:33 -03:00
Kitzunu
c63ebde9d7 feat(Guild/Commands): guild rename (#10323)
* feat(Guild/Commands): guild rename

* cherry-pick commit (678cade116#)

* Update cs_guild.cpp
2022-02-03 06:01:16 -03:00
UltraNix
89d3a4d6b3 fix(Scripts/Pets): Increased Shadowfiend hp. (#10304)
Fixed #4792
2022-02-01 05:54:46 -03:00
Skjalf
2d7434f767 feat(Scripts/Commands): Implement go quest starter/ender command (#10442)
* feat(Scripts/Commands): Implement go quest starter/ender command

* Update cs_go.cpp
2022-01-31 08:56:37 -03:00
Kargatum
5969df4e30 refactor(Core/Logging): switch to fmt style for LOG_ (#10366)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

* Update src/server/game/Spells/Spell.cpp

* rework logging

* add fmt replace logs

* logging

* FMT_LOG_

* settings

* fix startup

* 1

* 2

* 3

* 4

* 5

* fmt::print

* to fmt
2022-01-27 16:44:41 +01:00
Nefertumm
1ddf5d8d1f fix(Core/MC): Core Hounds should despawn after death (#10219) 2022-01-26 21:18:45 -03:00
acidmanifesto
b4b7a00b94 fix (core/pdump): Fix Pdump write and load thru TC Cherry picks (#10349)
* fix (core/pdump): Fix Pdump write and load thru TC Cherry picks

TC Cherry picks were over 30. I am not listing it all but i am listing authors of said relations that this pr is based on.

Co-Authored-By: Brian <runningnak3d@gmail.com>
Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com>
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: SnapperRy <19622383+SnapperRy@users.noreply.github.com>
Co-Authored-By: Ariel Silva <ariel-@users.noreply.github.com>
Co-Authored-By: Nick <31777+paradox@users.noreply.github.com>
Co-Authored-By: r00ty-tc <r00ty-tc@users.noreply.github.com>
Co-Authored-By: Jorge García <259712+xurxogr@users.noreply.github.com>
Co-Authored-By: Kaelima <kaelima@live.se>
Co-Authored-By: Shocker <43253032+shockerqt@users.noreply.github.com>
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>

* fix whitespace

formatting look like it had a stroke.

* Updated in script notes

Updated in script notes to reflect it was a note from tc that was refactored in

* Acore::StringTo

* acore::stringto

Co-authored-by: Brian <runningnak3d@gmail.com>
Co-authored-by: joschiwald <736792+joschiwald@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: SnapperRy <19622383+SnapperRy@users.noreply.github.com>
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
Co-authored-by: Nick <31777+paradox@users.noreply.github.com>
Co-authored-by: r00ty-tc <r00ty-tc@users.noreply.github.com>
Co-authored-by: Jorge García <259712+xurxogr@users.noreply.github.com>
Co-authored-by: Kaelima <kaelima@live.se>
Co-authored-by: Shocker <43253032+shockerqt@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-01-24 19:47:16 -05: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
Nefertumm
5fc76c8cc3 fix(Core/MC): Randomize shields for Majordomo Executus (#10270) 2022-01-24 10:43:55 -03:00
Kargatum
8b7df23f06 feat(Core/Time): Implement saparated manager for game time (#8630) 2022-01-24 17:55:00 +07:00
IntelligentQuantum
75fc2d1b2d fix(Scripts/Commands): quest complate kill reward (#9926) 2022-01-24 09:22:40 +01:00
UltraNix
2f8318fd58 fix(Scripts/Hunter): Bestial Wrath shoul not be castable on dead pets. (#9896)
Bestial Wrath should expire while pet is offline.
2022-01-23 23:45:24 -03:00
UltraNix
fa6e9818fb fix(Scripts/Omen): Giant Spotlight NPC should be not selectable. (#10198)
Fixes #10085
2022-01-22 20:15:50 -03:00
Nefertumm
ce5fc6ebdf fix(Core/Stratholme): Some adjustments to Jarien and Sothos fight (#10269) 2022-01-22 16:22:49 -03:00
Francesco Borzì
abc56842c4 refactor(Core): remove unused imports (#10296) 2022-01-22 11:21:35 +01:00
Nefertumm
fcee2c4ffe fix(Core/BWL): Vaelastrasz reset after wipe (#10176)
* Fix(Core/BWL): Vaelastrasz reset issue

* Gossip reset and separate the timers

* Reset heal should be on Reset instead on EnterCombat
2022-01-21 14:59:07 -03:00
UltraNix
e1617a0044 fix(Core/Spells): Restored special Rolling DoTs mechanic for Corruption and SW:Pain (#10206)
Fixes #9867
2022-01-21 13:39:11 -03:00
Kargatum
6d7f58e6ed feat(Core/Common): delete old Tokenizer (#10121) 2022-01-21 14:59:05 +07:00
Nefertumm
cc1fc27ae5 fix(Scripts/Stratholme): Cancel Baron's Ultimatum event after Baron dies (#10242) 2022-01-20 18:50:29 -03:00
Nefertumm
fd7f33b737 fix(Core/Quest): A Rogue's Deal should be completed if pet lands the killing blow (#9917) 2022-01-20 10:45:19 -03:00
Kargatum
259b9133f6 feat(Core/Common): add new helpers for time utility (#10207) 2022-01-19 12:01:59 +07:00
UltraNix
0f2c092df7 fix(Core/Events): Prevent seasonal quests from resetting at server re… (#9708)
* fix(Core/Events): Prevent seasonal quests from resetting at server restart. Source: TrinityCore.

Fixes #6973

* Update.

* Update.

* Update.
2022-01-16 22:25:17 -05:00
UltraNix
e842119605 fix(Core/Spells): Drop combat on Mind Control cancel. (#10201)
Fixes #9980
2022-01-16 22:26:23 -03:00
UltraNix
b74fb81b8c fix(Scripts/Instances): Fixed some problems with getting proper unit'… (#10193)
* fix(Scripts/Instances): Fixed some problems with getting proper unit's GUID in BlackwingLair raid.

Fixes #5054
Fixes #10156

* Update.
2022-01-16 20:38:57 -03:00
Skjalf
124ea8a1e7 fix(Scripts/BRD): Arena Spoils shouldn't despawn whem High Justice Grimstone is removed from world (#10140) 2022-01-16 08:36:39 -03:00
Skjalf
1995430438 fix(Scritpts/MoltenCore): Add immune to pc & npc flags to Ragnaros (#10179) 2022-01-16 01:58:36 -03:00
Skjalf
96cf1e60e9 fix(Scripts/Spells): fix a crash with Scent of Blood talent (#10078) 2022-01-15 21:10:06 -03:00
Kargatum
7f05e20994 fix(Core/Pets): fix crash at pet resurrect (#10120) 2022-01-15 19:08:54 -03: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
acidmanifesto
f5aed756e5 fix (core\script) Double to Float Fix (#10161) 2022-01-13 19:45:10 -05:00
Kitzunu
707685d633 fix(Core/Build): Fallthrough (#10165) 2022-01-13 19:34:57 -05:00
Malcrom
d811d89c88 fix(Core/GM Commands): Update NPC Info command (#10157)
* fix(Core/GM Commands): Update NPC Info command

* Update rev_1642085410673517853.sql

* Update rev_1642085410673517853.sql

* Prevent temp spawn crashing

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
2022-01-13 19:28:40 -04:00
Nefertumm
8d78f4b8c2 fix(Core/BWL): Suppression traps can be disarmed (#10163)
* Fix(Core/BWL): Suppression traps can be disarmed

* missing override (why not present before?)
2022-01-13 17:52:06 -03:00
acidmanifesto
4330e44ad0 fix (Core/CodeReduction) TC_ removal (#10162)
TC_ remove from any commit out TC_LOG in the event when we do need to run debug logging, we can just remove the // instead of // TC_
2022-01-13 14:39:54 -05:00
UltraNix
3fe82ff268 fix(Scrips/BlackrockSpires): add missing _JustDied() to Halycon script (#10065)
- Closes #9953
2022-01-13 14:58:36 +01:00
Malcrom
2fd8b00d7b feat(Core/Creature): Dual id Spawning WIP (#10115)
* feat(Core/Creature): Multi id Spawning WIP

* Update Creature.cpp

* Update PR

* Add Sql

* Update rev_1641837958335217980.sql

* Update src/server/game/Globals/ObjectMgr.cpp

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

* Update src/server/game/Globals/ObjectMgr.cpp

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

* Update rev_1641837958335217980.sql

* Update cs_npc.cpp

* Create changes_1641842959398297300.md

* Fixed issue added with random model PR

* Update GameEventMgr.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-01-10 22:09:14 -04:00