diff --git a/src/Battling/Models/Creature.cpp b/src/Battling/Models/Creature.cpp index 8fa1c93..9a633c2 100644 --- a/src/Battling/Models/Creature.cpp +++ b/src/Battling/Models/Creature.cpp @@ -142,6 +142,7 @@ bool Battling::Creature::HasType(uint8_t type) const { } void Battling::Creature::GetActiveScripts(std::vector &scripts) { + scripts.emplace_back(&_activeTalent); scripts.emplace_back(&_status); scripts.emplace_back(&_volatile); _side->GetActiveScripts(scripts); diff --git a/src/Battling/Models/Creature.hpp b/src/Battling/Models/Creature.hpp index b8f7885..87b64ee 100644 --- a/src/Battling/Models/Creature.hpp +++ b/src/Battling/Models/Creature.hpp @@ -42,6 +42,8 @@ namespace CreatureLib::Battling{ std::string _nickname = ""; int8_t _talentIndex; + Script* _activeTalent = nullptr; + std::vector _attacks; Script* _status = nullptr;