mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
19 lines
529 B
C
19 lines
529 B
C
|
#pragma once
|
||
|
#include "CppScripts.h"
|
||
|
|
||
|
class ActMine : public CppScripts::Script {
|
||
|
public:
|
||
|
void OnStartup(Entity* self);
|
||
|
void OnRebuildNotifyState(Entity* self, eRebuildState state) override;
|
||
|
void OnProximityUpdate(Entity* self, Entity* entering, std::string name, std::string status);
|
||
|
void OnTimerDone(Entity* self, std::string timerName);
|
||
|
private:
|
||
|
int MAX_WARNINGS = 3;
|
||
|
float MINE_RADIUS = 10.0;
|
||
|
float TICK_TIME = 0.25;
|
||
|
float BLOWED_UP_TIME = 0.1;
|
||
|
uint32_t SKILL_ID = 317;
|
||
|
uint32_t BEHAVIOR_ID = 3719;
|
||
|
};
|
||
|
|