mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-23 15:58:08 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
16
dScripts/NtXRayServer.cpp
Normal file
16
dScripts/NtXRayServer.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "NtXRayServer.h"
|
||||
#include "PhantomPhysicsComponent.h"
|
||||
#include "EntityManager.h"
|
||||
#include "SkillComponent.h"
|
||||
|
||||
void NtXRayServer::OnCollisionPhantom(Entity* self, Entity* target)
|
||||
{
|
||||
auto* skillComponent = target->GetComponent<SkillComponent>();
|
||||
|
||||
if (skillComponent == nullptr)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
skillComponent->CalculateBehavior(1220, 27641, target->GetObjectID());
|
||||
}
|
Reference in New Issue
Block a user