Serialize target with GameMessageStartSkill (#933)

This commit is contained in:
David Markowitz 2022-12-31 03:56:30 -08:00 committed by GitHub
parent fab4414204
commit 737eaba54d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,6 +246,7 @@ SkillExecutionResult SkillComponent::CalculateBehavior(const uint32_t skillId, c
start.skillID = skillId; start.skillID = skillId;
start.uiSkillHandle = context->skillUId; start.uiSkillHandle = context->skillUId;
start.optionalOriginatorID = context->originator; start.optionalOriginatorID = context->originator;
start.optionalTargetID = target;
auto* originator = EntityManager::Instance()->GetEntity(context->originator); auto* originator = EntityManager::Instance()->GetEntity(context->originator);