DarkflameServer/dScripts/02_server/Map/NT/NtXRayServer.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
311 B
C++
Raw Normal View History

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