This commit is contained in:
libccy 2017-05-21 21:59:57 +08:00
parent bfc522ff4c
commit 2bacb10758
4 changed files with 4 additions and 8 deletions

View File

@ -977,17 +977,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
event.targets=targets.randomGets(3);
event.targets.sort(lib.sort.seat);
player.line(event.targets,'green');
if(lib.config.mode=='identity'||lib.config.mode=='guozhan'){
for(var i=0;i<event.targets.length;i++){
event.targets[i].addExpose(0.3);
}
}
}
'step 1'
if(event.targets.length){
var target=event.targets.shift();
var he=target.getCards('he');
if(he.length){
target.addExpose(0.1);
target.discard(he.randomGet());
}
event.redo();

View File

@ -5459,7 +5459,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
content:function(){
"step 0"
if(player.storage.kunfen||
(lib.config.mode=='guozhan'&&player.hiddenSkills.contains('kunfen'))){
(get.mode()=='guozhan'&&player.hiddenSkills.contains('kunfen'))){
if(!player.storage.kunfen){
event.skillHidden=true;
}

View File

@ -3184,7 +3184,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(get.tag(card,'damage')){
if(player.hasSkillTag('jueqing',false,target)) return [1,-0.5];
if(!target.hasFriend()){
if(lib.config.mode=='guozhan'){
if(get.mode()=='guozhan'){
if(!player.hasFriend()) return;
}
else{

View File

@ -19230,7 +19230,7 @@
if(lib.config.banned.contains(i)) return true;
if(lib.config.replacecharacter[i]&&lib.character[lib.config.replacecharacter[i]]) return true;
var double_character=false;
if(lib.config.mode=='guozhan'){
if(get.mode()=='guozhan'){
double_character=true;
}
else if(get.config('double_character')&&(lib.config.mode=='identity'||lib.config.mode=='stone')){