界华雄耀武神吕布无双配音添加,神吕布无前添加ai
This commit is contained in:
parent
fd4609130c
commit
fb011decb3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -4670,7 +4670,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
enable:'phaseUse',
|
enable:'phaseUse',
|
||||||
derivation:'wushuang',
|
derivation:'wushuang',
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return player.countMark('baonu')>=2;
|
return player.countMark('baonu')>=2&&game.hasPlayer(target=>lib.skill.ol_wuqian.filterTarget(null,player,target));
|
||||||
},
|
},
|
||||||
filterTarget:function(card,player,target){
|
filterTarget:function(card,player,target){
|
||||||
return target!=player&&!target.hasSkill('ol_wuqian_targeted');
|
return target!=player&&!target.hasSkill('ol_wuqian_targeted');
|
||||||
|
@ -4678,29 +4678,42 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
content:function(){
|
content:function(){
|
||||||
player.removeMark('baonu',2);
|
player.removeMark('baonu',2);
|
||||||
player.addTempSkill('wushuang');
|
player.addTempSkill('wushuang');
|
||||||
player.storage.ol_wuqian_target=target;
|
player.popup('无双');
|
||||||
player.addTempSkill('ol_wuqian_target');
|
game.log(player,'获得了技能','#g【无双】');
|
||||||
target.addTempSkill('ol_wuqian_targeted');
|
target.addTempSkill('ol_wuqian_targeted');
|
||||||
},
|
},
|
||||||
subSkill:{
|
ai:{
|
||||||
equip:{
|
order:9,
|
||||||
ai:{
|
result:{
|
||||||
unequip:true,
|
target:function(player,target){
|
||||||
skillTagFilter:function(player,tag,arg){
|
if(player.countCards('hs',card=>{
|
||||||
if(arg&&arg.target&&arg.target.hasSkill('ol_wuqian_targeted')) return true;
|
if(!player.getCardUsable({name:card.name})) return false;
|
||||||
return false;
|
if(!player.canUse(card,target)) return false;
|
||||||
}
|
var eff1=get.effect(target,card,player,player);
|
||||||
}
|
_status.baonuCheck=true;
|
||||||
},
|
var eff2=get.effect(target,card,player,player);
|
||||||
targeted:{ai:{unequip2:true}},
|
delete _status.baonuCheck;
|
||||||
target:{
|
return eff2>Math.max(0,eff1);
|
||||||
mark:'character',
|
})) return -1;
|
||||||
onremove:true,
|
return 0;
|
||||||
intro:{
|
|
||||||
content:'获得无双且$防具失效直到回合结束'
|
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
|
global:'ol_wuqian_ai',
|
||||||
|
subSkill:{
|
||||||
|
targeted:{
|
||||||
|
charlotte:true,
|
||||||
|
ai:{unequip2:true},
|
||||||
|
},
|
||||||
|
ai:{
|
||||||
|
ai:{
|
||||||
|
unequip2:true,
|
||||||
|
skillTagFilter:function(player){
|
||||||
|
if(!_status.baonuCheck) return false;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
wumou:{
|
wumou:{
|
||||||
audio:2,
|
audio:2,
|
||||||
|
|
Loading…
Reference in New Issue