diff --git a/character/swd.js b/character/swd.js index 3c0c22f9f..c9ab4e6d9 100644 --- a/character/swd.js +++ b/character/swd.js @@ -6366,9 +6366,9 @@ character.swd={ // var target=trigger.targets[0]; // var names=[]; // var list=[]; - // if(target.name&&!target.classList.contains('unseen')) names.add(target.name); - // if(target.name1&&!target.classList.contains('unseen')) names.add(target.name1); - // if(target.name2&&!target.classList.contains('unseen2')) names.add(target.name2); + // if(target.name&&!target.isUnseen(0)) names.add(target.name); + // if(target.name1&&!target.isUnseen(0)) names.add(target.name1); + // if(target.name2&&!target.isUnseen(1)) names.add(target.name2); // var pss=player.get('s'); // for(var i=0;i0; }, filterTarget:function(card,player,target){ var names=[]; - if(target.name&&!target.classList.contains('unseen')) names.add(target.name); - if(target.name1&&!target.classList.contains('unseen')) names.add(target.name1); - if(target.name2&&!target.classList.contains('unseen2')) names.add(target.name2); + if(target.name&&!target.isUnseen(0)) names.add(target.name); + if(target.name1&&!target.isUnseen(0)) names.add(target.name1); + if(target.name2&&!target.isUnseen(1)) names.add(target.name2); var pss=player.get('s'); for(var i=0;i