removed character::move

This commit is contained in:
2024-07-15 16:54:19 -04:00
parent fb026e36a8
commit e29b26303d
3 changed files with 1 additions and 15 deletions

View File

@ -75,17 +75,6 @@ void character::discard_level_effects() {
std::swap(tmp, effects);
}
// IMPORTANT: remember to check if player is on the stairs
long_result character::move(level *lvl,
const position &p) {
if (lvl->is_available(p)) {
pos = p;
return {result::moved, ""};
}
return {result::fine, ""};
}
int calc_dmg(const int ATK, const int DEF) {
return ceil((100.0f / (100.0f + DEF)) * ATK);
}