fix(tests): more accurate up/down scoring

This commit is contained in:
Kalista Payne
2026-03-20 17:32:34 -05:00
parent 6343f32f79
commit ced2f9eeac
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -264,7 +264,8 @@ spells.healer = {
cast (user, target) {
each(target, member => {
member.stats.hp += Math.ceil(
(statsComputed(user).con + statsComputed(user).int + 5) * 0.04);
(statsComputed(user).con + statsComputed(user).int + 5) * 0.04
);
if (member.stats.hp > 50) member.stats.hp = 50;
});
},