Fully implemented buff station script

This commit is contained in:
EmosewaMC
2022-02-06 22:15:32 -08:00
parent f41e8292e8
commit b297d21a8d
2 changed files with 62 additions and 6 deletions

View File

@@ -11,6 +11,8 @@ public:
* @param target The target of the self that called this script.
*/
void OnRebuildComplete(Entity* self, Entity* target) override;
void OnTimerDone(Entity* self, std::string timerName) override;
void OnDie(Entity* self, Entity* killer) override;
private:
/**
* Skill ID for the buff station.
@@ -20,4 +22,32 @@ private:
* Behavior ID for the buff station.
*/
uint32_t behaviorIdForBuffStation = 1784;
/**
* Timer for dropping armor.
*/
float dropArmorTimer = 6.0f;
/**
* Timer for dropping life.
*/
float dropLifeTimer = 3.0f;
/**
* Timer for dropping imagination.
*/
float dropImaginationTimer = 4.0f;
/**
* Timer for smashing.
*/
float smashTimer = 25.0f;
/**
* LOT for armor powerup.
*/
LOT armorPowerup = 6431;
/**
* LOT for life powerup.
*/
LOT lifePowerup = 177;
/**
* LOT for imagination powerup.
*/
LOT imaginationPowerup = 935;
};