1.修复yxs_fanji的bug;2.修改全局技能g_du_give的逻辑,有usedu不给毒
This commit is contained in:
parent
42983613a1
commit
0d49ca0e6f
|
@ -561,6 +561,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
prompt:'是否发动【赠毒】?',
|
||||
prompt2:'将本次获得的【毒】交给其他角色',
|
||||
ai1:function(card){
|
||||
if(_status.event.player.hasSkillTag("usedu")) return 0;
|
||||
if(!ui.selected.cards.length) return 1;
|
||||
return 0;
|
||||
},
|
||||
|
|
|
@ -105,7 +105,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
priority:12,
|
||||
filter:function (event,player){
|
||||
if(!player.countCards('h',{name:'sha'})) return false;
|
||||
return event.card.name=='sha'||event.card.name=='juedou';
|
||||
return event.card&&(event.card.name=='sha'||event.card.name=='juedou');
|
||||
},
|
||||
content:function (){
|
||||
player.addTempSkill('yxs_fanji2','shaAfter');
|
||||
|
|
Loading…
Reference in New Issue