feat: change death logic
This commit is contained in:
@@ -31,7 +31,7 @@ namespace L2Bot::Domain::Entities
|
||||
WorldObject::Update(transform);
|
||||
|
||||
m_FullName = fullName;
|
||||
m_VitalStats = vitalStats;
|
||||
m_VitalStats.LoadFromOther(vitalStats);
|
||||
m_Phenotype = phenotype;
|
||||
m_ExperienceInfo = experienceInfo;
|
||||
m_PermanentStats = permanentStats;
|
||||
@@ -93,6 +93,10 @@ namespace L2Bot::Domain::Entities
|
||||
{
|
||||
m_AttackerIds.clear();
|
||||
}
|
||||
void MarkAsDead()
|
||||
{
|
||||
m_VitalStats.MarkAsDead();
|
||||
}
|
||||
|
||||
const std::vector<Serializers::Node> BuildSerializationNodes() const override
|
||||
{
|
||||
|
Reference in New Issue
Block a user