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
312 B
C++
Raw Normal View History

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