1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-02 10:19:04 +00:00

ru:: better initial HP when using -ru-cheat

This commit is contained in:
Zeno Rogue
2025-12-23 18:10:30 +01:00
parent 8663523415
commit db0d8676a0

View File

@@ -408,6 +408,8 @@ void load_cheat(string fname) {
else if(s == "") {}
else println(hlog, "unrecognized cheat: ", s);
}
for(auto i: allstats) m.current.stats[i] = m.next.stats[i] = m.base_stats[i];
m.hp = m.max_hp();
}