Update to new CreatureLib version.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f1cc8a7b07
commit
2ad441debc
|
@ -3,7 +3,7 @@
|
|||
PkmnLib::Library::MoveData::MoveData(const Arbutils::CaseInsensitiveConstString& name, uint8_t type,
|
||||
PkmnLib::Library::MoveCategory category, uint8_t power, uint8_t accuracy,
|
||||
uint8_t baseUsage, CreatureLib::Library::AttackTarget target, int8_t priority,
|
||||
const CreatureLib::Library::SecondaryEffect& effect,
|
||||
const CreatureLib::Library::SecondaryEffect* effect,
|
||||
std::unordered_set<uint32_t> flags)
|
||||
: AttackData(name, type, static_cast<CreatureLib::Library::AttackCategory>(category), power, accuracy, baseUsage,
|
||||
target, priority, effect, std::move(flags)) {}
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace PkmnLib::Library {
|
|||
MoveData(const Arbutils::CaseInsensitiveConstString& name, uint8_t type,
|
||||
PkmnLib::Library::MoveCategory category, uint8_t power, uint8_t accuracy, uint8_t baseUsage,
|
||||
CreatureLib::Library::AttackTarget target, int8_t priority,
|
||||
const CreatureLib::Library::SecondaryEffect& effect, std::unordered_set<uint32_t> flags);
|
||||
const CreatureLib::Library::SecondaryEffect* effect, std::unordered_set<uint32_t> flags);
|
||||
|
||||
PkmnLib::Library::MoveCategory GetCategory() const;
|
||||
};
|
||||
|
|
|
@ -44,11 +44,11 @@ PkmnLib::Library::MoveLibrary* TestLibrary::BuildMoveLibrary() {
|
|||
lib->Insert("testMove"_cnc.GetHash(),
|
||||
new PkmnLib::Library::MoveData("testMove"_cnc, 0, PkmnLib::Library::MoveCategory::Physical, 50, 100, 20,
|
||||
CreatureLib::Library::AttackTarget::Adjacent, 0,
|
||||
CreatureLib::Library::SecondaryEffect(), {}));
|
||||
new CreatureLib::Library::SecondaryEffect(), {}));
|
||||
lib->Insert("testMove2"_cnc.GetHash(),
|
||||
new PkmnLib::Library::MoveData("testMove2"_cnc, 0, PkmnLib::Library::MoveCategory::Special, 30, 100, 10,
|
||||
CreatureLib::Library::AttackTarget::Adjacent, 0,
|
||||
CreatureLib::Library::SecondaryEffect(), {}));
|
||||
new CreatureLib::Library::SecondaryEffect(), {}));
|
||||
return lib;
|
||||
}
|
||||
PkmnLib::Library::ItemLibrary* TestLibrary::BuildItemLibrary() {
|
||||
|
|
Loading…
Reference in New Issue