minor fix
This commit is contained in:
parent
307fa31dc0
commit
4d995d9054
|
@ -1753,7 +1753,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
|||
if (event.filterChoice(i)) continue;
|
||||
if (lib.filter.characterDisabled(i)) continue;
|
||||
event.list.push(i);
|
||||
if (lib.character[i][4] && lib.character[i][4].includes("zhu")) {
|
||||
if (lib.character[i].isZhugong) {
|
||||
list2.push(i);
|
||||
}
|
||||
}
|
||||
|
@ -3455,7 +3455,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
|||
if (_status.event.player.identity == "zhu") {
|
||||
if (Math.random() < 0.8) {
|
||||
var info = lib.character[button.link];
|
||||
if (!info[4] || !info[4].includes("zhu")) {
|
||||
if (!info || !info.isZhugong) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ export class Character {
|
|||
**/
|
||||
group;
|
||||
/**
|
||||
* 武将牌的势力边框颜(如徐庶“身在曹营心在汉”)
|
||||
* 武将牌的势力边框颜色(如徐庶“身在曹营心在汉”)
|
||||
* @type { string }
|
||||
**/
|
||||
groupBorder;
|
||||
|
|
Loading…
Reference in New Issue