Commit Graph

29678 Commits

Author SHA1 Message Date
Shauren
3790c1e3da Core/Spells: Implemented spell target type 142 2023-05-28 01:14:19 +02:00
Shauren
7881f0ef5f Core/Creatures: Allow summons to be initialized properly when summoner is not in world yet 2023-05-27 18:43:43 +02:00
Shauren
3d3e94d8e4 Core/Auras: Fixed SPELL_AURA_LINKED_SUMMON summons not despawning when aura is removed from unit being removed from world 2023-05-27 16:17:39 +02:00
Shauren
781ca507dd Core/Commands: Added .debug playercondition command 2023-05-26 23:51:20 +02:00
Shauren
092119058b Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute 2023-05-24 22:10:04 +02:00
Shauren
db55a034fd Fix dynamic linking build 2023-05-23 10:46:46 +02:00
Shauren
206369934a Core/Spells: Implemented new proc hit type PROC_HIT_DISPEL 2023-05-22 18:55:17 +02:00
Shauren
c2884612ce Core/Players: Fixed crashes with char enum packet if equipment cache field does not have correct format 2023-05-22 11:58:50 +02:00
Shauren
c76d96edfb Core/Objects: Fixed uninitialized variables in FindCreatureOptions 2023-05-22 10:40:57 +02:00
Jeremy
fce1994795 Core/Players: Respawn alive at graveyard when releasing spirit (#29009) 2023-05-21 16:42:26 +02:00
Jeremy
7ba4e2df84 Core/Graveyards: Fix graveyards in subzones when there is no valid graveyard in that subzone (#29003) 2023-05-21 15:31:14 +02:00
ModoX
ae9ec38345 Scripts/Warrior: Fix nopch build 2023-05-21 14:29:40 +02:00
Shauren
7f98b71698 Core/Creatures: Fixed some creatures having 0 max health (and being unkillable) 2023-05-21 13:31:42 +02:00
SargeroDeV
f0aa85c99e Spells/Scripts: Implement Critical Thinking (#29005) 2023-05-21 13:27:02 +02:00
Jeremy
f8f1c3b4f0 Core/Areas: Update AreaFlags from EnumeratedStings values (#29008) 2023-05-19 20:11:31 +02:00
SargeroDeV
48820532e4 Scripts/Warrior: Implement Shield Block (#29004) 2023-05-18 22:43:35 +02:00
SargeroDeV
e943c695f2 Scripts/Warrior: Implement Warbreaker and In For The Kill (#28994) 2023-05-18 22:27:37 +02:00
SargeroDeV
94b7a863ef Scripts/Warrior: Implement Brutal Vitality (#28987) 2023-05-18 14:01:32 +02:00
Shauren
33bd04fb64 Core/Auras: Define new aura type
Closes #28995
2023-05-16 11:35:20 +02:00
Shauren
baefed8b95 Core/Proto: Updated protobuf messages and services 2023-05-16 00:40:43 +02:00
SargeroDeV
807c3555b5 Scripts/Warrior: Implement Shield Charge (#28974) 2023-05-15 08:32:49 +02:00
Shauren
8a91448f28 Scripts/Spells: Fixed uninitialized variable in d64f7c332e 2023-05-14 19:36:06 +02:00
Shauren
b42477f6b4 Warning fix 2023-05-14 19:35:26 +02:00
ModoX
d64f7c332e Scripts/Warrior: Implemented Fueled by Violence
Closes #28976

Co-authored-by: SargeroDeV <83485584+SargeroDeV@users.noreply.github.com>
2023-05-14 18:35:02 +02:00
Shauren
eadafb0347 Core/DBLayer: Relaxed restrictions on which Field class member function can be used to access column value from "strict match" to "must not truncate" 2023-05-14 16:30:05 +02:00
Shauren
8d0620eb05 Core/GameTables: Fixed parsing gt files (for real this time) 2023-05-14 00:55:03 +02:00
DeadMouse
83bc908531 Core/Battlegrounds: Correct distance check in HandleAreaSpiritHealerQueryOpcode and HandleAreaSpiritHealerQueueOpcode. (#28979) 2023-05-13 18:16:37 +02:00
Shauren
3f2d62f9d6 Core/GameTables: Fixed parsing gt files 2023-05-13 16:10:26 +02:00
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
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
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
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