This commit is contained in:
1 file changed
+1
-1
@@ -181,7 +181,7 @@ namespace CreatureLib::Battling {
|
||||
void RemoveVolatileScript(BattleScript* non_null script);
|
||||
bool HasVolatileScript(const ArbUt::BasicStringView& name) const;
|
||||
|
||||
const ArbUt::OptionalUniquePtrList<LearnedAttack>& GetAttacks() noexcept { return _attacks; }
|
||||
const ArbUt::OptionalUniquePtrList<LearnedAttack>& GetAttacks() const noexcept { return _attacks; }
|
||||
bool HasAttack(const ArbUt::StringView& name) {
|
||||
for (auto& a : _attacks) {
|
||||
if (a == nullptr)
|
||||
|
||||
Reference in new issue
Block a user