|
@@ -37,8 +37,8 @@ struct difficulty_class {
|
|
|
|
|
|
|
|
bool operator()(int value) const;
|
|
bool operator()(int value) const;
|
|
|
|
|
|
|
|
- test comp;
|
|
|
|
|
- int against;
|
|
|
|
|
|
|
+ test comp{test::None};
|
|
|
|
|
+ int against{0};
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
// Default value: 1{+0}
|
|
// Default value: 1{+0}
|
|
@@ -46,6 +46,7 @@ struct dice {
|
|
|
int num{1};
|
|
int num{1};
|
|
|
std::vector<die> of{};
|
|
std::vector<die> of{};
|
|
|
std::vector<mod> modifier{+0};
|
|
std::vector<mod> modifier{+0};
|
|
|
|
|
+ difficulty_class dc{};
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
/**
|