This commit is contained in:
parent
bfc522ff4c
commit
2bacb10758
|
@ -977,17 +977,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
event.targets=targets.randomGets(3);
|
event.targets=targets.randomGets(3);
|
||||||
event.targets.sort(lib.sort.seat);
|
event.targets.sort(lib.sort.seat);
|
||||||
player.line(event.targets,'green');
|
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'
|
'step 1'
|
||||||
if(event.targets.length){
|
if(event.targets.length){
|
||||||
var target=event.targets.shift();
|
var target=event.targets.shift();
|
||||||
var he=target.getCards('he');
|
var he=target.getCards('he');
|
||||||
if(he.length){
|
if(he.length){
|
||||||
|
target.addExpose(0.1);
|
||||||
target.discard(he.randomGet());
|
target.discard(he.randomGet());
|
||||||
}
|
}
|
||||||
event.redo();
|
event.redo();
|
||||||
|
|
|
@ -5459,7 +5459,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
content:function(){
|
content:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
if(player.storage.kunfen||
|
if(player.storage.kunfen||
|
||||||
(lib.config.mode=='guozhan'&&player.hiddenSkills.contains('kunfen'))){
|
(get.mode()=='guozhan'&&player.hiddenSkills.contains('kunfen'))){
|
||||||
if(!player.storage.kunfen){
|
if(!player.storage.kunfen){
|
||||||
event.skillHidden=true;
|
event.skillHidden=true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3184,7 +3184,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
if(get.tag(card,'damage')){
|
if(get.tag(card,'damage')){
|
||||||
if(player.hasSkillTag('jueqing',false,target)) return [1,-0.5];
|
if(player.hasSkillTag('jueqing',false,target)) return [1,-0.5];
|
||||||
if(!target.hasFriend()){
|
if(!target.hasFriend()){
|
||||||
if(lib.config.mode=='guozhan'){
|
if(get.mode()=='guozhan'){
|
||||||
if(!player.hasFriend()) return;
|
if(!player.hasFriend()) return;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
|
@ -19230,7 +19230,7 @@
|
||||||
if(lib.config.banned.contains(i)) return true;
|
if(lib.config.banned.contains(i)) return true;
|
||||||
if(lib.config.replacecharacter[i]&&lib.character[lib.config.replacecharacter[i]]) return true;
|
if(lib.config.replacecharacter[i]&&lib.character[lib.config.replacecharacter[i]]) return true;
|
||||||
var double_character=false;
|
var double_character=false;
|
||||||
if(lib.config.mode=='guozhan'){
|
if(get.mode()=='guozhan'){
|
||||||
double_character=true;
|
double_character=true;
|
||||||
}
|
}
|
||||||
else if(get.config('double_character')&&(lib.config.mode=='identity'||lib.config.mode=='stone')){
|
else if(get.config('double_character')&&(lib.config.mode=='identity'||lib.config.mode=='stone')){
|
||||||
|
|
Loading…
Reference in New Issue