DarkflameServer/dScripts/02_server/Map/General/Ninjago/NjhubLavaPlayerDeathTrigger.cpp

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

10 lines
253 B
C++
Raw Normal View History

#include "NjhubLavaPlayerDeathTrigger.h"
#include "Entity.h"
void NjhubLavaPlayerDeathTrigger::OnCollisionPhantom(Entity* self, Entity* target) {
if (!target->IsPlayer())
return;
target->Smash(self->GetObjectID(), eKillType::VIOLENT, u"drown");
}