修复无法发动【盟谋】和【狩骊】弹窗

This commit is contained in:
157 2023-12-29 08:38:30 +08:00
parent 10768f7b5b
commit de3102bb2b
3 changed files with 3 additions and 3 deletions

View File

@ -2216,7 +2216,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(target.hasSkillTag('nodamage')||target.hasSkillTag('nothunder')) return 'zeroplayertarget';
if(target.hasSkillTag('filterDamage',null,{
player:player,
card:lib.element.VCard({
card:new lib.element.VCard({
name:card.name,
nature:'thunder'
},[card])

View File

@ -765,7 +765,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(target.hasSkillTag('nodamage')||target.hasSkillTag('nothunder')) return 'zeroplayertarget';
if(target.hasSkillTag('filterDamage',null,{
player:player,
card:lib.element.VCard({
card:new lib.element.VCard({
name:card.name,
nature:'thunder'
},[card])

View File

@ -277,7 +277,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
filter:function(event,player){
if(!player.getHp()) return false;
if(event.name=='loseAsync'&&event.type!='gain') return false;
var cards1=event.getl(player).cards2,cards2=cards=event.getg(player);
var cards1=event.getl(player).cards2,cards2=event.getg(player);
return (!player.hasSkill('dcsbmengmou_true')&&game.hasPlayer(function(current){
if(current==player) return false;
var cardsx=event.getg(current);