This commit is contained in:
@@ -9,10 +9,10 @@ namespace PkmnLib::Library {
|
||||
public:
|
||||
Item(const Arbutils::CaseInsensitiveConstString& name, CreatureLib::Library::ItemCategory category,
|
||||
CreatureLib::Library::BattleItemCategory battleCategory, int32_t price,
|
||||
std::unordered_set<uint32_t> flags, uint8_t flingPower)
|
||||
const std::unordered_set<uint32_t>& flags, uint8_t flingPower) noexcept
|
||||
: CreatureLib::Library::Item(name, category, battleCategory, price, flags), _flingPower(flingPower) {}
|
||||
|
||||
inline uint8_t GetFlingPower() const { return _flingPower; }
|
||||
inline uint8_t GetFlingPower() const noexcept { return _flingPower; }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user