Commit Graph

41234 Commits

Author SHA1 Message Date
Shauren
06db073eb9 Core/PacketIO: Add missing bit writes 2023-05-13 15:48:25 +02:00
Shauren
3260b94dd6 Core/Misc: Replace string to int conversion functions from Common.h with c++17 std::from_chars based ones Trinity::StringTo 2023-05-13 15:46:27 +02:00
Shauren
c4d4008596 Scripts/Underrot: Removed unneccessary code, handled by difficulty version of SpellMisc already 2023-05-10 17:20:51 +02:00
Shauren
1325e0c4b2 Core/Units: Power handling improvements
* Don't include creature_template power multipliers in CreateMana updatefield
* Allow NPCs to have power types other than mana
* Add missing Essence config regeneration rate
* Fixed demon hunter powers not decaying immediately after combat
* Fixed some powers decaying immediately out of combat after energizing (for example holy power)
* Replace hardcoded list of powers to set to full on levelup with a db2 flag check
* Updated Creature::GetPowerIndex for 10.1 new power types
2023-05-09 23:16:30 +02:00
Teleqraph
8828af2a5e Core/Units: Add PowerTypeFlags enum (#28897) 2023-05-09 23:10:16 +02:00
Naddley
a40f85435d DB/ZaralekCavern: Added spawns for Slitherdrake Roost 2023-05-09 17:29:08 +02:00
ModoX
0805ad853e DB/Misc: Fixed naming of sql file 2023-05-09 05:21:31 +02:00
Jeremy
205aba1ff3 Core/Battlegrounds: Moved AreaSpiritHealer resurrection handling to respective npc flags (#28508)
* UNIT_NPC_FLAG_AREA_SPIRIT_HEALER
* UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL
2023-05-09 05:20:35 +02:00
Shauren
dc28475096 Core: Update allowed build to 10.1.0.49474 2023-05-09 01:07:52 +02:00
Naddley
15b308d535 DB/ZaralekCavern: Added spawns for The Throughway
+ Area: Shimmering Towers and Deephollow Lake
2023-05-08 23:59:24 +02:00
Teleqraph
4fb5737e3d Scripts/Spells: Implement Painful Punishment (#28928) 2023-05-07 19:37:16 +02:00
Teleqraph
6ef501b278 Scripts/Spells: Implement Purge the Wicked (#28926) 2023-05-07 18:54:26 +02:00
Teleqraph
b53de1eb4b Scripts/Spells: Implement Dark Reprimand (#28925)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-05-07 17:52:48 +02:00
Teleqraph
23f42e09ec Scripts/Spells: Update Halo (#28924)
* Update Halo's trigger spells to properly support both Halo for Shadow and Holy/Discipline specs. It also offers support during Shadow Covenant aura for Discipline since it uses SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS to override the spells cast.
2023-05-07 16:43:56 +02:00
Naddley
6ac102d1cf DB/Player: Added class level stats for Paladin 2023-05-07 01:21:29 +02:00
Naddley
302b6c7f07 DB/Player: Added class level stats for Warrior 2023-05-07 01:20:35 +02:00
Naddley
487352db9e DB/Player: Added class level stats for monk 2023-05-07 01:19:35 +02:00
Naddley
1b49b1304d DB/Player: Added createinfo data for new Worgen/Goblin Monk combination 2023-05-07 01:16:55 +02:00
Gosha
eb7f02849c Core/Misc: TaskScheduler cleanup (#28862)
-Pass std::chrono types by value, they are small enough to not be passed around by const&
-Same applied to Optional<group_t>
-Replace EmptyCallback with nullptr

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-05-06 23:59:37 +02:00
Teleqraph
145bb98ecb Core/Auras: Implement SpellAuraInterruptFlags2::Falling (#28941) 2023-05-06 22:54:13 +02:00
Teleqraph
2b231c9866 Core/Auras: Implement SpellAuraInterruptFlags2::WarModeLeave (#28937)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-05-06 22:49:01 +02:00
Shauren
f4e5c381ac Build fix 2023-05-06 21:19:58 +02:00
Teleqraph
998ee363c5 Core/Auras: Implement SpellAuraInterruptFlags2::EndOfEncounter (#28939)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-05-06 21:03:00 +02:00
Teleqraph
15135ce16f Core/Auras: Implement SpellAuraInterruptFlags2::StartOfEncounter (#28938)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-05-06 20:56:01 +02:00
Teleqraph
ca66da1c97 Core/Auras: Implement SpellAuraInterruptFlags2::DuelEnd (#28940) 2023-05-06 18:48:50 +02:00
Teleqraph
5fddf06daa Core/Auras: Implement SpellAuraInterruptFlags2::EnteringInstance (#28942) 2023-05-06 17:58:40 +02:00
Teleqraph
513788e884 Core/Auras: Implement SpellAuraInterruptFlags2::AbandonVehicle (#28944) 2023-05-06 17:44:19 +02:00
Teleqraph
7c0ab49673 Core/Auras: Implement SpellAuraInterruptFlags2::LeaveArenaOrBattleground (#28943) 2023-05-06 17:39:37 +02:00
ModoX
920b9a99bd Core/Unit: Named npc flags UNIT_NPC_FLAG_AREA_SPIRIT_HEALER and UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL 2023-05-06 14:39:13 +02:00
Shauren
cd8bba63a2 Core/PacketIO: Fixed CreateObject structure for areatriggers 2023-05-06 13:54:04 +02:00
Shauren
a1e2ad439d Core/Spells: Check passive attribute on the final spell that will be cast by CMSG_CAST_SPELL, after taking overriden spells into account 2023-05-06 13:53:26 +02:00
ModoX
fa242fac76 DB/Template: Added 10.1.0.49444 wdb data & broadcast text 2023-05-06 12:38:20 +02:00
Shauren
22eb73916a Core/PacketIO: Reverted unintended change 2023-05-05 17:06:07 +02:00
Shauren
e540d74610 Core/PacketIO: Fixed quest query packet structure 2023-05-05 14:34:27 +02:00
Jeremy
cdb209fda4 Core/Spells: Implemented SPELL_EFFECT_TELEPORT_GRAVEYARD
* part of #28508
2023-05-05 09:27:56 +02:00
ModoX
e0996625be DB/Phase: Named Forbidden Reach & Zaralek Cavern Dragon Glyph phases 2023-05-05 01:48:42 +02:00
Shauren
3d36889c55 Core: Update allowed build to 10.1.0.49444 2023-05-05 00:56:02 +02:00
Shauren
3bd4c21754 Core/DataStores: Remove temporary 10.0.7 workraround 2023-05-05 00:45:11 +02:00
Shauren
16bc74667e Core: Update to 10.1 2023-05-04 17:00:52 +02:00
Aokromes
64f8693751 change aowow adress 10.0.7.49343 2023-05-03 09:01:44 +02:00
Naddley
b4da549036 DB/Valdrakken: Added Mayla Highmountain 2023-05-03 02:07:01 +02:00
Shauren
9740219850 Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute 2023-05-02 17:19:51 +02:00
Naddley
a7f917c13d DB/Stormwind: Added some more Darnassian Refugee spawns to The Canals 2023-05-02 01:48:49 +02:00
Shauren
c563d52c8d Core/Auras: Removed outdated aura type handling 2023-05-01 00:32:51 +02:00
Shauren
8f7a1d3c2c Core/Misc: Delay creating std::string objects for locale data after size validation 2023-04-30 14:04:28 +02:00
Shauren
7f5e47c396 Core/Realms: Remove duplicate realm names storage 2023-04-29 00:25:31 +02:00
ModoX
5138418364 Core: Updated allowed build to 10.0.7.49343 2023-04-28 01:52:15 +02:00
Shauren
d78f08aa9e Core/Chat: Implemented more chat link types
Closes #28946
2023-04-28 00:11:24 +02:00
Naddley
6d4a0ad8eb DB/Stormwind: Added some missing spawns to Dwarven District 2023-04-27 23:50:07 +02:00
Shauren
f540477fed Core/DataStores: Optimized DB2Storage::begin to remove searching for lowest id on every call 2023-04-27 00:17:25 +02:00