v1.9.90(part2)
This commit is contained in:
parent
56a8058380
commit
a15678aa29
|
@ -4596,7 +4596,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
ns_nanhua:'南华',
|
||||
ns_nanhua_left:'幻身·左',
|
||||
ns_nanhua_right:'幻身·右',
|
||||
ns_huamulan:'sp花木兰',
|
||||
ns_huamulan:'SP花木兰',
|
||||
ns_huangzu:'黄祖',
|
||||
ns_yanliang:'颜良',
|
||||
ns_wenchou:'文丑',
|
||||
|
@ -4606,7 +4606,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
ns_zhugeliang:'诸葛亮',
|
||||
ns_wangyue:'王越',
|
||||
ns_yuji:'于吉',
|
||||
ns_caocaosp:'sp曹操',
|
||||
ns_caocaosp:'SP曹操',
|
||||
ns_xinxianying:'辛宪英',
|
||||
ns_sunjian:'孙坚',
|
||||
ns_simazhao:'司马昭',
|
||||
|
|
|
@ -29,7 +29,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
skill:{
|
||||
"new_wuhun":{
|
||||
audio:"wuhun",
|
||||
audio:"wuhun3",
|
||||
group:["new_wuhun_mark","new_wuhun_die"],
|
||||
trigger:{
|
||||
player:"damageEnd",
|
||||
|
@ -63,7 +63,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
subSkill:{
|
||||
die:{
|
||||
audio:"wuhun",
|
||||
audio:"wuhun3",
|
||||
skillAnimation:true,
|
||||
trigger:{
|
||||
player:"dieBegin",
|
||||
|
@ -137,6 +137,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
event.num=0;
|
||||
player.line(targets,'green');
|
||||
player.chooseControl('手牌区','装备区','判定区').set('ai',function(){
|
||||
if(game.hasPlayer(function(current){
|
||||
return current.countCards('j')&¤t!=player&&get.attitude(player,current)>0;
|
||||
})) return 2;
|
||||
return Math.floor(Math.random()*3);
|
||||
}).set('prompt','请选择优先获得的区域');
|
||||
"step 2"
|
||||
|
@ -155,7 +158,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
var card=cards.randomGet();
|
||||
player.gain(card);
|
||||
target.$giveAuto(card,player);
|
||||
game.delay();
|
||||
game.delay(0.3);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -167,13 +170,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
"step 5"
|
||||
event.count--;
|
||||
if(event.count){
|
||||
player.chooseBool(get.prompt2('new_guixin'));
|
||||
player.chooseBool(get.prompt2('new_guixin')).ai=function(){
|
||||
return lib.skill.new_guixin.check({num:event.count},player);
|
||||
};
|
||||
}
|
||||
else{
|
||||
event.finish();
|
||||
}
|
||||
"step 6"
|
||||
if(event.count&&result.bool){
|
||||
player.logSkill('new_guixin');
|
||||
event.goto(1);
|
||||
}
|
||||
},
|
||||
|
@ -222,23 +228,19 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
event.targets=game.filterPlayer();
|
||||
event.targets.remove(player);
|
||||
event.targets.sort(lib.sort.seat);
|
||||
event.targets2=event.targets.slice(0);
|
||||
player.line(event.targets,'green');
|
||||
"step 1"
|
||||
if(event.targets.length){
|
||||
event.targets.shift().damage();
|
||||
event.redo();
|
||||
event.current=event.targets.shift()
|
||||
event.current.discard(event.current.getCards('e')).delay=false;
|
||||
}
|
||||
"step 2"
|
||||
if(event.targets2.length){
|
||||
var cur=event.targets2.shift();
|
||||
if(cur&&cur.countCards('he')){
|
||||
cur.chooseToDiscard('e',true,Infinity);
|
||||
cur.chooseToDiscard('h',true,4);
|
||||
}
|
||||
event.redo();
|
||||
}
|
||||
"step 3"
|
||||
event.current.chooseToDiscard('h',true,4).delay=false;
|
||||
"step 3"
|
||||
event.current.damage();
|
||||
game.delay(0.5);
|
||||
if(event.targets.length) event.goto(1);
|
||||
"step 4"
|
||||
player.turnOver();
|
||||
},
|
||||
ai:{
|
||||
|
@ -1945,6 +1947,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
"nzry_jieying":{
|
||||
audio:2,
|
||||
global:"g_nzry_jieying",
|
||||
ai:{
|
||||
effect:{
|
||||
target:function(card){
|
||||
|
@ -1965,7 +1968,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
return !player.isLinked();
|
||||
},
|
||||
content:function(){
|
||||
if(!player.isLinked()) player.link();
|
||||
player.link(true);
|
||||
},
|
||||
},
|
||||
'2':{
|
||||
|
@ -1986,7 +1989,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(result.bool){
|
||||
player.line(result.targets);
|
||||
player.logSkill('nzry_jieying');
|
||||
result.targets[0].link();
|
||||
result.targets[0].link(true);
|
||||
}else{
|
||||
event.finish();
|
||||
};
|
||||
|
@ -1994,7 +1997,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
},
|
||||
},
|
||||
"_nzry_jieying":{
|
||||
"g_nzry_jieying":{
|
||||
mod:{
|
||||
maxHandcard:function (player,num){
|
||||
if(game.countPlayer(function(current){return current.hasSkill('nzry_jieying')})>0&&player.isLinked()) return num+2;
|
||||
|
@ -2048,7 +2051,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(player.storage.nzry_junlve%2==1){
|
||||
result.targets[0].damage();
|
||||
}else{
|
||||
result.targets[0].link();
|
||||
result.targets[0].link(true);
|
||||
player.discardPlayerCard(result.targets[0],1,'hej');
|
||||
};
|
||||
};
|
||||
|
@ -2354,8 +2357,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
event.list2.push(list[i]);
|
||||
};
|
||||
};
|
||||
target.discard(event.list2);
|
||||
player.discard(event.list1);
|
||||
if(event.list1.length&&event.list2.length){
|
||||
target.discard(event.list2).delay=false;
|
||||
player.discard(event.list1).delay=false;
|
||||
game.delay();
|
||||
}
|
||||
else{
|
||||
target.discard(event.list2);
|
||||
player.discard(event.list1);
|
||||
}
|
||||
};
|
||||
'step 2'
|
||||
if(event.list1.length+event.list2.length==4){
|
||||
|
@ -2393,16 +2403,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
'drlt_jieying':{
|
||||
audio:2,
|
||||
init:function (player){
|
||||
player.storage.drlt_jieying=0;
|
||||
},
|
||||
marktext:"营",
|
||||
intro:{
|
||||
content:function(storage){
|
||||
return '当前有'+storage+'个“营”';
|
||||
return '已获得“营”标记';
|
||||
},
|
||||
},
|
||||
mark:true,
|
||||
group:["drlt_jieying_1","drlt_jieying_2","drlt_jieying_3"],
|
||||
subSkill:{
|
||||
'1':{
|
||||
|
@ -2412,8 +2418,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
forced:true,
|
||||
content:function(){
|
||||
player.storage.drlt_jieying++;
|
||||
player.syncStorage('drlt_jieying');
|
||||
player.storage.drlt_jieying=player;
|
||||
player.markSkill('drlt_jieying');
|
||||
game.log(player,'获得了“营”标记');
|
||||
},
|
||||
},
|
||||
|
@ -2426,7 +2432,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
content:function(){
|
||||
'step 0'
|
||||
player.chooseTarget(get.prompt('drlt_jieying'),function(card,player,target){
|
||||
return target.storage.drlt_jieying==undefined;
|
||||
return target!=player;
|
||||
}).ai=function(target){
|
||||
if(get.attitude(player,target)>0)
|
||||
return 0.1;
|
||||
|
@ -2443,12 +2449,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
var target=result.targets[0];
|
||||
player.line(target);
|
||||
player.logSkill('drlt_jieying');
|
||||
delete player.storage.drlt_jieying;
|
||||
player.storage.drlt_jieying=target;
|
||||
target.storage.drlt_jieying2=player;
|
||||
player.unmarkSkill('drlt_jieying');
|
||||
game.log(player,'失去了“营”标记');
|
||||
player.storage.drlt_jieying1=target;
|
||||
if(target.storage.drlt_jieying==undefined) target.storage.drlt_jieying=0;
|
||||
target.storage.drlt_jieying++;
|
||||
target.markSkill('drlt_jieying');
|
||||
game.log(target,'获得了“营”标记');
|
||||
};
|
||||
|
@ -2457,33 +2461,37 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
'3':{
|
||||
audio:'drlt_jieying',
|
||||
trigger:{
|
||||
global:'phaseAfter'
|
||||
global:['phaseAfter','dieAfter']
|
||||
},
|
||||
forced:true,
|
||||
filter:function(event,player){
|
||||
return event.player!=player&&event.player.storage.drlt_jieying!=undefined
|
||||
return player.storage.drlt_jieying==event.player;
|
||||
},
|
||||
logTarget:'player',
|
||||
content:function(){
|
||||
if(trigger.player.countCards('h')>0){
|
||||
trigger.player.give(trigger.player.getCards('h'),player);
|
||||
if(trigger.player.isAlive()){
|
||||
if(trigger.player.countCards('h')>0){
|
||||
trigger.player.give(trigger.player.getCards('h'),player);
|
||||
}
|
||||
delete trigger.player.storage.drlt_jieying2;
|
||||
trigger.player.unmarkSkill('drlt_jieying');
|
||||
game.log(trigger.player,'失去了“营”标记');
|
||||
}
|
||||
if(player.storage.drlt_jieying==undefined) player.storage.drlt_jieying=0;
|
||||
player.storage.drlt_jieying++;
|
||||
delete trigger.player.storage.drlt_jieying;
|
||||
trigger.player.unmarkSkill('drlt_jieying');
|
||||
player.storage.drlt_jieying=player;
|
||||
player.markSkill('drlt_jieying');
|
||||
game.log(player,'获得了“营”标记');
|
||||
},
|
||||
},
|
||||
},
|
||||
global:'g_drlt_jieying',
|
||||
},
|
||||
'_drlt_jieying':{
|
||||
'g_drlt_jieying':{
|
||||
mod:{
|
||||
cardUsable:function (card,player,num){
|
||||
if(player.storage.drlt_jieying!=undefined&&card.name=='sha') return num+1;
|
||||
if((player.storage.drlt_jieying==player||(player.storage.drlt_jieying2&&player.storage.drlt_jieying2.isAlive()&&player.storage.drlt_jieying2.storage.drlt_jieying==player))&&card.name=='sha') return num+1;
|
||||
},
|
||||
maxHandcard:function (player,num){
|
||||
if(player.storage.drlt_jieying!=undefined) return num+1;
|
||||
if(player.storage.drlt_jieying==player||(player.storage.drlt_jieying2&&player.storage.drlt_jieying2.isAlive()&&player.storage.drlt_jieying2.storage.drlt_jieying==player)) return num+1;
|
||||
},
|
||||
},
|
||||
audio:'drlt_jieying',
|
||||
|
@ -2492,7 +2500,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
forced:true,
|
||||
filter:function(event,player){
|
||||
return player.storage.drlt_jieying!=undefined;
|
||||
return player.storage.drlt_jieying==player||(player.storage.drlt_jieying2&&player.storage.drlt_jieying2.isAlive()&&player.storage.drlt_jieying2.storage.drlt_jieying==player);
|
||||
},
|
||||
content:function(){
|
||||
trigger.num++;
|
||||
|
@ -2568,7 +2576,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
sbaiyin:'拜印',
|
||||
sbaiyin_info:'觉醒技,准备阶段开始时,若你拥有的“忍”标记枚数不小于4,你减1点体力上限,然后获得“极略”',
|
||||
jilue:'极略',
|
||||
jilue_info:'每当一名角色的判定牌生效前,若你有手牌,你可以弃1枚“忍”标记发动“鬼才”(界);每当你受到伤害后,你可以弃1枚“忍”标记,发动“放逐”;每当你使用锦囊牌时,你可以弃1枚“忍”标记,发动“集智”(界);出牌阶段限一次,若你有牌,你可以弃1枚“忍”标记,发动“制衡”(界);出牌阶段,你可以弃1枚“忍”标记,执行“完杀”的效果,直到回合结束。',
|
||||
jilue_info:'每当一名角色的判定牌生效前,若你有牌,你可以弃1枚“忍”标记发动“鬼才”(界);每当你受到伤害后,你可以弃1枚“忍”标记,发动“放逐”;每当你使用锦囊牌时,你可以弃1枚“忍”标记,发动“集智”(界);出牌阶段限一次,若你有牌,你可以弃1枚“忍”标记,发动“制衡”(界);出牌阶段,你可以弃1枚“忍”标记,执行“完杀”的效果,直到回合结束。',
|
||||
jilue_guicai:'鬼才',
|
||||
jilue_fangzhu:'放逐',
|
||||
jilue_wansha:'完杀',
|
||||
|
@ -2616,9 +2624,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
ol_wuqian:'无前',
|
||||
ol_wuqian_info:'出牌阶段,你可以弃2枚“暴怒”标记并选择一名其他角色,你视为拥有技能“无双”并令其防具无效,直到回合结束。',
|
||||
ol_shenfen:'神愤',
|
||||
ol_shenfen_info:'出牌阶段,你可以弃6枚“暴怒”标记并选择所有其他角色,对这些角色各造成1点伤害,然后这些角色先各弃置其装备区里的牌,再各弃置四张手牌,最后你将你的武将牌翻面。每阶段限一次。',
|
||||
ol_shenfen_info:'出牌阶段,你可以弃6枚“暴怒”标记并选择所有其他角色,然后这些角色先各弃置其装备区里的牌,再各弃置四张手牌,然后受到来自你的1点伤害。最后你将你的武将牌翻面。每阶段限一次。',
|
||||
"new_wuhun":"武魂",
|
||||
"new_wuhun_info":"锁定技,当你受到伤害后,伤害来源获得X个“梦魇”’标记(X为伤害点数)。锁定技,当你死亡时,你选择一名“梦魇”标记数量最多的其他角色。你的死亡流程结算完成后,该角色进行一次判定:若判定结果不为【桃】或【桃园结义】,则该角色立刻死亡。",
|
||||
"new_wuhun_info":"锁定技,当你受到伤害后,伤害来源获得X个“梦魇”标记(X为伤害点数)。锁定技,当你死亡时,你选择一名“梦魇”标记数量最多的其他角色。你的死亡流程结算完成后,该角色进行一次判定:若判定结果不为【桃】或【桃园结义】,则该角色立刻死亡。",
|
||||
"new_guixin":"归心",
|
||||
"new_guixin_info":"当你受到1点伤害后,你可以随机获得每名其他角色区域里的一张牌,然后你翻面",
|
||||
},
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
'use strict';
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'mobile',
|
||||
connectBanned:['miheng'],
|
||||
connect:true,
|
||||
character:{
|
||||
re_jikang:["male","wei",3,["new_qingxian","new_juexiang"]],
|
||||
old_bulianshi:['female','wu',3,['anxu','zhuiyi']],
|
||||
miheng:['male','qun',3,['kuangcai','shejian']],
|
||||
taoqian:['male','qun',3,['zhaohuo','yixiang','yirang']],
|
||||
liuzan:['male','wu',4,['fenyin']],lingcao:['male','wu',4,['dujin']],
|
||||
sunru:['female','wu',3,['yingjian','shixin']],
|
||||
lifeng:['male','shu',3,['tunchu','shuliang']],
|
||||
zhuling:['male','wei',4,['zhanyi']],
|
||||
liuye:['male','wei',3,['polu','choulve']],
|
||||
zhaotongzhaoguang:["male","shu",4,["yizan_use","xinfu_longyuan"],[]],
|
||||
majun:["male","wei",3,["xinfu_jingxie1","xinfu_qiaosi"],[]],
|
||||
simazhao:["male","wei",3,["xinfu_daigong","xinfu_zhaoxin"],[]],
|
||||
wangyuanji:["female","wei",3,["xinfu_qianchong","xinfu_shangjian"],[]],
|
||||
pangdegong:["male","qun",3,["xinfu_pingcai","xinfu_pdgyingshi"],[]],
|
||||
re_sp_zhugeliang:["male","shu",3,["rehuoji","rekanpo","bazhen"],[]],
|
||||
re_xunyu:["male","wei",3,["quhu","rejieming"],[]],
|
||||
re_dianwei:["male","wei",4,["reqiangxi"],[]],
|
||||
re_yanwen:["male","qun",4,["reshuangxiong"],[]],
|
||||
re_pangtong:['male','shu',3,['xinlianhuan','niepan'],[]],
|
||||
xin_yuanshao:['male','qun',4,['reluanji','xueyi'],['zhu']],
|
||||
old_caochun:['male','wei',4,['shanjia']],
|
||||
old_yuanshu:['male','qun',4,['xinyongsi','yjixi']],
|
||||
},
|
||||
characterFilter:{
|
||||
},
|
||||
skill:{
|
||||
},
|
||||
translate:{
|
||||
re_jikang:"新嵇康",
|
||||
old_bulianshi:'新步练师',
|
||||
old_caochun:'旧曹纯',
|
||||
}
|
||||
};
|
||||
});
|
|
@ -21,7 +21,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
old_wangyi:['female','wei',3,['oldzhenlie','oldmiji']],
|
||||
old_caozhen:['male','wei',4,['sidi']],
|
||||
old_quancong:['male','wu',4,['zhenshan']],
|
||||
old_yuanshu:['male','qun',4,['yongsi','weidi']],
|
||||
old_lingju:['female','qun',3,['jieyuan','fenxin_old']],
|
||||
old_maliang:['male','shu',3,['xiemu','naman']],
|
||||
old_chenqun:['male','wei',3,['dingpin','oldfaen']],
|
||||
|
@ -29,7 +28,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
old_zhuzhi:['male','wu',4,['anguo']],
|
||||
|
||||
old_machao:['male','qun',4,['zhuiji','cihuai']],
|
||||
old_bulianshi:['female','wu',3,['old_anxu','zhuiyi']],
|
||||
old_zhugezhan:["male","shu",3,["old_zuilun","old_fuyin"]],
|
||||
zhangliang:["male","qun",3,["old_jijun","old_fangtong"]],
|
||||
},
|
||||
|
@ -562,7 +560,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
},
|
||||
translate:{
|
||||
old_yuanshu:'旧袁术',
|
||||
old_yuanshu:'手杀袁术',
|
||||
old_xusheng:'旧徐盛',
|
||||
old_lingtong:'旧凌统',
|
||||
old_zhuran:'旧朱然',
|
||||
|
@ -577,10 +575,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
old_chenqun:'旧陈群',
|
||||
old_zhuhuan:'旧朱桓',
|
||||
old_zhuzhi:'旧朱治',
|
||||
old_machao:'旧马超',
|
||||
old_bulianshi:'旧步练师',
|
||||
old_machao:'☆SP马超',
|
||||
old_zhugezhan:"旧诸葛瞻",
|
||||
zhangliang:'旧张梁',
|
||||
zhangliang:'SP张梁',
|
||||
|
||||
"old_jijun":"集军",
|
||||
"old_jijun_info":"出牌阶段,你可以将任意张手牌置于你的武将牌上。(均称为“方”)",
|
||||
|
|
|
@ -33,13 +33,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
re_zhenji:['female','wei',3,['reluoshen','qingguo']],
|
||||
re_zhugeliang:['male','shu',3,['reguanxing','kongcheng']],
|
||||
re_huaxiong:["male","qun",6,["new_reyaowu"]],
|
||||
|
||||
re_sp_zhugeliang:["male","shu",3,["rehuoji","rekanpo","bazhen"],[]],
|
||||
re_xunyu:["male","wei",3,["quhu","rejieming"],[]],
|
||||
re_dianwei:["male","wei",4,["reqiangxi"],[]],
|
||||
re_yanwen:["male","qun",4,["reshuangxiong"],[]],
|
||||
re_pangtong:['male','shu',3,['xinlianhuan','niepan'],[]],
|
||||
xin_yuanshao:['male','qun',4,['reluanji','xueyi'],['zhu']],
|
||||
},
|
||||
characterIntro:{
|
||||
re_gongsunzan:'群雄之一。出身贵族,因母地位卑贱,只当了郡中小吏。他貌美,声音洪亮,机智善辩。后随卢植于缑氏山中读书,粗通经传。',
|
||||
|
@ -898,7 +891,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
content:function (){
|
||||
"step 0"
|
||||
player.chooseCardTarget({
|
||||
position:'h',
|
||||
position:'he',
|
||||
filterCard:true,
|
||||
selectCard:[1,Infinity],
|
||||
filterTarget:function(card,player,target){
|
||||
|
@ -922,7 +915,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(target.countCards('h')>_status.event.player.countCards('h')) return 0;
|
||||
return att-4;
|
||||
},
|
||||
prompt:'请选择要送人的卡牌'
|
||||
prompt:get.prompt2('new_qingjian'),
|
||||
});
|
||||
"step 1"
|
||||
if(result.bool){
|
||||
|
@ -1034,7 +1027,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
return [1,-2];
|
||||
}
|
||||
if(card.name=='sha'&&(get.color(card)=='black')){
|
||||
return [1,0.6];
|
||||
return [0,-0.6];
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -1908,6 +1901,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
skillAnimation:true,
|
||||
audio:2,
|
||||
unique:true,
|
||||
juexingji:true,
|
||||
derivation:'gongxin',
|
||||
trigger:{player:'phaseBegin'},
|
||||
forced:true,
|
||||
|
@ -2159,6 +2153,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
unique:true,
|
||||
mark:true,
|
||||
skillAnimation:true,
|
||||
limited:true,
|
||||
trigger:{player:'phaseBegin'},
|
||||
init:function(player){
|
||||
player.storage.retishen=false;
|
||||
|
@ -2552,6 +2547,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
retieji:{
|
||||
audio:2,
|
||||
audioname:['boss_lvbu3'],
|
||||
trigger:{player:'shaBegin'},
|
||||
check:function(event,player){
|
||||
return get.attitude(player,event.target)<0;
|
||||
|
@ -2712,6 +2708,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
skillAnimation:true,
|
||||
audio:2,
|
||||
unique:true,
|
||||
juexingji:true,
|
||||
trigger:{source:'damageAfter'},
|
||||
forced:true,
|
||||
derivation:'jianyan',
|
||||
|
@ -2820,6 +2817,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
audio:2,
|
||||
unique:true,
|
||||
mark:true,
|
||||
limited:true,
|
||||
trigger:{global:'useCard'},
|
||||
priority:5,
|
||||
filter:function(event,player){
|
||||
|
@ -3049,7 +3047,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
"new_tishen2":"替身",
|
||||
"new_tishen2_info":"",
|
||||
"new_qingjian":"清俭",
|
||||
"new_qingjian_info":"每当你于摸牌阶段外获得牌时,你可以展示任意张手牌并交给一名其他角色。然后,当前回合角色本回合的手牌上限+X。(X为你给出的牌中包含的类别数)",
|
||||
"new_qingjian_info":"每当你于摸牌阶段外获得牌时,你可以展示任意张牌并交给一名其他角色。然后,当前回合角色本回合的手牌上限+X(X为你给出的牌中包含的类别数)。每回合限一次。",
|
||||
"qingjian_add":"清俭",
|
||||
"qingjian_add_info":"",
|
||||
"new_reqingnang":"青囊",
|
||||
|
|
|
@ -175,6 +175,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
forced:true,
|
||||
unique:true,
|
||||
juexingji:true,
|
||||
derivation:['drlt_qingce'],
|
||||
init:function(player){
|
||||
player.storage.drlt_hongju=false;
|
||||
|
@ -528,6 +529,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
forced:true,
|
||||
unique:true,
|
||||
juexingji:true,
|
||||
derivation:['drlt_huairou'],
|
||||
init:function(player){
|
||||
player.storage.drlt_poshi=false;
|
||||
|
@ -985,6 +987,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
audio:2,
|
||||
mark:true,
|
||||
locked:false,
|
||||
zhuanhuanji:true,
|
||||
marktext:'拒',
|
||||
intro:{
|
||||
content:function(storage,player,skill){
|
||||
|
@ -1150,8 +1153,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
"nzry_binglve":{},
|
||||
"nzry_huaiju":{
|
||||
marktext:"橘",
|
||||
init:function(player){
|
||||
player.storage.nzry_huaiju=0;
|
||||
init:function(player,skill){
|
||||
if(!player.storage[skill]) player.storage[skill]=0;
|
||||
},
|
||||
intro:{
|
||||
content:'当前有#个“橘”',
|
||||
|
@ -1159,44 +1162,40 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
mark:true,
|
||||
audio:2,
|
||||
trigger:{
|
||||
global:'gameStart'
|
||||
global:'gameDrawAfter'
|
||||
},
|
||||
forced:true,
|
||||
content:function(){
|
||||
player.storage.nzry_huaiju+=3;
|
||||
player.syncStorage('nzry_huaiju');
|
||||
game.log(player,'获得了3个“橘”');
|
||||
},
|
||||
},
|
||||
group:['tachibana_effect'],
|
||||
},
|
||||
"_nzry_huaiju":{
|
||||
audio:2,
|
||||
//没错 这是个橘
|
||||
"tachibana_effect":{
|
||||
audio:'nzry_huaiju',
|
||||
trigger:{
|
||||
player:'damageBefore'
|
||||
global:['damageBefore','phaseDrawBegin'],
|
||||
},
|
||||
forced:true,
|
||||
filter:function (event,player){
|
||||
return player.storage.nzry_huaiju>0;
|
||||
filter:function(event,player){
|
||||
return event.player.storage.nzry_huaiju&&event.player.storage.nzry_huaiju>0;
|
||||
},
|
||||
content:function(){
|
||||
trigger.cancel();
|
||||
player.storage.nzry_huaiju--;
|
||||
player.syncStorage('nzry_huaiju');
|
||||
if(player.storage.nzry_huaiju<=0) player.unmarkSkill('nzry_huaiju');
|
||||
game.log(player,'移去了1个“橘”');
|
||||
},
|
||||
},
|
||||
"_nzry_huaiju1":{
|
||||
audio:2,
|
||||
trigger:{
|
||||
player:'phaseDrawBegin'
|
||||
player.line(trigger.player,'green');
|
||||
if(trigger.name=='damage'){
|
||||
trigger.cancel();
|
||||
trigger.player.storage.nzry_huaiju--;
|
||||
if(!trigger.player.storage.nzry_huaiju) trigger.player.unmarkSkill('nzry_huaiju');
|
||||
else{
|
||||
trigger.player.syncStorage('nzry_huaiju');
|
||||
trigger.player.updateMarks('nzry_huaiju');
|
||||
}
|
||||
game.log(trigger.player,'移去了1个“橘”');
|
||||
}
|
||||
else trigger.num++;
|
||||
},
|
||||
forced:true,
|
||||
filter:function (event,player){
|
||||
return player.storage.nzry_huaiju>0;
|
||||
},
|
||||
content:function(){
|
||||
trigger.num++;
|
||||
},
|
||||
},
|
||||
"nzry_yili":{
|
||||
audio:2,
|
||||
|
@ -1209,7 +1208,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.chooseTarget(get.prompt('nzry_yili'),function(card,player,target){
|
||||
return target!=player
|
||||
}).ai=function(target){
|
||||
if(player.storage.nzry_huaiju>1) return get.attitude(player,target);
|
||||
var player=_status.event.player;
|
||||
if(player.storage.nzry_huaiju>2||player.hp>2) return get.attitude(player,target);
|
||||
return -1;
|
||||
};
|
||||
'step 1'
|
||||
|
@ -1217,6 +1217,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
event.target=result.targets[0];
|
||||
if(player.storage.nzry_huaiju>0){
|
||||
player.chooseControl().set('choiceList',['流失一点体力','移去一个“橘”']).set('ai',function(){
|
||||
if(player.hp>2) return 0;
|
||||
return 1;
|
||||
});
|
||||
}
|
||||
|
@ -1225,6 +1226,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
event.finish();
|
||||
};
|
||||
'step 2'
|
||||
player.line(event.target,'green');
|
||||
player.logSkill('nzry_huaiju');
|
||||
if(result.index==1){
|
||||
player.storage.nzry_huaiju--;
|
||||
player.syncStorage('nzry_huaiju');
|
||||
|
@ -1233,8 +1236,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}else{
|
||||
player.loseHp();
|
||||
};
|
||||
player.line(event.target);
|
||||
player.logSkill('nzry_huaiju');
|
||||
if(event.target.storage.nzry_huaiju==undefined) event.target.storage.nzry_huaiju=0;
|
||||
event.target.markSkill('nzry_huaiju');
|
||||
event.target.storage.nzry_huaiju++;
|
||||
|
@ -1256,9 +1257,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
content:function(){
|
||||
trigger.cancel();
|
||||
if(player.storage.nzry_huaiju==undefined) player.storage.nzry_huaiju=0;
|
||||
player.markSkill('nzry_huaiju');
|
||||
player.storage.nzry_huaiju++;
|
||||
player.syncStorage('nzry_huaiju');
|
||||
player.markSkill('nzry_huaiju');
|
||||
game.log(player,'获得了1个“橘”');
|
||||
},
|
||||
},
|
||||
|
@ -1442,6 +1443,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
"nzry_chenglve":{
|
||||
mark:true,
|
||||
locked:false,
|
||||
zhuanhuanji:true,
|
||||
marktext:'成',
|
||||
intro:{
|
||||
content:function(storage,player,skill){
|
||||
|
@ -1636,6 +1638,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
"nzry_zhenliang":{
|
||||
mark:true,
|
||||
locked:false,
|
||||
zhuanhuanji:true,
|
||||
marktext:'贞',
|
||||
intro:{
|
||||
content:function(storage,player,skill){
|
||||
|
@ -1675,7 +1678,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(result.bool){
|
||||
player.storage.nzry_zhenliang=true;
|
||||
player.discard(result.cards);
|
||||
target.damage();
|
||||
target.damage('nocard');
|
||||
};
|
||||
},
|
||||
ai:{
|
||||
|
@ -1747,6 +1750,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
"nzry_shenshi":{
|
||||
mark:true,
|
||||
locked:false,
|
||||
zhuanhuanji:true,
|
||||
marktext:'审',
|
||||
intro:{
|
||||
content:function(storage,player,skill){
|
||||
|
@ -1779,7 +1783,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
'step 0'
|
||||
player.storage.nzry_shenshi=true;
|
||||
target.gain(cards,player);
|
||||
target.damage();
|
||||
target.damage('nocard');
|
||||
'step 1'
|
||||
if(!target.isAlive()){
|
||||
player.chooseTarget('请选择一名角色并令其将手牌摸至四张',function(card,player,target){
|
||||
|
@ -2288,6 +2292,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
qimou:{
|
||||
unique:true,
|
||||
limited:true,
|
||||
enable:'phaseUse',
|
||||
filter:function(event,player){
|
||||
return !player.storage.qimou;
|
||||
|
@ -2472,6 +2477,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
skillAnimation:true,
|
||||
audio:2,
|
||||
unique:true,
|
||||
juexingji:true,
|
||||
priority:-10,
|
||||
derivation:'reguanxing',
|
||||
trigger:{player:'phaseBeginStart'},
|
||||
|
@ -2608,6 +2614,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
skillAnimation:true,
|
||||
audio:2,
|
||||
unique:true,
|
||||
juexingji:true,
|
||||
zhuSkill:true,
|
||||
keepSkill:true,
|
||||
derivation:'jijiang',
|
||||
|
@ -2889,6 +2896,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
skillAnimation:true,
|
||||
audio:2,
|
||||
unique:true,
|
||||
juexingji:true,
|
||||
trigger:{player:'phaseBegin'},
|
||||
forced:true,
|
||||
filter:function(event,player){
|
||||
|
@ -3796,10 +3804,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
audio:2,
|
||||
unique:true,
|
||||
gainable:true,
|
||||
trigger:{global:'dieEnd'},
|
||||
trigger:{global:'die'},
|
||||
priority:5,
|
||||
filter:function(event){
|
||||
return event.playerCards&&event.playerCards.length>0
|
||||
if(!event.playerCards||!event.playerCards.length) return false;
|
||||
for(var i=0;i<event.playerCards.length;i++){
|
||||
if(!get.owner(event.playerCards[i])||get.owner(event.playerCards[i])==event.player) return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
check:function(event){
|
||||
for(var i=0;i<event.playerCards.length;i++){
|
||||
|
@ -3809,15 +3821,23 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
content:function(){
|
||||
"step 0"
|
||||
player.gain(trigger.playerCards);
|
||||
player.$draw(trigger.playerCards);
|
||||
event.togain=[];
|
||||
event.shown=[];
|
||||
for(var i=0;i<trigger.playerCards.length;i++){
|
||||
if(!get.owner(trigger.playerCards[i])||get.owner(trigger.playerCards[i])==trigger.player){
|
||||
event.togain.push(trigger.playerCards[i]);
|
||||
if(trigger.es.contains(trigger.playerCards[i])) event.shown.push(trigger.playerCards[i]);
|
||||
}
|
||||
}
|
||||
player.gain(event.togain);
|
||||
trigger.player.$give(event.togain.length-event.shown.length,player);
|
||||
if(event.shown.length) trigger.player.$give(event.shown,player);
|
||||
game.delay();
|
||||
"step 1"
|
||||
for(var i=0;i<trigger.playerCards.length;i++){
|
||||
trigger.cards.remove(trigger.playerCards[i]);
|
||||
for(var i=0;i<event.togain.length;i++){
|
||||
trigger.cards.remove(event.togain[i]);
|
||||
}
|
||||
trigger.playerCards.length=0;
|
||||
}
|
||||
},
|
||||
},
|
||||
fangzhu:{
|
||||
audio:2,
|
||||
|
@ -4478,6 +4498,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
wansha:{
|
||||
locked:true,
|
||||
audio:2,
|
||||
audioname:['boss_lvbu3'],
|
||||
global:'wansha2',
|
||||
trigger:{global:'dying'},
|
||||
priority:15,
|
||||
|
@ -4609,6 +4631,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
unique:true,
|
||||
enable:'chooseToUse',
|
||||
mark:true,
|
||||
limited:true,
|
||||
skillAnimation:true,
|
||||
animationStr:'涅盘',
|
||||
animationColor:'fire',
|
||||
|
@ -4667,6 +4690,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
mark:true,
|
||||
skillAnimation:true,
|
||||
animationStr:'涅盘',
|
||||
limited:true,
|
||||
animationColor:'fire',
|
||||
init:function(player){
|
||||
player.storage.oldniepan=false;
|
||||
|
@ -4854,6 +4878,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
audio:2,
|
||||
enable:'phaseUse',
|
||||
usable:1,
|
||||
audioname:['boss_lvbu3'],
|
||||
filterCard:function(card){
|
||||
return get.subtype(card)=='equip1';
|
||||
},
|
||||
|
@ -4868,7 +4893,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.loseHp();
|
||||
}
|
||||
"step 1"
|
||||
target.damage();
|
||||
target.damage('nocard');
|
||||
},
|
||||
check:function(card){
|
||||
return 10-get.value(card);
|
||||
|
@ -4935,7 +4960,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.addTempSkill('xinqiangxi2');
|
||||
}
|
||||
"step 1"
|
||||
target.damage();
|
||||
target.damage('nocard');
|
||||
},
|
||||
check:function(card){
|
||||
return 10-get.value(card);
|
||||
|
@ -5580,7 +5605,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
event.target.storage.retianxiang3=event.card;
|
||||
}
|
||||
else{
|
||||
event.target.damage(trigger.source).type='retianxiang';
|
||||
event.target.damage(trigger.source,'nocard').type='retianxiang';
|
||||
event.target.addSkill('retianxiang2');
|
||||
if(get.position(event.card)=='s'){
|
||||
event.card.discard();
|
||||
|
@ -6294,10 +6319,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
"nzry_lijun_info":"主公技,其他吴势力角色的回合限一次,其使用的【杀】结算后,可以将此【杀】交给你,然后你可以令其摸一张牌",
|
||||
"nzry_huaiju":"怀橘",
|
||||
"nzry_huaiju_info":"锁定技,游戏开始时,你获得3个“橘”标记。(有“橘”的角色受到伤害时,防止此伤害,然后移去一个“橘”;有“橘”的角色摸牌阶段额外摸一张牌)",
|
||||
"_nzry_huaiju":"怀橘",
|
||||
"_nzry_huaiju_info":"有“橘”的角色受到伤害时,防止此伤害,然后移去一个“橘”",
|
||||
"_nzry_huaiju1":"怀橘",
|
||||
"_nzry_huaiju1_info":"有“橘”的角色摸牌阶段额外摸一张牌",
|
||||
"tachibana_effect":"怀橘",
|
||||
"nzry_yili":"遗礼",
|
||||
"nzry_yili_info":"出牌阶段开始时,你可以失去一点体力或移去一个“橘”,然后令一名其他角色获得一个“橘”",
|
||||
"nzry_zhenglun":"整论",
|
||||
|
|
692
character/sp.js
692
character/sp.js
File diff suppressed because it is too large
Load Diff
|
@ -1165,7 +1165,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
reality[get.type(he[i],'trick')]=true;
|
||||
}
|
||||
event.num=0;
|
||||
var tl=['basic','trick','delay'];
|
||||
var tl=['basic','trick','equip'];
|
||||
for(var i=0;i<tl.length;i++){
|
||||
if(event.choice[tl[i]]==reality[tl[i]]) event.num++;
|
||||
}
|
||||
|
@ -1217,7 +1217,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(get.itemtype(trigger.cards)=='cards'&&get.position(trigger.cards[0])=='d'){
|
||||
player.gain(trigger.cards,"gain2");
|
||||
}
|
||||
player.draw();
|
||||
player.draw("nodelay");
|
||||
},
|
||||
ai:{
|
||||
maixie:true,
|
||||
|
@ -1234,29 +1234,34 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
audio:1,
|
||||
unique:true,
|
||||
gainable:true,
|
||||
trigger:{
|
||||
global:"dieEnd",
|
||||
},
|
||||
priority:5,
|
||||
filter:function (event){
|
||||
return event.playerCards&&event.playerCards.length>0
|
||||
trigger:{global:'die'},
|
||||
priority:5,
|
||||
filter:function(event){
|
||||
if(!event.playerCards||!event.playerCards.length) return false;
|
||||
for(var i=0;i<event.playerCards.length;i++){
|
||||
if(!get.owner(event.playerCards[i])||get.owner(event.playerCards[i])==event.player) return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
check:function (event){
|
||||
check:function(event){
|
||||
for(var i=0;i<event.playerCards.length;i++){
|
||||
if(event.playerCards[i].name=='du') return false;
|
||||
}
|
||||
return true;
|
||||
},
|
||||
content:function (){
|
||||
content:function(){
|
||||
"step 0"
|
||||
player.gain(trigger.playerCards);
|
||||
player.$draw(trigger.playerCards);
|
||||
event.togain=[];
|
||||
for(var i=0;i<trigger.playerCards.length;i++){
|
||||
if(!get.owner(trigger.playerCards[i])||get.owner(trigger.playerCards[i])==trigger.player) event.togain.push(trigger.playerCards[i]);
|
||||
}
|
||||
player.gain(event.togain);
|
||||
trigger.player.$give(event.togain.length,player);
|
||||
game.delay();
|
||||
"step 1"
|
||||
for(var i=0;i<trigger.playerCards.length;i++){
|
||||
trigger.cards.remove(trigger.playerCards[i]);
|
||||
for(var i=0;i<event.togain.length;i++){
|
||||
trigger.cards.remove(event.togain[i]);
|
||||
}
|
||||
trigger.playerCards.length=0;
|
||||
},
|
||||
},
|
||||
"xinfu_fujian":{
|
||||
|
@ -2619,7 +2624,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
forced:true,
|
||||
filter:function (event,player){
|
||||
if(_status.currentPhase!=player||event.parent.parent.name=='phaseDraw') return false;
|
||||
if(!player.isPhaseUsing()) return false;
|
||||
return event.getParent().name=='draw'&&event.getParent(2).name!='xinfu_zhanji';
|
||||
},
|
||||
content:function (){
|
||||
|
@ -5096,7 +5101,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
filter:function (event,player){
|
||||
if(!player.storage.xinfu_zhaoxin.length) return false;
|
||||
if(event.player==player) return false;
|
||||
return get.distance(player,event.player,'attack')<=1
|
||||
},
|
||||
direct:true,
|
||||
|
|
|
@ -21,7 +21,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
wangyi:['female','wei',3,['zhenlie','miji']],
|
||||
yufan:['male','wu',3,['zhiyan','zongxuan']],
|
||||
chengong:['male','qun',3,['mingce','zhichi']],
|
||||
bulianshi:['female','wu',3,['anxu','zhuiyi']],
|
||||
bulianshi:['female','wu',3,['old_anxu','zhuiyi']],
|
||||
handang:['male','wu',4,['gongji','jiefan']],
|
||||
fuhuanghou:['female','qun',3,['zhuikong','qiuyuan']],
|
||||
zhonghui:['male','wei',4,['quanji','zili']],
|
||||
|
@ -83,7 +83,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
xuezong:['male','wu',3,['funan','jiexun']],
|
||||
|
||||
old_huaxiong:['male','qun',6,['shiyong']],
|
||||
re_jikang:["male","wei",3,["new_qingxian","new_juexiang"],[]],
|
||||
|
||||
re_yujin:["male","wei",4,["zhenjun"],[]],
|
||||
},
|
||||
characterIntro:{
|
||||
|
@ -1023,7 +1023,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
jilie:{
|
||||
trigger:{player:'damageEnd'},
|
||||
filter:function(event,player){
|
||||
return event.source&&event.source.isIn()&&event.source!=player;
|
||||
return event.source&&event.source.isIn();
|
||||
},
|
||||
check:function(event,player){
|
||||
if(get.attitude(player,event.source)>0&&event.source.isHealthy()){
|
||||
|
@ -1998,7 +1998,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
var trigger=_status.event.getTrigger();
|
||||
var player=_status.event.player;
|
||||
if(trigger.targets.contains(target)) return false;
|
||||
return lib.filter.targetEnabled2(trigger.card,player,target)&&lib.filter.targetInRange(trigger.card,player,target);
|
||||
return lib.filter.targetEnabled2(trigger.card,player,target);
|
||||
}).set('prompt2',prompt2).set('ai',function(target){
|
||||
var trigger=_status.event.getTrigger();
|
||||
var player=_status.event.player;
|
||||
|
@ -3422,6 +3422,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
return player!=target;
|
||||
},
|
||||
unique:true,
|
||||
limited:true,
|
||||
selectTarget:-1,
|
||||
multitarget:true,
|
||||
multiline:true,
|
||||
|
@ -5018,7 +5019,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
clone.delete();
|
||||
}
|
||||
},event.card1);
|
||||
target.damage();
|
||||
target.damage('nocard');
|
||||
}
|
||||
else if(name1!='sha'&&event.card2.name=='shan'){
|
||||
player.discard(event.card1).set('animate',false);
|
||||
|
@ -5162,7 +5163,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
var players=game.filterPlayer();
|
||||
for(var i=0;i<players.length;i++){
|
||||
var nh=players[i].countCards('h');
|
||||
if(players[i].group=='shu'&&get.attitude(players[i],player)>1&&(nh>=4||(nh>=3&&players[i].countCards('h','sha')))){
|
||||
if(player!=players[i]&&players[i].group=='shu'&&get.attitude(players[i],player)>2&&(nh>=3&&players[i].countCards('h','sha'))){
|
||||
yep=true;break;
|
||||
}
|
||||
}
|
||||
|
@ -5234,7 +5235,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
var player=_status.event.player,players=game.filterPlayer();
|
||||
for(var i=0;i<players.length;i++){
|
||||
var nh=players[i].countCards('h');
|
||||
if(players[i].group=='shu'&&get.attitude(players[i],player)>1&&(nh>=4||(nh>=3&&players[i].countCards('h','sha')))){
|
||||
if(players[i]!=player&&players[i].group=='shu'&&get.attitude(players[i],player)>2&&(nh>=3&&players[i].countCards('h','sha'))){
|
||||
return 5-get.value(card);
|
||||
}
|
||||
}
|
||||
|
@ -5644,6 +5645,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
content:'limited'
|
||||
},
|
||||
unique:true,
|
||||
limited:true,
|
||||
content:function(){
|
||||
'step 0'
|
||||
player.storage.xingshuai=true;
|
||||
|
@ -6097,6 +6099,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
return player!=target;
|
||||
},
|
||||
unique:true,
|
||||
limited:true,
|
||||
selectTarget:-1,
|
||||
mark:true,
|
||||
line:'fire',
|
||||
|
@ -6256,6 +6259,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
skillAnimation:true,
|
||||
audio:2,
|
||||
unique:true,
|
||||
limited:true,
|
||||
mark:true,
|
||||
init:function(player){
|
||||
player.storage.jiefan=false;
|
||||
|
@ -6324,6 +6328,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
skillAnimation:true,
|
||||
audio:2,
|
||||
unique:true,
|
||||
limited:true,
|
||||
enable:'chooseToUse',
|
||||
init:function(player){
|
||||
player.storage.fuli=false;
|
||||
|
@ -6448,7 +6453,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
position:'he',
|
||||
filterCard:true,
|
||||
content:function(){
|
||||
target.damage();
|
||||
target.damage('nocard');
|
||||
},
|
||||
ai:{
|
||||
result:{
|
||||
|
@ -6995,6 +7000,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
skillAnimation:true,
|
||||
audio:3,
|
||||
unique:true,
|
||||
juexingji:true,
|
||||
trigger:{player:'phaseBegin'},
|
||||
forced:true,
|
||||
filter:function(event,player){
|
||||
|
@ -7057,6 +7063,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
skillAnimation:true,
|
||||
audio:2,
|
||||
unique:true,
|
||||
limited:true,
|
||||
enable:'phaseUse',
|
||||
filter:function(event,player){
|
||||
return !player.storage.xianzhou&&player.countCards('e')>0;
|
||||
|
@ -8349,7 +8356,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
switch(num){
|
||||
case 1:player.discardPlayerCard(target,true);break;
|
||||
case 2:target.chooseCard('选择一张牌交给'+get.translation(player),'he',true);break;
|
||||
case 3:target.damage();break;
|
||||
case 3:target.damage('nocard');break;
|
||||
default:game.asyncDraw([player,target],2);
|
||||
}
|
||||
if(num!=2) event.finish();
|
||||
|
@ -8489,6 +8496,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
xuanfeng:{
|
||||
audio:2,
|
||||
audioname:['boss_lvbu3'],
|
||||
trigger:{player:['loseEnd','phaseDiscardEnd']},
|
||||
direct:true,
|
||||
filter:function(event,player){
|
||||
|
@ -9718,7 +9726,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
qinmi:'秦宓',
|
||||
caiyong:'蔡邕',
|
||||
"re_yujin":"于禁",
|
||||
"re_jikang":"新嵇康",
|
||||
|
||||
"new_qingxian":"清弦",
|
||||
"new_qingxian_info":"出牌阶段限一次,你可以弃置至多X张牌并选择等量的其他角色。这些角色中,装备区内牌数少于你的回复1点体力,等于你的摸一张牌,多于你的失去1点体力。若你以此法指定的角色数等于X,则你摸一张牌。(X为你的体力值)",
|
||||
|
|
|
@ -48,6 +48,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
yxs_lanlinwang:['male','shu',4,['guimian','lyuxue']],
|
||||
},
|
||||
characterIntro:{
|
||||
yxs_qinqiong:'秦琼(?—638年),字叔宝,齐州历城(今山东济南市)人,隋末唐初名将。初为隋将,先后在来护儿、张须陀、裴仁基帐下任职,因勇武过人而远近闻名。后随裴仁基投奔瓦岗军领袖李密,瓦岗败亡后转投王世充,因见王世充为人奸诈,与程咬金等人一起投奔李唐。投唐后随李世民南征北战,是一个能在万马军中取敌将首级的勇将,但也因此浑身是伤。唐统一后,秦琼久病缠身,于贞观十二年(638)病逝。生前官至左武卫大将军、翼国公,死后追赠为徐州都督、胡国公,谥曰“壮”。贞观十七年被列入凌烟阁二十四功臣。',
|
||||
yxs_wuzetian:'中国历史上唯一一个正统的女皇帝,也是继位年龄最大的皇帝(67岁即位),又是寿命最长的皇帝之一(终年82岁)。唐高宗时为皇后(655—683)、唐中宗和唐睿宗时为皇太后(683—690),后自立为武周皇帝(690—705),改国号“唐”为“周”,定都洛阳,并号其为“神都”。史称“武周”或“南周”,705年退位。武则天也是一位女诗人和政治家。',
|
||||
yxs_caocao:' 曹操(155年7月18日-220年3月15日),字孟德,一名吉利,小字阿瞒,汉族,沛国谯(今安徽省亳州市)人。曹操生于宦官之家,适逢乱世,但是胸怀大志,参与剿灭董卓战争,之后在官渡大败袁绍,占据北方,挟天子以令诸侯。最后兵败赤壁,与吴,蜀三分天下。',
|
||||
yxs_mozi:' 宋国大夫,名翟,鲁人(今山东滕州人)。墨子是我国战国时期著名的思想家、教育家、科学家、军事家、社会活动家,墨家学派的创始人。墨子曾阻止鲁阳文君攻郑,说服公输般而止楚攻宋。楚惠王打算以书社封墨子,越王也打算以吴之地方五百里以封墨子,但墨子都没有接受。其创立墨家学说,并有《墨子》一书传世。',
|
||||
|
@ -57,7 +58,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
yxs_yangyuhuan:'唐朝贵妃,名玉环,字太真,蒲州永乐人(今山西永济)。杨玉环自小习音律,善歌舞,姿色超群。27岁时,得唐玄宗宠幸,召入宫中,封为贵妃。杨贵妃天生丽质,回眸一笑百媚生,六宫粉黛无颜色,堪称大唐第一美女,此后千余年无出其右者。其与西施、昭君、貂蝉并称中国古代四大美女。',
|
||||
yxs_baosi:'褒姒,周幽王姬宫涅的王后,褒姒原是一名弃婴,被一对做小买卖的夫妻收养,在褒国(今陕西省汉中西北)长大,公元前七七九年(周幽王三年),周幽王征伐有褒国,褒人献出美女褒姒乞降,幽王爱如掌上明珠,立为妃,宠冠周王宫,翌年,褒姒生子伯服(一作伯般),幽王对她更加宠爱,竟废去王后申氏和太子宜臼,册立褒姒为王后,立伯服为太子,周太史伯阳叹气道:“周王室已面临大祸,这是不可避免的了。”',
|
||||
yxs_napolun:'法兰西第一共和国执政、法兰西第一帝国皇帝,出生在法国科西嘉岛,是一位卓越的军事天才。他多次击败保王党的反扑和反法同盟的入侵,捍卫了法国大革命的成果。他颁布的《民法典》更是成为了后世资本主义国家的立法蓝本。他执政期间多次对外扩张,形成了庞大的帝国体系,创造了一系列军事奇迹。',
|
||||
yxs_kaisa:'凯撒是罗马共和国末期杰出的军事统帅、政治家。他公元前60年与庞培、克拉苏秘密结成前三巨头同盟,随后出任高卢总督,在大约8年的时间内征服了高卢全境(今法国一带),还袭击了日耳曼和不列颠。前49年,他率军占领罗马,打败庞培,集大权于一身,实行独裁统治并制定了《儒略历》。',
|
||||
kaisa:'凯撒是罗马共和国末期杰出的军事统帅、政治家。他公元前60年与庞培、克拉苏秘密结成前三巨头同盟,随后出任高卢总督,在大约8年的时间内征服了高卢全境(今法国一带),还袭击了日耳曼和不列颠。前49年,他率军占领罗马,打败庞培,集大权于一身,实行独裁统治并制定了《儒略历》。',
|
||||
yxs_zhuyuanzhang:' 朱元璋,明王朝的开国皇帝。原名重八,后取名兴宗。汉族,濠州(今安徽凤阳县东)钟离太平乡人。朱元璋自幼贫寒,父母兄长均死于瘟疫,孤苦无依,入皇觉寺为小沙弥,入寺不到二个月,因荒年寺租难收,寺主封仓遣散众僧,只得离乡为游方僧,后参加了起义军,并改名“朱元璋”意为诛(朱)灭元朝的璋(璋,古代的一种玉器)。25岁时参加郭子兴领导的红巾军反抗蒙元暴政,在郭子兴手下,率兵出征,有攻必克;因此郭便把养女马氏嫁与了他。元至正二十八年(1368),在基本击破各路农民起义军和扫平元的残余势力后,于南京称帝,国号大明,年号洪武,建立了全国统一的封建政权。朱元璋统治时期被称为“洪武之治”。葬于明孝陵。',
|
||||
yxs_jinke:'荆轲,喜好读书击剑,为人慷慨侠义。后游历到燕国,被称为“荆卿”(或荆叔),随之由燕国智勇深沉的“节侠”田光推荐给太子丹,拜为上卿。秦国灭赵后,兵锋直指燕国南界,太子丹震惧,与田光密谋,决定派荆轲入秦行刺秦王。荆轲献计太子丹,拟以秦国叛将樊于期之头及燕督亢(今河北涿县、易县、固安一带,是一块肥沃的土地)地图进献秦王,相机行刺。太子丹不忍杀樊于期,荆轲只好私见樊于期,告以实情,樊于期为成全荆轲而自刎。',
|
||||
yxs_libai:'字太白,号青莲居士,又号“谪仙人”,祖籍陇西郡成纪县(今甘肃省平凉市静宁县南)。李白是唐朝著名的浪漫主义诗人,有“诗仙”之称。李白生平作诗无数,存世诗文达千余篇之多,《蜀道难》、《行路难》、《梦游天姥吟留别》、《将进酒》等诗篇脍炙人口,妇孺皆知,另有《李太白集》传世。',
|
||||
|
|
Loading…
Reference in New Issue