This commit is contained in:
@@ -15,6 +15,12 @@ namespace CreatureLib::Library {
|
||||
[[nodiscard]] inline const ArbUt::StringView& GetEffect() const noexcept { return _effect; }
|
||||
[[nodiscard]] inline const ArbUt::List<EffectParameter*>& GetParameters() const noexcept { return _parameters; }
|
||||
|
||||
~Talent() noexcept {
|
||||
for (auto p : _parameters) {
|
||||
delete p;
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
ArbUt::StringView _name;
|
||||
ArbUt::StringView _effect;
|
||||
|
||||
Reference in New Issue
Block a user