diff --git a/src/Library/CreatureData/LearnableAttacks.hpp b/src/Library/CreatureData/LearnableAttacks.hpp index 469ff1c..f636b45 100644 --- a/src/Library/CreatureData/LearnableAttacks.hpp +++ b/src/Library/CreatureData/LearnableAttacks.hpp @@ -32,7 +32,7 @@ namespace CreatureLib::Library { const List& GetAttacksForLevel(uint8_t level) const; - virtual const AttackData* GetRandomAttack(Arbutils::Random rand = Arbutils::Random()) { + virtual const AttackData* GetRandomAttack(Arbutils::Random rand = Arbutils::Random()) const { auto val = rand.Get(_distinctAttacks.size()); return *std::next(_distinctAttacks.begin(), val); }