DarkflameServer/dScripts/NtXRayServer.cpp

13 lines
312 B
C++
Raw Normal View History

#include "NtXRayServer.h"
#include "SkillComponent.h"
2022-07-28 13:39:57 +00:00
void NtXRayServer::OnCollisionPhantom(Entity* self, Entity* target) {
auto* skillComponent = target->GetComponent<SkillComponent>();
2022-07-28 13:39:57 +00:00
if (skillComponent == nullptr) {
return;
}
skillComponent->CalculateBehavior(1220, 27641, target->GetObjectID());
}