int helps lower program creation req

This commit is contained in:
Olivier Gagnon 2021-12-03 14:49:44 -05:00
parent 0b92f706ad
commit 68cff084ff

@ -14,7 +14,7 @@ import { calculateHackingTime, calculateGrowTime, calculateWeakenTime } from "..
function requireHackingLevel(lvl: number) {
return function (p: IPlayer) {
return p.hacking >= lvl;
return p.hacking + p.intelligence / 2 >= lvl;
};
}