changed all non-owned unique_ptr access to reference to the object itself
This commit is contained in:
14
src/restore_health.h
Normal file
14
src/restore_health.h
Normal 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
|
Reference in New Issue
Block a user