shenhua
This commit is contained in:
parent
aab763c685
commit
3d4c766b46
|
@ -968,7 +968,7 @@ card.standard={
|
||||||
content:function(){
|
content:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
targets[0].chooseToUse('对'+get.translation(targets[1])+'使用一张杀,或令'+get.translation(player)+'获得你的武器牌',
|
targets[0].chooseToUse('对'+get.translation(targets[1])+'使用一张杀,或令'+get.translation(player)+'获得你的武器牌',
|
||||||
{name:'sha'},targets[1],-1).targetRequired=true;
|
{name:'sha'},targets[1],-1).set('targetRequired',true);
|
||||||
"step 1"
|
"step 1"
|
||||||
if(result.bool==false){
|
if(result.bool==false){
|
||||||
player.gain(targets[0].get('e',{subtype:'equip1'}));
|
player.gain(targets[0].get('e',{subtype:'equip1'}));
|
||||||
|
|
|
@ -52,7 +52,7 @@ character.shenhua={
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
target.chooseToUse({name:'sha'},player);
|
target.chooseToUse({name:'sha'},player,-1,'挑衅:对'+get.translation(player)+'使用一张杀,或令其弃置你的一张牌').set('targetRequired',true);
|
||||||
"step 1"
|
"step 1"
|
||||||
if(result.bool==false&&target.num('he')>0){
|
if(result.bool==false&&target.num('he')>0){
|
||||||
player.discardPlayerCard(target,'he',true);
|
player.discardPlayerCard(target,'he',true);
|
||||||
|
@ -122,12 +122,12 @@ character.shenhua={
|
||||||
var eff=ai.get.effect(player,trigger.card,trigger.player,trigger.player);
|
var eff=ai.get.effect(player,trigger.card,trigger.player,trigger.player);
|
||||||
trigger.player.chooseToDiscard(function(card){
|
trigger.player.chooseToDiscard(function(card){
|
||||||
return get.type(card)=='basic';
|
return get.type(card)=='basic';
|
||||||
}).ai=function(card){
|
}).set('ai',function(card){
|
||||||
if(eff>0){
|
if(_status.event.eff>0){
|
||||||
return 10-ai.get.value(card);
|
return 10-ai.get.value(card);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
};
|
}).set('eff',eff);
|
||||||
"step 1"
|
"step 1"
|
||||||
if(result.bool==false){
|
if(result.bool==false){
|
||||||
trigger.finish();
|
trigger.finish();
|
||||||
|
@ -253,8 +253,8 @@ character.shenhua={
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
var next=player.chooseToDiscard('是否发动巧变跳过判定阶段?');
|
var next=player.chooseToDiscard('是否发动巧变跳过判定阶段?');
|
||||||
next.ai=ai.get.unuseful2;
|
next.set('ai',ai.get.unuseful2);
|
||||||
next.logSkill='qiaobian';
|
next.set('logSkill','qiaobian');
|
||||||
}
|
}
|
||||||
"step 1"
|
"step 1"
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
|
@ -288,19 +288,23 @@ character.shenhua={
|
||||||
|
|
||||||
player.chooseCardTarget({
|
player.chooseCardTarget({
|
||||||
ai1:function(card){
|
ai1:function(card){
|
||||||
if(!check) return 0;
|
var evt=_status.event;
|
||||||
|
if(!evt.check) return 0;
|
||||||
return 6-ai.get.useful(card);
|
return 6-ai.get.useful(card);
|
||||||
},
|
},
|
||||||
ai2:function(target){
|
ai2:function(target){
|
||||||
if(!check) return 0;
|
var evt=_status.event;
|
||||||
return 1-ai.get.attitude(player,target);
|
if(!evt.check) return 0;
|
||||||
|
return 1-ai.get.attitude(evt.player,evt.target);
|
||||||
},
|
},
|
||||||
filterTarget:function(card,player,target){
|
filterTarget:function(card,player,target){
|
||||||
return target.num('h')>0;
|
return target.num('h')>0;
|
||||||
},
|
},
|
||||||
selectTarget:[0,2],
|
selectTarget:[0,2],
|
||||||
filterCard:true,
|
filterCard:true,
|
||||||
prompt:'是否发动巧变跳过摸牌阶段?'
|
prompt:'是否发动巧变跳过摸牌阶段?',
|
||||||
|
check:check,
|
||||||
|
target:target
|
||||||
});
|
});
|
||||||
"step 1"
|
"step 1"
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
|
@ -333,9 +337,6 @@ character.shenhua={
|
||||||
return player.num('h')>0;
|
return player.num('h')>0;
|
||||||
},
|
},
|
||||||
direct:true,
|
direct:true,
|
||||||
check:function(event,player){
|
|
||||||
|
|
||||||
},
|
|
||||||
content:function(){
|
content:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
var check;
|
var check;
|
||||||
|
@ -358,11 +359,12 @@ character.shenhua={
|
||||||
|
|
||||||
player.chooseCardTarget({
|
player.chooseCardTarget({
|
||||||
ai1:function(card){
|
ai1:function(card){
|
||||||
if(!check) return 0;
|
if(!_status.event.check) return 0;
|
||||||
return 7-ai.get.useful(card);
|
return 7-ai.get.useful(card);
|
||||||
},
|
},
|
||||||
ai2:function(target){
|
ai2:function(target){
|
||||||
if(!check) return 0;
|
if(!_status.event.check) return 0;
|
||||||
|
var player=_status.event.player;
|
||||||
if(ui.selected.targets.length==0){
|
if(ui.selected.targets.length==0){
|
||||||
if(target.num('j')&&ai.get.attitude(player,target)>0) return 10;
|
if(target.num('j')&&ai.get.attitude(player,target)>0) return 10;
|
||||||
if(ai.get.attitude(player,target)<0){
|
if(ai.get.attitude(player,target)<0){
|
||||||
|
@ -403,7 +405,9 @@ character.shenhua={
|
||||||
selectTarget:2,
|
selectTarget:2,
|
||||||
filterCard:true,
|
filterCard:true,
|
||||||
prompt:'是否发动巧变跳过出牌阶段?',
|
prompt:'是否发动巧变跳过出牌阶段?',
|
||||||
targetprompt:['被移走','移动目标']
|
targetprompt:['被移走','移动目标'],
|
||||||
|
check:check,
|
||||||
|
target:target
|
||||||
});
|
});
|
||||||
"step 1"
|
"step 1"
|
||||||
if(result.bool==false){
|
if(result.bool==false){
|
||||||
|
@ -421,30 +425,34 @@ character.shenhua={
|
||||||
"step 3"
|
"step 3"
|
||||||
if(targets.length==2){
|
if(targets.length==2){
|
||||||
player.choosePlayerCard('ej',function(button){
|
player.choosePlayerCard('ej',function(button){
|
||||||
if(ai.get.attitude(player,targets[0])>ai.get.attitude(player,targets[1])){
|
var player=_status.event.player;
|
||||||
|
var targets0=_status.event.targets0;
|
||||||
|
var targets1=_status.event.targets1;
|
||||||
|
if(ai.get.attitude(player,targets0)>ai.get.attitude(player,targets1)){
|
||||||
return get.position(button.link)=='j'?10:0;
|
return get.position(button.link)=='j'?10:0;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
if(get.position(button.link)=='j') return -10;
|
if(get.position(button.link)=='j') return -10;
|
||||||
return ai.get.equipValue(button.link);
|
return ai.get.equipValue(button.link);
|
||||||
}
|
}
|
||||||
},targets[0]);
|
},targets[0]).set('targets0',targets[0]).set('targets1',targets[1]);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
event.finish();
|
event.finish();
|
||||||
}
|
}
|
||||||
"step 4"
|
"step 4"
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
if(get.position(result.buttons[0].link)=='e'){
|
var link=result.links[0];
|
||||||
event.targets[1].equip(result.buttons[0].link);
|
if(get.position(link)=='e'){
|
||||||
|
event.targets[1].equip(link);
|
||||||
}
|
}
|
||||||
else if(result.buttons[0].link.viewAs){
|
else if(result.buttons[0].link.viewAs){
|
||||||
event.targets[1].addJudge({name:result.buttons[0].link.viewAs},[result.buttons[0].link]);
|
event.targets[1].addJudge({name:link.viewAs},[link]);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
event.targets[1].addJudge(result.buttons[0].link);
|
event.targets[1].addJudge(link);
|
||||||
}
|
}
|
||||||
event.targets[0].$give(result.buttons[0].link,event.targets[1])
|
event.targets[0].$give(link,event.targets[1])
|
||||||
game.delay();
|
game.delay();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -501,6 +509,12 @@ character.shenhua={
|
||||||
result.card.goto(ui.special);
|
result.card.goto(ui.special);
|
||||||
player.storage.tuntian.push(result.card);
|
player.storage.tuntian.push(result.card);
|
||||||
result.node.moveDelete(player);
|
result.node.moveDelete(player);
|
||||||
|
game.broadcast(function(cardid,player){
|
||||||
|
var node=lib.cardOL[cardid];
|
||||||
|
if(node){
|
||||||
|
node.moveDelete(player);
|
||||||
|
}
|
||||||
|
},result.node.cardid,player);
|
||||||
game.addVideo('gain2',player,get.cardsInfo([result.node]));
|
game.addVideo('gain2',player,get.cardsInfo([result.node]));
|
||||||
player.markSkill('tuntian');
|
player.markSkill('tuntian');
|
||||||
game.addVideo('storage',player,['tuntian',get.cardsInfo(player.storage.tuntian),'cards']);
|
game.addVideo('storage',player,['tuntian',get.cardsInfo(player.storage.tuntian),'cards']);
|
||||||
|
@ -569,57 +583,44 @@ character.shenhua={
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return player.storage.tuntian.length>0;
|
return player.storage.tuntian.length>0;
|
||||||
},
|
},
|
||||||
delay:false,
|
chooseButton:{
|
||||||
direct:true,
|
dialog:function(event,player){
|
||||||
content:function(){
|
return ui.create.dialog('急袭',player.storage.tuntian,'hidden');
|
||||||
"step 0"
|
},
|
||||||
player.chooseCardButton('急袭',player.storage.tuntian);
|
backup:function(links,player){
|
||||||
"step 1"
|
return {
|
||||||
if(result.bool){
|
filterCard:function(){return false},
|
||||||
var card=result.buttons[0].link;
|
selectCard:-1,
|
||||||
event.card=card;
|
viewAs:{name:'shunshou'},
|
||||||
player.chooseTarget(function(noname,player,target){
|
cards:links,
|
||||||
var temp=card.name;
|
onuse:function(result,player){
|
||||||
card.name='shunshou';
|
result.cards=lib.skill.jixi_backup.cards;
|
||||||
var result=player.canUse(card,target);
|
var card=result.cards[0];
|
||||||
card.name=temp;
|
|
||||||
return result;
|
|
||||||
}).ai=function(target){
|
|
||||||
return -ai.get.attitude(player,target);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
player.addTempSkill('jixi2','phaseAfter');
|
|
||||||
event.finish();
|
|
||||||
}
|
|
||||||
"step 2"
|
|
||||||
if(result.bool&&result.targets&&result.targets.length){
|
|
||||||
game.stopCountChoose();
|
|
||||||
var card=event.card;
|
|
||||||
player.storage.tuntian.remove(card);
|
player.storage.tuntian.remove(card);
|
||||||
game.addVideo('storage',player,['tuntian',get.cardsInfo(player.storage.tuntian),'cards']);
|
player.syncStorage('tuntian');
|
||||||
if(!player.storage.tuntian.length){
|
if(!player.storage.tuntian.length){
|
||||||
player.unmarkSkill('tuntian');
|
player.unmarkSkill('tuntian');
|
||||||
}
|
}
|
||||||
player.logSkill('jixi',result.targets);
|
|
||||||
player.useCard({name:'shunshou'},[event.card],result.targets[0]).audio=false;
|
|
||||||
}
|
|
||||||
else{
|
else{
|
||||||
player.addTempSkill('jixi2','phaseAfter');
|
player.markSkill('tuntian');
|
||||||
event.finish();
|
}
|
||||||
|
player.logSkill('jixi',result.targets);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
prompt:function(links,player){
|
||||||
|
return '选择急袭的目标';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
order:10,
|
order:10,
|
||||||
result:{
|
result:{
|
||||||
player:function(player){
|
player:function(player){
|
||||||
if(player.skills.contains('jixi2')) return 0;
|
|
||||||
return player.storage.tuntian.length-1;
|
return player.storage.tuntian.length-1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
jixi2:{},
|
|
||||||
jiang:{
|
jiang:{
|
||||||
audio:2,
|
audio:2,
|
||||||
trigger:{player:['shaBefore','juedouBefore'],target:['shaBefore','juedouBefore']},
|
trigger:{player:['shaBefore','juedouBefore'],target:['shaBefore','juedouBefore']},
|
||||||
|
@ -713,6 +714,7 @@ character.shenhua={
|
||||||
"step 0"
|
"step 0"
|
||||||
player.chooseToCompare(target,function(card){
|
player.chooseToCompare(target,function(card){
|
||||||
var player=get.owner(card);
|
var player=get.owner(card);
|
||||||
|
var target=_status.event.getParent().target;
|
||||||
if(player!=target&&ai.get.attitude(player,target)>0){
|
if(player!=target&&ai.get.attitude(player,target)>0){
|
||||||
return -get.number(card);
|
return -get.number(card);
|
||||||
}
|
}
|
||||||
|
@ -833,10 +835,10 @@ character.shenhua={
|
||||||
"step 2"
|
"step 2"
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
player.logSkill('guzheng',trigger.player);
|
player.logSkill('guzheng',trigger.player);
|
||||||
trigger.player.gain(result.buttons[0].link);
|
trigger.player.gain(result.links[0]);
|
||||||
trigger.player.$gain2(result.buttons[0].link);
|
trigger.player.$gain2(result.links[0]);
|
||||||
game.log(trigger.player,'收回了',result.buttons[0].link);
|
game.log(trigger.player,'收回了',result.links[0]);
|
||||||
event.cards.remove(result.buttons[0].link);
|
event.cards.remove(result.links[0]);
|
||||||
if(event.cards.length){
|
if(event.cards.length){
|
||||||
player.gain(event.cards);
|
player.gain(event.cards);
|
||||||
player.$gain2(event.cards);
|
player.$gain2(event.cards);
|
||||||
|
@ -866,8 +868,8 @@ character.shenhua={
|
||||||
content:function(){
|
content:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
var next=player.chooseToDiscard('he','是否发动【悲歌】?');
|
var next=player.chooseToDiscard('he','是否发动【悲歌】?');
|
||||||
next.ai=ai.get.unuseful2;
|
next.set('ai',ai.get.unuseful2);
|
||||||
next.logSkill='beige';
|
next.set('logSkill','beige');
|
||||||
"step 1"
|
"step 1"
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
trigger.player.judge();
|
trigger.player.judge();
|
||||||
|
@ -925,11 +927,12 @@ character.shenhua={
|
||||||
list:[],
|
list:[],
|
||||||
owned:{},
|
owned:{},
|
||||||
player:player,
|
player:player,
|
||||||
get:function(num){
|
}
|
||||||
|
},
|
||||||
|
get:function(player,num){
|
||||||
if(typeof num!='number') num=1;
|
if(typeof num!='number') num=1;
|
||||||
var player=this.player;
|
|
||||||
while(num--){
|
while(num--){
|
||||||
var name=player.storage.huashen.unowned.shift();
|
var name=player.storage.huashen.list.randomRemove();
|
||||||
var skills=lib.character[name][3].slice(0);
|
var skills=lib.character[name][3].slice(0);
|
||||||
for(var i=0;i<skills.length;i++){
|
for(var i=0;i<skills.length;i++){
|
||||||
var info=lib.skill[skills[i]];
|
var info=lib.skill[skills[i]];
|
||||||
|
@ -941,8 +944,6 @@ character.shenhua={
|
||||||
player.popup(name);
|
player.popup(name);
|
||||||
game.log(player,'获得了一个化身');
|
game.log(player,'获得了一个化身');
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
group:['huashen1','huashen2'],
|
group:['huashen1','huashen2'],
|
||||||
intro:{
|
intro:{
|
||||||
|
@ -1013,9 +1014,7 @@ character.shenhua={
|
||||||
player.storage.huashen.list.remove([game.players[i].name1]);
|
player.storage.huashen.list.remove([game.players[i].name1]);
|
||||||
player.storage.huashen.list.remove([game.players[i].name2]);
|
player.storage.huashen.list.remove([game.players[i].name2]);
|
||||||
}
|
}
|
||||||
player.storage.huashen.unowned=player.storage.huashen.list.slice(0);
|
lib.skill.huashen.get(player,2);
|
||||||
player.storage.huashen.unowned.sort(lib.sort.random);
|
|
||||||
player.storage.huashen.get(2);
|
|
||||||
player.storage.huasheninited=true;
|
player.storage.huasheninited=true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1187,12 +1186,12 @@ character.shenhua={
|
||||||
trigger:{player:'damageEnd'},
|
trigger:{player:'damageEnd'},
|
||||||
frequent:true,
|
frequent:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return player.storage.huashen&&player.storage.huashen.unowned&&
|
return player.storage.huashen&&player.storage.huashen.list&&
|
||||||
player.storage.huashen.unowned.length>0;
|
player.storage.huashen.list.length>0;
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
for(var i=0;i<trigger.num;i++){
|
for(var i=0;i<trigger.num;i++){
|
||||||
player.storage.huashen.get();
|
lib.skill.huashen.get(player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -62,7 +62,8 @@ character.standard={
|
||||||
}
|
}
|
||||||
else if(event.current.group=='wei'){
|
else if(event.current.group=='wei'){
|
||||||
if((event.current==game.me&&!_status.auto)||(
|
if((event.current==game.me&&!_status.auto)||(
|
||||||
ai.get.attitude(event.current,player)>2)){
|
ai.get.attitude(event.current,player)>2)||
|
||||||
|
event.current.isOnline()){
|
||||||
var next=event.current.chooseToRespond('是否替'+get.translation(player)+'打出一张闪?',{name:'shan'});
|
var next=event.current.chooseToRespond('是否替'+get.translation(player)+'打出一张闪?',{name:'shan'});
|
||||||
next.set('ai',function(){
|
next.set('ai',function(){
|
||||||
var event=_status.event;
|
var event=_status.event;
|
||||||
|
|
20
game/game.js
20
game/game.js
|
@ -1598,7 +1598,7 @@
|
||||||
clear:true
|
clear:true
|
||||||
},
|
},
|
||||||
import_data:{
|
import_data:{
|
||||||
name:'导入游戏数据',
|
name:'导入游戏设置',
|
||||||
onclick:function(){
|
onclick:function(){
|
||||||
ui.import_data_button.classList.toggle('hidden');
|
ui.import_data_button.classList.toggle('hidden');
|
||||||
},
|
},
|
||||||
|
@ -1611,7 +1611,7 @@
|
||||||
clear:true,
|
clear:true,
|
||||||
},
|
},
|
||||||
export_data:{
|
export_data:{
|
||||||
name:'导出游戏数据',
|
name:'导出游戏设置',
|
||||||
onclick:function(){
|
onclick:function(){
|
||||||
var data={};
|
var data={};
|
||||||
for(var i in localStorage){
|
for(var i in localStorage){
|
||||||
|
@ -1655,12 +1655,14 @@
|
||||||
map[i].style.display='none';
|
map[i].style.display='none';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
map.observe.show();
|
||||||
map.choose_timeout.show();
|
map.choose_timeout.show();
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
for(var i in map){
|
for(var i in map){
|
||||||
map[i].style.display='';
|
map[i].style.display='';
|
||||||
}
|
}
|
||||||
|
map.observe.hide();
|
||||||
map.choose_timeout.hide();
|
map.choose_timeout.hide();
|
||||||
}
|
}
|
||||||
if(config.identity_mode=='zhong'){
|
if(config.identity_mode=='zhong'){
|
||||||
|
@ -1731,15 +1733,14 @@
|
||||||
},
|
},
|
||||||
observe:{
|
observe:{
|
||||||
name:'允许旁观',
|
name:'允许旁观',
|
||||||
init:true,
|
init:false,
|
||||||
frequent:true,
|
|
||||||
connect:true
|
connect:true
|
||||||
},
|
},
|
||||||
double_nei:{
|
double_nei:{
|
||||||
name:'双内奸',
|
name:'双内奸',
|
||||||
init:false,
|
init:false,
|
||||||
frequent:true,
|
|
||||||
restart:true,
|
restart:true,
|
||||||
|
frequent:true,
|
||||||
connect:true
|
connect:true
|
||||||
},
|
},
|
||||||
double_character:{
|
double_character:{
|
||||||
|
@ -6453,8 +6454,7 @@
|
||||||
event.videoId=lib.status.videoId++;
|
event.videoId=lib.status.videoId++;
|
||||||
player.judging.unshift(get.cards()[0]);
|
player.judging.unshift(get.cards()[0]);
|
||||||
game.addVideo('judge1',player,[get.cardInfo(player.judging[0]),judgestr,event.videoId]);
|
game.addVideo('judge1',player,[get.cardInfo(player.judging[0]),judgestr,event.videoId]);
|
||||||
|
game.broadcastAll(function(player,card,str,id,cardid){
|
||||||
game.broadcastAll(function(player,card,str,id){
|
|
||||||
var event;
|
var event;
|
||||||
if(game.online){
|
if(game.online){
|
||||||
event={};
|
event={};
|
||||||
|
@ -6468,12 +6468,14 @@
|
||||||
else{
|
else{
|
||||||
event.node=player.$throwordered(card.copy(),true);
|
event.node=player.$throwordered(card.copy(),true);
|
||||||
}
|
}
|
||||||
|
lib.cardOL[cardid]=event.node;
|
||||||
|
event.node.cardid=cardid;
|
||||||
event.node.classList.add('thrownhighlight');
|
event.node.classList.add('thrownhighlight');
|
||||||
ui.arena.classList.add('thrownhighlight');
|
ui.arena.classList.add('thrownhighlight');
|
||||||
event.dialog=ui.create.dialog(str);
|
event.dialog=ui.create.dialog(str);
|
||||||
event.dialog.classList.add('center');
|
event.dialog.classList.add('center');
|
||||||
event.dialog.videoId=id;
|
event.dialog.videoId=id;
|
||||||
},player,player.judging[0],judgestr,event.videoId);
|
},player,player.judging[0],judgestr,event.videoId,get.id());
|
||||||
|
|
||||||
game.log(player,'进行'+event.judgestr+'判定,亮出的判定牌为',player.judging[0]);
|
game.log(player,'进行'+event.judgestr+'判定,亮出的判定牌为',player.judging[0]);
|
||||||
game.delay(2);
|
game.delay(2);
|
||||||
|
@ -7461,7 +7463,7 @@
|
||||||
else if(get.itemtype(arguments[i])=='select'||typeof arguments[i]=='number') select=arguments[i];
|
else if(get.itemtype(arguments[i])=='select'||typeof arguments[i]=='number') select=arguments[i];
|
||||||
}
|
}
|
||||||
if(prompt==undefined) prompt='请选择卡牌';
|
if(prompt==undefined) prompt='请选择卡牌';
|
||||||
return this.chooseButton(ui.create.dialog(prompt,cards),forced,select,'hidden');
|
return this.chooseButton([prompt,cards,'hidden'],forced,select,'hidden');
|
||||||
},
|
},
|
||||||
chooseButton:function(){
|
chooseButton:function(){
|
||||||
var next=game.createEvent('chooseButton');
|
var next=game.createEvent('chooseButton');
|
||||||
|
|
|
@ -975,7 +975,8 @@ mode.identity={
|
||||||
for(var i=0;i<lib.configOL.characterPack.length;i++){
|
for(var i=0;i<lib.configOL.characterPack.length;i++){
|
||||||
var pack=lib.characterPack[lib.configOL.characterPack[i]];
|
var pack=lib.characterPack[lib.configOL.characterPack[i]];
|
||||||
for(var j in pack){
|
for(var j in pack){
|
||||||
libCharacter[j]=pack[j];
|
if(j=='zuoci') continue;
|
||||||
|
if(lib.character[j]) libCharacter[j]=pack[j];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for(i in libCharacter){
|
for(i in libCharacter){
|
||||||
|
|
Loading…
Reference in New Issue