fix skill btn
This commit is contained in:
@@ -47,12 +47,12 @@ function Skill(props) {
|
||||
);
|
||||
}
|
||||
|
||||
const skillChosen = game.stack.some(stack => stack.source_construct_id === construct.id);
|
||||
// const skillChosen = game.stack.some(stack => stack.source_construct_id === construct.id);
|
||||
const targeting = game.stack.some(stack => stack.source_construct_id === construct.id && stack.skill === s.skill);
|
||||
|
||||
if (skillChosen && !targeting) {
|
||||
return false;
|
||||
}
|
||||
// if (skillChosen && !targeting) {
|
||||
// return false;
|
||||
// }
|
||||
|
||||
const cdText = construct.skills[i].cd > 0
|
||||
? `- ${s.cd}T`
|
||||
|
||||
Reference in New Issue
Block a user