修复无法发动【盟谋】和【狩骊】弹窗
This commit is contained in:
parent
10768f7b5b
commit
de3102bb2b
|
@ -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])
|
||||
|
|
|
@ -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])
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue