Closed Darkwood9612 closed 3 weeks ago
Add (MGEF & SPEL) reverse and calculation for spell damage to server side
[!IMPORTANT] Add server-side spell damage calculation and update related data structures and logic for MGEF and SPEL records. Behavior: Implement spell damage calculation in TES5SpellDamageFormulaImpl::CalculateDamage() in TES5DamageFormula.cpp. Update ActionListener::OnSpellCast() in ActionListener.cpp to log spell damage. Data Structures: Add Flags enum to MGEF and SpellFlags, CastType, Delivery, SPITData, EFIT, Effect structs to SPEL in MGEF.h and SPEL.h. Update MGEF::GetData() and SPEL::GetData() in MGEF.cpp and SPEL.cpp to handle new data structures. Logic: Modify MpActor::ApplyMagicEffect() in MpActor.cpp to handle new spell types and effects. Update MpActor::ApplyMagicEffects() in MpActor.cpp to apply multiple effects. Misc: Fix logging message in ActionListener::OnSpellCast() in ActionListener.cpp to include damage value. This description was created by for 506ea990e9ae51073269322be6d1de4f7999715a. It will automatically update as commits are pushed.
[!IMPORTANT] Add server-side spell damage calculation and update related data structures and logic for MGEF and SPEL records.
TES5SpellDamageFormulaImpl::CalculateDamage()
TES5DamageFormula.cpp
ActionListener::OnSpellCast()
ActionListener.cpp
Flags
MGEF
SpellFlags
CastType
Delivery
SPITData
EFIT
Effect
SPEL
MGEF.h
SPEL.h
MGEF::GetData()
SPEL::GetData()
MGEF.cpp
SPEL.cpp
MpActor::ApplyMagicEffect()
MpActor.cpp
MpActor::ApplyMagicEffects()
This description was created by for 506ea990e9ae51073269322be6d1de4f7999715a. It will automatically update as commits are pushed.
Починить компиляцию на линуксе и ок
Add (MGEF & SPEL) reverse and calculation for spell damage to server side