projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Empire Chess
[vchess.git]
/
client
/
src
/
variants
/
Pacifist2.js
diff --git
a/client/src/variants/Pacifist2.js
b/client/src/variants/Pacifist2.js
index
e812802
..
78d4ec8
100644
(file)
--- a/
client/src/variants/Pacifist2.js
+++ b/
client/src/variants/Pacifist2.js
@@
-1,6
+1,7
@@
import { Pacifist1Rules } from "@/variants/Pacifist1";
export class Pacifist2Rules extends Pacifist1Rules {
+
// Sum values of white pieces attacking a square,
// and remove (sum of) black pieces values.
sumAttacks([x, y]) {
@@
-55,4
+56,5
@@
export class Pacifist2Rules extends Pacifist1Rules {
});
return res;
}
+
};