四号位【飞扬】:'+(lib.configOL.olfeiyang_four?'开启':'关闭'));
}
var last=uiintro.add('
出牌时限:'+lib.configOL.choose_timeout+'秒');
// uiintro.add('
屏蔽弱将:'+(lib.configOL.ban_weak?'开启':'关闭'));
@@ -1427,7 +1428,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
-
+ if(get.config('olfeiyang_four')){
+ var target=_status.firstAct.previous;
+ if(target.isIn()) target.addSkill('olfeiyang');
+ }
game.addGlobalSkill('versus_viewHandcard');
if(get.config('two_phaseswap')){
game.addGlobalSkill('autoswap');
@@ -3384,6 +3388,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
+ if(lib.configOL.olfeiyang_four){
+ var target=_status.firstAct.previous;
+ if(target.isIn()) target.addSkill('olfeiyang');
+ }
game.addGlobalSkill('versus_viewHandcard');
});
},
@@ -7060,10 +7068,16 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(this.replacetwo){
game.replacePlayerTwo(this,this.replacetwo);
delete this.replacetwo;
+ if(get.config('olfeiyang_four')&&this==_status.firstAct.previous){
+ this.addSkill('olfeiyang');
+ }
}
else if(friend&&friend.replacetwo){
game.replacePlayerTwo(this,friend.replacetwo);
delete friend.replacetwo;
+ if(get.config('olfeiyang_four')&&this==_status.firstAct.previous){
+ this.addSkill('olfeiyang');
+ }
}
else{
game.over(this.side!=me.side);