addNature增加视为牌牌名更改
This commit is contained in:
parent
2442ff4f61
commit
fa3335feb0
13
game/game.js
13
game/game.js
|
@ -318,6 +318,19 @@
|
|||
),
|
||||
};
|
||||
game.dynamicStyle.addObject(result);
|
||||
|
||||
const g2=cs.group(
|
||||
cs.of(
|
||||
cs.class("tempname",`${nature}`),
|
||||
':not([data-nature])>',
|
||||
cs.class("span")
|
||||
)
|
||||
)
|
||||
let result2={};
|
||||
result2[g2]={
|
||||
color:`rgba(${color1.join()})`,
|
||||
};
|
||||
game.dynamicStyle.addObject(result2);
|
||||
}
|
||||
}],
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue