mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-24 07:34:20 +00:00
feat: dragon instance script (#2012)
* feat: dragon instance script * Update FvDragonInstanceServer.h * feat: implement ronin script * Update CountdownDestroyAI.cpp * default initialize Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * remove unused handlers Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * use float Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fixes * Update ScriptComponent.h --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
6
dScripts/02_server/Enemy/FV/DragonRonin.cpp
Normal file
6
dScripts/02_server/Enemy/FV/DragonRonin.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "DragonRonin.h"
|
||||
|
||||
void DragonRonin::OnStartup(Entity* self) {
|
||||
self->SetVar<float>(u"suicideTimer", 40.0f);
|
||||
CountdownDestroyAI::OnStartup(self);
|
||||
}
|
||||
Reference in New Issue
Block a user