mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 01:34:07 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user