addNature增加视为牌牌名更改

This commit is contained in:
Spmario233 2023-10-01 15:41:40 +08:00
parent 2442ff4f61
commit fa3335feb0
1 changed files with 13 additions and 0 deletions

View File

@ -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);
}
}],
},