2022-01-20 11:20:39 +00:00
|
|
|
#pragma once
|
|
|
|
#include "CppScripts.h"
|
|
|
|
|
|
|
|
class AgSurvivalBuffStation : public CppScripts::Script
|
|
|
|
{
|
|
|
|
public:
|
2022-01-20 11:26:41 +00:00
|
|
|
/**
|
|
|
|
* @brief When the rebuild of self is complete, we calculate the behavior that is assigned to self in the database.
|
|
|
|
*
|
|
|
|
* @param self The Entity that called this script.
|
|
|
|
* @param target The target of the self that called this script.
|
|
|
|
*/
|
2022-01-20 11:20:39 +00:00
|
|
|
void OnRebuildComplete(Entity* self, Entity* target) override;
|
2022-01-20 11:26:41 +00:00
|
|
|
private:
|
|
|
|
/**
|
|
|
|
* Skill ID for the buff station.
|
|
|
|
*/
|
|
|
|
uint32_t skillIdForBuffStation = 201;
|
|
|
|
/**
|
|
|
|
* Behavior ID for the buff station.
|
|
|
|
*/
|
|
|
|
uint32_t behaviorIdForBuffStation = 1784;
|
2022-01-20 11:20:39 +00:00
|
|
|
};
|