mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-29 16:57:56 +00:00
ru:: power::gain
This commit is contained in:
@@ -60,6 +60,7 @@ struct power {
|
|||||||
power& be_wearable(string wear_effect, string remove_effect, string worn = " (worn)");
|
power& be_wearable(string wear_effect, string remove_effect, string worn = " (worn)");
|
||||||
power& be_jewelry(string jtype, string desc);
|
power& be_jewelry(string jtype, string desc);
|
||||||
power& be_potion();
|
power& be_potion();
|
||||||
|
power& gain(int qf, int qo) { qty_filled += qf; qty_owned += qo; return self; }
|
||||||
};
|
};
|
||||||
|
|
||||||
extern vector<power> powers;
|
extern vector<power> powers;
|
||||||
|
Reference in New Issue
Block a user