Merge pull request 'bank_mag' (#212) from bank_mag into master

This commit is contained in:
jake 2020-09-08 23:06:05 -04:00
commit 606adf6ba9

View File

@ -1038,7 +1038,10 @@ impl Mag {
}
pub fn bank(&mut self) {
// what is the truncation logic anyway
self.def = self.def & 0xFFFE;
self.pow = self.pow & 0xFFFE;
self.dex = self.dex & 0xFFFE;
self.mnd = self.mnd & 0xFFFE;
}
// TODO: this needs more checks on validity