mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-22 14:44:22 +00:00
feat: implement ronin script
This commit is contained in:
13
dScripts/02_server/Enemy/General/CountdownDestroyAI.h
Normal file
13
dScripts/02_server/Enemy/General/CountdownDestroyAI.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include "CppScripts.h"
|
||||
|
||||
#include "GameMessages.h"
|
||||
|
||||
class CountdownDestroyAI : public CppScripts::Script {
|
||||
public:
|
||||
void OnStartup(Entity* self) override;
|
||||
void CountdownStartup(Entity& self);
|
||||
void OnHit(Entity* self, Entity* attacker) override;
|
||||
void OnTimerDone(Entity* self, std::string timerName) override;
|
||||
bool OnNotifyCombatAIStateChange(Entity& self, GameMessages::NotifyCombatAIStateChange& msg);
|
||||
};
|
||||
Reference in New Issue
Block a user