界华雄耀武神吕布无双配音添加,神吕布无前添加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:{
|
|
||||||
equip:{
|
|
||||||
ai:{
|
ai:{
|
||||||
unequip:true,
|
order:9,
|
||||||
skillTagFilter:function(player,tag,arg){
|
result:{
|
||||||
if(arg&&arg.target&&arg.target.hasSkill('ol_wuqian_targeted')) return true;
|
target:function(player,target){
|
||||||
return false;
|
if(player.countCards('hs',card=>{
|
||||||
}
|
if(!player.getCardUsable({name:card.name})) 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);
|
||||||
|
delete _status.baonuCheck;
|
||||||
|
return eff2>Math.max(0,eff1);
|
||||||
|
})) return -1;
|
||||||
|
return 0;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
global:'ol_wuqian_ai',
|
||||||
|
subSkill:{
|
||||||
|
targeted:{
|
||||||
|
charlotte:true,
|
||||||
|
ai:{unequip2:true},
|
||||||
|
},
|
||||||
|
ai:{
|
||||||
|
ai:{
|
||||||
|
unequip2:true,
|
||||||
|
skillTagFilter:function(player){
|
||||||
|
if(!_status.baonuCheck) return false;
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
targeted:{ai:{unequip2:true}},
|
|
||||||
target:{
|
|
||||||
mark:'character',
|
|
||||||
onremove:true,
|
|
||||||
intro:{
|
|
||||||
content:'获得无双且$防具失效直到回合结束'
|
|
||||||
},
|
},
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
wumou:{
|
wumou:{
|
||||||
audio:2,
|
audio:2,
|
||||||
|
|
Loading…
Reference in New Issue