added potion and restore_health

This commit is contained in:
2024-07-11 21:32:23 -04:00
parent ae5cd1e0c6
commit 0312986dce
7 changed files with 102 additions and 33 deletions

View File

@ -0,0 +1,14 @@
#ifndef __RESTORE_HEALTH_H__
#define __RESTORE_HEALTH_H__
#include "../potion.h"
class restore_health final: public potion {
public:
restore_health();
void apply(enum race &race, int &HP, int &ATK, int &DEF,
float &base_hit_rate) override;
int get_priority() const override;
};
#endif