Hi, can anyone tell me how I can put this part of the monster level system in the canary distro?
I skipped the monsters.cpp file and managed to complete the compilation, but the monsters in the game do not have a level
distro canary
no have Monsters::loadMonster on distro canary
any ideas or solutions?
using: monster level
where can I put this part?
I skipped the monsters.cpp file and managed to complete the compilation, but the monsters in the game do not have a level
distro canary
no have Monsters::loadMonster on distro canary
any ideas or solutions?
using: monster level
where can I put this part?
Lua:if ((node = monsterNode.child("level"))) { if ((attr = node.attribute("min"))) { mType->info.minLevel = pugi::cast<int32_t>(attr.value()); } else { std::cout << "[Error - Monsters::loadMonster] Missing min level. " << file << std::endl; } if ((attr = node.attribute("max"))) { mType->info.maxLevel = pugi::cast<int32_t>(attr.value()); } else { std::cout << "[Error - Monsters::loadMonster] Missing max level. " << file << std::endl; } }