better managed ownership (two new functions in level.h)
This commit is contained in:
@ -5,11 +5,11 @@
|
||||
class potion;
|
||||
|
||||
class t_800 final: public player_base {
|
||||
static const int RUSTY = 5;
|
||||
static const int RUSTY = 50;
|
||||
public:
|
||||
t_800(RNG *rng, const feature enabled_features);
|
||||
const char *get_race_name() const override;
|
||||
void apply_effect(potion *p) override;
|
||||
void apply_effect(std::unique_ptr<potion> p) override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user