Damage Buff source fix - inventor beehive bug (#306)

* add HandleUnmanaged overload to account for skill source

* add source to buff damage skill call to credit players for kills

* use LWOOBJID_EMPTY default arg & behaviorcontext constructor
This commit is contained in:
m888r
2022-01-01 01:46:05 -08:00
committed by GitHub
parent 83107d413d
commit 14fc049ea0
3 changed files with 6 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ void BuffComponent::Update(float deltaTime)
buff.second.tickTime = buff.second.tick;
buff.second.stacks--;
SkillComponent::HandleUnmanaged(buff.second.behaviorID, m_Parent->GetObjectID());
SkillComponent::HandleUnmanaged(buff.second.behaviorID, m_Parent->GetObjectID(), buff.second.source);
}
}