去除card,character,mode中的空行缩进

This commit is contained in:
157 2024-01-12 11:38:36 +08:00
parent d51d1eea4d
commit 7e1b03d59b
53 changed files with 1059 additions and 1061 deletions

View File

@ -201,7 +201,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
target.showCards(result.cards).setContent(function(){});
event.dialog=ui.create.dialog(get.translation(target)+'展示的手牌',result.cards);
event.videoId=lib.status.videoId++;
game.broadcast('createDialog',event.videoId,get.translation(target)+'展示的手牌',result.cards);
game.addVideo('cardDialog',null,[get.translation(target)+'展示的手牌',get.cardsInfo(result.cards),event.videoId]);
event.card2=result.cards[0];
@ -1022,7 +1022,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
baiyin:'白银狮子',
baiyin_info:'锁定技。①当你受到伤害时若此伤害大于1则你将伤害值扣减至1点。②当你失去装备区内的【白银狮子】后你回复1点体力。',
baiyin_skill:'白银狮子',
muniu:'木牛流马',
muniu_bg:'牛',
muniu_skill:'木牛',
@ -1064,14 +1064,14 @@ game.import('card',function(lib,game,ui,get,ai,_status){
["spade",9,"jiu"],
["club",3,"jiu"],
["club",9,"jiu"],
["diamond",13,"hualiu"],
["club",1,"baiyin"],
["spade",2,"tengjia"],
["club",2,"tengjia"],
["spade",1,"guding"],
["diamond",1,"zhuque"],
["heart",2,"huogong"],
["heart",3,"huogong"],
["diamond",12,"huogong"],
@ -1086,7 +1086,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
["spade",13,"wuxie"],
["spade",10,"bingliang"],
["club",4,"bingliang"],
['diamond',5,'muniu'],
],
}

View File

@ -1811,13 +1811,13 @@ game.import('card',function(lib,game,ui,get,ai,_status){
// wenhuangsan_info:'瘟癀伞',
qiankunbiao:'乾坤镖',
qiankunbiao_info:'随机弃置一名其他角色和其相邻角色的一张牌。',
bingpotong:'天女散花',
bingpotong_ab:'散花',
bingpotong_info:'出牌阶段对至多3名角色使用你与每个目标依次同时展示一张手牌若颜色相同你弃置展示的手牌目标失去1点体力并终止结算。',
feibiao:'飞镖',
feibiao_info:'出牌阶段对一名距离1以外的角色使用令其弃置一张黑色手牌或失去1点体力。',
dinvxuanshuang:'帝女玄霜',
dinvxuanshuang_skill:'帝女玄霜',
dinvxuanshuang_info:'对一名濒死状态的角色使用目标回复1点体力然后可以弃置任意张牌并摸等量的牌。',
@ -1848,7 +1848,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
heilonglinpian_info:'出牌阶段对自己使用获得1点护甲直到下一回合开始你的防御距离+1。',
shatang:'沙棠',
shatang_info:'出牌阶段对一名角色使用对目标造成1点火焰伤害然后目标获得1点护甲。',
food:'食物',
chunbing:'春饼',
chunbing_info:'你的手牌上限+1持续五回合。',
@ -1888,47 +1888,47 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['club',11,'luyugeng'],
['heart',4,'mapodoufu'],
['spade',8,'yuanbaorou'],
['spade',7,'gjyuheng'],
['club',4,'mutoumianju'],
['spade',2,'heilonglinpian'],
['spade',1,'mianlijinzhen'],
['heart',13,'yunvyuanshen'],
['club',8,'feibiao','poison'],
['diamond',9,'feibiao','poison'],
['spade',3,'bingpotong','poison'],
['club',12,'bingpotong','poison'],
['club',5,'shihuifen'],
['club',1,'shihuifen'],
['spade',13,'shihuifen'],
['diamond',6,'shujinsan'],
['spade',2,'shujinsan'],
['diamond',6,'ziyangdan'],
['heart',1,'ziyangdan'],
// ['diamond',7,'dinvxuanshuang'],
['heart',9,'dinvxuanshuang'],
['spade',9,'qiankunbiao'],
['club',13,'qiankunbiao'],
['diamond',9,'shenhuofeiya'],
['spade',7,'longxugou'],
['heart',9,'jinlianzhu'],
['spade',7,'jinlianzhu'],
['heart',6,'liutouge'],
['club',6,'liutouge'],
['club',6,'liufengsan'],
['club',3,'liufengsan'],
['heart',13,'shatang','fire']
]
};

View File

@ -2194,7 +2194,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
spell_gold:'金卡法术',
spell_silver:'银卡法术',
spell_bronze:'铜卡法术',
gw_youlanzhimeng:'幽蓝之梦',
gw_guaiwuchaoxue:'怪物巢穴',
gw_guaiwuchaoxue_info:'出牌阶段限用一次随机获得一个卖血技能直到下一回合开始令一名随机敌方角色对你造成1点伤害然后你回复1点体力。',
@ -2297,28 +2297,28 @@ game.import('card',function(lib,game,ui,get,ai,_status){
list:[
['club',3,'gw_zhihuanjun'],
['spade',2,'gw_zhihuanjun'],
['heart',7,'gw_poxiao'],
['diamond',4,'gw_poxiao'],
['spade',9,'gw_aozuzhilei','thunder'],
['club',7,'gw_aozuzhilei','thunder'],
['club',1,'gw_zumoshoukao'],
['spade',1,'gw_zumoshoukao'],
['diamond',5,'gw_qinpendayu'],
['club',7,'gw_qinpendayu'],
['spade',9,'gw_birinongwu'],
['heart',13,'gw_birinongwu'],
['diamond',11,'gw_ciguhanshuang'],
['club',7,'gw_ciguhanshuang'],
['heart',4,'gw_baoxueyaoshui'],
['spade',8,'gw_baoxueyaoshui'],
['spade',8,'gw_shanbengshu'],
['spade',2,'gw_kunenfayin'],
['club',3,'gw_wenyi'],

View File

@ -675,7 +675,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
mtg_shamolvzhou_skill:'沙漠绿洲',
mtg_shamolvzhou_info:'发现一张基本牌。地图效果:你的基本牌不计入手牌上限。',
mtg_shamolvzhou_skill_info:'你的基本牌不计入手牌上限。',
mtg_duzhao:'毒沼',
mtg_duzhao_skill:'毒沼',
mtg_duzhao_info:'选择一名角色令其获得一张毒。地图效果:结束阶段,你获得一张毒。',
@ -714,7 +714,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['club',10,'mtg_youlin'],
['club',8,'mtg_feixu'],
['heart',6,'mtg_shamolvzhou'],
['club',12,'mtg_cangbaohaiwan'],
['spade',11,'mtg_lindixiliu'],
['diamond',5,'mtg_bingheyaosai'],

View File

@ -2935,7 +2935,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
}
}
};
var withme=false;
var withol=false;
var list=event.list;
@ -3064,7 +3064,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
str+='对'+get.translation(targets||target);
}
str+='将'+(state>0?'生效':'失效')+',是否无懈?';
if(player.isUnderControl(true)&&!_status.auto&&!ui.tempnowuxie&&tempnowuxie){
var translation=get.translation(card.name);
if(translation.length>=4){
@ -3548,7 +3548,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
["heart",9,"tao"],
["heart",12,"tao"],
["diamond",12,"tao"],
["spade",2,"bagua"],
["club",2,"bagua"],
["spade",5,"jueying"],
@ -3566,7 +3566,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
["diamond",5,"guanshi"],
["diamond",12,"fangtian"],
["heart",5,"qilin"],
["heart",3,"wugu"],
["heart",4,"wugu"],
["heart",1,"taoyuan"],

View File

@ -3388,7 +3388,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
event.dialog=ui.create.dialog(judgestr);
event.dialog.classList.add('center');
event.dialog.videoId=event.videoId;
game.addVideo('judge1',player,[get.cardInfo(card),judgestr,event.videoId]);
for(var i=0;i<event.cards.length;i++) event.cards[i].discard();
// var node=card.copy('thrown','center',ui.arena).addTempClass('start');
@ -5096,7 +5096,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
cangchizhibi_equip3_info:'结束阶段,你可以横置或重置一名角色。',
cangchizhibi_equip4_info:'结束阶段,你可以横置或重置一名角色。',
cangchizhibi_equip5_info:'结束阶段,你可以横置或重置一名角色。',
guisheqi:'龟蛇旗',
guisheqi_info:'出牌阶段对一名角色使用目标获得1点护甲。',
jiguanfeng:'机关蜂',
@ -5332,80 +5332,80 @@ game.import('card',function(lib,game,ui,get,ai,_status){
// ['heart',3,'yihuajiemu'],
// ['diamond',1,'yihuajiemu'],
// ['diamond',7,'yihuajiemu'],
['diamond',3,'liuxinghuoyu','fire'],
['heart',6,'liuxinghuoyu','fire'],
['heart',9,'liuxinghuoyu','fire'],
['spade',1,'baihupifeng'],
['club',1,'fengxueren'],
['diamond',1,'langeguaiyi'],
['heart',1,'daihuofenglun','fire'],
['diamond',2,'xiayuncailing'],
// ['heart',2,'pantao'],
// ['heart',2,'huanpodan'],
['club',3,'caoyao'],
['diamond',3,'chilongya','fire'],
['spade',3,'guiyoujie'],
['club',4,'caoyao'],
['spade',4,'zhufangshenshi'],
// ['spade',4,'huanpodan'],
['club',5,'caoyao'],
['spade',5,'xixueguizhihuan'],
// ['diamond',5,'huanpodan'],
['club',6,'shentoumianju'],
['spade',6,'yufulu'],
['diamond',7,'chiyuxi','fire'],
['club',7,'jingleishan','thunder'],
['spade',7,'guilingzhitao'],
['spade',8,'zhufangshenshi'],
// ['club',8,'xiangyuye','poison'],
['spade',9,'yangpijuan'],
['club',9,'guiyoujie'],
// ['diamond',9,'xiangyuye','poison'],
// ['diamond',9,'tianxianjiu'],
['heart',9,'tianxianjiu'],
['diamond',2,'tianxianjiu'],
['spade',2,'qinglonglingzhu'],
['spade',7,'xingjunyan'],
//['spade',10,'qipoguyu'],
//['diamond',10,'xiangyuye','poison'],
['club',7,'yangpijuan'],
// ['spade',11,'xiangyuye','poison'],
['spade',12,'guiyanfadao','poison'],
['spade',13,'xianluhui'],
['diamond',3,'guangshatianyi'],
['club',13,'sadengjinhuan'],
['club',2,'lingjiandai'],
// ['spade',3,'lingjiandai'],
// ['heart',5,'lingjiandai'],
['diamond',8,'lingjiandai'],
['club',2,'jiguanshu'],
// ['spade',2,'jiguanshu'],
// ['heart',2,'jiguanshu'],
['diamond',2,'jiguanshu'],
['club',3,'jiguanyaoshu'],
['spade',3,'jiguanyaoshu'],
// ['heart',3,'jiguanyaoshu'],
// ['diamond',3,'jiguanyaoshu'],
['spade',4,'sifeizhenmian'],
['heart',13,'qinglianxindeng'],
['club',3,'jiguanyuan'],
@ -5419,7 +5419,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['spade',4,'jiguanfeng'],
['spade',9,'guisheqi'],
['club',7,'guisheqi'],
['diamond',13,'donghuangzhong'],
['diamond',13,'fuxiqin'],
['spade',13,'kunlunjingc'],
@ -5430,40 +5430,40 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['club',13,'shennongding'],
['heart',13,'nvwashi'],
['heart',13,'kongdongyin'],
['heart',6,'qinglongzhigui'],
['diamond',6,'zhuquezhizhang'],
['spade',6,'baishouzhihu'],
['club',6,'xuanwuzhihuang'],
['spade',7,'cangchizhibi'],
['heart',5,'huanglinzhicong'],
['spade',9,'gouhunluo'],
['club',7,'gouhunluo'],
['spade',1,'xuejibingbao'],
['club',1,'xuejibingbao'],
['heart',3,'zhiluxiaohu'],
['diamond',4,'zhiluxiaohu'],
['club',7,'mujiaren'],
['heart',6,'mujiaren'],
['diamond',11,'mujiaren'],
['club',6,'shuchui'],
// ['club',1,'fengyinzhidan'],
// ['diamond',1,'fengyinzhidan'],
// ['heart',1,'fengyinzhidan'],
['spade',1,'fengyinzhidan'],
['heart',9,'yuruyi'],
['club',4,'shencaojie'],
['diamond',4,'shencaojie'],
['spade',4,'shencaojie'],
['spade',1,'yuchanqian'],
['club',2,'yuchankun'],
['diamond',3,'yuchanzhen'],
@ -5472,7 +5472,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['club',6,'yuchanli'],
['diamond',7,'yuchangen'],
['heart',8,'yuchandui'],
// ['spade',3,'dujian','poison'],
// ['club',11,'dujian','poison'],
// ['club',12,'dujian','poison'],

View File

@ -737,7 +737,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['spade',13,'wuxie',null,['yingbian_kongchao','yingbian_draw']],
['spade',13,'nanman',null,['yingbian_fujia','yingbian_remove']],
['spade',13,'dawan'],
['heart',1,'taoyuan',null,['yingbian_fujia','yingbian_remove']],
['heart',1,'wanjian',null,['yingbian_fujia','yingbian_remove']],
['heart',1,'wuxie'],
@ -778,7 +778,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['heart',13,'wuxie',null,['yingbian_kongchao','yingbian_gain']],
['heart',13,'shan'],
['heart',13,'zhuahuang'],
['club',1,'juedou'],
['club',1,'zhuge'],
['club',1,'huxinjing'],
@ -819,7 +819,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['club',13,'wuxie',null,['yingbian_canqu','yingbian_draw']],
['club',13,'tongque'],
['club',13,'tiesuo'],
['diamond',1,'juedou'],
['diamond',1,'zhuge'],
['diamond',1,'wuxinghelingshan'],
@ -860,7 +860,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['diamond',13,'sha'],
['diamond',13,'zixin'],
['diamond',13,'hualiu'],
['diamond',5,'muniu'],
],
help:{

View File

@ -733,7 +733,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
xinge:'信鸽',
xinge_info:'出牌阶段限一次。你可以将一张手牌交给一名其他角色。',
xinge_append:'<span class="text" style="font-family: yuanli">咕咕咕。</span>',
_gifting:'赠予',
_gifting_info:'出牌阶段,你可将一张拥有“赠”标签的手牌区装备牌置于一名其他角色的装备区内,或将一张拥有“赠”标签的手牌区非装备牌正面朝上交给一名其他角色。',
},
@ -751,7 +751,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['spade',11,'wuxie'],
['spade',12,'chenghuodajie'],
['spade',13,'chenghuodajie'],
['heart',1,'guaguliaodu'],
['heart',2,'shan',null,['gifts']],
['heart',3,'wugu',null,['gifts']],
@ -765,7 +765,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['heart',11,'sha',null,['gifts']],
['heart',12,'sha',null,['gifts']],
['heart',13,'zhanxiang',null,['gifts']],
['club',1,'duanjian',null,['gifts']],
['club',2,'sha','stab'],
['club',3,'yinfengyi',null,['gifts']],
@ -779,7 +779,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['club',11,'wuxie'],
['club',12,'wuxie'],
['club',13,'yonglv',null,['gifts']],
['diamond',1,'juedou',null,['gifts']],
['diamond',2,'shan'],
['diamond',3,'kaihua',null,['gifts']],

View File

@ -938,7 +938,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['heart',6,'huoshan','fire'],
['club',7,'hongshui'],
["diamond",3,'guohe'],
['diamond',4,'fudichouxin'],
['club',6,'fudichouxin'],
['spade',1,'fudichouxin'],
@ -954,9 +954,9 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['diamond',6,'chenhuodajie'],
['diamond',9,'chenhuodajie'],
['club',3,'chenhuodajie'],
['club',13,'suolianjia'],
['club',3,'caochuanjiejian'],
['spade',7,'caochuanjiejian'],
// ['spade',5,'xiaolicangdao'],

View File

@ -381,57 +381,57 @@ game.import('card',function(lib,game,ui,get,ai,_status){
["club",1,'changshezhen'],
// ["spade",1,'changshezhen'],
// ["heart",1,'changshezhen'],
["diamond",2,'tianfuzhen'],
// ["club",2,'tianfuzhen'],
["spade",2,'tianfuzhen'],
["heart",2,'tianfuzhen'],
["diamond",3,'dizaizhen'],
// ["club",3,'dizaizhen'],
["spade",3,'dizaizhen'],
["heart",3,'dizaizhen'],
// ["diamond",4,'fengyangzhen'],
// ["club",4,'fengyangzhen'],
// ["spade",4,'fengyangzhen'],
// ["heart",4,'fengyangzhen'],
// ["diamond",5,'zhonghuangzhen'],
// ["club",5,'zhonghuangzhen'],
// ["spade",5,'zhonghuangzhen'],
// ["heart",5,'zhonghuangzhen'],
// ["diamond",6,'huyizhen'],
// ["club",6,'huyizhen'],
// ["spade",6,'huyizhen'],
// ["heart",6,'huyizhen'],
["diamond",7,'qixingzhen'],
["club",7,'qixingzhen'],
["spade",7,'qixingzhen'],
// ["heart",7,'qixingzhen'],
// ["diamond",8,'shepanzhen'],
// ["club",8,'shepanzhen'],
// ["spade",8,'shepanzhen'],
// ["heart",8,'shepanzhen'],
// ["diamond",9,'longfeizhen'],
// ["club",9,'longfeizhen'],
// ["spade",9,'longfeizhen'],
// ["heart",9,'longfeizhen'],
["diamond",11,'niaoxiangzhen'],
// ["club",11,'niaoxiangzhen'],
["spade",11,'niaoxiangzhen'],
["heart",11,'niaoxiangzhen'],
// ["diamond",12,'yunchuizhen'],
// ["club",12,'yunchuizhen'],
// ["spade",12,'yunchuizhen'],
// ["heart",12,'yunchuizhen'],
// ["diamond",13,'pozhenjue'],
// ["club",13,'pozhenjue'],
// ["spade",13,'pozhenjue'],

View File

@ -904,7 +904,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['diamond',9,'kaihua'],
['diamond',10,'yinfengjia'],
['diamond',11,'sha'],
['club',3,'jiejia'],
['club',4,'sha','thunder'],
['club',5,'zheji'],
@ -913,7 +913,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['club',9,'zhulu_card'],
['club',10,'jinhe'],
['club',11,'sha'],
['heart',3,'sha','fire'],
['heart',4,'shan'],
['heart',5,'numa'],
@ -922,7 +922,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
['heart',9,'kaihua'],
['heart',10,'nvzhuang'],
['heart',11,'kaihua'],
['spade',3,'caochuan'],
['spade',4,'sha','thunder'],
['spade',5,'wufengjian'],

View File

@ -2615,7 +2615,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
clan_zhongyu_prefix:'族',
clan_wanglun_prefix:'族',
clan_xunyou_prefix:'族',
clan_wuxian:'族吴苋',
clanyirong:'移荣',
clanyirong_info:'出牌阶段限两次。若你的手牌数小于X则你可以将手牌摸至X张至多摸八张然后X-1大于X则你可以将手牌弃置至X张然后X+1。X为你的手牌上限',
@ -2708,7 +2708,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
clan_xunyou:'族荀攸',
clanbaichu:'百出',
clanbaichu_info:'锁定技当你使用一张牌结算完毕后若你未记录过此牌的花色和类型组合则你记录此组合并记录一个普通锦囊牌名否则你于本轮获得技能〖奇策〗已记录此牌牌名你回复1点体力或摸一张牌。',
clan_wu:'陈留·吴氏',
clan_xun:'颍川·荀氏',
clan_han:'颍川·韩氏',

View File

@ -1847,7 +1847,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
dc_sunce_prefix:'经典',
dcshuangbi:'双壁',
dcshuangbi_info:'出牌阶段限一次你可以选择一项①摸X张牌本回合手牌上限+X②弃置至多X张牌随机对其他角色造成等量火焰伤害③视为使用X张火【杀】或【火攻】。X为场上存活角色数',
collab_olympic:'OL·伦敦奥运会',
collab_tongque:'OL·铜雀台',
collab_duanwu:'新服·端午畅玩',

View File

@ -77,7 +77,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
key_satomi:['female','key',3,['satomi_luodao','satomi_daohai']],
key_iriya:['female','key',3,['iriya_yinji','iriya_haozhi']],
key_fuuko:['female','key',3,['fuuko_xingdiao','fuuko_chuanyuan']],
key_kud:['female','key',3,['kud_qiaoshou','kud_buhui']],
key_misuzu:['female','key',3,['misuzu_hengzhou','misuzu_nongyin','misuzu_zhongxing']],
key_kamome:['female','key',3,['kamome_yangfan','kamome_huanmeng','kamome_jieban']],
@ -92,7 +92,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
key_tomoyo:['female','key',4,['tomoyo_wuwei','tomoyo_zhengfeng']],
key_minagi:['female','key',3,['minagi_peiquan','minagi_huanliu']],
key_michiru:['female','key',3,['michiru_sheyuan']],
ns_huangchengyan:['male','shu',3,['nslongyue','nszhenyin']],
ns_sunchensunjun:['male','wu',5,['nsxianhai','nsxingchu']],
ns_yuanxi:['male','qun',4,['nsshengyan','nsdaizhan']],
@ -107,7 +107,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ns_limi:['male','jin',3,['nstuilun']],
ns_zhonglimu:['male','wu',4,['nskuanhuai','nsdingbian']],
prp_zhugeliang:['male','shu',3,['nsxingyun','nshanlang']],
ns_zhangwei:['female','shu',3,['nsqiyue','nsxuezhu']],
diy_wenyang:['male','wei','4/6',['lvli','choujue']],
// diy_caocao:['male','wei',4,['xicai','diyjianxiong','hujia']],
@ -127,14 +127,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
diy_zhenji:['female','wei',3,['diy_jiaoxia','yiesheng']],
// diy_menghuo:['male','shu',4,['huoshou','zaiqix']],
//re_huangyueying:['female','shu',3,['rejizhi','qicai']],
diy_liufu:['male','wei',3,['zhucheng','duoqi']],
diy_xizhenxihong:['male','shu',4,['fuchou','jinyan']],
diy_liuzan:['male','wu',4,['kangyin']],
diy_zaozhirenjun:['male','wei',3,['liangce','jianbi','diyjuntun']],
diy_yangyi:['male','shu',3,['choudu','liduan']],
diy_tianyu:['male','wei',4,['chezhen','youzhan']],
ns_zuoci:['male','qun',3,['nsxinsheng','nsdunxing']],
ns_lvzhi:['female','qun',3,['nsnongquan','nsdufu']],
ns_wangyun:["male","qun",4,["liangji","jugong","chengmou"]],
@ -146,7 +146,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ns_jinke:['male','qun',4,['nspinmin','nsshishou']],
ns_yanliang:['male','qun',4,['nsduijue','nsshuangxiong','dualside'],['dualside:ns_wenchou']],
ns_wenchou:['male','qun',2,['nsguanyong','dualside'],['unseen']],
ns_caocao:['male','wei',4,['nscaiyi','nsgefa','nshaoling']],
ns_caocaosp:['male','qun',3,['nsjianxiong','nsxionglue']],
ns_zhugeliang:['male','shu',3,['nsguanxing','kongcheng','nsyunxing']],
@ -156,14 +156,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ns_guanlu:['male','wei',3,['nsbugua','nstuiyan','nstianji']],
ns_simazhao:['male','wei',3,['nszhaoxin','nsxiuxin','nsshijun']],
ns_sunjian:['male','wu',4,['nswulie','nshunyou','nscangxi']],
ns_duangui:['male','qun',3,['nscuanquan','nsjianning','nschangshi','nsbaquan']],
ns_zhangbao:['male','qun',3,['nsfuhuo','nswangfeng']],
ns_masu:['male','shu',3,['nstanbing','nsxinzhan']],
ns_zhangxiu:['male','qun',4,['nsbaiming','nsfuge']],
ns_lvmeng:['male','wu',3,['nsqinxue','nsbaiyi']],
ns_shenpei:['male','qun',3,['nshunji','shibei']],
ns_yujisp:['male','qun',3,['nsguhuo']],
ns_yangyi:['male','shu',3,['nsjuanli','nsyuanchou']],
ns_liuzhang:['male','qun',3,['nsanruo','nsxunshan','nskaicheng']],
@ -180,7 +180,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ns_duji:['male','wei',3,['xinfu_andong','xinyingshi']],
old_majun:["male","wei",3,["xinfu_jingxie1","xinfu_qiaosi"]],
ns_mengyou:['male','qun',4,['nsmanzhi']],
old_jiakui:['male','wei',4,['tongqu','xinwanlan']],
ol_guohuai:['male','wei',3,['rejingce']],
junk_zhangrang:['male','qun',3,['junktaoluan'],['sex:male_castrated']],
@ -311,7 +311,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
key_haruko:'#bAIR',
sp_key_yuri:'#bAngel Beats!',
key_fuuko:'#gClannad',
key_kud:'#b千夜',
key_misuzu:'#b长发及腰黑长直',
key_kamome:'#b仿生纱',
@ -325,7 +325,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
key_kiyu:'#b无面◎隐者',
key_tomoyo:'#b长发及腰黑长直',
key_minagi:'#b无面◎隐者',
ns_huangchengyan:'#g竹邀月',
ns_sunchensunjun:'#gVenusjeu',
ns_yuanxi:'#g食茸二十四',
@ -340,7 +340,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ns_limi:'#g-心若困兽-',
ns_zhonglimu:'#gJG赛文♠7',
prp_zhugeliang:'#g阿开木木W🍀',
ns_luyusheng:'#g猫咪大院 - 魚と水',
ns_caimao:'#gP尔号玩家◆',
diy_wenyang:'#g最粗的梦想XD',
@ -12797,7 +12797,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
},
junktaoluan_backup:{charlotte:true},
nshuaishuang:{
trigger:{player:'phaseJieshuBegin'},
forced:true,
@ -17984,7 +17984,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
diy_zaozhirenjun:'枣祗任峻',
diy_yangyi:'杨仪',
diy_tianyu:'田豫',
// diy_caocao:'曹操',
diy_menghuo:'孟获',
diy_huangzhong:'黄汉升',
@ -18003,7 +18003,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
diy_lukang:'陆抗',
diy_caiwenji:'蔡昭姬',
diy_zhenji:'甄宓',
ns_zuoci:'左慈',
ns_wangyun:'王允',
ns_lvzhi:'吕后',
@ -18016,7 +18016,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ns_yanliang:'颜良',
ns_wenchou:'文丑',
ns_jinke:'荆轲',
ns_caocao:'曹操',
ns_zhugeliang:'诸葛亮',
ns_wangyue:'王越',
@ -18027,21 +18027,21 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ns_sunjian:'孙坚',
ns_simazhao:'司马昭',
ns_guanlu:'管辂',
ns_duangui:'段珪',
ns_shenpei:'审配',
ns_zhangbao:'张宝',
ns_masu:'马谡',
ns_zhangxiu:'张绣',
ns_lvmeng:'吕蒙',
ns_yujisp:'于吉',
ns_lisu:'李肃',
ns_yangyi:'杨仪',
ns_liuzhang:'刘璋',
ns_xinnanhua:'南华老仙',
ns_luyusheng:'陆郁生',
sp_key_yuri:'SP仲村由理',
sp_key_yuri_prefix:'SP',
key_lucia:'此花露西娅',
@ -18505,7 +18505,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
fuuko_xingdiao_info:'锁定技。游戏开始时你将手牌摸至8张然后将所有手牌明置称为“星”不计入手牌上限。每名其他角色限一次其可以于出牌阶段选择获得你的一张“星”然后你摸一张牌。',
fuuko_chuanyuan:'传愿',
fuuko_chuanyuan_info:'锁定技。当你失去一张“星”后你回复1点体力然后从牌堆中获得一张和“星”花色点数相同的牌没有则改为摸一张牌且使用此牌无距离和次数限制。',
key_kud:'库特莉亚芙卡',
kud_qiaoshou:'巧手',
kud_qiaoshou_equip:'巧手',
@ -18602,7 +18602,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
michiru_sheyuan:'舍愿',
michiru_sheyuan_info:'每轮限一次。若你没有“米券”,则你可以将所有手牌当做任意基本牌或普通锦囊牌使用,然后摸等量的牌。',
minagi_tag:'米券',
noname:"小无",
noname_zhuyuan:"祝愿",
noname_zhuyuan_info:"①每回合每名角色限一次。出牌阶段,你可以将四张花色各不相同的牌交给一名其他角色。你与其获得技能〖铁骑〗和〖激昂〗至各自的回合结束。②锁定技,若你于当前回合内:未发动过〖祝愿〗,则你使用牌无次数限制;发动过〖祝愿〗,则你使用牌无距离限制。",
@ -18677,7 +18677,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
nsqingde_info:'每回合限一次当你使用【杀】或普通锦囊牌对其他角色造成伤害后你可使用该牌与受到伤害的角色拼点。你可令输的角色摸两张牌当你受到其他角色使用【杀】或普通锦囊牌造成的伤害后可使用该牌与伤害来源拼点。你可令赢的角色回复1点体力。',
nsyidi:'遗敌',
nsyidi_info:'出牌阶段限一次,你可展示一张手牌,然后将其交给一名其他角色。若为基本牌,该角色可使用此牌;若不为基本牌,你摸一张牌。',
diy_wenyang:'文鸯',
ns_zhangwei:'张葳',
nshuaishuang:'怀霜',
@ -18860,7 +18860,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zhucheng_info:'①结束阶段开始时若没有“筑”你可以将牌堆顶的X张牌置于你的武将牌上称为“筑”X为你已损失的体力值与1中的较大值否则你可以获取所有“筑”。②当你成为【杀】的目标时若有“筑”你可以令此杀的使用者弃置X张牌X为“筑”的数量否则杀对你无效。',
duoqi:'夺气',
duoqi_info:'当一名角色于除你之外的角色的出牌阶段内因弃置而失去牌后,你可以移去一张“筑”,并结束此出牌阶段。',
siji:'伺机',
ciqiu:'刺酋',
ciqiu_dying:'刺酋',
@ -18911,7 +18911,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
moshou_info:'锁定技,你不能成为乐不思蜀和兵粮寸断的目标。',
xicai_info:'你可以立即获得对你造成伤害的牌。',
diyjianxiong_info:'锁定技,在身份局中,在你回合内死亡的角色均视为反贼,国战中,在你回合内死亡的角色若与你势力相同则随机改为另一个势力。',
ns_zanghong:'臧洪',
nsshimeng:'誓盟',
nsshimeng_info:'出牌阶段限一次你可以选择任意名角色。这些角色依次选择一项⒈摸一张牌。⒉使用一张【杀】。然后若选择前者角色数大于选择后者的角色数则你获得1点护甲并失去1点体力。',
@ -18936,7 +18936,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
nsxingyun_faq_info:'青龙:无标签普通锦囊牌<br>朱雀:延时锦囊牌<br>白虎:伤害类卡牌<br>玄武:【闪】/回复类卡牌',
nshanlang:'酣浪',
nshanlang_info:'准备阶段,你可以和至多三名角色拼点。然后若这些角色中有拼点牌唯一最大的角色,则你可以令该角色从牌堆中获得一张不符合“四象天阵”的牌。',
junktaoluan:'滔乱',
junktaoluan_backup:'滔乱',
junktaoluan_info:'你可将一张牌当做任意一张基本牌或普通锦囊牌使用此牌不得是本局游戏你以此法使用过的牌且每回合每种花色限一次然后你令一名其他角色选择一项1.交给你一张与“滔乱”声明的牌类别不同的牌2.本回合“滔乱”失效且回合结束时你失去1点体力。',
@ -19002,7 +19002,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ns_duji:'画饼杜畿',
ns_duji_prefix:'画饼',
ns_duji_ab:'杜畿',
diy_tieba:'吧友设计',
diy_xushi:'玩点论杀·虚实篇',
diy_default:'常规',

View File

@ -37,7 +37,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
key_kagari:['female','shen',3,['kagari_zongsi'],['key']],
key_shiki:['female','shen','3/5',['shiki_omusubi'],['key']],
db_key_hina:['female','key',3,['hina_shenshi','hina_xingzhi'],['doublegroup:key:shen']],
shen_sunce:['male','shen','1/6',['yingba','scfuhai','pinghe'],['wu']],
shen_xunyu:['male','shen',3,['tianzuo','lingce','dinghan'],['wei','clan:颍川荀氏']],
shen_taishici:['male','shen',4,['dulie','tspowei'],['wu']],
@ -51,7 +51,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
shen_simayi:['male','shen',4,['renjie','sbaiyin','lianpo'],['wei']],
shen_caocao:['male','shen',3,['new_guixin','feiying'],['wei']],
shen_lvbu:['male','shen',5,['baonu','wumou','ol_wuqian','ol_shenfen'],['qun']],
shen_liubei:["male","shen",6,["nzry_longnu","nzry_jieying"],["shu"]],
shen_luxun:["male","shen",4,["nzry_junlve","nzry_cuike","nzry_dinghuo"],["wu"]],
shen_zhangliao:["male","shen",4,["drlt_duorui","drlt_zhiti"],["wei"]],
@ -7722,12 +7722,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"nzry_longnu_info":"转换技锁定技出牌阶段开始时你失去1点体力并摸一张牌然后本阶段内你的红色手牌均视为火【杀】且无距离限制。阳出牌阶段开始时你减1点体力上限并摸一张牌然后本阶段内你的锦囊牌均视为雷【杀】且无使用次数限制。",
"nzry_jieying":"结营",
"nzry_jieying_info":"锁定技,游戏开始时或当你的武将牌重置时,你横置;所有已横置的角色手牌上限+2结束阶段你横置一名其他角色。",
"shen_ganning":"神甘宁",
shen_ganning_prefix:'神',
"shen_zhangliao":"神张辽",
shen_zhangliao_prefix:'神',
"drlt_poxi":"魄袭",
"drlt_poxi_info":"出牌阶段限一次你可以观看一名其他角色的手牌然后你可以弃置你与其手牌中的四张花色不同的牌。若如此做根据此次弃置你的牌的数量执行以下效果零张扣减1点体力上限一张你结束出牌阶段且本回合手牌上限-1三张你回复1点体力四张你摸四张牌。",
"drlt_jieying":"劫营",
@ -7739,7 +7739,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"drlt_duorui_info":"当你于出牌阶段内对一名其他角色造成伤害后,你可以废除你装备区内的一个装备栏(若已全部废除则可以跳过此步骤),然后获得该角色的一个技能直到其的下回合结束或其死亡(觉醒技,限定技,主公技,隐匿技,使命技等特殊技能除外)。若如此做,该角色该技能失效且你不能再发动〖夺锐〗直到你失去以此法获得的技能。",
"drlt_zhiti":"止啼",
"drlt_zhiti_info":"锁定技,你攻击范围内已受伤的其他角色手牌上限-1当你拼点或【决斗】胜利或受到伤害后你恢复一个装备栏。",
shen_zhaoyun:'神赵云',
shen_zhaoyun_prefix:'神',
shen_guanyu:'神关羽',
@ -7966,7 +7966,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hengwu:'横骛',
hengwu_info:'当你使用或打出有花色的牌时若你的手牌区内没有与此牌花色相同的牌则你可以摸X张牌X为场上装备区内花色与此牌相同的牌数。',
hengwu_append:'<span style="font-family: yuanli">棘手,怀念,摧毁!</span>',
key_kagari:'篝',
kagari_zongsi:'纵丝',
kagari_zongsi_info:'出牌阶段限一次,你可以选择一张不在游戏外的牌,然后将其置于牌堆/弃牌堆的顶部/底部或一名角色的对应区域内。',
@ -8053,7 +8053,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
'<br><li>鹤:出牌阶段开始时,你摸三张牌。',
youyi:'游医',
youyi_info:'①弃牌阶段结束时你可以将所有于此阶段弃置的牌置入仁区。②出牌阶段限一次。你可以将仁区的所有牌置入弃牌堆令所有角色各回复1点体力。',
extra_feng:'神话再临·风',
extra_huo:'神话再临·火',
extra_lin:'神话再临·林',

View File

@ -9,19 +9,19 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gjqt_fanglansheng:['male','wu',3,['fanyin','mingkong','fumo']],
gjqt_yinqianshang:['male','qun',4,['zuiji','zuizhan']],
gjqt_hongyu:['female','shu',4,['jianwu','meiying']],
gjqt_yuewuyi:['male','wei',4,['yanjia','xiuhua','liuying']],
gjqt_wenrenyu:['female','shu',4,['chizhen','dangping']],
gjqt_xiayize:['male','qun',3,['xuanning','liuguang','yangming']],
gjqt_aruan:['female','wu',3,['zhaolu','jiehuo','yuling']],
gjqt_xunfang:['female','shu',3,['manwu','xfanghua']],
gjqt_ouyangshaogong:['male','shu',3,['yunyin','shishui','duhun']],
gjqt_xieyi:['male','qun',3,['lingyan','xunjian','humeng']],
gjqt_yanjiaxieyi:['male','qun',2,['xianju'],['unseen']],
gjqt_chuqi:['male','qun',2,['xuanci'],['unseen']],
// gjqt_xuange:['male','qun',4,['zhenlu','zhuixing']],
gjqt_beiluo:['male','qun',4,['lingnu','zhenying','cihong']],
gjqt_yunwuyue:['female','wei',3,['yange','woxue','lianjing']],
@ -37,17 +37,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gjqt_fanglansheng:'家住琴川的一介书生,家境殷实,母亲在家常住庵堂,吃斋念佛,父亲虽是琴川附近某间寺庙的住持,但却比商人还会敛财。跟随父亲学过降妖除鬼的佛家法术,并以此自傲。梦想能找一个娇小可爱,温柔美丽的女子共渡此生。对襄铃一见钟情。',
gjqt_yinqianshang:'原名风广陌,是幽都“十巫”之一的巫咸。奉女娲之命前往乌蒙灵谷增强焚寂封印。但因为欧阳少恭与雷严的争夺关系,他受到焚寂之力力量冲击,失去记忆,后为欧阳少恭所救。尹千觞为了报恩,跟随在百里屠苏等人身边监视。在这个过程中,他慢慢恢复过往的记忆。后为阻止欧阳少恭,随众人前往蓬莱决战。最后,对曾给予他一次重生的欧阳少恭以死相陪,一起归于火海。',
gjqt_hongyu:'上古庆枫族族人,紫胤真人的剑灵,宿体为古剑·红玉。在百里屠苏离开昆仑山天墉城后,奉命随行保护。终局之后,她依然回到了天墉城,陪伴在紫胤真人身边。',
gjqt_yuewuyi:'成长于长安富商家庭。其养父曾是战功显赫的将军,退隐后从商,很快就富甲一方;其养母是精擅偃术的南疆天玄教偃女族传人,待无异一如己出般疼爱有加;无异的生父是捐毒大将兀火罗,亡母是一名中原女子,因此他具有一半胡人的血统。',
gjqt_wenrenyu:'出身于百草谷“天罡”部队。从小在军中生活的她见惯生死,拥有超越其年龄的沉着果敢,头脑冷静严谨,洞察力敏锐,性格大方爽快。',
gjqt_xiayize:'本为当朝圣元帝三子李焱,天资聪颖,勤奋好学,于道术一途颇具天赋。幼时体弱,因身世原因被太华山的诀微长老清和真人带走,从此过上了道家清修的生活。',
gjqt_aruan:'千年前,昭明崩裂损毁,剑心为神农所得,其将剑心植入用辟邪之骨所造之人,是为巫山神女。神女爱慕司幽,却始终得不到司幽回应,心绪起伏加速灵力散逸,不久后死去,司幽自责不已,失去踪迹。神女死后,剑心碎片落地生根,吸纳灵气变为露草,露草渐渐化为人形,形貌与巫山神女一样,而且保留了她零散的记忆,阿阮正是这些露草中的一个。当阿阮灵气耗尽就会重新变为露草,并失去人时的记忆,直到重新吸纳足够的灵力才能恢复人形。',
gjqt_xunfang:'蓬莱国公主,美丽善良,为欧阳少恭前世妻子,太子长琴转世后,巽芳为寻找丈夫来到中原。蓬莱人寿命虽长却终有极限,终究躲不过容颜老去。当巽芳找到分离多年后的少恭时,自惭形秽,不愿相认,她希望少恭心中的自己永远都是青春貌美,于是化名“寂桐”守护在其身旁。',
gjqt_ouyangshaogong:'前身为太子长琴,今生只有一半仙灵,另一半仙灵被铸进焚寂之中,成为焚寂剑灵。他在漫长时光中经历太多悲欢离合,渐渐迷失自我。后与蓬莱国公主巽芳相爱,度过一段美好时光。之后蓬莱毁于天灾,他误以为巽芳已死,便不再压抑内心的疯狂与憎恨,为逆天改命不惜一切。',
gjqt_xieyi:'偃术大师,流月城大祭司沈夜之徒。于偃术一途冠绝古今,其制造的偃甲精妙绝伦,为世人所称颂。男主角乐无异对其十分崇拜。曾任流月城破军祭司,精通偃术和法术,在一百年前寻找神剑昭明的西域之行中被沈夜捉拿回流月城,毁去记忆仅靠偃甲和蛊虫心脏跳动,并更名为初七,最终在巫山为抢救昭明剑心、保护乐无异被埋在坍塌的神女墓下。他以自己为原型制作,并放入自己部分记忆的偃甲人谢衣曾收乐无异为徒。',
gjqt_beiluo:'身负辟邪王族之血的大妖,辟邪先王玄戈的孪生兄弟。北洛幼时流落人界,从此便在那里长大。他对自己的血脉并无认同之感,常年抑制妖力,希望以“人”的身份留在人间。后因先王玄戈的逝世,即位为辟邪王',
gjqt_yunwuyue:'本体是一只魇兽,该族喜独居,以人的梦境为食,以精神力为长,被称为“最接近魔的妖族”。云无月幼时居住在有熊城旁的白梦泽,自幼便与轩辕黄帝的大将缙云结识,对缙云有着一种依赖和仰慕,深受缙云的影响,对人族以及其他生灵有感情,不忍看到眼前的生灵遭到痛苦,会加以援手。',
gjqt_cenying:'出身于一个颇有底蕴的大家族,性格开朗随和、温柔坚韧、心如琉璃。岑缨受到开明长辈的影响,自小多思善学,年纪不大却已经加入了博物学会,有时跟随师长在外游历,探寻更广阔的天地。',
@ -2619,7 +2619,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gjqt_hongyu:'红玉',
gjqt_ouyangshaogong:'欧阳少恭',
gjqt_xunfang:'巽芳',
gjqt_yuewuyi:'乐无异',
gjqt_wenrenyu:'闻人羽',
gjqt_xiayize:'夏夷则',
@ -2627,11 +2627,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gjqt_xieyi:'谢衣',
gjqt_yanjiaxieyi:'偃甲谢衣',
gjqt_chuqi:'初七',
gjqt_beiluo:'北洛',
gjqt_yunwuyue:'云无月',
gjqt_cenying:'岑缨',
yunyou:'云游',
yunyou_info:'每两轮限一次,出牌阶段,你可以发现一张地图牌本局未使用过的地图牌并使用之。',
xuanzhen:'玄阵',
@ -2723,7 +2723,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
shahun2:'煞魂',
shahun_info:'限定技濒死阶段你可以复原武将牌弃置所有牌并摸三张牌然后将体力回复至1若如此做你失去技能〖反噬〗获得技能〖绝境〗并于两回合后立即死亡。',
shahun_info_alter:'限定技濒死阶段你可以复原武将牌弃置所有牌并摸三张牌然后将体力回复至1若如此做你失去技能〖反噬〗获得技能〖绝境〗并于两回合后立即死亡。',
yanjia:'偃甲',
yanjia_info:'出牌阶段,你可以将两张非特殊装备牌合成为一张强化装备。',
xiuhua:'袖花',

View File

@ -6,29 +6,29 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gw_huoge:['male','qun',3,['gwjinli']],
gw_aisinie:['female','wu',3,['huihun']],
gw_enxier:['male','wei',4,['gwbaquan']],
gw_kaerweite:['male','shu',4,['gwjiquan']],
gw_falanxisika:['female','wu',3,['shewu']],
gw_haluo:['male','qun',4,['nuhou']],
gw_airuiting:['male','wei',4,['kuanglie']],
gw_laduoweide:['male','wei',4,['gwxiaoshou']],
gw_dagong:['male','qun',4,['gwtianbian']],
gw_bulanwang:['male','qun',4,['bolang']],
gw_kuite:['male','qun',4,['gwxuezhan']],
gw_fuertaisite:['male','wei',3,['zhengjun']],
gw_hengsaite:['male','wei',3,['jielue']],
gw_fulisi:['male','qun',3,['lanquan']],
gw_gaier:['male','shu',3,['hunmo']],
gw_jieluote:['male','qun',6,['fayin']],
gw_yenaifa:['female','qun',3,['xuezhou']],
gw_telisi:['female','wei',3,['huandie']],
gw_xili:['female','wu',3,['fengjian']],
gw_luoqi:['male','wei',4,['gwzhanjiang']],
// gw_yioufeisi:['male','wu',4,['gwchuanxin']],
gw_aigeleisi:['female','wu',3,['gwshenyu']],
gw_aokeweisite:['male','qun',4,['yunhuo']],
gw_kaxier:['male','shu',4,['gwfengchi']],
@ -38,34 +38,34 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gw_shanhu:['female','qun',3,['shuijian']],
gw_zhangyujushou:['male','wu',4,['gwjushi']],
gw_zhuoertan:['male','wu',3,['hupeng']],
gw_meizi:['female','wei',3,['gwjieyin']],
gw_aimin:['female','wu',3,['huanshu']],
gw_puxila:['female','qun',3,['gwqinwu']],
gw_xigedelifa:['female','qun',3,['gwfusheng']],
gw_laomaotou:['male','qun',4,['gwchenshui']],
gw_qigaiwang:['male','qun',4,['julian']],
gw_bierna:['female','qun',3,['gwfengshi']],
gw_haizhiyezhu:['male','qun',4,['yangfan']],
gw_nitelila:['male','wei',4,['shuangxi']],
gw_linjing:['male','wu',4,['gwyewu']],
gw_kanbi:['male','qun',1,['gwfutian']],
gw_nvyemo:['female','shu',3,['gwgouhun']],
gw_kairuisi:['female','qun',3,['gwweitu']],
gw_oudimu:['male','shu',3,['gwjingshi']],
gw_shasixiwusi:['male','qun',4,['gwjingtian']],
gw_yioufeisisp:['male','wu',3,['gwminxiang']],
gw_lanbote:['male','qun',4,['gwlangshi']],
gw_fenghuang:['male','shu',4,['gwliaotian']],
gw_diandian:['male','wu',3,['gwhuanbi']],
gw_yisilinni:['female','wu',3,['gwhuanshuang']],
gw_feilafanruide:['male','wei',3,['yinzhang']],
gw_saqiya:['female','shu',4,['sqlongwu']]
},
characterIntro:{
@ -73,7 +73,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gw_aisinie:'树精皇后有着熔银做成的眼睛,冰冷铸钢的心脏。',
gw_gaier:'画作应该要传达情绪,而不是字句。',
gw_enxier:'我可没什么耐心,最好小心点,否则脑袋不保',
gw_yenaifa:'魔法是艺术、混沌与科学的结合。因为魔法的确是一门技艺也是一种诅咒。',
gw_telisi:'我可以照顾我自己,相信我。',
gw_jieluote:'如果要付出这种代价才能拯救世界,那最好还是让世界消逝吧。',
@ -4463,14 +4463,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gw_bulanwang:'布兰王',
gw_fulisi:'符里斯',
gw_laduoweide:'拉多维德',
gw_jieluote:'杰洛特',
gw_yenaifa:'叶奈法',
gw_telisi:'特莉斯',
gw_xili:'希里',
gw_luoqi:'罗契',
gw_yioufeisi:'伊欧菲斯',
gw_aigeleisi:'艾格蕾斯',
gw_aokeweisite:'奥克维斯特',
gw_kaxier:'卡西尔',
@ -4483,16 +4483,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gw_meizi:'梅兹',
gw_aimin:'艾敏',
gw_puxila:'普希拉',
gw_xigedelifa:'希格德莉法',
gw_laomaotou:'毛矛头',
gw_laomaotou2:'毛矛头',
gw_qigaiwang:'乞丐王',
gw_bierna:'碧尔娜',
gw_haizhiyezhu:'海之野猪',
gw_nitelila:'尼斯里拉',
gw_linjing:'林精',
gw_nvyemo:'女夜魔',
gw_mierjiata:'米尔加塔',
@ -4501,16 +4501,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gw_kairuisi:'凯瑞斯',
gw_oudimu:'欧迪姆',
gw_shasixiwusi:'沙斯西乌斯',
gw_yioufeisisp:'伊欧菲斯',
gw_diandian:'店店',
gw_feilafanruide:'菲拉凡德苪',
gw_fenghuang:'凤凰',
gw_yisilinni:'伊斯琳妮',
gw_lanbote:'兰伯特',
gw_saqiya:'萨琪亚',
// sqlongyin:'龙影',
// sqlongyin_info:'',
sqlongnu:'龙怒',
@ -4691,7 +4691,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
lanquan:'远略',
lanquan_backup:'远略',
lanquan_info:'出牌阶段限一次,你可以观看牌堆顶的六张牌,并选择一张使用。',
chaoyong:'潮涌',
chaoyong_info:'准备阶段,你可以弃置一张牌,视为对所有敌方角色使用一张南蛮入侵或万箭齐发。',
}

View File

@ -12,7 +12,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_anduin:['male','qun',3,['shengguang','shijie','anying']],
hs_sthrall:['male','wu',4,['tuteng','guozai','zuling']],
hs_waleera:['female','shu',3,['jianren','mengun','wlianji']],
hs_medivh:['male','wei',3,['jingxiang','zuzhou','mdzhoufu']],
hs_alleria:['female','wu',3,['fengxing','xinliegong']],
hs_magni:['male','shu',4,['zhongjia','dunji']],
@ -20,7 +20,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_morgl:['male','wu',3,['s_tuteng']],
hs_khadgar:['male','shu',3,['midian','fuwen','jinzhou']],
hs_tyrande:['female','wei',3,['yuelu','xingluo']],
hs_neptulon:['male','wu',4,['liechao','qingliu']],
hs_wvelen:['male','qun',3,['shengyan','xianzhi']],
hs_antonidas:['male','wei',3,['yanshu','bingshuang']],
@ -53,7 +53,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_xialikeer:['female','shu',3,['duxin']],
hs_pyros:['female','shu',2,['pyuhuo']],
hs_kalimosi:['male','wu',4,['kqizhou']],
hs_zhishigushu:['male','shu',4,['jiaohui']],
hs_zhanzhenggushu:['male','wei',6,['biri']],
hs_ronghejuren:['male','shu',8,['ronghuo']],
@ -75,7 +75,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_lafamu:['male','shu',4,['xieneng']],
hs_yelise:['female','wei',3,['xunbao','zhuizong']],
hs_jiawodun:['male','wu',4,['jinhua']],
hs_fandral:['male','shu',4,['nuyan','chouhuo']],
hs_hallazeal:['male','wei',4,['shengteng','yuansu']],
hs_enzoth:['male','qun',4,['mengye']],
@ -83,7 +83,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_pengpeng:['male','qun',4,['yindan']],
hs_yashaji:['male','qun',4,['ysjqisha']],
// hs_wolazi:['male','wei',3,[]],
hs_tanghangu:['male','shu',5,['zhongji']],
hs_aya:['female','wu',3,['ayuling','qingzun']],
hs_barnes:['male','shu',4,['hsnitai']],
@ -99,42 +99,42 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_shizugui:['male','wu',3,['szbianshen']],
hs_hemite:['male','wu',6,['zhuilie']],
hs_laila:['male','wu',3,['lieyang']],
hs_selajin:['male','shu',3,['qianfu','shimo']],
hs_bannabusi:['male','wu',14,['qingtian']],
hs_amala:['female','wu',3,['azaowu','shouwang']],
hs_yinggencao:['male','wu',3,['lieqi']],
hs_zhihuanhua:['female','wei',3,['huanjue']],
hs_shirencao:['male','wu',3,['srjici']],
hs_kaituozhe:['female','wu',3,['tansuo','yinzong']],
hs_fachaotuteng:['male','wei',3,['xiyong']],
hs_huolituteng:['male','wei',3,['hllingxi']],
hs_manyututeng:['male','wu',3,['zhaochao']],
hs_tgolem:['male','wu',4,['xinwuyan','guozaix']],
hs_heifengqishi:['male','qun',4,['hstianqi']],
// hs_yuhuozhe:['male','qun',4,['hstianqi']],
// hs_wuyaowang:['male','qun',4,['hstianqi']],
// hs_aerfusi:['male','qun',4,['hstianqi']],
// hs_baiguyoulong:['male','qun',4,['hstianqi']],
hs_yangyanwageli:['female','qun',3,['hspuzhao','hsyanxin']],
hs_aiqinvyao:['female','qun',4,['nsaiqi','nsbeiming']],
hs_yelinlonghou:['female','qun',4,['ylyuchu']],
hs_yelinchulong:["male","qun",1,[],['unseen']],
hs_ashamoer:['female','wei',3,['asyouzhang']],
hs_fengjianhuanfengzhe:['male','wei',3,['tuteng','huanfeng']],
hs_taisi:['female','wei',3,['hsxingyi','hshuanling']],
// hs_bingshuangnvwang:['female','wei',3,['hsshuangshi','hs']]
hs_hajiasha:['female','wu',3,['zhoujiang','muyin']],
hs_tuoqi:['female','shu',3,['tqchuanyue']],
hs_siwangxianzhi:['male','wei',3,['hualing','yibian']],
hs_xukongzhiying:['female','qun',3,['wxuying']],
hs_duyaxinshi:['male','wei',3,['hshuanyu']],
},
characterIntro:{
@ -154,7 +154,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_morgl:'一名鳄鱼人大地之环先知。鳄鱼人自上古时代就生活于索拉查盆地,可以说是最原始的鱼人种族,他们是索拉查盆地-这个泰坦生态实验场的第一批居民之一,虽然他们的相貌的确不敢恭维,但他们却默默的守护着这片区域,守护着泰坦创世时所留下的科技成果。 然而,他们的智力仍保持于原始崇拜的地步,他们基本不在意这些泰坦科技的重要性。',
hs_khadgar:'大法师卡德加曾是守护者麦迪文手下的年轻学徒,亲身经历了前两次战争。当他发现麦迪文的计划,了解到麦迪文企图打开德拉诺传送门将受恶魔控制的兽人大军释放到艾泽拉斯之后,卡德加协助打败了他的导师。在战斗中,卡德加中了一个可怕的法术,整个人急剧地衰老。虽然身体变得年迈脆弱,但他的心智依然清醒敏锐。现在卡德加致力于联合艾泽拉斯的所有力量来对抗燃烧军团的入侵,而且要一劳永逸地解决古尔丹。',
hs_tyrande:'作为月光之下最出色的猎手,女神艾露恩的选民,泰兰德已经领导暗夜精灵奋战了数个世纪。泰兰德出生于数千年前,与玛法里奥·怒风和伊利丹·怒风一共长大。她响应了暗夜精灵的月亮女神的追随者们,艾露恩姐妹会的召唤,成为一名新手女祭司。而怒风兄弟则走上了另一条道路。但当燃烧军团降临艾泽拉斯,他们的命运又再次发生了交集。',
hs_neptulon:'耐普图隆被称为"猎潮者"。他是四大元素领主之一。他和拉格纳罗斯能够联手为你提供最好的桑拿服务。',
hs_wvelen:'他被逐出他的家园。他兄弟们都变成了邪恶的主宰......但是除此之外,他好像也没有什么别的可以抱怨的了。',
hs_antonidas:'肯瑞托的首席法师,达拉然最伟大的子民,安东尼达斯在被巫妖王阿尔萨斯杀死之前,曾是吉安娜的导师。. 预言者警告他必须迁移到西方去, 但安东尼达斯没有注意。最终导致了自己和达拉然的毁灭。',
@ -7643,7 +7643,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(trigger.card) str=get.translation(trigger.card.viewAs||trigger.card.name);
else if(trigger.skill) str=get.translation(trigger.skill);
else str=get.translation(trigger.parent.name);
var cards=[ui.cardPile.childNodes[0],ui.cardPile.childNodes[1]];
var att=get.attitude(player,trigger.player);
var delta=trigger.judge(ui.cardPile.childNodes[1])-trigger.judge(ui.cardPile.childNodes[0]);
@ -9526,7 +9526,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_waleera:'瓦莉拉',
hs_liadrin:'莉亚德琳',
hs_morgl:'摩戈尔',
hs_neptulon:'耐普图隆',
hs_wvelen:'维纶',
hs_antonidas:'安东尼达斯',
@ -9587,7 +9587,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_barnes:'巴内斯',
hs_kchromaggus:'克洛玛古斯',
hs_kaituozhe:'开拓者',
hs_yelinlonghou:'夜鳞龙后',
hs_yelinchulong:'雏龙',
hs_ronghejuren:'熔核巨人',
@ -9633,7 +9633,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_siwangxianzhi:'死亡先知',
hs_xukongzhiying:'虚空之影',
hs_duyaxinshi:'渡鸦信使',
hshuanyu:'幻羽',
hshuanyu_info:'每当你受到一次伤害,你获得发现一张炉石衍生牌。',
hsfashu:'法术',
@ -9659,7 +9659,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
// hsyingzong_info:'',
hsxingyi:'星移',
hsxingyi_info:'锁定技,每当一名敌方角色于回合内使用主动技能,你获得此技能直到下一回合结束。',
hshuanling:'幻灵',
hshuanling_bg:'灵',
hshuanling_info:'结束阶段你可以弃置至多X张牌X为你装备区内的牌数且至少为1并摸等量的牌每弃置一张牌你随机使用一张本局敌方角色使用过的单目标非转化普通锦囊牌随机指定一个具有正收益的角色为目标。',
@ -9917,7 +9917,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hsbaowu_cangbaotu_info:'结束阶段,将一张黄金猿猴置入你的手牌;摸一张牌。',
hsyaoshui:'药水',
hsqingyu:'青玉',
lianzhan:'连斩',
lianzhan_info:'每当你造成一次伤害若此伤害是你本回合第一次造成伤害你摸两张牌否则你增加1点体力上限并回复1点体力。',
shifa:'魔瘾',
@ -10075,7 +10075,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
liechao_info_alter:'出牌阶阶段限一次,若你的武将牌正面朝上且手牌数不大于当前体力值,你可以翻面并摸三张牌,若如此做,你跳过本回合的弃牌阶段。',
aoshu:'奥术',
aoshu_info:'出牌阶段限一次,你可以将一张黑桃牌当作无中生有使用。',
qianhou:'千喉',
qianhou_info:'锁定技准备阶段你视为使用一张随机普通锦囊牌随机指定目标若目标只有1人且不是你你可以弃置一张手牌并获得此锦囊。',
fengxing:'风行',

View File

@ -253,7 +253,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
const bannedTypes=[];
bannedTypes.addArray(event.cards.map(card=>get.type2(card,player)));
bannedTypes.addArray(player.getStorage('dcliangxiu'));
const filter=card=>!bannedTypes.includes(get.type2(card,player));
const piles=['cardPile','discardPile'];
for(const pile of piles){
@ -5037,7 +5037,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
dialog.classList.add('fullwidth');
dialog.classList.add('fullheight');
dialog.buttonss=[];
var list=['仅展示牌的玩家','交出牌的玩家']
for(var i=0;i<list.length;i++){
dialog.add('<div class="text center">'+list[i]+'</div>');
@ -5047,7 +5047,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
buttons.classList.add('guanxing');
}
dialog.open();
var getx=function(){
var item=results.shift();
var card=item[1][1],index=item[1][0]=='仅展示牌'?0:1;
@ -11400,7 +11400,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
dcyijia_info:'一名角色受到伤害后若你至其的距离不大于1你可以将场上一张装备牌移动至其对应装备栏替换原装备。若其因此脱离了一名角色的攻击范围你摸一张牌。',
dcdingji:'定基',
dcdingji_info:'准备阶段,你可以令一名角色将手牌摸或弃置至五张,然后其展示手牌。若牌名均不同,则其可以视为使用其中一张基本或普通锦囊牌。',
sp_baigei:'无双上将',
sp_caizijiaren:'才子佳人',
sp_zhilan:'芝兰玉树',

View File

@ -6311,7 +6311,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
jsrg_fanjiangzhangda_prefix:'转',
jsrgfushan:'负山',
jsrgfushan_info:'出牌阶段开始时,所有其他角色可以依次交给你一张牌并令你此阶段使用【杀】的次数上限+1。此阶段结束时若你使用【杀】的次数未达到上限且此阶段以此法交给你牌的角色均存活你失去2点体力否则你将手牌摸至体力上限。',
jiangshanrugu_qi:'江山如故·起',
jiangshanrugu_cheng:'江山如故·承',
jiangshanrugu_zhuan:'江山如故·转',

View File

@ -148,22 +148,22 @@ game.import('character',function(lib,game,ui,get,ai,_status){
wangyuanji:["female","wei",3,["xinfu_qianchong","xinfu_shangjian"]],
pangdegong:["male","qun",3,["xinfu_pingcai","xinfu_pdgyingshi"]],
old_yuanshu:['male','qun',4,['xinyongsi','yjixi']],
shenpei:["male","qun","2/3",["shouye","liezhi"]],
re_wangyun:['male','qun',3,['relianji','remoucheng'],['clan:太原王氏']],
re_baosanniang:['female','shu',3,['meiyong','rexushen','rezhennan']],
hujinding:['female','shu','2/6',['renshi','wuyuan','huaizi']],
re_zhanggong:['male','wei',3,['reqianxin','rezhenxing']],
re_xugong:['male','qun',3,['rebiaozhao','yechou'],['doublegroup:wu:qun']],
re_weiwenzhugezhi:['male','wu',4,['refuhai']],
xin_yuanshao:['male','qun',4,['reluanji','xueyi'],['zhu']],
re_liushan:['male','shu',3,['xiangle','refangquan','ruoyu'],['zhu']],
re_sunben:['male','wu',4,['jiang','rehunzi','zhiba'],['zhu']],
scs_zhangrang:['male','qun','',['scstaoluan'],['unseen','sex:male_castrated']],
scs_zhaozhong:['male','qun','',['scschiyan'],['unseen','sex:male_castrated']],
scs_sunzhang:['male','qun','',['scszimou'],['unseen','sex:male_castrated']],
@ -8046,7 +8046,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
$playFlappyBird:function(maxScore,title){
//Forked from: https://github.com/aaarafat/JS-Flappy-Bird
const event=_status.event;
const dialog=ui.create.dialog('forcebutton','hidden');
dialog.textPrompt=dialog.add('<div class="text center">准备好了吗?</div>');
@ -8059,7 +8059,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
const updateText=function(str){
dialog.textPrompt.innerHTML='<div class="text center">'+str+'</div>';
}
const canvas=document.createElement('canvas');
dialog.appendChild(canvas);
canvas.style.position="absolute";
@ -8070,7 +8070,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
canvas.width=276;
canvas.height=414;
canvas.style.border='3px solid';
const RAD = Math.PI / 180;
const ctx=canvas.getContext('2d');
let frames = 0;
@ -8333,13 +8333,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
bird.animations[1].sprite.src = lib.assetURL+"image/flappybird/bird/b1.png";
bird.animations[2].sprite.src = lib.assetURL+"image/flappybird/bird/b2.png";
bird.animations[3].sprite.src = lib.assetURL+"image/flappybird/bird/b0.png";
SFX.start.src = lib.assetURL+"audio/effect/flappybird_start.wav";
SFX.flap.src = lib.assetURL+"audio/effect/flappybird_flap.wav";
SFX.score.src = lib.assetURL+"audio/effect/flappybird_score.wav";
SFX.hit.src = lib.assetURL+"audio/effect/flappybird_hit.wav";
SFX.die.src = lib.assetURL+"audio/effect/flappybird_die.wav";
const gameLoop = domHighResTimeStamp => {
if(frames<0) return;
deltaTime = domHighResTimeStamp - previousDOMHighResTimeStamp;
@ -8349,25 +8349,25 @@ game.import('character',function(lib,game,ui,get,ai,_status){
frames++;
window.requestAnimationFrame(gameLoop);
}
const update = function(){
bird.update();
gnd.update();
pipe.update();
UI.update();
}
const draw = function(){
ctx.fillStyle = "#30c0df";
ctx.fillRect(0, 0, canvas.width, canvas.height);
bg.draw();
pipe.draw();
bird.draw();
gnd.draw();
UI.draw();
}
const click = function(){
switch (state.curr) {
case state.getReady:
@ -8391,11 +8391,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
frames=-1;
document.removeEventListener(lib.config.touchscreen?'touchstart':'mousedown',click);
}
dialog.open();
game.pause();
game.countChoose();
document.addEventListener(lib.config.touchscreen?'touchstart':'mousedown',click);
window.requestAnimationFrame(gameLoop);
},
@ -8466,13 +8466,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
event.dialog.classList.add('noupdate');
event.dialog.style.overflow='hidden';
event.dialog.open();
var height=event.dialog.offsetHeight;
var width=event.dialog.offsetWidth;
var top=50;
var speed=0;
var start=false;
var bird=ui.create.div('');
bird.style["background-image"]='linear-gradient(rgba(240, 235, 3, 1), rgba(230, 225, 5, 1))';
bird.style["border-radius"]='3px';
@ -8497,7 +8497,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var right2=left2+10;
var bottom2=i.height1;
var top2=i.height2;
if(left2>bright||right2<bleft) continue;
if(btop<bottom2) return true;
if(bdown>top2) return true;
@ -8505,7 +8505,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
return false;
};
var fly=function(){
if(!start){
start=true;
@ -8521,14 +8521,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
speed+=0.5;
if(speed>2.5) speed=2.5;
if(isDead()==true){
event.settle();
}
},35);
var addPipe=function(){
var num=get.rand(5,55);
var pipe1=ui.create.div('');
pipe1.style["background-image"]='linear-gradient(rgba(57, 133, 4, 1), rgba(60, 135, 6, 1))';
pipe1.style["border-radius"]='3px';
@ -8541,7 +8541,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
pipe1.style.width=(width/10)+'px';
pipe1.style.left=(pipe1.left*width/100)+'px';
pipe1.style.top='0px';
var pipe2=ui.create.div('');
pipe2.style["background-image"]='linear-gradient(rgba(57, 133, 4, 1), rgba(60, 135, 6, 1))';
pipe2.style["border-radius"]='3px';
@ -8579,7 +8579,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
};
document.addEventListener(lib.config.touchscreen?'touchstart':'mousedown',fly);
event.settle=function(){
clearInterval(event.fly);
clearInterval(event.addPipe);
@ -8588,7 +8588,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
event.switchToAuto()
},1000);
};
game.pause();
game.countChoose();
};
@ -10625,7 +10625,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
names2.randomSort();
names=names.concat(names2);
}
event.zhengjing=names;
for(var i of list){
event.map[i]=0;
@ -10674,7 +10674,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
event.switchToAuto();
},1000);
};
var click=function(){
var name=this.name;
if(name=='du'){
@ -10728,7 +10728,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},800);
else event.settle();
};
game.pause();
game.countChoose();
addNode();
@ -13784,7 +13784,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
dialog.classList.add('fullheight');
dialog.classList.add('noupdate');
dialog.videoId=id;
var canvas2=document.createElement('canvas');
dialog.canvas_viewer=canvas2;
dialog.appendChild(canvas2);
@ -13798,7 +13798,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
canvas2.width=249;
canvas2.height=249;
canvas2.style.border='3px solid';
var ctx2=canvas2.getContext('2d');
var img=new Image();
img.src=lib.assetURL+'image/card/'+name+'.png';
@ -13824,7 +13824,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var chooseButton=function(id,name){
var event=_status.event;
_status.xinfu_pingcai_finished=false;
var dialog=ui.create.dialog('forcebutton','hidden');
dialog.textPrompt=dialog.add('<div class="text center">擦拭掉宝物上的灰尘吧!</div>');
event.switchToAuto=function(){
@ -13842,13 +13842,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
dialog.classList.add('fullheight');
dialog.classList.add('noupdate');
dialog.videoId=id;
var canvas=document.createElement('canvas');
var canvas2=document.createElement('canvas');
dialog.appendChild(canvas2);
dialog.appendChild(canvas);
canvas.style.position="absolute";
canvas.style.width='249px';
canvas.style.height='249px';
@ -13858,7 +13858,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
canvas.width=249;
canvas.height=249;
canvas.style.border='3px solid';
canvas2.style.position="absolute";
canvas2.style.width='249px';
canvas2.style.height='249px';
@ -13868,19 +13868,19 @@ game.import('character',function(lib,game,ui,get,ai,_status){
canvas2.width=249;
canvas2.height=249;
canvas2.style.border='3px solid';
var ctx=canvas.getContext('2d');
var ctx2=canvas2.getContext('2d');
var img=new Image();
img.src=lib.assetURL+'image/card/'+name+'.png';
img.onload=function(){
ctx2.drawImage(this,0,0,this.width,this.height,0,0,canvas2.width,canvas2.height);
}
ctx.fillStyle='lightgray';
ctx.fillRect(0,0,canvas.width,canvas.height);
canvas.onmousedown=function(ev){
//if(_status.xinfu_pingcai_finished) return;
canvas.onmousemove=function(e){
@ -13933,9 +13933,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
canvas.ontouchend=function(ev){
canvas.ontouchmove=null;
}
dialog.open();
game.pause();
game.countChoose();
};
@ -15552,25 +15552,25 @@ game.import('character',function(lib,game,ui,get,ai,_status){
relianji_info:'出牌阶段限一次你可以选择两名其他角色。第一名角色随机使用牌堆中的一张武器牌然后这名角色视为对另一名角色随机使用一张下列的牌名的牌【决斗】、【火攻】、【南蛮入侵】、【万箭齐发】或普【杀】。然后若此牌造成伤害你获得X枚“连计”标记X为此次扣减的体力值点数。',
remoucheng:'谋逞',
remoucheng_info:'觉醒技当一名角色因〖连计〗造成伤害后若你拥有的“连计”标记数大于2你加1点体力上限回复1点体力失去“连计”获得“矜功”。',
shouye:'守邺',
shouye_info:'每回合限一次。当其他角色使用牌指定你为唯一目标时,你可以与其进行【对策】。若你赢,则你取消此牌的目标,且你于此牌结算完成后获得其对应的所有实体牌。',
liezhi:'烈直',
liezhi_info:'准备阶段,你可以依次弃置至多两名其他角色区域内的各一张牌。若你受到过伤害,则〖烈直〗于你的下个回合无效。',
xinzhanyi:'战意',
xinzhanyi_info:'出牌阶段限一次你可以弃置一张牌并失去1点体力然后根据你弃置的牌获得以下效果直到回合结束基本牌你可以将一张基本牌当作杀、酒或桃使用且你本回合第一次以此法使用的牌的回复值/伤害值+1锦囊牌摸三张牌且你使用的牌不能被【无懈可击】响应装备牌你使用【杀】指定唯一目标后其弃置两张牌然后你获得其中的一张。',
xinzhanyi_basic_backup:'战意',
xinzhanyi_basic:'战意',
xinzhanyi_equip:'战意',
meiyong:'姝勇',
meiyong_info:'当你使用或打出【杀】时,你可以获得一名其他角色的一张牌,然后其摸一张牌。',
rexushen:'许身',
rexushen_info:'限定技出牌阶段你可以失去X点体力X为场上男性角色的数量。若你以此法进入了濒死状态则当你因一名角色而脱离此濒死状态后你可以令其获得技能〖武圣〗和〖当先〗。',
rezhennan:'镇南',
rezhennan_info:'当你成为其他角色使用的牌的目标后若此牌的目标数大于该角色的体力值则你可以弃置一张牌并对其造成1点伤害。',
hujinding:'手杀胡金定',
hujinding_prefix:'手杀',
huaizi:'怀子',
@ -15579,7 +15579,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
renshi_info:'锁定技当你受到【杀】的伤害时若你已受伤则你防止此伤害并获得此【杀】对应的所有实体牌然后减1点体力上限。',
wuyuan:'武缘',
wuyuan_info:'出牌阶段限一次你可将一张【杀】交给一名其他角色然后你回复1点体力其摸一张牌。若此【杀】为红色【杀】其回复1点体力属性【杀】其改为摸两张牌。',
re_weiwenzhugezhi:'手杀卫温诸葛直',
re_weiwenzhugezhi_prefix:'手杀',
gz_re_xugong:'许贡',
@ -15613,7 +15613,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
//伊吹 风子
qiaosi_c6:'<img src="'+lib.assetURL+'image/card/qiaosi_card6.png" width="60" height="60"> ',
//仲村 由理
yangbiao:'手杀杨彪',
yangbiao_prefix:'手杀',
zhaohan:'昭汉',
@ -15675,7 +15675,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zhengjing:'整经',
zhengjing_info:'出牌阶段,你可以整理卡牌。然后,你将整理出的卡牌中的至少一张作为“经”置于一名角色的武将牌上,然后获得其余的牌。该角色的准备阶段获得这些牌,且跳过此回合的判定和摸牌阶段。',
zhengjing2:'整经',
mobile_yijiang:'将星独具',
yj_zhanghe:'☆张郃',
yj_zhanghe_prefix:'☆',
@ -16247,7 +16247,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
mbyilie2:'义烈',
mbyilie3:'义烈',
mbyilie_info:'锁定技。①游戏开始时你选择一名其他角色然后你获得以下效果其受到伤害时若你的“烈”标记数小于2则你获得等同于伤害值的“烈”标记然后防止此伤害其对其他角色造成伤害后你回复1点体力。②结束阶段若你有“烈”标记你摸X张牌并失去X点体力然后移去所有“烈”标记X为你拥有的“烈”标记数。',
mobile_standard:'手杀异构·标准包',
mobile_shenhua_feng:'手杀异构·其疾如风',
mobile_shenhua_huo:'手杀异构·侵掠如火',

View File

@ -290,7 +290,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
card.classList.remove('glow');
delete card.mtongnian_link;
delete card._destroy;
var list=lib.skill.mtongnian.getList(player);
if(list.length){
var card=list.randomGet();
@ -468,7 +468,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
mtg_lilianna:'莉莲娜',
mtg_nisha:'妮莎',
mtg_ayeni:'阿耶尼',
mduohun:'夺魂',
mduohun_info:'锁定技当你解除濒死状态后令你进入濒死状态的角色失去1点体力。',
lingyong:'灵俑',

View File

@ -6789,7 +6789,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
kongrong_prefix:'战役篇',
mateng:'战役篇马腾',
mateng_prefix:'战役篇',
offline_star:'桌游志·SP',
offline_sticker:'桌游志·贴纸',
offline_yijiang:'一将成名',

View File

@ -77,7 +77,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
old_chenqun:['male','wei',3,['dingpin','oldfaen']],
old_zhuhuan:['male','wu',4,['youdi']],
old_zhuzhi:['male','wu',4,['anguo']],
old_zhugezhan:["male","shu",3,["old_zuilun","old_fuyin"]],
ol_zhangrang:['male','qun',3,['xintaoluan'],['sex:male_castrated']],
//ol_manchong:['male','wei',3,['yuce','junxing']],
@ -718,7 +718,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
event.prompt=get.translation(player)+'声明'+(trigger.targets&&trigger.targets.length?'对'+get.translation(trigger.targets):'')+
(trigger.name=='useCard'?'使用':'打出')+(get.translation(trigger.card.nature)||'')+get.translation(trigger.card.name)+',是否质疑?';
event.targets=game.filterPlayer(i=>i!=player&&i.hp>0).sortBySeat(_status.currentPhase);
game.broadcastAll(function(card,player){
_status.old_guhuoNode=card.copy('thrown');
if(lib.config.cardback_style!='default'){
@ -1132,7 +1132,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
xin_yujin_prefix:'节钺',
re_yujin:'毅重于禁',
re_yujin_prefix:'毅重',
old_guhuo:"蛊惑",
old_guhuo_info:"你可以扣置一张手牌当做一张基本牌或普通锦囊牌使用或打出体力值不为0的其他角色依次选择是否质疑。然后若有质疑的角色你展示此牌若为假此牌作废这些角色摸一张牌若为真这些角色失去1点体力且若此牌不为♥此牌作废。",
old_guhuo_guess:"蛊惑",
@ -1214,7 +1214,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
panfeng_prefix:'旧',
old_shixie:'旧士燮',
old_shixie_prefix:'旧',
old_standard:'标准包',
old_shenhua:'神话再临',
old_refresh:'界限突破',

View File

@ -354,7 +354,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
olsbranji_info:'限定技,结束阶段。若你本回合使用过牌的阶段数大于等于/小于等于体力值,你可以获得技能〖困奋〗/〖诈降〗(同时满足则都获得,以此法获得的〖困奋〗直接修改为非锁定技)。若如此做,你将手牌数调整至手牌上限或将体力值回复至体力上限,然后你不能回复体力直到你杀死角色。',
kunfenx:'困奋',
kunfenx_info:'结束阶段开始时你可以失去1点体力然后摸两张牌。',
onlyOL_yijiang1:'OL专属·将1',
onlyOL_yijiang2:'OL专属·将2',
onlyOL_sb:'OL专属·上兵伐谋',

View File

@ -18,7 +18,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ow_heibaihe:['female','qun',3,['juji','duwen','dulei']],
ow_maikelei:['male','shu',4,['shanguang','tiandan','shenqiang']],
ow_kuangshu:['male','shu',3,['liudan','shoujia','shihuo']],
ow_tuobiang:['male','shu',3,['paotai','maoding']],
ow_baolei:['male','qun',4,['bshaowei','zhencha']],
ow_banzang:['male','qun',4,['bfengshi','yinbo']],
@ -26,7 +26,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ow_luba:['male','shu',4,['liangou','xiyang']],
ow_wensidun:['male','shu',4,['feitiao','dianji']],
ow_zhaliya:['female','wei',4,['pingzhang','owliyong']],
ow_heiying:['female','wei',3,['qinru','yinshen','maichong']],
ow_orisa:['female','wu',4,['qianggu','woliu']],
},

View File

@ -126,11 +126,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
re_zhenji:['female','wei',3,['reluoshen','reqingguo']],
re_zhugeliang:['male','shu',3,['reguanxing','kongcheng']],
re_huaxiong:["male","qun",6,["reyaowu","shizhan"]],
re_zhangjiao:['male','qun',3,['xinleiji','xinguidao','xinhuangtian'],['zhu']],
xin_yuji:['male','qun',3,['reguhuo']],
re_zuoci:['male','qun',3,['rehuashen','rexinsheng']],
ol_xiahouyuan:['male','wei',4,['xinshensu','shebian']],
caoren:['male','wei',4,['xinjushou','xinjiewei']],
ol_weiyan:['male','shu',4,['xinkuanggu','reqimou']],
@ -148,7 +148,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ol_jiangwei:['male','shu',4,['oltiaoxin','olzhiji']],
ol_caiwenji:['female','qun',3,['olbeige','duanchang']],
ol_liushan:['male','shu',3,['xiangle','olfangquan','olruoyu'],['zhu']],
re_sunce:['male','wu',4,['oljiang','olhunzi','olzhiba'],['zhu']],
re_jianyong:['male','shu',3,['reqiaoshui','jyzongshi']],
},
@ -1328,7 +1328,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
target.showCards(result.cards).setContent(function(){});
event.dialog=ui.create.dialog(get.translation(target)+'展示的手牌',result.cards);
event.videoId=lib.status.videoId++;
game.broadcast('createDialog',event.videoId,get.translation(target)+'展示的手牌',result.cards);
game.addVideo('cardDialog',null,[get.translation(target)+'展示的手牌',get.cardsInfo(result.cards),event.videoId]);
event.card2=result.cards[0];
@ -8802,7 +8802,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
event.dialog.classList.add('center');
event.dialog.videoId=id;
},player,event.card,judgestr,event.videoId,get.id());
game.log(player,'展示了',event.card);
game.delay(2);
if(get.type(event.card,'trick')==get.type(trigger.getParent().card,'trick')){
@ -10687,7 +10687,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
capt+=`&nbsp;&nbsp;${charactergroup}`;
}
uiintro.add(capt);
if(lib.characterTitle[node.link]){
uiintro.addText(get.colorspan(lib.characterTitle[node.link]));
}
@ -14774,7 +14774,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
re_huatuo_prefix:'界',
re_liubei:'界刘备',
re_liubei_prefix:'界',
re_diaochan:'界貂蝉',
re_diaochan_prefix:'界',
re_huangyueying:'界黄月英',
@ -14789,7 +14789,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
re_zhenji_prefix:'界',
re_huaxiong:"界华雄",
re_huaxiong_prefix:'界',
ol_sp_zhugeliang:"界卧龙",
ol_sp_zhugeliang_prefix:'界',
re_zhangjiao:'界张角',
@ -14800,7 +14800,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ol_yuanshao_prefix:'界',
ol_liushan:'界刘禅',
ol_liushan_prefix:'界',
olfangquan:'放权',
olfangquan_info:'出牌阶段开始前,你可以跳过此阶段。若如此做,弃牌阶段开始时,你可以弃置一张手牌,令一名其他角色进行一个额外回合。',
olruoyu:'若愚',
@ -14839,7 +14839,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
reshuangxiong1:"双雄",
reshuangxiong2:"双雄",
reshuangxiong_info:"摸牌阶段,你可以放弃摸牌。若如此做,你展示牌堆顶的两张牌并选择获得其中的一张。然后,你本回合内可以将与此牌颜色不同的一张手牌当做【决斗】使用。当你受到【决斗】造成的伤害时,你可以获得对方于此决斗中打出的所有【杀】。",
reguanxing:'观星',
reguanxing_info:'准备阶段你可以观看牌堆顶的五张牌存活角色小于4时改为三张并将其以任意顺序置于牌堆项或牌堆底若你将〖观星〗的牌都放在了牌堆底则你可以在结束阶段再次发动〖观星〗。',
reluoshen:'洛神',
@ -14857,7 +14857,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
rezhiheng_info:'出牌阶段限一次,你可以弃置任意张牌并摸等量的牌,若你在发动〖制衡〗时弃置了所有手牌,则你多摸一张牌。',
rejiuyuan:'救援',
rejiuyuan_info:'主公技其他吴势力角色对自己使用【桃】时若其体力值大于你则其可以选择令你回复1点体力然后其摸一张牌。',
"new_yajiao":"涯角",
"new_yajiao_info":"每当你于回合外使用或打出牌时,你可以亮出牌堆顶的一张牌,并将其交给一名角色。若此牌与你此次使用或打出的牌类别不同,则你弃置一张牌。",
"new_liyu":"利驭",
@ -14896,7 +14896,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
reyaowu_info:'锁定技,当你受到牌造成的伤害时,若此牌为红色,则伤害来源摸一张牌;否则你摸一张牌。',
reqingguo:'倾国',
reqingguo_info:'你可以将一张黑色牌当做【闪】使用或打出。',
qinxue:'勤学',
retuxi:'突袭',
reluoyi:'裸衣',
@ -14974,7 +14974,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
botu_info:'回合结束时,若你本回合出牌阶段内使用的牌包含四种花色,则你可以进行一个额外回合。',
rebotu:'博图',
rebotu_info:'每轮限X次。回合结束时若本回合内置入弃牌堆的牌中包含至少四种花色则你可获得一个额外的回合。X为存活角色数且至多为3',
xin_yuji:'界于吉',
xin_yuji_prefix:'界',
re_zuoci:'界左慈',
@ -15307,7 +15307,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
olhaoshi_info:'摸牌阶段开始时你可以多摸两张牌。然后摸牌阶段结束时若你的手牌数大于5则你将手牌数的一半向下取整交给一名手牌最少其他角色并获得如下效果直到你下回合开始当你成为【杀】或普通锦囊牌的目标后其可以交给你一张手牌。',
oldimeng:'缔盟',
oldimeng_info:'出牌阶段限一次你可令两名满足X≤Y的其他角色交换手牌并获得如下效果出牌阶段结束时你弃置X张牌X为这两名角色手牌数之差的绝对值Y为你的牌数。',
rejijiang:'激将',
rejijiang1:'激将',
rejijiang2:'激将',
@ -15559,7 +15559,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
re_lidian_prefix:'界',
re_xushu:'界徐庶',
re_xushu_prefix:'界',
refresh_standard:'界限突破·标',
refresh_feng:'界限突破·风',
refresh_huo:'界限突破·火',

View File

@ -5970,7 +5970,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
sbwusheng_info:'你可以将一张手牌当作任意【杀】使用或打出。出牌阶段开始时,你可以选择一名非主公的其他角色,本阶段对其使用【杀】无距离和次数限制,使用【杀】指定其为目标后摸一张牌,对其使用五张【杀】后不能对其使用【杀】。',
sbyijue:'义绝',
sbyijue_info:'锁定技,每名角色每局游戏限一次,当你对一名角色造成大于等于其体力值的伤害时,你防止此伤害,且本回合你使用牌指定其为目标后,取消之。',
sb_zhi:'谋攻篇·知',
sb_shi:'谋攻篇·识',
sb_tong:'谋攻篇·同',

View File

@ -26,7 +26,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
re_yuji:["male","qun",3,["xinfu_guhuo"]],
// yuji:['male','qun',3,['guhuo']],
// xin_yuji:['male','qun',3,['guhuo']],
sp_zhugeliang:['male','shu',3,['bazhen','huoji','kanpo']],
pangtong:['male','shu',3,['lianhuan','oldniepan']],
xunyu:['male','wei',3,['quhu','jieming'],['clan:颍川荀氏']],
@ -34,7 +34,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
taishici:['male','wu',4,['tianyi']],
yanwen:['male','qun',4,['shuangxiong']],
re_yuanshao:['male','qun',4,['luanji','xueyi'],['zhu']],
menghuo:['male','shu',4,['huoshou','zaiqixx']],
zhurong:['female','shu',4,['juxiang','lieren']],
caopi:['male','wei',3,['xingshang','fangzhu','songwei'],['zhu']],
@ -42,7 +42,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
sunjian:['male','wu',4,['gzyinghun']],
dongzhuo:['male','qun',8,['jiuchi','roulin','benghuai','baonue'],['zhu']],
jiaxu:['male','qun',3,['luanwu','wansha','weimu']],
jiangwei:['male','shu',4,['tiaoxin','zhiji']],
liushan:['male','shu',3,['xiangle','fangquan','ruoyu'],['zhu']],
zhanghe:['male','wei',4,['qiaobian']],
@ -51,7 +51,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zhangzhang:['male','wu',3,['zhijian','guzheng']],
caiwenji:['female','qun',3,['beige','duanchang']],
zuoci:['male','qun',3,['huashen','xinsheng']],
wangji:['male','wei',3,['qizhi','jinqu']],
"yanyan":["male","shu",4,["nzry_juzhan"],[]],
"wangping":["male","shu",4,["nzry_feijun","nzry_binglve"],[]],
@ -60,7 +60,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
xuyou:["male","qun",3,["nzry_chenglve","nzry_shicai","nzry_cunmu"]],
"yl_luzhi":["male","qun",3,["nzry_mingren","nzry_zhenliang"],["die_audio"]],
"kuailiangkuaiyue":["male","wei",3,["nzry_jianxiang","nzry_shenshi"],[]],
guanqiujian:['male','wei',4,['zhengrong','hongju']],
"haozhao":["male","wei",4,["drlt_zhenggu"],[]],
"zhugezhan":["male","shu",3,["xinfu_zuilun","xinfu_fuyin"],[]],
@ -123,7 +123,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zhangzhang:'张昭,字子布,彭城人,三国时期吴国重臣,善丹青。拜辅吴将军,班亚三司,改封娄侯。年八十一卒,谥曰文侯。张纮,字子纲,广陵人。东吴谋士,和张昭一起合称“二张”。孙策平定江东时亲自登门邀请,张纮遂出仕为官。张纮后来建议孙权迁都秣陵,孙权正在准备时张纮病逝,其年六十岁。孙权为之流涕。',
zuoci:'左慈,字元放,东汉末方士,汉族,庐江(今安徽庐江西南)人。在道教历史上,东汉时期的丹鼎派道术是从他一脉相传。',
caiwenji:'名琰,原字昭姬,晋时避司马昭讳,改字文姬,东汉末年陈留圉(今河南开封杞县)人,东汉大文学家蔡邕的女儿,是中国历史上著名的才女和文学家,精于天文数理,既博学能文,又善诗赋,兼长辩才与音律。代表作有《胡笳十八拍》、《悲愤诗》等 。',
"yanyan":"严颜,东汉末年武将,初为刘璋部下,担任巴郡太守。建安十九年,刘备进攻江州,严颜战败被俘,张飞对严颜说:“大军至,何以不降而敢拒战?”,严颜回答说:“卿等无状,侵夺我州,我州但有断头将军,无降将军也!”,张飞生气,命左右将严颜牵去砍头,严颜表情不变地说:“砍头便砍头,何为怒邪!”张飞敬佩严颜的勇气,遂释放严颜并以严颜为宾客,之后的事迹不在正史中出现。",
"wangping":"王平,字子均,巴西宕渠(今四川省渠县东北)人,籍贯益州。三国时蜀汉后期大将。原属曹操,曹操与刘备争汉中,得以投降刘备。诸葛亮第一次北伐时与马谡一同守街亭,之后深受诸葛亮的器重,率领蜀汉的王牌军队无当飞军,多次随诸葛亮北伐。诸葛亮死后,拜前监军、镇北大将军,镇守汉中,曹爽率领十万大军攻汉中时,被王平所击退,累封安汉侯。延熙十一年,王平去世,其子王训继承了爵位。",
"luji":"陆绩公元188年公元219年字公纪吴郡吴县今苏州汉末庐江太守陆康之子。陆绩成年后博学多识通晓天文、历算星历算数无不涉览。孙权征其为奏曹掾常以直道见惮。后出为郁林太守加偏将军。在军中不废著作曾作《浑天图》注《易经》撰写《太玄经注》。",
@ -131,7 +131,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"xuyou":"许攸204年字子远南阳治今河南南阳人。本为袁绍帐下谋士官渡之战时其家人因犯法而被收捕许攸因此背袁投曹并为曹操设下偷袭袁绍军屯粮之所乌巢的计策袁绍因此而大败于官渡。后许攸随曹操平定冀州因自恃其功而屡屡口出狂言终因触怒曹操而被杀。",
"yl_luzhi":"卢植139年—192年字子干。涿郡涿县今河北涿州人。东汉末年经学家、将领。卢植性格刚毅师从太尉陈球、大儒马融等为郑玄、管宁、华歆的同门师兄。曾先后担任九江、庐江太守平定蛮族叛乱。后与马日磾、蔡邕等一起在东观校勘儒学经典书籍并参与续写《汉记》。黄巾起义时为北中郎将率军与张角交战后被诬陷下狱皇甫嵩平定黄巾后力救卢植于是复任为尚书。后因上谏激怒董卓被免官隐居在上谷军都山被袁绍请为军师。初平三年192年去世。著有《尚书章句》、《三礼解诂》等今皆失佚。唐代时配享孔子北宋时被追封为良乡伯。白马将军公孙瓒以及后来的蜀汉昭烈帝刘备皆为卢植门下弟子。范阳卢氏后来也成为著名的家族。",
"kuailiangkuaiyue":"蒯良字子柔襄阳中庐人。归刘表。蒯良为刘表定下安抚荆楚的政治方向佐其成业被刘表誉为“雍季之论”。之后蒯良就被刘表擢升为主簿。其后蒯良的生平就不得而知了《三国志》亦没有记载其卒年。与蒯越、以及同样活跃于襄阳的蒯祺诸葛亮姐夫或为同族兄弟。蒯越214年字异度襄阳中庐今湖北襄阳西南人。东汉末期人物演义中为蒯良之弟。原本是荆州牧刘表的部下曾经在刘表初上任时帮助刘表铲除荆州一带的宗贼以宗族、乡里关系组成的武装集团。刘表病逝后与刘琮一同投降曹操后来官至光禄勋。",
"guanqiujian":"毌丘俭字仲恭河东闻喜今山西闻喜县人。三国时期曹魏后期的重要将领。继承父毌丘兴爵位高阳乡侯任平原侯文学。魏明帝即位后上疏劝魏明帝停止加建皇宫的工程升为荆州刺史。景初二年238年从司马懿攻灭公孙渊正始五年244年至正始六年245年两次率兵征讨高句丽攻破丸都几亡其国刻石纪功而还253年击退吴国诸葛恪的大举进犯战功累累。司马师废帝毌丘俭感昔日魏明帝之恩为曹魏政权做拼死一搏于正元二年255年发动兵变即后人所谓“淮南三叛”王淩、毌丘俭、诸葛诞之一惜准备不足兵败身亡。",
"haozhao":"郝昭生卒年不详字伯道太原人中国东汉末年至曹魏初年著名将领。郝昭少年从军屡立战功逐渐晋升为杂号将军后受曹真的推荐镇守陈仓在小说三国演义中是司马懿推荐防御蜀汉。太和二年228年诸葛亮率军北伐为郝昭所阻劝降不成昼夜相攻二十余日后被迫退军。魏明帝因此封其为关内侯。不久因染疾而病死。",
"zhugezhan":"诸葛瞻,字思远,琅邪阳都(今山东沂南县)人。三国时期蜀汉大臣,蜀汉丞相诸葛亮之子。邓艾伐蜀时,他与长子诸葛尚及蜀将张遵、李球、黄崇等人防御绵竹(今四川德阳),因不听黄崇速占险要的建议而坐失良机,后来出城与邓艾决战,在交战时阵亡,绵竹也随后失守。",
@ -2829,7 +2829,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
_status.dieClose.push(dialog);
dialog.videoId=id;
},cards,dialog.videoId,player,targets);
event.current=targets[0];
event.dialog=dialog;
event.num1=0;
@ -2941,7 +2941,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(type==1) return list[0];
from=list[0];
nh=from.countCards('h');
list=game.filterPlayer(function(current){
return current!=player&&get.attitude(player,current)<1;
});
@ -4340,7 +4340,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
event.control.replacex(['cancel2']);
}
event.switchToAuto=function(){
var cards=[];
var skills=[];
@ -4908,7 +4908,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(list.length==0) return -1;
var from=list[0];
list.length=0;
for(var i=0;i<players.length;i++){
if(players[i]!=player&&get.attitude(player,players[i])<1) list.push(players[i]);
}
@ -7536,7 +7536,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
event.targets=game.filterPlayer(function(current){
return current!=player&&!current.hasSkill('chanyuan');
}).sortBySeat(_status.currentPhase);
game.broadcastAll(function(card,player){
_status.guhuoNode=card.copy('thrown');
if(lib.config.cardback_style!='default'){
@ -7741,7 +7741,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"luji":"陆绩",
"wangping":"王平",
"yanyan":"严颜",
"zhugezhan":"诸葛瞻",
"lukang":"陆抗",
"haozhao":"郝昭",
@ -7751,7 +7751,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"chendao":"陈到",
"guanqiujian":"毌丘俭",
zhoufei:"周妃",
"nzry_jianxiang":"荐降",
"nzry_jianxiang_info":"当你成为其他角色使用牌的目标时,你可令手牌数最少的一名角色摸一张牌。",
"nzry_shenshi1":"审时",
@ -7788,7 +7788,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"nzry_juzhan1":"拒战",
"nzry_juzhan":"拒战",
"nzry_juzhan_info":"转换技,阴:当你成为其他角色【杀】的目标后,你可以与其各摸一张牌,然后其本回合内不能再对你使用牌。阳:当你使用【杀】指定一名角色为目标后,你可以获得其一张牌,然后你本回合内不能再对其使用牌。",
liangyin:"良姻",
"liangyin_info":"当有牌移至游戏外时,你可以令手牌数大于你的一名角色摸一张牌;当有牌从游戏外加入任意角色的手牌时,你可以令手牌数小于你的一名角色弃置一张牌。",
kongsheng:"箜声",
@ -7828,7 +7828,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"drlt_hongju_info":"觉醒技准备阶段若“荣”的数量大于或等于3且场上有角色死亡则你可以用任意张手牌替换等量的“荣”然后减1点体力上限并获得〖清侧〗。",
"drlt_qingce":"清侧",
"drlt_qingce_info":"出牌阶段,你可以移去一张“荣”,然后弃置一名角色装备区或判定区内的一张牌。",
zhengrong:'征荣',
hongju:'鸿举',
qingce:'清侧',
@ -7836,7 +7836,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zhengrong_info:'当你使用带有「伤害」标签的基本牌或锦囊牌指定目标后,你可以将一名手牌数不小于你的目标角色的一张牌置于你的武将牌上,称为「荣」。',
hongju_info:'觉醒技准备阶段若你武将牌上「荣」的数量不小于3则你触发此技能。你可以用任意数量的手牌交换等量的「荣」。你减1点体力上限并获得技能〖清侧〗。',
qingce_info:'出牌阶段,你可以获得一张「荣」并弃置一张手牌,然后弃置场上的一张牌。',
jianchu:'鞬出',
jianchu_info:'当你使用【杀】指定一名角色为目标后,你可以弃置其一张牌,若以此法弃置的牌为装备牌,此【杀】不可被【闪】响应,若不为装备牌,该角色获得此【杀】。',
redimeng:'缔盟',
@ -7855,7 +7855,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
yinghun_info:'准备阶段开始时你可令一名其他角色执行一项摸X张牌然后弃置一张牌或摸一张牌然后弃置X张牌X为你已损失的体力值。',
gzyinghun:'英魂',
gzyinghun_info:'准备阶段开始时若你已受伤你可令一名其他角色执行一项摸X张牌然后弃置一张牌或摸一张牌然后弃置X张牌X为你已损失的体力值。',
tiaoxin:'挑衅',
zhiji:'志继',
zhiji_draw:'摸牌',
@ -7916,7 +7916,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zhangzhang:'张昭张纮',
caiwenji:'蔡琰',
zuoci:'左慈',
zhurong:'祝融',
menghuo:'孟获',
caopi:'曹丕',
@ -7974,7 +7974,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
luanwu_info:'限定技出牌阶段你可令除你外的所有角色依次对与其距离最近的另一名角色使用一张【杀】否则失去1点体力。',
wansha_info:'锁定技,你的回合内,除你以外,不处于濒死状态的角色不能使用【桃】。',
weimu_info:'锁定技,你不能成为黑色锦囊牌的目标。',
sp_zhugeliang:'卧龙',
pangtong:'庞统',
xunyu:'荀彧',
@ -8014,11 +8014,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
luanji_info:'出牌阶段,你可以将任意两张相同花色的手牌当做【万箭齐发】使用。',
xueyi_info:'主公技,锁定技,场上每有一名其他群雄角色存活,你的手牌上限便+2。',
mengjin_info:'当你使用的【杀】被【闪】抵消时,你可以弃置目标角色的一张牌。',
re_xiahouyuan:'夏侯渊',
re_huangzhong:'黄忠',
re_weiyan:'魏延',
gz_xiahouyuan:'夏侯渊',
gz_huangzhong:'黄忠',
gz_weiyan:'魏延',
@ -8026,7 +8026,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gz_pangde:'庞德',
gz_caoren:'曹仁',
gz_zhoutai:'周泰',
old_zhoutai:'周泰',
old_caoren:'曹仁',
xuhuang:'旧徐晃',
@ -8089,7 +8089,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
huangtian_info:'主公技,其他群势力角色的出牌阶段限一次,其可以交给你一张【闪】或【闪电】。',
guhuo_info:'每名角色的回合限一次你可以扣置一张手牌当一张基本牌或普通锦囊牌使用或打出。其他角色依次选择是否质疑。一旦有其他角色质疑则翻开此牌若为假则此牌作废若为真则质疑角色获得技能“缠怨”锁定技你不能质疑于吉只要你的体力值为1你失去你的武将技能。',
fenji_info:'当一名角色的手牌不因赠予或交给而被另一名角色得到后或一名角色的手牌被另一名角色弃置后你可以失去1点体力令其摸两张牌。',
new_fenji:"奋激",
new_fenji_info:"一名角色的结束阶段开始时若其没有手牌你可以令其摸两张牌然后你失去1点体力。",
gzduanliang:'断粮',
@ -8118,7 +8118,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
nzry_shicai_info:"当你使用非装备牌结算结束后,或成为自己使用装备牌的目标后,若此牌与你本回合使用的牌类型均不同,则你可以将此牌置于牌堆顶,然后摸一张牌。",
lianhuan:'连环',
lianhuan_info:'你可以将♣手牌当作【铁索连环】使用或重铸。',
shenhua_feng:'神话再临·风',
shenhua_huo:'神话再临·火',
shenhua_lin:'神话再临·林',

View File

@ -6560,7 +6560,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
sp_wangcan_prefix:'手杀',
sp_sunshao_prefix:'手杀',
sp_xunchen_prefix:'手杀',
sp_wangcan:'手杀王粲',
spqiai:'七哀',
spqiai_info:'出牌阶段限一次你可以将一张非基本牌交给一名其他角色。然后其选择一项①你回复1点体力。②你摸两张牌。',
@ -6860,7 +6860,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
duanbi_info:'限定技。出牌阶段若场上所有角色的手牌数之和大于角色数之和的二倍则你可以令所有其他角色各弃置X张手牌X为该角色手牌数的一半且向下取整且至多为3。然后你可选择一名角色令其随机获得三张以此法被弃置的牌。',
tongduo:'统度',
tongduo_info:'每回合限一次。当你成为其他角色使用牌的唯一目标后,你可令一名角色重铸一张牌。',
mobile_shijiren:'始计篇·仁',
mobile_shijizhi:'始计篇·智',
mobile_shijixin:'始计篇·信',

View File

@ -107,17 +107,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zhangling:['male','qun',3,['zlhuji','zlshoufu']],
caiyang:['male','qun',1,['yinka','zhuixi'],['forbidai','unseen']],
sunshao:['male','wu',3,['bizheng','yidian']],
huangfusong:['male','qun',4,['fenyue']],
yuantanyuanshang:['male','qun',4,['neifa']],
xujing:['male','shu',3,['yuxu','xjshijian']],
jianggan:["male","wei",3,["weicheng","daoshu"]],
caoying:["female","wei",4,["xinfu_lingren","xinfu_fujian"],[]],
simahui:["male","qun",3,["jianjie","xinfu_chenghao","xinfu_yinshi"],[]],
baosanniang:["female","shu",4,["olwuniang","olxushen"],[]],
yangxiu:['male','wei',3,['jilei','danlao']],
chenlin:['male','wei',3,['bifa','songci']],
caohong:['male','wei',4,['yuanhu']],
@ -147,9 +147,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
wutugu:['male','qun',15,['ranshang','hanyong']],
sp_caiwenji:['female','wei',3,['chenqing','mozhi']],
zhugeguo:['female','shu',3,['qirang','yuhua']],
lingju:['female','qun',3,['jieyuan','fenxin']],
cuiyan:['male','wei',3,['yawang','xunzhi']],
jsp_guanyu:['male','wei',4,['new_rewusheng','danji']],
jsp_huangyueying:['female','qun',3,['jiqiao','linglong']],
@ -158,29 +158,29 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zumao:['male','wu',4,['yinbing','juedi']],
wenpin:['male','wei',4,['zhenwei']],
daxiaoqiao:['female','wu',3,['new_xingwu','new_luoyan']],
guansuo:['male','shu',4,['zhengnan','xiefang']],
tadun:['male','qun',4,['reluanzhan']],
yanbaihu:['male','qun',4,['zhidao','jili']],
chengyu:['male','wei',3,['shefu','benyu']],
sp_pangde:['male','wei',4,['mashu','juesi']],
sp_jiaxu:['male','wei',3,['zhenlue','jianshu','yongdi']],
litong:['male','wei',4,['tuifeng']],
mizhu:['male','shu',3,['ziyuan','jugu']],
buzhi:['male','wu',3,['hongde','dingpan']],
caochun:['male','wei',4,['xinshanjia']],
dongbai:['female','qun',3,['lianzhu','xiehui']],
zhaoxiang:['female','shu',4,['fanghun','fuhan']],
mazhong:['male','shu',4,['fuman']],
dongyun:['male','shu',3,['bingzheng','sheyan']],
kanze:['male','wu',3,['xiashu','kuanshi']],
heqi:['male','wu',4,['olqizhou','olshanxi']],
//mifuren:['female','shu',3,['guixiu','cunsi']],
yuejin:['male','wei',4,['xiaoguo']],
sp_dongzhuo:['male','qun',5,['hengzheng']],
@ -189,15 +189,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){
shamoke:['male','shu',4,['gzjili']],
//liqueguosi:['male','qun',4,['xiongsuan']],
//cuimao:['male','wei',3,['zhengbi','fengying']],
zangba:['male','wei',4,['rehengjiang']],
zhangren:['male','qun',4,['chuanxin','zfengshi']],
wangyun:['male','qun',4,['xinlianji','xinmoucheng'],['clan:太原王氏']],
sunqian:['male','shu',3,['qianya','shuimeng']],
xizhicai:['male','wei',3,['tiandu','xianfu','chouce']],
quyi:['male','qun',4,['fuqi','jiaozi']],
luzhi:['male','wei',3,['qingzhong','weijing']]
},
characterIntro:{
@ -257,17 +257,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hansui:'韩遂215年字文约。凉州金城郡人。东汉末年军阀、将领汉末群雄之一。原名韩约后改名遂。韩遂最初闻名于西州被羌胡叛军劫持并推举为首领以诛宦官为名举兵造反聚众十万先后败皇甫嵩、张温、董卓、孙坚等名将使得天下骚动。后受朝廷招安拥兵割据一方长达三十余年。韩遂曾与马腾结为异姓兄弟后二人关系破裂。袁绍、曹操相争之际马腾、韩遂被钟繇说服依附于曹操。马腾入京后留其子马超统领部队。马超推举韩遂为都督起兵反叛曹操为曹操所败韩遂逃奔凉州后又为夏侯渊所败病死一说被杀享年七十余岁。',
niujin:'牛金(生卒年不详),初为曹仁部曲将,周瑜军数万人来攻,前锋数千人始至,曹仁登城望,乃募得三百人,遣牛金迎战。但对方兵力较多,牛金遂被围困。曹仁亲自杀入阵中救出牛金。司马懿使牛金轻骑饵诱蜀军,刚交战诸葛亮就退兵,追至祁山。蜀将马岱入寇,司马懿遣将军牛金击退,斩千余级。公孙渊反,司马懿帅牛金、胡遵等步骑四万发自洛阳,后平定辽东。牛金官至后将军。',
jianggan:"蒋干,字子翼,汉末三国时期的人物,九江(治今安徽寿县)人。历史上的蒋干是当时的名士、辩论家。而罗贯中在历史小说《三国演义》中则将蒋干刻画成了被周瑜所愚弄的小丑形象。",
caoying:"曹婴是在电影《三国志之见龙卸甲》中登场的虚拟人物,由李美琪饰演。曹婴是曹操的孙女,弓马娴熟,文武双全,深得曹操的用兵之道及心术。于凤鸣山一战中担任魏军大都督阻止诸葛亮北伐并因罗平安的告密而全歼关兴、张苞、赵云率领的蜀军部队。",
simahui:"司马徽约145—208年字德操颍川阳翟今河南禹州人。东汉末年名士精通道学、奇门、兵法、经学。有“水镜先生”之称。 司马徽为人清雅,学识广博,有知人之明,并向刘备推荐了诸葛亮、庞统等人,受到世人的敬重。",
baosanniang:"鲍三娘是中国民间传说中的人物,事迹多见于《花关索传》。相传她是鲍家庄鲍员外的小女儿。后来与关索成亲,关羽自传授其武艺,因此也造就了鲍三娘的文武双全。荆州失守之后鲍三娘就跟随关索一同投奔蜀汉,并随诸葛亮征讨南蛮。平定了南蛮之后,夫妻二人就此一直替诸葛亮镇守着南中,他们也的确留下了许多脍炙人口的行侠仗义故事,在民间广为流传。",
pangdegong:"庞德公,字尚长,荆州襄阳人,东汉末年名士、隐士。 庞德公与当时徐庶、司马徽、诸葛亮、庞统等人交往密切。庞德公曾称诸葛亮为\"卧龙\",庞统为\"凤雏\",司马徽为\"水镜\",被誉为知人。对诸葛亮、庞统等人早年影响较大,并得到诸葛亮的敬重。庞德公最后隐居于鹿门山,采药而终。",
zhaotongzhaoguang:"赵统赵云长子生卒年不详。常山真定今为河北正定陈寿在正史《三国志》中记载赵云去世后赵统袭爵永昌亭侯官至蜀汉虎贲中郎督加行领军。赵广—263年三国时期蜀汉牙门将赵云的次子赵统之弟。随姜维前往沓中官拜牙门将。曹魏司马氏派五路大军伐蜀时随大将军姜维与魏兵战于疆川口姜维败绩还守剑阁赵广于沓中战死。",
majun:"马钧,字德衡,扶风(今陕西扶风)人,生活在汉朝末期,是中国古代科技史上最负盛名的机械发明家之一。马钧年幼时家境贫寒,自己又有口吃的毛病,所以不擅言谈却精于巧思,后来在魏国担任给事中的官职。马钧最突出的表现有还原指南车;改进当时操作笨重的织绫机;发明一种由低处向高地引水的龙骨水车;制作出一种轮转式发石机,能连续发射石块,远至数百步;把木制原动轮装于木偶下面,叫做“水转百戏”。此后,马钧还改制了诸葛连弩,对科学发展和技术进步做出了贡献。",
simazhao:"司马昭211年—265年9月6日字子上小说《三国演义》为子尚河内温县今属河南人。三国时期曹魏权臣西晋王朝的奠基人之一。为晋宣帝司马懿与宣穆皇后张春华次子、晋景帝司马师之弟、晋武帝司马炎之父。 司马昭早年随父抗击蜀汉多有战功。累官洛阳典农中郎将封新城乡侯。正元二年255年继兄司马师为大将军专揽国政。甘露五年260年魏帝曹髦被弑杀司马昭立曹奂为帝。景元四年263年分兵遣钟会、邓艾、诸葛绪三路灭亡蜀汉受封晋公。次年进爵晋王。 咸熙二年265年司马昭病逝年五十四葬于崇阳陵。数月后其子司马炎代魏称帝建立晋朝追尊司马昭为文帝庙号太祖。",
wangyuanji:"王元姬217年—268年4月20日东海郯县今山东郯城西北人。三国时期曹魏经学家王朗之孙女、王肃之女晋文帝司马昭妻子晋武帝司马炎与齐王司马攸的生母。 王元姬幼时便通《诗经》、《论语》嫁司马昭后竭尽妇道、谦虚谨慎。其人颇有远见曾预言钟会谋反之事。泰始元年265年司马炎建立西晋尊王元姬为皇太后宫号曰崇化宫。王元姬身处太后之位提倡节俭身体力行作为众妃子的表率。在其治理之下后宫井井有条众人和睦相处。 泰始四年268年王元姬崩逝终年五十二岁。谥号文明皇后与司马昭合葬于崇阳陵。",
liuye:'刘晔234年字子扬淮南成德人是光武帝刘秀之子阜陵王刘延的后代三国时期魏国著名的战略家。刘晔年少知名人称有佐世之才是曹操手下举足轻重的谋士他屡献妙计对天下形势的发展往往一语中的。刘晔历仕数朝是曹魏的三朝元老。',
luzhi:'鲁芝190年—273年字世英。扶风郡郿县今陕西眉县人。魏晋时期名臣。官至光禄大夫位特进封阴平侯。泰始九年273年时年八十四。谥号“贞”。',
xizhicai:'戏志才(生卒年不详),或志才为字,名不详(一说名忠),东汉颍川郡(今河南禹州)人。经张邈推荐,成为曹操手下谋士。为人多谋略,曹操十分器重,不幸早卒。三国演义中并无此人,三国志中只有寥寥数语。由荀彧推荐给曹操,被称为有“负俗之讥”。死后,荀彧又举荐了郭嘉。<br>陈寿《三国志》记载:太祖与荀彧书曰:自志才亡后,莫可与计事者。汝、颍固多奇士,谁可以继之?彧荐嘉。',
@ -281,7 +281,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
lvfan:'吕范228年字子衡。汝南郡细阳县今安徽太和人。汉末至三国时期吴国重臣。吕范年轻为汝南县吏后避难寿春结识孙策。此后随孙策、孙权征伐四方对稳固孙氏在江东的统治做出了杰出的贡献孙权将其比之于东汉开国元勋吴汉。吴国建立后吕范累官至前将军、假节、扬州牧封南昌侯。黄武七年228年吕范被拜为大司马未得授官便已病逝。孙权悲痛不已遣使赠其大司马印绶。孙权还都建业后以太牢礼祭祀吕范。',
liqueguosi:"请分别参考武将【李傕】和【郭汜】各自的介绍。",
maojie:"毛玠—216年字孝先陈留平丘今河南封丘人。东汉末年大臣。年少时为县吏以清廉公正著称。因战乱而打算到荆州避乱但中途知道刘表政令不严明因而改往鲁阳。后来投靠曹操提出“奉天子以令不臣脩耕植畜军资”的战略规划得到曹操的欣赏。<br>毛玠与崔琰主持选举,所举用的都是清廉正直之士。而毛玠为人廉洁,激起天下廉洁之风,一改朝中奢华风气。曹操大为赞赏,曹丕也亲自去拜访他。<br>曹操获封魏公后,毛玠改任尚书仆射,再典选举。又密谏曹操应该立嫡长子曹丕为魏国太子。崔琰被杀后,毛玠十分不快。后来有人诬告毛玠,曹操大怒,将毛玠收于狱中。及后在桓阶、和洽营救下,只被免职,不久逝世于家中。曹操在他死后赐他棺材和钱帛。",
huangfusong:'字义真。安定郡朝那县(今宁夏彭阳)人。于黄巾起义时,以中郎将身份讨伐黄巾,用火攻大破张梁、张宝。后接替董卓进攻张梁,连胜七阵。掘张角墓,拜左车骑将军、冀州牧,因拒绝贿赂宦官而被免职。 董卓死,王允命其与吕布等共至郿坞抄籍董卓家产、人口,皇甫嵩将坞中所藏良家子女,尽行释放。',
zangba:'其父臧戒,有二子臧艾与臧舜。年少时曾召集数人将获罪的父亲救出,此后四处流亡。后来成为陶谦麾下的骑都尉,负责募兵抵抗黄巾军。与孙观、尹礼等人拥兵驻屯于开阳,自成一股独立势力,后跟随吕布。吕布战败后,投降了曹操。后与袁绍、孙权等的战役里战功赫赫,官至镇东将军。',
zhangren:'刘璋的属下,以忠勇著称。刘备入蜀时,张任曾劝刘璋提防刘备,但刘璋没有听从。魏延舞剑想趁机除掉刘璋时,张任出面对舞,解救刘璋。后在刘备进攻时于落凤坡射死了庞统。',
@ -8609,7 +8609,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
dialog.classList.add('fullheight');
ui.arena.classList.add('choose-to-move');
dialog.buttonss=[];
var list=['协力锻造的玩家','妨碍锻造的玩家']
for(var i=0;i<list.length;i++){
dialog.add('<div class="text center">'+list[i]+'</div>');
@ -16058,7 +16058,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
content:'不能使用或打出手牌'
}
},
zfengshi:{
audio:2,
trigger:{player:'useCardToPlayered'},
@ -17141,7 +17141,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
dialog.content.appendChild(table);
dialog.add('  ');
dialog.open();
event.switchToAuto=function(){
event.dialog.close();
event.control.close();
@ -19131,7 +19131,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(event.targets.length>1) return false;
if(!event.target) return false;
if(event.target.hp>=player.hp) return false;
var card=event.card;
if(card.name=='sha') return true;
if(get.color(card)=='black'&&get.type(card,'trick')=='trick') return true;
@ -23042,7 +23042,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.recover();
player.awakenSkill('wuji');
player.storage.wuji=true;
var card=get.cardPile('qinglong','field');
if(card){
player.gain(card,'gain2','log');
@ -23508,7 +23508,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
threaten:0.7
}
},
duwu:{
audio:2,
enable:'phaseUse',
@ -25653,14 +25653,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
lvfan:'吕范',
liqueguosi:'李傕郭汜',
cuimao:'崔琰毛玠',
caoying:"曹婴",
simahui:"司马徽",
baosanniang:"鲍三娘",
majun:"马钧",
simazhao:"司马昭",
wangyuanji:"王元姬",
jianggan:"蒋干",
hejin:'何进',
hansui:'韩遂',
@ -25668,7 +25668,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
xujing:'OL许靖',
xujing_prefix:'OL',
yuantanyuanshang:'袁谭袁尚',
xinfenyue:'奋钺',
xinfenyue_info:'出牌阶段限X次X为与你不同阵营的存活角色数你可以与一名其他角色拼点若你赢根据你拼点牌的点数依次执行以下效果不大于5你获得其一张牌不大于9你获得牌堆里的一张【杀】; 不大于K视为你对其使用一张雷【杀】。',
neifa:'内伐',
@ -25690,12 +25690,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
cuorui_info_single:'锁定技你的起始手牌数改为X+2X为你剩余的备选武将数。你跳过登场后的第一个判定阶段。',
liewei:'裂围',
liewei_info:'当你杀死一名角色后,你可以摸三张牌。',
weicheng:'伪诚',
weicheng_info:'当牌从你的手牌区移动至其他角色的手牌区后,若你的手牌数小于体力值,你可以摸一张牌。',
daoshu:'盗书',
daoshu_info:'出牌阶段限一次。你可以选择一个花色并获得一名其他角色的一张手牌。若此牌花色与你选择的相同则你对其造成1点伤害且你〖盗书〗于此阶段内可使用的次数上限+1。否则你须交给其一张与此牌花色不同的手牌没有则展示手牌。',
xinshanjia:"缮甲",
xinshanjia_info:"出牌阶段开始时你可以摸三张牌然后弃置3-X张牌(X为你本局游戏内不因使用而失去过的装备牌的数目且至多为3)。若你没有以此法弃置:基本牌,此阶段你使用【杀】的次数上限+1锦囊牌此阶段你使用牌无距离限制基本牌或锦囊牌你可以视为使用一张【杀】。",
"new_meibu":"魅步",
@ -25722,7 +25722,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"zhenwei_three_info":"锁定技,敌方角色至己方其他角色的距离+1。",
"huanshi_three":"缓释",
"huanshi_three_info":"一名友方角色的判定牌生效前,你可打出一张牌代替之。",
yizan:"翊赞",
yizan_info:"你可以将两张牌(其中至少一张是基本牌)当任意基本牌牌使用。",
yizan0:"翊赞",
@ -25745,7 +25745,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zhennan_info:"当你成为【南蛮入侵】的目标时你可令一名其他角色随机受到1至3点伤害。",
xushen:"许身",
xushen_info:"当其他男性角色令你脱离濒死状态时若“关索”不在场其可以选择是否用“关索”替换其武将牌然后你回复1点体力并获得技能〖镇南〗。",
wanwei:'挽危',
wanwei_info:'当你因被其他角色获得或弃置而失去牌时,你可以改为自己选择失去的牌。',
gzjili:'蒺藜',
@ -25760,7 +25760,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zhengbi_info:'出牌阶段开始时,你可以选择一项:选择一名未受伤的其他角色,你对其使用的牌无距离限制且不计入使用次数直到回合结束;或将一张基本牌交给一名其他角色,然后其交给你一张非基本牌或两张基本牌。',
fengying:'奉迎',
fengying_info:'限定技出牌阶段你可以弃置所有手牌。若如此做你可以令等量的角色将手牌摸至X张(X为其体力上限且至多为5)。然后,你结束出牌阶段,并在当前回合结束后进行一个新的回合。',
qingzhong:'清忠',
qingzhong_info:'出牌阶段开始时,你可以摸两张牌,若如此做,此阶段结束时,你与手牌数最少的角色交换手牌。',
weijing:'卫境',
@ -25807,7 +25807,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
fenyue2:'奋钺',
fenyue2_bg:'钺',
fenyue_info:'出牌阶段限X次你可以与一名角色拼点若你赢你选择一项1.令其不能使用或打出手牌直到回合结束2.视为对其使用一张【杀】不计入次数。若你没赢你结束出牌阶段。X为存活的忠臣数',
zfengshi:'锋矢',
zfengshi_info:'当你使用【杀】指定目标后,你可以令目标弃置装备区内的一张牌。',
chuanxin:'穿心',
@ -26008,7 +26008,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ranshang_info:'锁定技当你受到1点火焰伤害后你获得1枚“燃”标记结束阶段开始时你失去X点体力。若X大于2则你减2点体力上限并摸两张牌。X为“燃”标记的数量',
hanyong:'悍勇',
hanyong_info:'当你使用【南蛮入侵】或【万箭齐发】或黑桃普通【杀】时,若你已受伤,则你可以令此牌的伤害值基数+1。然后若你的体力值不小于游戏轮数则你获得一枚“燃”标记。',
yicong:'义从',
yongsi:'庸肆',
yongsi1:'庸肆',
@ -26705,7 +26705,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
olfeiyang:'飞扬',
//olfeiyang_info:'限定技。准备阶段,你可以弃置两张牌,然后弃置判定区的一张牌。',
olfeiyang_info:'准备阶段,你可以弃置三张牌,然后弃置判定区的一张牌。',
sp_tianji:'天极·皇室宗亲',
sp_sibi:'四弼·辅国文曲',
sp_tianzhu:'天柱·势冠一方',

View File

@ -6873,7 +6873,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
dialog.content.appendChild(table2);
dialog.add('  ');
event.dialog.open();
event.switchToAuto=function(){
event._result={
bool:true,
@ -10517,7 +10517,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
tangzi:"唐咨(生卒年不详),三国时魏利城(今江苏赣榆西)人。魏文帝黄初中利城郡反,推唐咨为主。后为魏军击破,遂亡至吴,官至左将军,封侯、持节。后助诸葛诞拒魏,兵败被俘。为安抚吴国军民,魏主拜唐咨为安远将军。",
huangquan:"黄权240年字公衡。巴西郡阆中县今四川阆中人。三国时期蜀汉、曹魏将领。<br>黄权年轻时为郡吏后被益州牧刘璋召为主簿。曾劝谏刘璋不要迎接刘备因而被外放为广汉县长。刘璋败才降刘备被拜为偏将军。建计取汉中拜护军。刘备为汉中王仍领益州牧以黄权为治中从事。及刘备称帝将伐吴黄权劝谏而不纳。以其为镇北将军督江北军以防魏师进攻。刘备伐吴败还而归途隔绝黄权不得归无奈之下率部降魏。被魏文帝所赏识拜镇南将军封育阳侯加侍中使同车陪乘。后领益州刺史进驻河南。景初三年239年迁车骑将军、仪同三司。正始元年240年黄权去世谥号“景”。",
sufei:"苏飞(生卒年不详),东汉末年人物,原为东汉末年荆州牧刘表的部将,任江夏都督。<br>苏飞与甘宁交好,但是数次向黄祖推荐都失败。甘宁决定投效孙权时助其逃离。后来甘宁率吴军攻破江夏,苏飞兵败被俘。孙权打算将苏飞处斩,但是因为甘宁用性命担保而赦免了苏飞。降吴后官至军都督。",
zhangchangpu:"钟会的母亲。《母夫人张氏传》:夫人张氏,字昌蒲,太原兹氏人,太傅定陵成侯之命妇也。",
xugong:"许贡是东汉末官吏。先后任吴郡都尉、太守欲送密信给曹操要曹操注意孙策却被孙策发现而被杀。许贡生前招揽了一些门客当中有三人不忘故主千方百计想要手刃仇人。建安五年公元200年广陵太守陈登派人秘密联系孙策治下的山贼余党企图颠覆孙策在江东的统治。孙策决定讨伐陈登行军到丹徒时许贡门客终于找到了机会。因为孙策有单骑出猎在野外思考的习惯三门客趁孙策轻装外出打猎时放冷箭射中孙策面颊。这些门客后来在与孙策的搏斗中被赶到的侍卫杀死。孙策此后因为伤口感染并且俊美的容貌被毁终于不治身亡去世时年仅26岁。",
mangyachang:"南蛮王孟获的部将,使一口截头大刀,骑一匹黄骠马。率军与蜀军交战,战败王平。后被平北将军马岱斩杀。只出现在《三国演义》里,正史中无此人。",
@ -10525,7 +10525,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zhangwen:'张温193年—230年字惠恕吴郡吴县今江苏苏州人。少修节操容貌奇伟。孙权召拜议郎、选曹尚书徙太子太傅。黄武三年224以辅义中郎将身份出使蜀汉孙权原先害怕诸葛亮会有意留难张温但张温不担心。在呈上蜀汉朝廷的文书刻意称颂蜀汉以表明和解的诚意重建两国关系。他在蜀汉表现出色得蜀汉朝廷重视。回东吴后不久被调进豫章的军队事业上再无进展。孙权一方面介怀他出使蜀汉时称颂蜀汉又嫌他声名太盛恐怕张温不会尽忠地由他任用。当时正好碰上暨艳事件暨艳是张温引荐的臣子但他滥用职权升迁评定等只看自己喜恶。事件被揭发后暨艳及同党徐彪都自杀。孙权见此于是以张温与暨艳、徐彪等人多有来往而下罪张温后更将张温发还到家乡吴郡。将军骆统曾上书为张温辩解但孙权不理会。六年后张温病逝。',
lisu:'李肃192年五原治今内蒙古包头西北人。永汉三年四月司徒王允、尚书仆射士孙瑞、卓将吕布共谋诛卓。是时天子有疾新愈大会未央殿。布使同郡骑都尉肃等、将亲兵十馀人伪著卫士服守掖门。布怀诏书。卓至肃等格卓。卓惊呼布所在。布曰“有诏”遂杀卓夷三族。后卓女婿中郎将牛辅典兵别屯陕分遣校尉李傕、郭汜、张济略陈留、颍川诸县。卓死吕布使李肃至陕欲以诏命诛辅。辅等逆与肃战肃败走弘农布诛肃。',
xinpi:'辛毗生卒年不详字佐治颍川阳翟人。三国时期曹魏大臣。原居陇西郡治在今甘肃临洮县东汉光武帝建武年间其先人东迁。当初辛毗跟随其兄事袁绍。曹操任司空时征召辛毗他不受命。官渡战后辛毗事袁绍的儿子袁谭。公元204年曹操攻下邺城上表推荐辛毗任议郎后为丞相长史。公元220年曹丕即皇帝位以辛毗为侍中赐爵关内侯后赐广平亭侯。魏明帝即位封辛毗颍乡侯食邑三百户后为卫尉。公元234年诸葛亮屯兵渭南司马懿上表魏明帝。魏明帝任辛毗为大将军军师加使持节号。诸葛亮病逝后辛毗返回仍任卫尉。不久逝世谥肃侯。',
liuzan:'字正明会稽长山人人曾任左护军有两子留略、留平。少为会稽郡吏曾参与镇压黄巾起义后被东吴大将凌统所引用任屯骑校尉。吴五凤二年公元255年留赞任左护军随孙峻征淮南因病撤军被魏将蒋班围困于道力战而死时年73岁。',
zhujun:'朱儁195年字公伟。会稽郡上虞县今浙江绍兴上虞区人。东汉末年名将。朱儁出身寒门赡养母亲以好义轻财闻名受乡里敬重。后被太守徐珪举为孝廉任兰陵令颇有治绩。再升任交州刺史以家兵五千大破叛军平定交州。战后以功封都亭侯入朝为谏议大夫。光和七年184年黄巾起义爆发朱儁以右中郎将、持节平定三郡之地以功进封西乡侯迁镇贼中郎将。又率军讨平黄巾“威声满天下”。中平二年185年进拜右车骑将军更封钱塘侯。后为河内太守击退进逼的张燕。权臣董卓秉政时想任朱儁为副手遭其婉拒。其后出逃荆州更屯军中牟徐州刺史陶谦等欲推举他为太师并传檄各州牧伯相邀讨伐李傕、奉迎天子。但朱儁却奉诏入京任太仆。初平三年192年升任太尉、录尚书事。兴平元年194年行骠骑将军事持节镇关东因故未成行。兴平二年195年李傕与郭汜相互攻杀郭汜扣留朱儁作为人质。朱儁性格刚烈即日发病而死。',
liuhong:'汉灵帝刘宏157年一作156年189年5月13日生于冀州河间国今河北深州。东汉第十二位皇帝168年189年在位汉章帝刘炟的玄孙。刘宏早年世袭解渎亭侯。永康元年167年十二月汉桓帝刘志逝世刘宏被外戚窦氏挑选为皇位继承人于建宁元年168年正月即位。刘宏在位的大部分时期施行党锢及宦官政治。他又设置西园巧立名目搜刮钱财甚至卖官鬻爵以用于自己享乐。在位晚期爆发了黄巾起义而凉州等地也陷入持续动乱之中。中平六年189年刘宏去世谥号孝灵皇帝葬于文陵。刘宏喜好辞赋作有《皇羲篇》、《追德赋》、《令仪颂》、《招商歌》等。',
@ -10678,7 +10678,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"tanbei_effect1_info":"",
"tanbei_effect2":"贪狈",
"tanbei_effect2_info":"",
"xinfu_tunan":"图南",
"xinfu_tunan_info":"出牌阶段限一次,你可以展示牌堆顶的一张牌并选择一名其他角色,然后该角色选择一项:使用此牌(无距离限制);或将此牌当普通【杀】使用。",
"xinfu_bijing":"闭境",
@ -10691,12 +10691,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"qianxin_effect_info":"",
"xinfu_qianxin2":"遣信",
"xinfu_qianxin2_info":"",
"xinfu_fuhai":"浮海",
"xinfu_fuhai_info":"出牌阶段每个方向限一次你可以展示一张手牌并选择上家或下家。该角色展示一张手牌若你展示的牌点数大于等于其展示的牌点数你弃置你展示的牌然后继续对其上家或下家重复此流程若你展示的牌点数小于该展示角色牌的点数则该角色弃置其展示的牌然后你与其各摸X张牌X为你此回合内发动此技能选择的角色数且你此阶段内不能再发动〖浮海〗。",
"fuhai_clear":"浮海",
"fuhai_clear_info":"",
"xz_xunxun":"恂恂",
"xz_xunxun_info":"摸牌阶段,你可以观看牌堆顶的四张牌,然后将其中的两张牌置于牌堆顶,并将其余的牌以任意顺序置于牌堆底。",
"xinfu_xingzhao":"兴棹",
@ -10728,7 +10728,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
baijia_info:'觉醒技准备阶段若你因〖骨疽〗得到的牌不少于7张则你增加1点体力上限回复1点体力然后令所有未拥有“傀”标记的其他角色获得“傀”标记最后失去技能〖骨疽〗并获得技能〖蚕食〗。',
bmcanshi:'蚕食',
bmcanshi_info:'一名角色使用基本牌或普通锦囊牌指定你为唯一目标时,若其有“傀”标记,你可以取消之,然后其失去“傀”标记;你使用牌仅指定一名角色为目标时,你可以额外指定任意名带有“傀”标记的角色为目标(无距离限制),然后这些角色失去“傀”标记。',
xinpi:'辛毗',
lisu:'李肃',
zhangwen:'张温',
@ -10739,7 +10739,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
pingjian:'评荐',
pingjian_use:'评荐',
pingjian_info:'结束阶段开始时/当你受到伤害后/出牌阶段限一次,你可以令系统随机检索出三张拥有发动时机为结束阶段开始时/当你受到伤害后/出牌阶段的技能的武将牌。然后你可以选择尝试发动其中一个技能。每个技能每局游戏只能选择一次。',
songshu:'颂蜀',
songshu_info:'出牌阶段,你可以和其他角色拼点。若你没赢,你与其各摸两张牌,且你本阶段内不能再发动〖颂蜀〗。',
sibian:'思辩',
@ -10755,7 +10755,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
yinju:'引裾',
yinju_info:'限定技,出牌阶段,你可以选择一名其他角色。若如此做,当你于此阶段内使用牌指定其为目标后,你与其各摸一张牌;当你即将对其造成伤害时,防止此伤害,然后其回复等量的体力。',
yinju2:'引裾',
spjiedao:"截刀",
"spjiedao_info":"当你每回合第一次造成伤害时,你可令此伤害至多+XX为你损失的体力值。然后若受到此伤害的角色没有死亡你弃置等同于此伤害加值的牌。",
biaozhao:"表召",
@ -10774,7 +10774,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"yanjiao2_info":"",
xingshen:"省身",
"xingshen_info":"当你受到伤害后,你可以摸一张牌且下一次发动〖严教〗亮出的牌数+1。若你的手牌数为全场最少则改为摸两张牌若你的体力值为全场最少则〖严教〗亮出的牌数改为+2加值总数不能超过4。",
sp_zhanghe:'SP张郃',
sp_zhanghe_prefix:'SP',
yuanlve:'远略',
@ -11193,7 +11193,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
starhaoshou:'豪首',
//starhaoshou_info:'主公技。①其他群势力角色使用【酒】结算完毕后其可以令你回复1点体力。②当你处于濒死状态时其他群势力角色可以将【酒】当作【桃】对你使用。',
starhaoshou_info:'主公技。其他群势力角色使用【酒】结算完毕后其可以令你回复1点体力。。',
sp_whlw:"文和乱武",
sp_zlzy:"逐鹿中原",
sp_longzhou:"同舟共济",

View File

@ -42,7 +42,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
diaochan:['female','qun',3,['lijian','biyue']],
huaxiong:['male','qun',6,['yaowu']],
gongsunzan:['male','qun',4,['reyicong']],
xf_yiji:["male","shu",3,["xinfu_jijie","xinfu_jiyuan"],[]],
re_yuanshu:['male','qun',4,['rewangzun','retongji']],
},
@ -73,7 +73,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
lvbu:'字奉先,五原郡九原县人。三国第一猛将,曾独力战刘关张三人,其武力世之无双。时人语曰:“人中有吕布,马中有赤兔。”',
diaochan:'中国古代四大美女之一,有闭月羞花之貌。司徒王允之义女,由王允授意施行连环计,离间董卓、吕布,借布手除卓。后貂蝉成为吕布的妾。',
huaxiong:'董卓旗下名将,自荐抵抗山东地区反对董卓的诸侯联军于汜水关前,他先后斩杀济北相鲍信之弟鲍忠和孙坚部将祖茂、以及袁术部将俞涉和韩馥手下潘凤等人,最后关东联军派出关羽与之一对一决斗而被杀。',
xf_yiji:"伊籍字机伯生卒年不详兖州山阳郡今山东金乡县三国时期蜀汉官员。年少时依附于同乡刘表。刘备落难到荆州时伊籍时常拜访托请刘备照顾。建安十三年208年刘表病死伊籍便转投刘备一起渡江南下。建安十六年211年刘备入蜀帮助刘璋伊籍亦有跟随。随后刘备和刘璋双方决裂。建安十九年214年刘备平定益州任命伊籍为左将军从事中郎其待遇次于简雍、孙乾等。后升任昭文将军并与诸葛亮、法正、刘巴、李严共同编制《蜀科》。",
},
perfectPair:{
@ -2364,14 +2364,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hujia_info:'主公技,当你需要使用或打出一张【闪】时,你可以令其他魏势力角色选择是否打出一张【闪】。若有角色响应,则你视为使用或打出了一张【闪】。',
jianxiong:'奸雄',
jianxiong_info:'当你受到伤害后,你可以获得对你造成伤害的牌。',
simayi:'司马懿',
fankui:'反馈',
fankui_info:'当你受到伤害后,你可以获得伤害来源的一张牌。',
guicai:'鬼才',
guicai_info:'一名角色的判定牌生效前,你可以打出一张手牌代替之。',
guicai_info_guozhan:'一名角色的判定牌生效前,你可以打出一张牌代替之。',
xiahoudun:'夏侯惇',
zhangliao:'张辽',
xuzhu:'许褚',
@ -2399,7 +2399,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"xf_yiji":"伊籍",
re_yuanshu:'袁术',
caozhang:'曹彰',
ganglie:'刚烈',
tuxi:'突袭',
luoyi:'裸衣',
@ -2539,7 +2539,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
stdshushen:'淑慎',
stdshushen_info:'当你回复1点体力时你可以令一名其他角色摸一张牌若其没有手牌则改为摸两张牌。',
old_re_lidian:'李典',
standard_2008:"2008版标准包",
standard_2013:"2013版标准包",
standard_2019:"2019版标准包",

View File

@ -4,7 +4,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
name:'swd',
character:{
swd_huzhongxian:['male','wu',3,['daofa','xielv','hujing']],
swd_anka:['male','qun',3,['songci','anlianying']],
swd_septem:['male','qun',4,['jiying','liaoyuan','yishan']],
swd_kama:['female','qun',3,['yueren','shangshi']],
@ -13,14 +13,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
swd_wangsiyue:['female','wei',3,['duishi','biyue']],
swd_weida:['female','qun',3,['yueren','zhenlie','duijue']],
swd_xuanyuanjianxian:['male','qun',4,['pozhou','huajian','xuanyuan']],
swd_chenjingchou:['male','wu',3,['youyin','yihua']],
swd_duguningke:['female','qun',3,['nlianji','touxi']],
swd_guyue:['male','wei',3,['gtiandao','gxianyin','wangchen']],
swd_tuobayuer:['female','shu',4,['swdliuhong','poyue','niepan']],
swd_yuwentuo:['male','shu',4,['wushuang','xielei','kunlunjing']],
swd_yuxiaoxue:['female','wei',3,['huanhun','daixing','yinyue']],
swd_jiliang:['male','wu',3,['yunchou','gongxin','jqimou']],
swd_shuijing:['female','qun',4,['mojian','duanyue','tuzhen']],
swd_quxian:['female','qun',3,['mojian','huanxia']],
@ -30,37 +30,37 @@ game.import('character',function(lib,game,ui,get,ai,_status){
swd_murongshi:['female','shu',4,['duanyi','guxing']],
swd_jipeng:['male','wu',3,['reyingzi','guozao']],
swd_qi:['male','qun',3,['yaotong','heihuo','pojian']],
swd_luchengxuan:['male','wu',4,['ljifeng','lxianglong']],
swd_xiarou:['female','shu',3,['xianghui','huiqi']],
swd_moye:['female','wu',3,['rexue','liuli','senluo']],
swd_zhaoyun:['male','shu',4,['longdan','pozhen','tanlin']],
swd_hengai:['female','shu',3,['funiao','ningxian','hlingbo']],
swd_duanmeng:['female','shu',4,['xuanying','lieren']],
swd_jiangwu:['male','shu',4,['yijue','dangping']],
swd_tuwei:['male','shu',3,['zhanlu','susheng']],
swd_yeyaxi:['female','shu',3,['rexue','huopu','shenyan']],
swd_muyun:['male','wei',4,['zhuhai','polang','jikong']],
swd_lanyin:['female','wei',3,['xingdian','yulin','luomei']],
swd_zhiyin:['female','wei',3,['xuehuang','ningshuang','zhuyu']],
swd_qiner:['female','wei',3,['huanyin','tianhuo','xuanzhou']],
swd_jiuyou:['male','wei',3,['lexue']],
swd_duopeng:['male','wu',3,['luanji','reyingzi']],
swd_fengtianling:['male','shu',4,['guiyan','jiang']],
swd_huyue:['female','wu',3,['hyunshen','fengming']],
swd_jialanduo:['male','qun',4,['xianyin','mailun']],
swd_rongshuang:['female','wu',3,['suiyan','duanxing']],
swd_zhuoshanzhu:['male','wu',4,['suiyan','wanjun']],
swd_jiting:['female','wei',4,['guanhu','lingshi']],
swd_sikongyu:['male','wu',4,['sliufeng','linyun','hutian']],
swd_muyue:['female','wei',3,['xingzhui','lingxian','shouyin']],
swd_ziqiao:['female','shu',3,['guaili','fuyan']],
swd_fengyu:['male','shu',4,['fzhenwei','shangxi']],
// swd_wushi:['male','wei',3,['zhoufu','yingbin','xuying']],
// swd_lanmoshen:['female','wei',3,['bingjian','lieren']],
swd_huanglei:['male','qun',3,['jilve','gongshen','gaizao']],
@ -74,7 +74,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
swd_kangnalishi:['male','qun',1,['busi','xuying','yinguo']],
swd_xuanyuanjiantong:['male','qun',3,['chengjian','huanling']],
swd_huiyan:['male','qun',4,['hwendao','lingfeng','hxunzhi']],
// swd_chenfu:['male','qun',4,['xuanzhou','bingfeng']],
// swd_chengyaojin:['male','qun',4,['jiuchi','jufu']],
swd_shanxiaoxiao:['female','wu',3,['shehun','xiaomoyu']],
@ -86,7 +86,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
// swd_tuobayueer:['female','shu',3,['shushen','biyue']],
// swd_yangshuo:['male','qun',4,['longdan','luomu']],
// swd_zhanglie:['male','qun',4,['huajin','poxiao']],
swd_hanluo:['male','qun',5,['tiebi']],
swd_fu:['male','qun',5,['yudun']],
swd_linyue:['male','wei',3,['zhenjiu','lmazui']],
@ -95,18 +95,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){
swd_fuyan:['male','qun',4,['lianda']],
swd_haidapang:['female','wu',3,['bingjian','rumeng']],
swd_shaowei:['female','shu',3,['jianji','huangyu']],
swd_youzhao:['male','shu',4,['longdan','yuchen']],
swd_shangzhang:['male','shu',4,['lianwu']],
swd_situqiang:['female','shu',3,['fengze','lingyue','jinlin']],
swd_chunyuheng:['male','wei',2,['jueqing','shengshou','xuying']],
swd_hanlong:['male','wei',4,['ciqiu','siji']],
swd_yuli:['female','wu',3,['lingxin','tianxiang']],
swd_zhanggao:['male','wei',4,['yicong','poxing']],
swd_shuwaner:['female','shu',3,['sxianjing','huodan']],
swd_xiaohuanglong:['male','wei',3,['yeying','juxi']],
swd_hupo:['male','wu',3,['dunxing','guiying']],
swd_jiangziya:['male','wu',3,['mingfu','tianlun']],
},
@ -5410,18 +5410,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){
equips=[];
for(j=0;j<game.players[i].node.handcards1.childNodes.length;j++)
handcards1.push(game.players[i].node.handcards1.childNodes[j]);
for(j=0;j<game.players[i].node.handcards2.childNodes.length;j++)
handcards2.push(game.players[i].node.handcards2.childNodes[j]);
for(j=0;j<game.players[i].node.judges.childNodes.length;j++){
viewAs.push(game.players[i].node.judges.childNodes[j].viewAs);
judges.push(game.players[i].node.judges.childNodes[j]);
}
for(j=0;j<game.players[i].node.equips.childNodes.length;j++)
equips.push(game.players[i].node.equips.childNodes[j]);
player.storage.kunlunjing.push({
player:game.players[i],
handcards1:handcards1,
@ -8486,7 +8486,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.addSkill('miedao');
player.addSkill('jifeng');
player.addSkill('swd_xiuluo');
lib.character.swd_satan=['','qun',4,['moyan','miedao','jifeng','swd_xiuluo'],['temp']];
if(player.name=='swd_miles') player.name='swd_satan';
if(player.name1=='swd_miles') player.name1='swd_satan';
@ -9753,7 +9753,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
swd_xiyan:'犀衍',
swd_shuwaner:'舒莞儿',
swd_xiaohuanglong:'小黄龙',
cyshuiyun:'水云',
cyshuiyun_info:'准备阶段,你可以弃置一名其他角色的一张牌;每当你失去此技能,你可以弃置一名其他角色的一张牌。',
cyliuzi:'流紫',
@ -10019,7 +10019,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
huanxing_info:'准备阶段,你可以弃置一张牌并选择一名男性角色,获得其所有技能,直到你首次受到伤害。',
meihuo:'魅惑',
meihuo_info:'每当你失去最后一张装备牌,你可以获得一名其他角色的一张牌,若此牌来自装备区,你立即装备之。',
touxi:'偷袭',
touxi_info:'在其他角色的结束阶段你可以进行一次判定若结果为黑色你对其造成1点雷电伤害且直到下一回合开始不能再次发动偷袭若结果为红色对方可以弃置你的一张牌。',
touxi_info_alter:'在其他角色的结束阶段你可以进行一次判定若结果为黑色你对其造成1点雷电伤害且直到下一回合开始不能再次发动偷袭若结果为红色对方可以获得你的一张牌。',
@ -10040,12 +10040,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
mingfu_info:'出牌阶段限一次,你可以将一张梅花牌当鬼幽结使用。',
chuanyue:'穿月',
chuanyue_info:'出牌阶段限一次,你可以将两张手牌当决斗使用。',
miedao:'灭道',
miedao1:'灭道',
miedao2:'灭道',
miedao_info:'锁定技摸牌阶段你额外摸X张牌弃牌阶段你至少须弃X张牌不足则全弃X为你已损失的体力值。',
senluo:'森罗',
senluo_info:'出牌阶段限一次,若你的手牌数为全场最少或之一,你可以令所有有手牌的其他角色弃置两张手牌然后摸一张牌。',
polang:'破浪',
@ -10069,7 +10069,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
jilve_info_alter:'出牌阶段,你可以观看牌堆顶的两张牌,然后使用其中的非装备牌。每回合最多发动三次。',
gongshen:'工神',
gongshen_info:'任意一名其他角色使用一张基本牌或锦囊牌指定目标后,你可以弃置一张装备牌令其失效。',
swdliuhong:'流虹',
swdliuhong_info:'每当你使用一张杀,可以摸一张牌。',
poyue:'破月',
@ -10108,7 +10108,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
guiying_info:'你可以将一张黑色牌当偷梁换柱使用。',
shehun:'摄魂',
shehun_info:'出牌阶段限一次你可以弃置任意张花色不同的牌另一名其他角色弃置等量的牌若其弃置的牌中有牌的花色与你弃置的牌相同你对其造成1点伤害。',
zhanlu:'沾露',
luomu:'落木',
jifeng:'魔影',

View File

@ -14624,7 +14624,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
tw_caohong_prefix:'TW将',
tw_maliang:'TW马良',
tw_maliang_prefix:'TW',
twyanqin:'姻亲',
twyanqin_info:'准备阶段,你可以将势力变更为魏或蜀。',
twbaobian:'豹变',
@ -15242,7 +15242,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
twshenyi_info:'每回合限一次,当你或你攻击范围内的一名角色于一回合内首次受到伤害后,你可以声明一种基本牌或锦囊牌(每种牌名限一次),然后从牌堆中将一张同名牌(若没有同名牌则改为同类型的牌)称为“侠义”置于武将牌上。若受伤角色不为你,则你可以将任意张手牌交给其,且当其失去一张你以此法交给其的牌后,你摸一张牌。',
twxinghan:'兴汉',
twxinghan_info:'①你的回合外或你处于濒死状态时你可以如手牌般使用或打出“侠义”牌。②准备阶段若“侠义”牌数大于存活角色数则你可以依次使用其中所有可以使用的牌。然后你获得如下效果回合结束时你弃置所有手牌并失去X点体力X为你的体力值-1且X至少为1。',
tw_mobile:'海外服·稀有专属',
tw_yunchouzhi:'运筹帷幄·智',
tw_yunchouxin:'运筹帷幄·信',

View File

@ -7812,7 +7812,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
dialog.content.appendChild(table);
dialog.add('  ');
dialog.open();
event.switchToAuto=function(){
event.dialog.close();
event.control.close();
@ -14021,7 +14021,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
dclingxi_info:'出牌阶段开始和结束时你可以将至多X张牌称为“翼”置于你的武将牌上X为你的体力上限。当你失去武将牌上的“翼”时你将手牌数调整至Y张Y为你武将牌上的“翼”所含有的花色数的两倍。',
dczhifou:'知否',
dczhifou_info:'当你使用牌结算完毕后你可以移去至少X张武将牌上的“翼”X为本回合此前发动此技能的次数+1然后选择一名角色并选择一项令其执行每个选项每回合限选择一次①将一张牌称为“翼”置于你的武将牌上②弃置两张牌③失去1点体力。',
sp2_yinyu:'隐山之玉',
sp2_huben:'百战虎贲',
sp2_shengun:'奇人异士',

View File

@ -7,39 +7,39 @@ game.import('character',function(lib,game,ui,get,ai,_status){
pal_zhaoliner:['female','wei',3,['huimeng','tianshe']],
pal_linyueru:['female','wei',3,['guiyuan','qijian']],
pal_anu:['female','wu',3,['lingdi','anwugu']],
pal_wangxiaohu:['male','qun',4,['husha']],
pal_sumei:['female','shu',3,['sheying','dujiang','huahu']],
pal_shenqishuang:['female','wei',3,['qixia','jianzhen','binxin']],
pal_jingtian:['male','wu',3,['sajin','jtjubao']],
pal_xuejian:['female','shu',3,['xshuangren','shenmu','duci']],
pal_longkui:['female','qun',3,['fenxing','diewu','lingyu']],
pal_zixuan:['female','wei',3,['shuiyun','wangyou','changnian']],
pal_changqing:['male','wei',4,['luanjian','ctianfu']],
pal_nangonghuang:['male','wei',3,['zhaoyao','sheling','zhangmu']],
pal_wenhui:['female','shu',4,['huxi','longxiang']],
pal_wangpengxu:['female','shu',3,['duxinshu','feixu']],
pal_xingxuan:['male','wei',3,['feizhua','leiyu','lingxue']],
pal_leiyuange:['male','shu',4,['feng','ya','song']],
pal_yuntianhe:['male','wu',4,['longxi','zhuyue','guanri']],
pal_hanlingsha:['female','shu',3,['tannang','tuoqiao']],
pal_liumengli:['female','wei',3,['tianxian','runxin','zhimeng']],
pal_murongziying:['male','wei',4,['xuanning','poyun','qianfang']],
pal_xuanxiao:['male','wei',4,['xuanyan','ningbin','xfenxin']],
pal_jiangyunfan:['male','wei',4,['xunying','liefeng']],
pal_tangyurou:['female','shu',3,['txianqu','qiongguang']],
pal_longyou:['male','wei',4,['yuexing','minsha']],
pal_xiaoman:['female','shu',3,['anwugu','lingquan','shenwu']],
pal_xiahoujinxuan:['male','shu',3,['xuanmo','danqing']],
pal_muchanglan:['female','wu',3,['feixia','lueying']],
pal_xia:['female','shu',3,['xjzongyu','fanling']],
pal_jiangcheng:['male','qun',4,['yanzhan','fenshi']],
pal_yuejinzhao:['male','wei',4,['ywuhun','xjyingfeng']],
pal_yueqi:['female','wei',3,['tianwu','liguang','shiying']],
pal_mingxiu:['female','shu',3,['linghuo','guijin','chengxin']],
@ -51,34 +51,34 @@ game.import('character',function(lib,game,ui,get,ai,_status){
pal_lixiaoyao:'一个天资聪颖的乡下客栈店小二,因一壶酒被酒剑仙传授了蜀山仙剑派剑术,在仙灵岛与赵灵儿相遇,自此经历重重磨难成长为一代旷世奇侠。灵儿牺牲以后他悲痛欲绝。后出任蜀山掌门,取道号一贫,从此御剑行遍天下,行侠仗义、斩妖除魔。多年后因魔教之乱,故引咎卸职,成为蜀山七圣之一。而后虽心力交瘁,但仍竭力保护天下苍生。',
pal_zhaoliner:'林青儿与巫王之女,亦是女娲族人。自幼与世隔绝,跟随姥姥隐居仙灵岛修炼,躲避仇人的追杀。难以告人的神秘身世,让她逃不过命运的捉弄,注定在滚滚红尘中历尽千灾万劫。在最终,赵灵儿为了消灭拜月水魔兽,与其同归于尽。但在王小虎、李忆如决战大魔头千叶禅师的结尾,出现了她的声音。',
pal_linyueru:'天资灵秀,聪敏慧黠,情深义重。身为江南武林魁首林家堡之武门千金,与李逍遥不打不相识,并在此后的寻人旅途中相知相恋。在经历过重重艰辛和生离死别后,遥月二人终于携手而共结连理,与高堂娇儿共享天伦。',
pal_wangxiaohu:'李逍遥的同乡,自小仰慕李逍遥,想要拜在他门下,得知拜师无望之后,遂跟随李大婶学习排云掌法。之后前往杭州拜“三大神捕”之一的”神眼魔刀”盛尊武为师,并习得魔刀刀法。热血少年,敢作敢当,嫉恶如仇,相信人定胜天。他最后发现千叶禅师的阴谋,与众人合力击败千叶禅师。',
pal_sumei:'蛇妖和狐精之女,其父母当年被李逍遥和林月如所杀,因此她一直想要报仇,可以说是为报仇而活着。爱上王小虎,认识李忆如之后,苏媚学会了宽恕,最后甚至为了朋友和爱人牺牲自己。',
pal_shenqishuang:'乳名沈七七,峨嵋山仙霞派掌门清柔师太座下弟子,与四位师姊妹合称“仙霞五奇”,排行第四,个性拘谨温婉,对小虎心怀爱意却不敢开口表达。',
pal_jingtian:'永安当的小伙计,司“管饰”一职,专门保管当铺收押的首饰珠宝类贵重物品。景天不但有鉴别古董珠宝的天赋,而且对买卖、帐目能很精通,对保管的当品更有过目不忘的本事。每日幻想有朝一日能富甲天下或成为人人景仰的蜀山剑仙。',
pal_xuejian:'出身唐门,虽为大小姐,却备受家族内部排挤欺凌。后离开唐家堡,与景天等人一同浪迹江湖并探寻自己的身世秘密。经历各种事件后,与景天结为连理,并育有一子名为景小楼。',
pal_longkui:'古时的姜国公主,景天前世龙阳的妹妹。因国破家亡而跳入铸剑炉,成为魔剑剑灵。龙葵拥有两种性格形态:蓝色龙葵温柔娴淑,红色龙葵火辣张扬。',
pal_zixuan:'女娲族后裔,饱受情爱煎熬三生三世之苦。在面对为了天下苍生而牺牲生命的女娲族宿命时,她坦然接受,把自己用水灵珠修炼的内丹渡给徐长卿使他成为上仙,最后献出自己的生命封印锁妖塔。',
pal_changqing:'蜀山仙剑派俗家弟子。自幼被蜀山掌门清微收为入室弟子,武学天赋极高。与紫萱相恋三世,最终紫萱为修复锁妖塔而牺牲了自己并把自己用水灵珠修炼的内丹渡给徐长卿,使徐长卿迅速成仙并继任蜀山派第二十三代掌门,最后辞去了掌门职务归隐。',
pal_nangonghuang:'出生不久后父母被为了追寻记忆而来燎日所误杀,后来被常纪带到蜀山抚养长大,视同己出。从小希望得到尊敬。后来奉蜀山掌门徐长卿之命开启地脉入口,疏通五灵,从而使蜀山"否极泰来"、回复混沌状态。',
pal_wenhui:'爽朗大方,性情如同男子,极富正义感;内心却是天真少女般剔透明净。因为不愿嫁去室韦而逃出家里,后与南宫煌相遇,并随其完成地脉任务。',
pal_wangpengxu:'原形是一只娇小可爱的五毒兽。擅长读心术,可以看透人的心思。多次被南宫煌无意中救下,后跟随其恢复地脉。',
pal_xingxuan:'南宫煌之兄,幼时被燎日带走并由其抚养长大。身体其实是一具尸体(尸体是其父赤炎的),不仅残缺而且带有剧毒。初,灵肉分离,身体毫无感觉,后经重楼相助灵肉合一。为使尸身不坏,使用剧毒保存,故无法进入人界,绝大多数时间身在里蜀山。有领导才能,凭借自身上位者的气质和才干,在里蜀山妖界占据了一定势力。',
pal_leiyuange:'是个来历成谜的木讷男子,擅长使用弩、单手斧,有三只名为风雅颂的怪鸟时常出现在他的头顶代替其言语。生前为室韦族族长,死后尸体被鬼差附身。在胜洲与南宫煌与温慧等人结识,并成为好友。',
pal_yuntianhe:'自幼孤身一人在黄山青鸾峰长大,从未下过山,对外界事物一无所知。一次偶然的机会与闯入父亲的墓室寻找宝藏的少女韩菱纱相遇。为了更多地了解父亲的过去、也为了成为剑仙,云天河与韩菱纱和柳梦璃一同拜入昆仑琼华派成为门下弟子。下山后云天河虽经历种种,但从未改变过“我命由我不由天”的想法。',
pal_hanlingsha:'背负着家族命运而四处奔走的少女,自称是独行千里的陵墓大盗。年纪不大,却对辨识墓穴位置、破解奇诡机关、地脉风水之学颇有研究。',
pal_liumengli:'妖界婵幽之女因19年前妖界大战而失散被云天青行侠救下后送至寿阳城县家抚养。',
pal_murongziying:'昆仑琼华派弟子。很小就被家人送至琼华派修行,天赋极高,在同辈弟子中修为较深,已臻“以气御剑”的境界。性格外冷内热,稳重内敛;看似不易相处,实则是一个恩怨分明、极重情义的热血男儿。',
pal_xuanxiao:'天赋异禀资质极佳是万中无一的修仙奇才和夙玉用双剑束缚幻瞑界吸取灵力并引发琼华派与妖界之战。因夙玉离开昆仑修炼双剑中断他被邪火入侵而走火入魔打伤数名师兄弟被夙瑶联合青阳、重光与宗炼长老冰封19年因此逢缘与云天河结拜。',
// pal_jiangyunfan:'',
// pal_tangyurou:'',
// pal_longyou:'',
// pal_xiaoman:'',
pal_xiahoujinxuan:'夏侯世家的少主。因不喜舞枪弄剑,专爱趣闻逸史,让父亲深感恨铁不成钢;好在他对于仙术符法也有所涉略,没沦落到手无缚鸡之力的境地。',
pal_muchanglan:'行走江湖买卖消息的佣兵,冷艳霸气,洞察力强。受人雇佣而加入夏侯瑾轩等一行人,虽然目的不纯,但通过相处,渐渐地被改变;同时通过夏侯瑾轩等人的帮助,完成了救治暮蔼村村民的心愿。',
pal_xia:'走江湖卖艺为生的孤女,性格倔强,自尊心强,不喜欢被人小看,更不爱占别人的便宜。卖艺的艰辛让她深知人间冷暖,却仍保持善良天性。',
@ -787,12 +787,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
trigger.cancel();
player.awakenSkill('shiying');
player.storage.shiying=true;
player.maxHp=3;
player.hp=3;
trigger.player.maxHp=3;
trigger.player.hp=3;
player.clearSkills();
trigger.player.clearSkills();
'step 1'
@ -1061,28 +1061,28 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var handcards1,handcards2,judges,equips,viewAs,i,j;
event.data=[];
event.cardPile=[];
for(i=0;i<game.players.length;i++){
viewAs=[];
handcards1=[];
handcards2=[];
judges=[];
equips=[];
for(j=0;j<game.players[i].node.handcards1.childNodes.length;j++)
handcards1.push(game.players[i].node.handcards1.childNodes[j]);
for(j=0;j<game.players[i].node.handcards2.childNodes.length;j++)
handcards2.push(game.players[i].node.handcards2.childNodes[j]);
for(j=0;j<game.players[i].node.judges.childNodes.length;j++){
viewAs.push(game.players[i].node.judges.childNodes[j].viewAs);
judges.push(game.players[i].node.judges.childNodes[j]);
}
for(j=0;j<game.players[i].node.equips.childNodes.length;j++)
equips.push(game.players[i].node.equips.childNodes[j]);
event.data.push({
player:game.players[i],
handcards1:handcards1,
@ -4114,12 +4114,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
pal_muchanglan:'暮菖兰',
pal_xia:'瑕',
pal_jiangcheng:'姜承',
pal_jiangyunfan:'姜云凡',
pal_tangyurou:'唐雨柔',
pal_longyou:'龙幽',
pal_xiaoman:'小蛮',
pal_wangxiaohu:'王小虎',
pal_sumei:'苏媚',
pal_shenqishuang:'沈欺霜',
@ -4129,30 +4129,30 @@ game.import('character',function(lib,game,ui,get,ai,_status){
pal_wangpengxu:'王蓬絮',
pal_xingxuan:'星璇',
pal_leiyuange:'雷元戈',
pal_zhaoliner:'赵灵儿',
pal_linyueru:'林月如',
pal_lixiaoyao:'李逍遥',
pal_xuejian:'雪见',
pal_jingtian:'景天',
pal_zixuan:'紫萱',
pal_anu:'阿奴',
pal_yuntianhe:'云天河',
pal_hanlingsha:'韩菱纱',
pal_liumengli:'柳梦璃',
pal_murongziying:'慕容紫英',
pal_changqing:'长卿',
pal_xuanxiao:'玄霄',
pal_yuejinzhao:'越今朝',
pal_yueqi:'越祈',
pal_luozhaoyan:'洛昭言',
pal_xianqing:'闲卿',
pal_mingxiu:'明绣',
pal_jushifang:'居十方',
xyufeng:'御蜂',
xyufeng_info:'出牌阶段限一次,可以将一张黑桃牌当作机关蜂使用。',
lingquan:'灵泉',

View File

@ -64,7 +64,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zhangsong:['male','shu',3,['qiangzhi','xiantu']],
zhuhuan:['male','wu',4,['fenli','pingkou']],
xiahoushi:['female','shu',3,['qiaoshi','yanyu']],
panzhangmazhong:['male','wu',4,['duodao','anjian']],
zhoucang:['male','shu',4,['xinzhongyong']],
guanping:['male','shu',4,['longyin']],
@ -74,7 +74,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
caozhen:['male','wei',4,['xinsidi']],
wuyi:['male','shu',4,['benxi'],['clan:陈留吴氏']],
hanhaoshihuan:['male','wei',4,['shenduan','yonglve']],
caorui:['male','wei',3,['huituo','mingjian','xingshuai'],['zhu']],
caoxiu:['male','wei',4,['qianju','qingxi']],
zhongyao:['male','wei',3,['huomo','zuoding'],['clan:颍川钟氏']],
@ -85,31 +85,31 @@ game.import('character',function(lib,game,ui,get,ai,_status){
quancong:['male','wu',4,['yaoming']],
gongsunyuan:['male','qun',4,['huaiyi']],
guotufengji:['male','qun',3,['jigong','shifei']],
xin_liru:['male','qun',3,['xinjuece','xinmieji','xinfencheng']],
guohuanghou:['female','wei',3,['jiaozhao','danxin']],
liuyu:['male','qun',2,['xinzhige','xinzongzuo']],
liyan:['male','shu',3,['dcduliang','fulin']],
sundeng:['male','wu',4,['kuangbi']],
cenhun:['male','wu',4,['jishe','lianhuo']],
huanghao:['male','shu',3,['qinqing','huisheng']],
zhangrang:['male','qun',3,['taoluan'],['sex:male_castrated']],
sunziliufang:['male','wei',3,['guizao','jiyu']],
xinxianying:['female','wei',3,['zhongjian','caishi']],
wuxian:['female','shu',3,['fumian','daiyan'],['clan:陈留吴氏']],
xushi:['female','wu',3,['wengua','fuzhu']],
caojie:['female','qun',3,['shouxi','huimin']],
caiyong:['male','qun',3,['bizhuan','tongbo']],
jikang:['male','wei',3,['qingxian','juexiang']],
qinmi:['male','shu',3,['jianzheng','zhuandui','tianbian']],
xuezong:['male','wu',3,['funan','xinjiexun']],
old_huaxiong:['male','qun',6,['shiyong']],
yujin:["male","wei",4,["rezhenjun"],[]],
},
characterIntro:{
@ -14053,7 +14053,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
jikang:'嵇康',
qinmi:'秦宓',
caiyong:'蔡邕',
"new_qingxian":"清弦",
"new_qingxian_info":"出牌阶段限一次你可以弃置至多X张牌并选择等量的其他角色。这些角色中装备区内牌数少于你的回复1点体力等于你的摸一张牌多于你的失去1点体力。若你以此法指定的角色数等于X则你摸一张牌。X为你的体力值",
"new_juexiang":"绝响",
@ -14299,13 +14299,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
xinpojun:'破军',
xinpojun2:'破军',
xinpojun_info:'当你于出牌阶段内使用【杀】指定一个目标后你可以将其至多X张牌扣置于该角色的武将牌旁X为其体力值。若如此做当前回合结束后该角色获得其武将牌旁的所有牌。',
qiaoshi:'樵拾',
qiaoshi_info:'其他角色的结束阶段开始时,若你的手牌数与其相等,则你可以与其各摸一张牌。',
yanyu:'燕语',
yanyu2:'燕语',
yanyu_info:'出牌阶段,你可以重铸【杀】。出牌阶段结束时,若你于此阶段以此法重铸了至少两张【杀】,则你可以令一名男性角色摸两张牌。',
zzhenggong:'争功',
zzhenggong_info:'当你受到伤害后,你可以获得伤害来源装备区里的一张牌并置入你的装备区。',
zquanji:'权计',
@ -14373,7 +14373,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
junxing_info:'出牌阶段限一次你可以弃置至少一张手牌并选择一名其他角色该角色需弃置一张与你弃置的牌类别均不同的手牌否则其先将其武将牌翻面再摸X张牌X为你以此法弃置的手牌数量。',
xinjunxing:'峻刑',
xinjunxing_info:'出牌阶段限一次,你可以弃置至少一张手牌并选择一名其他角色,该角色需弃置一张与你弃置的牌类别均不同的手牌,否则其先将其武将牌翻面,然后将手牌摸至四张。',
xswuyan:'无言',
xinwuyan:'无言',
jujian:'举荐',
@ -14611,7 +14611,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
feiyao:'费曜',
zhenfeng:'镇锋',
zhenfeng_info:'每回合限一次。当其他角色于其回合内使用牌时若其手牌数不大于其体力值你可以猜测其手牌中与此牌类别相同的牌数。若你猜对你摸X张牌并视为对其使用一张【杀】X为你连续猜对的次数且至多为5若你猜错且差值大于1其视为对你使用一张【杀】。',
yijiang_2011:'一将成名2011',
yijiang_2012:'一将成名2012',
yijiang_2013:'一将成名2013',

View File

@ -3982,7 +3982,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
oltousui_info:'你可以将任意张牌置于牌堆底,视为使用一张需使用等量张【闪】抵消的【杀】。',
olchuming:'畜鸣',
olchuming_info:'锁定技。当你对其他角色造成伤害时,或当你受到其他角色造成的伤害时,若此伤害的渠道不为牌或没有对应的实体牌,此伤害+1否则其于本回合结束时将所有以此法造成伤害的牌当【借刀杀人】或【过河拆桥】对你使用。',
yingbian_pack1:'文德武备·理',
yingbian_pack2:'文德武备·备',
yingbian_pack3:'文德武备·果',

View File

@ -1270,7 +1270,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.awakenSkill('heqin');
player.addSkill('heqin2');
target.addSkill('heqin2');
target.marks.heqin=target.markCharacter(player,{
name:'和亲',
content:'摸牌阶段摸牌数+1'
@ -1281,10 +1281,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
id:'heqin',
target:player.dataset.position
});
player.storage.heqin=target;
target.storage.heqin=player;
player.marks.heqin=player.markCharacter(target,{
name:'和亲',
content:'摸牌阶段摸牌数+1'
@ -2184,7 +2184,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(trigger.target.hasSkill('yijue2')) return 0;
if(trigger.target.hasSkill('shejie2')) return 0;
if(trigger.target.hasSkill('shanguang2')) return 0;
var equip=trigger.target.getEquip(2);
if(equip&&equip.name=='bagua') return 1;
return trigger.target.countCards('h')<2?0:1;
@ -2930,7 +2930,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
yxs_lanlinwang:'兰陵王',
yxs_meixi:'妹喜',
yxs_qinqiong:"秦琼",
yxs_fanji:"反击",
yxs_fanji2:"反击",
yxs_fanji_info:"当你受到【杀】或【决斗】造成的伤害后,你可以对伤害来源使用一张【杀】。若此【杀】为红色,其不可闪避。",
@ -3095,7 +3095,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
seyou_info:'限定技出牌阶段你可以指定任意1名角色其他所有男性角色需选择1项执行1对你指定的角色出【杀】2令你获得其一张牌。',
sheshi:'蛇噬',
sheshi_info:'每受到1次伤害可以指定1种花色依次展示牌堆顶的牌直到出现指定花色的牌为止你获得与指定花色不同花色的所有牌最多展示四张牌。',
fengyi:'凤仪',
fengyi_info:'出牌阶段,你可以弃一张手牌,指定任意目标摸两张牌。(每回合限用一次)',
wange:'婉歌',

View File

@ -311,11 +311,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
qixiang2:'祺祥',
nianrui_info:'准备阶段和结束阶段,你可以进行一次判定,若结果为红色则摸一张牌。',
qixiang_info:'乐不思蜀判定时,你的方块判定牌视为红桃;兵粮寸断判定时,你的黑桃判定牌视为草花。',
mamian:'马面',
lianyu:'炼狱',
lianyu_info:'出牌阶段限一次你可以弃置一张红色手牌令场上所有角色受到1点火焰伤害。',
niutou:'牛头',
manjia:'蛮甲',
manjia1:'蛮甲',
@ -325,13 +325,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
xiaoshou_info:'结束阶段若场上体力值最多的角色只有一个你可以对其造成1点火焰伤害。',
guiji:'诡计',
guiji_info:'锁定技,准备阶段结束时,若你的判定区内有牌,你随机弃置其中一张牌。',
baiwuchang:'白无常',
qiangzheng:'强征',
qiangzheng_info:'锁定技,结束阶段,你获得一名其他角色的一张手牌。',
zuijiu:'醉酒',
zuijiu_info:'锁定技,你的黑杀造成的伤害+1造成伤害后须弃置一张手牌。',
heiwuchang:'黑无常',
suoling:'索令',
suoling_info:'锁定技,结束阶段,你解除横置状态,除你之外的所有角色进入横置状态。',

View File

@ -77,7 +77,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.onresume=onresume;
game.onresume2=onresume;
ui.create.div(bosslist);
event.current=null;
var list=[];
for(var i in lib.character){
@ -111,7 +111,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
player.node.identity.dataset.color=info[5];
// bosslistlinks[cfg]=player;
player.classList.add('bossplayer');
if(lib.storage.current==i){
event.current=player;
player.classList.add('highlight');
@ -121,7 +121,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
_status.bosschoice.link=lib.boss[i].controlid||i;
}
}
// if(!get.config(cfg)){
// player.style.display='none';
// }
@ -148,9 +148,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
setTimeout(function(){
ui.control.style.transitionProperty='';
},1000);
ui.window.appendChild(bosslist);
setTimeout(function(){
if(event.current){
var left=event.current.offsetLeft-(ui.window.offsetWidth-180)/2;
@ -215,7 +215,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
for(var i in lib.boss[event.current.name]){
game.bossinfo[i]=lib.boss[event.current.name][i];
}
setTimeout(function(){
ui.control.classList.remove('bosslist');
},500);
@ -319,7 +319,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.arena.classList.add('single-handcard');
ui.window.classList.add('single-handcard');
game.onSwapControl();
if(lib.config.show_handcardbutton){
lib.setPopped(ui.create.system('手牌',null,true),function(){
var uiintro=ui.create.dialog('hidden');
@ -346,10 +346,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(game.bossinfo.chongzheng){
lib.setPopped(ui.create.system('重整',null,true),function(){
var uiintro=ui.create.dialog('hidden');
uiintro.add('重整');
var table=ui.create.div('.bosschongzheng');
var tr,td,added=false;
for(var i=0;i<game.dead.length;i++){
if(typeof game.dead[i].storage.boss_chongzheng!=='number') continue;
@ -395,7 +395,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(get.config('single_control')||game.me==game.boss){
ui.single_swap.style.display='none';
}
ui.arena.appendChild(boss);
if(boss.bossinginfo){
var rect=boss.getBoundingClientRect();
@ -408,14 +408,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss.node.equips.style.opacity='';
},500);
}
event.bosslist.delete();
game.arrangePlayers();
for(var i=0;i<game.players.length;i++){
game.players[i].node.action.innerHTML='行动';
}
var players=get.players(lib.sort.position);
var info=[];
for(var i=0;i<players.length;i++){
@ -829,43 +829,43 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_taotie:['male','qun',20,['boss_xiongshou','boss_tanyu','boss_cangmu','boss_jicai','boss_jicai_switch'],['qun','boss','bossallowed'],'qun'],
boss_taowu:['male','qun',25,['boss_xiongshou','boss_minwan','boss_nitai','boss_luanchang','boss_luanchang_switch'],['qun','boss','bossallowed'],'qun'],
boss_zhuyin:['male','qun',4,['boss_xiongshou'],['qun','hiddenboss','bossallowed'],'qun'],
boss_xiangliu:['male','qun',25,['boss_yaoshou','boss_duqu','boss_jiushou','boss_echou','boss_echou_switch'],['qun','boss','bossallowed'],'qun'],
boss_zhuyan:['male','qun','25/30',['boss_yaoshou','boss_bingxian','boss_juyuan','boss_xushi','boss_xushi_switch'],['qun','boss','bossallowed'],'qun'],
boss_bifang:['male','qun',25,['boss_yaoshou','boss_zhaohuo','boss_honglianx','boss_yanyu','boss_yanyu_switch'],['qun','boss','bossallowed'],'qun'],
boss_yingzhao:['male','qun',25,['boss_yaoshou','boss_fengdong','boss_xunyou','boss_sipu','boss_sipu_switch'],['qun','boss','bossallowed'],'qun'],
boss_qingmushilian:['male','',0,['boss_qingmu','boss_qingmu_intro1','boss_qingmu_intro2','boss_qingmu_intro3'],['boss'],'wu'],
boss_qinglong:['male','qun',4,['boss_shenyi','releiji','boss_qingmu2'],['wu','hiddenboss','bossallowed']],
boss_mushengoumang:['male','shen',5,['boss_shenyi','boss_buchun','boss_qingmu3'],['wu','hiddenboss','bossallowed']],
boss_shujing:['female','shen',2,['boss_cuidu'],['wu','hiddenboss','bossallowed']],
boss_taihao:['male','shen',6,['boss_shenyi','boss_shenen','boss_qingyi'],['wu','hiddenboss','bossallowed']],
boss_chiyanshilian:['male','',0,['boss_chiyan','boss_chiyan_intro1','boss_chiyan_intro2','boss_chiyan_intro3'],['boss'],'zhu'],
boss_zhuque:['female','shen',4,['boss_shenyi','boss_fentian','boss_chiyan2'],['shu','hiddenboss','bossallowed']],
boss_huoshenzhurong:['male','shen',5,['boss_shenyi','boss_xingxia','boss_chiyan3'],['shu','hiddenboss','bossallowed']],
boss_yanling:['male','shen',4,['boss_huihuo','boss_furan'],['shu','hiddenboss','bossallowed']],
boss_yandi:['male','shen',6,['boss_shenyi','boss_shenen','boss_chiyi'],['shu','hiddenboss','bossallowed']],
boss_baimangshilian:['male','',0,['boss_baimang','boss_baimang_intro1','boss_baimang_intro2','boss_baimang_intro3'],['boss'],'qun'],
boss_baihu:['male','shen',4,['boss_shenyi','boss_kuangxiao','boss_baimang2'],['qun','hiddenboss','bossallowed']],
boss_jinshenrushou:['male','shen',5,['boss_shenyi','boss_xingqiu','boss_baimang3'],['qun','hiddenboss','bossallowed']],
boss_mingxingzhu:['female','shen',3,['boss_qingzhu','boss_jiazu','boss_jiding'],['qun','hiddenboss','bossallowed']],
boss_shaohao:['male','shen',6,['boss_shenyi','boss_shenen','boss_baiyi'],['qun','hiddenboss','bossallowed']],
boss_xuanlinshilian:['male','',0,['boss_xuanlin','boss_xuanlin_intro1','boss_xuanlin_intro2','boss_xuanlin_intro3'],['boss'],'wei'],
boss_xuanwu:['male','shen',4,['boss_shenyi','boss_lingqu','boss_xuanlin2'],['wei','hiddenboss','bossallowed']],
boss_shuishengonggong:['male','shen',5,['boss_shenyi','boss_juehong','boss_xuanlin3'],['wei','hiddenboss','bossallowed']],
boss_shuishenxuanming:['female','shen',5,['boss_shenyi','boss_zirun','boss_xuanlin3'],['wei','hiddenboss','bossallowed']],
boss_zhuanxu:['male','shen',6,['boss_shenyi','boss_shenen','boss_zaoyi'],['wei','hiddenboss','bossallowed']],
boss_zhuoguiquxie:['male','',0,['boss_bianshen','boss_bianshen_intro1','boss_bianshen_intro2','boss_bianshen_intro3','boss_bianshen_intro4'],['boss'],'shu'],
boss_nianshou_heti:['male','shen',12,['boss_nianrui','boss_mengtai','boss_nbianshen','boss_nbianshenx'],['shu','boss','bossallowed'],'shu'],
boss_nianshou_jingjue:['male','shen',12,['boss_nianrui','boss_mengtai','boss_jingjue','boss_nbianshen'],['shu','hiddenboss','bossallowed'],'shu'],
boss_nianshou_renxing:['male','shen',12,['boss_nianrui','boss_mengtai','boss_renxing','boss_nbianshen'],['shu','hiddenboss','bossallowed'],'shu'],
boss_nianshou_ruizhi:['male','shen',12,['boss_nianrui','boss_mengtai','boss_ruizhi','boss_nbianshen'],['shu','hiddenboss','bossallowed'],'shu'],
boss_nianshou_baonu:['male','shen',12,['boss_nianrui','boss_mengtai','boss_nbaonu','boss_shouyi','boss_nbianshen'],['shu','hiddenboss','bossallowed'],'shu'],
boss_baiwuchang:['male','shen',9,['boss_baolian','boss_qiangzheng','boss_zuijiu','juece','boss_bianshen4'],['shu','hiddenboss','bossallowed']],
boss_heiwuchang:['male','shen',9,['boss_guiji','boss_taiping','boss_suoming','boss_xixing','boss_bianshen4'],['shu','hiddenboss','bossallowed']],
boss_luocha:['female','shen',12,['boss_modao','boss_yushou','yizhong','boss_moyany'],['shu','hiddenboss','bossallowed']],
@ -876,7 +876,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_mo:['female','shen',5,['boss_guimei','enyuan','boss_beiming','boss_bianshen2'],['shu','hiddenboss','bossallowed']],
boss_wang:['male','shen',5,['boss_guimei','boss_luolei','huilei','boss_bianshen2'],['shu','hiddenboss','bossallowed']],
boss_liang:['female','shen',5,['boss_guimei','boss_guihuo','boss_minbao','boss_bianshen2'],['shu','hiddenboss','bossallowed']],
boss_qinguangwang:['male','qun',3,['boss_panguan','boss_juhun','boss_wangxiang','boss_newhuanren'],['shu','boss','bossallowed'],'shu'],
boss_chujiangwang:['male','qun',4,['weimu','refankui','boss_bingfeng'],['shu','hiddenboss','bossallowed']],
boss_songdiwang:['male','qun',4,['boss_heisheng','boss_shengfu','enyuan'],['shu','hiddenboss','bossallowed']],
@ -890,33 +890,33 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_mengpo:['female','qun',3,['boss_shiyou','boss_wanghun','boss_wangshi'],['shu','hiddenboss','bossallowed']],
boss_dizangwang:['male','qun',8,['boss_bufo','boss_wuliang','boss_dayuan','boss_diting'],['shu','hiddenboss','bossallowed']],
//boss_shikieiki:['female','qun',8,['boss_yingzhong'],['qun','hiddenboss','bossallowed']],
boss_lvbu1:['male','shen',8,['mashu','wushuang','boss_baonu','boss_jingjia','boss_aozhan'],['qun','boss','bossallowed'],'qun'],
boss_lvbu2:['male','shen',6,['mashu','wushuang','xiuluo','shenwei','shenji'],['qun','hiddenboss','bossallowed'],'qun'],
boss_lvbu3:['male','shen',6,['wushuang','shenqu','jiwu'],['qun','hiddenboss','bossallowed'],'qun'],
boss_caocao:['male','shen',12,['boss_guixin','xiongcai'],['wei','boss','bossallowed'],'wei'],
boss_guojia:['male','shen',4,['tiandu','boss_guimou','boss_yuance','boss_qizuo'],['wei','boss','bossallowed'],'zhu'],
boss_zhangchunhua:['female','shen',4,['jueqing','boss_wuxin','shangshix'],['wei','boss','bossallowed'],'wei'],
boss_zhenji:['female','shen',4,['tashui','lingbo','jiaoxia','fanghua'],['wei','boss','bossallowed'],'wei'],
boss_liubei:['male','shen',8,['xiaoxiong','boss_zhangwu'],['shu','boss','bossallowed'],'qun'],
boss_zhugeliang:['male','shen',Infinity,['xiangxing','yueyin','fengqi','gaiming'],['shu','boss','bossallowed'],'qun'],
boss_huangyueying:['female','shen',4,['boss_gongshen','boss_jizhi','qicai','boss_guiyin'],['shu','boss','bossallowed'],'wei'],
boss_pangtong:['male','shen',4,['boss_tianyu','qiwu','niepan','boss_yuhuo'],['shu','boss','bossallowed'],'zhu'],
boss_zhouyu:['male','shen',6,['huoshen','boss_honglian','boss_xianyin'],['wu','boss','bossallowed'],'zhu'],
boss_caiwenji:['female','shen',4,['beige','boss_hujia','boss_guihan'],['qun','boss','bossallowed'],'wei'],
boss_zhangjiao:['male','shen',8,['boss_leiji','tiandao','jidian'],['qun','boss','bossallowed'],'shu'],
boss_zuoci:['male','shen',0,['huanhua'],['qun','boss','bossallowed'],'shu'],
boss_diaochan:['female','shen',4,['fengwu','yunshen','lianji','boss_wange','yuehun'],['qun','boss','bossallowed'],'qun'],
boss_huatuo:['male','shen',6,['chulao','mazui','boss_shengshou','guizhen','wuqin'],['qun','boss','bossallowed'],'wu'],
boss_dongzhuo:['male','shen',20,['jiuchi','boss_qiangzheng','boss_baolin'],['qun','boss','bossallowed'],'shu'],
"boss_sunce":["male","shen","1/8",["boss_jiang","boss_hunzi","boss_hunyou","boss_taoni"],['qun','boss','bossallowed'],'wu'],
// boss_nianshou:['male','shen',Infinity,['boss_nianrui','boss_qixiang','boss_damagecount'],['boss'],'shu'],
// boss_yuji:['male','qun',8,[],['boss','bossallowed'],'nei'],
// boss_shuijing:['male','qun',8,[],['boss','bossallowed'],'wei'],
@ -957,7 +957,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
player=game.boss;
delete game.boss;
}
player.delete();
game.players.remove(player);
game.dead.remove(player);
@ -1085,7 +1085,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.versushighlight=game.me;
game.me.classList.add('current_action');
// game.me.line(ui.fakeme,{opacity:0.5,dashed:true});
ui.fakeme.style.backgroundImage=game.me.node.avatar.style.backgroundImage;
// ui.fakeme.style.backgroundSize='cover';
}
@ -1175,14 +1175,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.changeCoin(-3);
}
list.randomSort();
var buttons=ui.create.div('.buttons');
var node=_status.event.dialog.buttons[0].parentNode;
_status.event.dialog.buttons=ui.create.buttons(list.slice(0,20),'character',buttons);
_status.event.dialog.content.insertBefore(buttons,node);
buttons.addTempClass('start');
node.remove();
game.uncheck();
game.check();
};
@ -1257,7 +1257,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.create.cheat();
if(!ui.cheat2&&get.config('free_choose'))
ui.create.cheat2();
event.asboss=ui.create.control('应战',function(){
event.boss=true;
event.enemy=[];
@ -1500,7 +1500,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var dialog=control.dialog;
dialog.content.removeChild(control.backup1);
dialog.buttons.removeArray(control.backup2);
game.uncheck();
game.check();
}
@ -1532,7 +1532,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
dialog.buttons.addArray(this.backup2);
}
this.classList.toggle('glow');
game.uncheck();
game.check();
});
@ -2692,7 +2692,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
target.damage('fire');
}
},
boss_huoxing:{
trigger:{player:'die'},
forceDie:true,
@ -3498,7 +3498,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},
},
},
boss_yaoshou:{
mod:{
globalFrom:function(from,to,distance){
@ -6455,7 +6455,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
event.dialog=ui.create.dialog(judgestr);
event.dialog.classList.add('center');
event.dialog.videoId=event.videoId;
game.addVideo('judge1',player,[get.cardInfo(card),judgestr,event.videoId]);
for(var i=0;i<event.cards.length;i++) event.cards[i].discard();
// var node=card.copy('thrown','center',ui.arena).addTempClass('start');
@ -8855,7 +8855,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
zhu:'神',
cai:'盟',
zhong:'从',
boss_chi:'魑',
boss_mo:'魅',
boss_wang:'魍',
@ -8867,14 +8867,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_luocha:'罗刹',
boss_yecha:'夜叉',
boss_zhuoguiquxie:'捉鬼驱邪',
boss_nianshou:'年兽',
boss_nianshou_heti:'年兽',
boss_nianshou_jingjue:'警觉年兽',
boss_nianshou_renxing:'任性年兽',
boss_nianshou_baonu:'暴怒年兽',
boss_nianshou_ruizhi:'睿智年兽',
boss_shuijing:'水镜先生',
boss_huangyueying:'奇智女杰',
boss_zhangchunhua:'冷血皇后',
@ -8897,13 +8897,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_diaochan:'绝代妖姬',
boss_guojia:'世之奇士',
boss_caocao:'魏武大帝',
boss_chiyanshilian:'夏之试炼',
boss_zhuque:'朱雀',
boss_huoshenzhurong:'火神祝融',
boss_yanling:'焰灵',
boss_yandi:'炎帝',
boss_hundun:'混沌',
boss_qiongqi:'穷奇',
boss_taowu:'梼杌',
@ -8913,7 +8913,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_zhuyan:'朱厌',
boss_bifang:'毕方',
boss_yingzhao:'英招',
boss_yaoshou:'妖兽',
boss_yaoshou_info:'锁定技,你与其他角色计算-2。',
boss_duqu:'毒躯',
@ -8945,7 +8945,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_sipu:'司圃',
boss_sipu_switch:'司圃',
boss_sipu_info:'体力值首次减少至一半或更少时激活此技能。锁定技你的出牌阶段内若你使用的牌数小于等于2张其他角色无法使用或打出牌。',
boss_wuzang:'无脏',
boss_wuzang_info:'锁定技摸牌阶段你的摸牌基数改为XX为你的体力值一半且至少为5你的手牌上限基数为0。',
boss_xiangde:'相德',
@ -8995,25 +8995,25 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
honghuangzhili:'洪荒之力',
honghuangzhili_cbg:'洪',
honghuangzhili_info:'若该角色的势力是神,你获得其一张牌,其〖神裔〗无效直到其下家的回合(这个下家是动态变化的,会随着一个人的死或者复活而变化)开始;若该角色的势力不是神,其翻面。',
boss_qingmushilian:'春之试炼',
boss_qinglong:'青龙',
boss_mushengoumang:'木神勾芒',
boss_shujing:'树精',
boss_taihao:'太昊',
boss_baimangshilian:'秋之试炼',
boss_baihu:'白虎',
boss_jinshenrushou:'金神蓐收',
boss_mingxingzhu:'明刑柱',
boss_shaohao:'少昊',
boss_xuanlinshilian:'冬之试炼',
boss_xuanwu:'玄武',
boss_shuishenxuanming:'水神玄冥',
boss_shuishengonggong:'水神共工',
boss_zhuanxu:'颛顼',
boss_lingqu:'灵躯',
boss_lingqu_info:'锁定技,当你受到伤害后,你摸一张牌,然后手牌上限+1防止你受到的大于1点的伤害。',
boss_zirun:'滋润',
@ -9060,7 +9060,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_zhongdu_info:'锁定技回合开始时你进行判定若结果不为红桃你受到1点无来源的伤害若结果不为黑桃你失去此技能。',
boss_qingyi:'青仪',
boss_qingyi_info:'锁定技第三轮开始时己方角色各回复1点体力第五轮开始时敌方角色各失去1点体力第七轮开始时复活木神勾芒和树精使其各摸三张牌各+1体力上限然后各回复3点体力。',
boss_guimou:'鬼谋',
boss_guimou_info:'结束阶段,你可以令一名随机的其他角色进入混乱状态直到其下一回合结束。',
boss_yuance:'远策',
@ -9090,7 +9090,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gaiming_info:'锁定技,在你的判定牌生效前,你观看牌堆顶的七张牌并选择一张作为判定结果,此结果不可更改。',
fengqi:'风起',
fengqi_info:'准备阶段和结束阶段,你可以视为使用任意一张普通锦囊牌。',
jiaoxia:'皎霞',
jiaoxia_info:'每当你成为红色牌的目标,你可以摸一张牌。',
lingbo:'凌波',
@ -9105,7 +9105,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
mazui:'麻醉',
mazui2:'麻醉',
mazui_info:'出牌阶段限一次,你可以将一张黑色手牌置于一名角色的武将牌上,该角色造成的下一次伤害-1然后获得此牌。',
boss_nbianshen:'变形',
boss_nbianshenx:'变形',
boss_nbianshenx_info:'你从第二轮开始,每一轮幻化为警觉、任性、睿智、暴怒四种随机状态中的一种。',
@ -9121,19 +9121,19 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_nbaonu_info:'锁定技摸牌阶段你改为摸X张牌X为4到你体力值间的随机数若你的体力值小于5则你使用【杀】造成的伤害+1且无次数限制。',
boss_shouyi:'兽裔',
boss_shouyi_info:'锁定技,你使用牌无距离限制。',
boss_nianrui:'年瑞',
boss_nianrui_info:'锁定技,摸牌阶段,你额外摸两张牌。',
boss_qixiang:'祺祥',
boss_qixiang1:'祺祥',
boss_qixiang2:'祺祥',
boss_qixiang_info:'乐不思蜀判定时,你的方块判定牌视为红桃;兵粮寸断判定时,你的黑桃判定牌视为草花。',
qiwu:'栖梧',
qiwu_info:'锁定技。每当你使用一张梅花牌你回复1点体力。',
jizhen:'激阵',
jizhen_info:'结束阶段,你可以令所至多两名已受伤角色摸一张牌。',
boss_yushou:'驭兽',
boss_yushou_info:'出牌阶段开始时,你可以对所有敌方角色使用一张【南蛮入侵】。',
boss_moyany:'魔炎',
@ -9144,7 +9144,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_mojian_info:'出牌阶段开始时,你可以对所有敌方角色使用一张【万箭齐发】。',
boss_danshu:'丹术',
boss_danshu_info:'每当你于回合外失去牌时你可以进行一次判定若结果为红色你回复1点体力。',
boss_zuijiu:'醉酒',
boss_zuijiu_info:'锁定技,你因【杀】造成伤害时,此伤害+1。',
boss_taiping:'太平',
@ -9153,7 +9153,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_suoming_info:'结束阶段,将任意名未被横置的其他角色的武将牌横置。',
boss_xixing:'吸星',
boss_xixing_info:'准备阶段对任意一名横置的其他角色造成1点雷电伤害然后回复1点体力。',
boss_baolian:'暴敛',
boss_baolian_info:'锁定技,结束阶段,你摸两张牌。',
boss_manjia:'蛮甲',
@ -9164,7 +9164,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_guiji_info:'锁定技,准备阶段结束时,若你的判定区内有牌,你随机弃置其中一张牌。',
boss_lianyu:'炼狱',
boss_lianyu_info:'结束阶段你可以对所有敌方角色造成1点火焰伤害。',
boss_guihuo:'鬼火',
boss_guihuo_info:'结束阶段你可以对一名其他角色造成1点火焰伤害。',
boss_minbao:'冥爆',
@ -9179,7 +9179,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_didong_info:'结束阶段,你可以选择一名敌方角色将其武将牌翻面。',
boss_shanbeng:'山崩',
boss_shanbeng_info:'锁定技,当你死亡时,你令所有其他角色弃置其装备区内的所有牌。',
boss_chiyan_intro1:'&nbsp;第一关',
boss_chiyan_intro1_info:'挑战朱雀',
boss_chiyan_intro2:'&nbsp;第二关',
@ -9187,7 +9187,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_chiyan_intro3:'&nbsp;第三关',
boss_chiyan_intro3_info:'挑战炎帝、火神祝融、焰灵',
boss_chiyan_intro3_append:'每通过一关游戏轮数清零阵亡角色复活所有角色重置武将和区域内的牌并获得4-X张起始手牌X为阵亡角色数。',
boss_qingmu_intro1:'&nbsp;第一关',
boss_qingmu_intro1_info:'挑战青龙',
boss_qingmu_intro2:'&nbsp;第二关',
@ -9195,7 +9195,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_qingmu_intro3:'&nbsp;第三关',
boss_qingmu_intro3_info:'挑战太昊、木神勾芒、树精',
boss_qingmu_intro3_append:'每通过一关游戏轮数清零阵亡角色复活所有角色重置武将和区域内的牌并获得4-X张起始手牌X为阵亡角色数。',
boss_xuanlin_intro1:'&nbsp;第一关',
boss_xuanlin_intro1_info:'挑战玄武',
boss_xuanlin_intro2:'&nbsp;第二关',
@ -9203,7 +9203,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_xuanlin_intro3:'&nbsp;第三关',
boss_xuanlin_intro3_info:'挑战颛顼、水神玄冥、水神共工',
boss_xuanlin_intro3_append:'每通过一关游戏轮数清零阵亡角色复活所有角色重置武将和区域内的牌并获得4-X张起始手牌X为阵亡角色数。',
boss_baimang_intro1:'&nbsp;第一关',
boss_baimang_intro1_info:'挑战白虎',
boss_baimang_intro2:'&nbsp;第二关',
@ -9211,7 +9211,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_baimang_intro3:'&nbsp;第三关',
boss_baimang_intro3_info:'挑战少昊、金神蓐收、明刑柱',
boss_baimang_intro3_append:'每通过一关游戏轮数清零阵亡角色复活所有角色重置武将和区域内的牌并获得4-X张起始手牌X为阵亡角色数。',
boss_bianshen_intro1:'&nbsp;第一关',
boss_bianshen_intro1_info:'挑战魑、魅、魍、魉中的随机一个',
boss_bianshen_intro2:'&nbsp;第二关',
@ -9226,7 +9226,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
// boss_bianshen3_info:'你死亡后,随机召唤白无常、黑无常中的一个。',
// boss_bianshen4:'后援',
// boss_bianshen4_info:'你死亡后,随机召唤罗刹、夜叉中的一个。',
boss_qiangzheng:'强征',
boss_qiangzheng_info:'锁定技,结束阶段,你获得每个敌方角色的一张手牌。',
boss_baolin:'暴凌',
@ -9236,7 +9236,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_shengshou_info:'每当你使用一张牌你可以进行一次判定若为红色你回复1点体力。',
wuqin:'五禽戏',
wuqin_info:'结束阶段,若你没有手牌,可以摸三张牌。',
boss_konghun:'控心',
boss_konghun_info:'结束阶段,你可以指定一名敌人令其进入混乱状态(不受对方控制,并将队友视为敌人)直到下一回合开始。',
yuehun:'月魂',
@ -9244,15 +9244,15 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
fengwu:'风舞',
fengwu_info:'出牌阶段限一次可令除你外的所有角色依次对与其距离最近的另一名角色使用一张【杀】无法如此做者失去1点体力。',
boss_wange:'笙歌',
huanhua:'幻化',
huanhua_info:'锁定技,游戏开始时,你获得其他角色的所有技能,体力上限变为其他角色之和;其他角色于摸牌阶段摸牌时,你摸等量的牌;其他角色于弃牌阶段弃牌时,你弃置等量的手牌。',
boss_leiji:'雷击',
boss_leiji_info:'每当你使用或打出一张【闪】可令任意一名角色进行一次判定若结果为黑色其受到1点雷电伤害然后你摸一张牌。',
jidian:'亟电',
jidian_info:'每当你造成一次伤害可以指定距离受伤害角色1以内的一名其他角色进行判定若结果为黑色该角色受到1点雷电伤害。',
tinqin:'听琴',
boss_guihan:'归汉',
boss_guihan_info:'限定技,濒死阶段,你可以将体力回复至体力上限,摸四张牌,令所有敌人的技能恢复,失去技能〖悲歌〗和〖胡笳〗,并获得技能〖听琴〗、〖蕙质〗。',
@ -9266,30 +9266,30 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
huoshen_info:'锁定技你防止即将受到的火焰伤害改为回复1点体力。',
boss_xianyin:'仙音',
boss_xianyin_info:'每当你于回合外失去牌你可以进行一次判定若为红色你令一名敌人失去1点体力。',
boss_yuhuo:'浴火',
boss_yuhuo_info:'觉醒技,在你涅槃后,你获得技能〖神威〗、〖朱羽〗。',
boss_tianyu:'天狱',
boss_tianyu_info:'锁定技,结束阶段,你解除横置状态,除你之外的所有角色进入横置状态。',
boss_jizhi:'集智',
boss_jizhi_info:'每当你使用一张非转化的非基本牌,你可以摸一张牌并展示之。',
boss_guiyin:'归隐',
boss_guiyin_info:'锁定技,体力值比你多的角色无法在回合内对你使用卡牌。',
boss_gongshen:'工神',
boss_gongshen_info:'锁定技,除你之外的角色没有装备区;你不能成为其他角色的延时锦囊牌的目标。',
fanghua:'芳华',
fanghua_info:'结束阶段你可以令所有已翻面角色失去1点体力。',
tashui:'踏水',
tashui_info:'每当你使用或打出一张黑色牌,你可以令一名其他角色翻面。',
boss_wuxin:'无心',
boss_wuxin_info:'锁定技你防止即将受到的伤害改为失去1点体力你不能成为其他角色的延时锦囊的目标。',
shangshix:'伤逝',
shangshix2:'伤逝',
shangshix_info:'锁定技你的手牌数至少为4结束阶段若你的体力值大于1你令场上所有角色失去1点体力。',
boss_baonu:'暴怒',
boss_baonu_info:'锁定技当你的体力值降至4或更低时你变身为暴怒战神或神鬼无前并立即开始你的回合。',
shenwei:'神威',
@ -9300,12 +9300,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
shenqu_info:'每名角色的准备阶段,若你的手牌数少于或等于你的体力上限数,你可以摸两张牌;当你受到伤害后,你可以使用一张【桃】。',
jiwu:'极武',
jiwu_info:'出牌阶段,你可以弃置一张牌,然后获得获得以下一项技能直到回合结束:〖强袭〗、〖铁骑〗、〖旋风〗、〖完杀〗。',
"boss_jingjia":"精甲",
"boss_jingjia_info":"锁定技,游戏开始时,将本局游戏中加入的装备随机置入你的装备区。",
"boss_aozhan":"鏖战",
"boss_aozhan_info":"锁定技若你装备区内有武器牌你可以多使用一张【杀】防具牌防止你受到的超过1点的伤害坐骑牌摸牌阶段多摸一张牌宝物牌跳过你的判定阶段。",
boss_qinguangwang_ab:'秦广王',
boss_qinguangwang:'秦广王·蒋子文',
boss_panguan:'判官',
@ -9418,7 +9418,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
"boss_sdyl_playerlevel4_info":"摸牌阶段多摸一张牌,起始手牌+1。",
"boss_sdyl_playerlevel5":"重生",
"boss_sdyl_playerlevel5_info":"限定技当你处于濒死状态时你可以弃置所有判定区牌然后复原你的武将牌将手牌补充至手牌体力上限至多为5将体力回复至体力上限。",
"boss_sdyl_bosslevel1":"一阶",
"boss_sdyl_bosslevel1_info":"",
"boss_sdyl_bosslevel2":"二阶",
@ -9439,11 +9439,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
"boss_hunyou_info":"锁定技,你的体力值变化和体力上限变化无效。",
"boss_taoni":"讨逆",
"boss_taoni_info":"锁定技,游戏开始时,每名角色回合开始时或你死亡时,你检查存活角色的合法性。若有角色存在非法行为,则你终止本局游戏。",
boss_xhuanren:'关卡说明',
boss_xhuanren_info:'',
boss_xhuanren_info_boss:'第一关:挑战秦广王<br>第二关:挑战楚江王,宋帝王,五官王,阎罗王中的一个<br>第三关:挑战卞城王,泰山王,都市王,平等王中的一个<br>第四关:挑战转轮王',
boss_newhuanren:'关卡说明',
boss_newhuanren_info:'',
boss_newhuanren_info_boss:'第一关:挑战秦广王<br>第二关:挑战楚江王,宋帝王,五官王,阎罗王中的一个<br>第三关:挑战卞城王,泰山王,都市王,平等王中的一个<br>第四关:挑战转轮王<br>注:孟婆将在每局前三个阶段随机一个阶段登场<br>地藏王登场规则为50回合内通过第三关并且在前三关中成功击杀孟婆。<li>选陆逊左慈张春华于吉蒋费孔融自动变孙笨',
@ -9474,7 +9474,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
niaobaidaowenha_skill_info:'当你减少1点体力上限后你可令一名其他角色增加1点体力上限并回复1点体力。',
shenzhixiunvfu:'神之修女服',
shenzhixiunvfu_info:'没什么实际作用的衣服,仅仅是显得像个神而已。',
mode_boss_card_config:'挑战卡牌',
mode_boss_character_config:'挑战武将',
},

View File

@ -1232,7 +1232,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
player1=this.player1;
player2=this.player2;
}
var createCard=function(wuxie){
var card;
if(wuxie){
@ -1248,7 +1248,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
card.style.margin=0;
return card;
}
var func=function(){
game.linexy([
player1.getLeft()+player1.offsetWidth/2,
@ -1267,7 +1267,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
card.delete();
},1000);
player1.node.count.innerHTML='1';
setTimeout(function(){
if(!node.showcaseinterval) return;
player1.node.count.innerHTML='2';
@ -1283,7 +1283,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
card.delete();
},1000);
},300);
setTimeout(function(){
if(!node.showcaseinterval) return;
player2.node.count.innerHTML='1';
@ -1304,7 +1304,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
setTimeout(function(){
card.delete();
},700);
setTimeout(function(){
if(!node.showcaseinterval) return;
player2.node.count.innerHTML='2';
@ -1662,7 +1662,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
node.appendChild(card);
ui.refresh(card);
};
var list2=['qilin','dawan','zhuahuang'];
var func2=function(){
var card=game.createCard(list2.shift(),'noclick');
@ -1679,7 +1679,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
node.appendChild(card);
ui.refresh(card);
};
if(init){
node.nodes=[];
}
@ -2450,12 +2450,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var bool=Math.random()<0.5;
var bool2=Math.random()<0.5;
var ref=game.players[0];
ref.side=bool;
ref.next.side=bool2;
ref.next.next.side=!bool;
ref.previous.side=!bool2;
var firstChoose=game.players.randomGet();
if(firstChoose.next.side==firstChoose.side){
firstChoose=firstChoose.next;
@ -2465,7 +2465,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
firstChoose.node.name.innerHTML=get.verticalStr(get.cnNumber(i+1,true)+'号位');
firstChoose=firstChoose.next;
}
for(var i=0;i<game.players.length;i++){
if(game.players[i].side==game.me.side){
game.players[i].node.identity.firstChild.innerHTML='友';
@ -2915,7 +2915,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.fan.setIdentity();
game.fan.identityShown=true;
game.fan.node.identity.classList.remove('guessing');
event.list=[];
for(var i in lib.character){
if(lib.filter.characterDisabled(i)) continue;
@ -2937,7 +2937,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
dialog.setCaption('选择角色');
game.me.chooseButton(dialog,true).set('onfree',true);
ui.create.cheat=function(){
_status.createControl=ui.cheat2;
ui.cheat=ui.create.control('更换',function(){
@ -2947,10 +2947,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(game.changeCoin){
game.changeCoin(-3);
}
event.list.randomSort();
list=event.list.slice(0,5);
var buttons=ui.create.div('.buttons');
var node=_status.event.dialog.buttons[0].parentNode;
_status.event.dialog.buttons=ui.create.buttons(list,'character',buttons);
@ -2974,7 +2974,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else{
event.dialogxx=ui.create.characterDialog('heightset');
}
ui.create.cheat2=function(){
ui.cheat2=ui.create.control('自由选将',function(){
if(this.dialog==_status.event.dialog){
@ -3051,7 +3051,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
var pack={
character:{
pujing:['male','qun',1,[],[]],
@ -3455,7 +3455,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
player.side=pack.place[i];
player=player.next;
}
for(var i=0;i<game.players.length;i++){
if(game.players[i].side==game.me.side){
game.players[i].node.identity.firstChild.innerHTML='友';
@ -3635,7 +3635,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
maxpos=Math.max(maxpos,scene.players[i].position);
}
if(maxpos<scene.players.length){
maxpos=scene.players.length;
}
@ -3802,7 +3802,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
lib.translate.zhong=lib.translate.zhong||'忠';
lib.translate.nei=lib.translate.nei||'内';
lib.translate.fan=lib.translate.fan||'反';
this.style.transition='all 0s';
this.style.height=(this.offsetHeight-10)+'px';
this.style.overflow='scroll';
@ -3810,14 +3810,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var style={marginLeft:'3px',marginRight:'3px'};
var style2={position:'relative',display:'block',left:0,top:0,marginBottom:'6px',padding:0,width:'100%'};
var style3={marginLeft:'4px',marginRight:'4px',position:'relative'}
var scenename=ui.create.node('input',ui.create.div(style2,'','场景名称:',this),{width:'120px'});
scenename.type='text';
scenename.style.marginTop='20px';
var sceneintro=ui.create.node('input',ui.create.div(style2,'','场景描述:',this),{width:'120px'});
sceneintro.type='text';
sceneintro.style.marginBottom='10px';
var line1=ui.create.div(style2,this);
var addCharacter=ui.create.node('button','添加角色',line1,function(){
// line1.style.display='none';
@ -3854,7 +3854,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
line11.style.display='block';
capt9.style.display='block';
line3.style.display='block';
line6_t.style.display='block';
line6_b.style.display='block';
line6_d.style.display='block';
@ -3918,7 +3918,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.save('scene',lib.storage.scene);
game.addScene(scene.name,true);
},style);
var capt1=ui.create.div(style2,'','角色信息',this);
var line2=ui.create.div(style2,this);
line2.style.display='none';
@ -3947,12 +3947,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.create.node('span','玩家 ',line2_t,{marginLeft:'10px'});
var playercontrol=ui.create.node('input',line2_t);
playercontrol.type='checkbox';
var list=[];
for(var i in lib.character){
list.push([i,lib.translate[i]]);
}
list.sort(function(a,b){
a=a[0];b=b[0];
var aa=a,bb=b;
@ -3978,16 +3978,16 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
name2.style.marginLeft='3px';
name2.style.marginRight='3px';
name2.style.maxWidth='80px';
var capt9=ui.create.div(style2,'','编辑牌堆',this);
capt9.style.display='none';
var capt2=ui.create.div(style2,'','添加卡牌',this);
var line3=ui.create.div(style2,this);
line3.style.display='none';
capt1.style.display='none';
capt2.style.display='none';
var line5=ui.create.div(style2,this);
line5.style.display='none';
var pileaddlist=[];
@ -4033,7 +4033,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
cardpileaddnumber.style.marginLeft='3px';
cardpileaddnumber.style.marginRight='3px';
cardpileaddnumber.style.width='85px';
var fakecard=function(info,position,capt){
var name=info[0],suit=info[1],number=info[2];
var card=ui.create.card(null,'noclick',true);
@ -4096,7 +4096,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
cc_j.style.marginLeft='3px';
cc_j.style.marginRight='3px';
cc_j.style.width='85px';
var capt_h=ui.create.div(style2,'','手牌区',this);
var line6_h=ui.create.div(style2,this);
var capt_e=ui.create.div(style2,'','装备区',this);
@ -4107,7 +4107,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
capt_h.style.display='none';
capt_e.style.display='none';
capt_j.style.display='none';
var line10=ui.create.div(style2,this);
line10.style.display='none';
var ac_h=ui.create.node('button','加入牌堆顶',line10,function(){
@ -4131,17 +4131,17 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ac_j.style.marginLeft='3px';
ac_j.style.marginRight='3px';
ac_j.style.width='85px';
var line11=ui.create.div(style2,this,'','<span>替换牌堆</span>');
line11.style.display='none';
var replacepile=ui.create.node('input',line11);
replacepile.type='checkbox';
ui.create.node('span',line11,'开局摸牌',{marginLeft:'10px'});
var gameDraw=ui.create.node('input',line11);
gameDraw.type='checkbox';
gameDraw.checked=true;
var capt_t=ui.create.div(style2,'','牌堆顶',this);
var line6_t=ui.create.div(style2,this);
var capt_b=ui.create.div(style2,'','牌堆底',this);
@ -4152,7 +4152,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
capt_t.style.display='none';
capt_b.style.display='none';
capt_d.style.display='none';
var line4=ui.create.div(style2,this);
line4.style.display='none';
line4.style.marginTop='20px';
@ -4176,7 +4176,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
capt_h.style.display='none';
capt_e.style.display='none';
capt_j.style.display='none';
name1.value='random';
name2.value='none';
identity.value='fan';
@ -4266,14 +4266,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
player.style.top=0;
player.style.margin='-18px';
player.node.marks.remove();
line7.appendChild(player);
player.listen(function(){
if(confirm('是否删除此角色?')){
this.remove();
}
});
return player;
};
ui.create.div('.menubutton.large','确定',line4,style3,function(){
@ -4316,7 +4316,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.create.div('.menubutton.large','取消',line4,style3,resetCharacter);
var line7=ui.create.div(style2,this);
line7.style.marginTop='12px';
var capt8=ui.create.div(style2,'','胜负条件',this);
capt8.style.display='none';
var line8=ui.create.div(style2,this);
@ -4328,12 +4328,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var turns=ui.create.selectlist(turnslist,'1',line8);
ui.create.node('span','个回合后',line8,style);
var turnsresult=ui.create.selectlist(results,'none',line8);
var washes=ui.create.selectlist(turnslist,'1',line8);
washes.style.marginLeft='20px';
ui.create.node('span','次洗牌后',line8,style);
var washesresult=ui.create.selectlist(results,'none',line8);
var line9=ui.create.div(style2,this);
line9.style.display='none';
line9.style.marginTop='20px';
@ -4344,7 +4344,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
cardpileaddname.value='random';
cardpileaddsuit.value='random';
cardpileaddnumber.value='random';
line8.style.display='none';
capt8.style.display='none';
capt9.style.display='none';
@ -4353,14 +4353,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
line11.style.display='none';
line3.style.display='none';
line7.style.display='block';
line6_t.style.display='none';
line6_b.style.display='none';
line6_d.style.display='none';
capt_t.style.display='none';
capt_b.style.display='none';
capt_d.style.display='none';
if(all===true){
replacepile.checked=false;
gameDraw.checked=true;
@ -4373,9 +4373,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
line6_d.innerHTML='';
}
}
ui.create.div('.menubutton.large','确定',line9,style3,resetStatus);
game.addSceneClear=function(){
resetCharacter();
resetStatus(true);
@ -4411,7 +4411,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
for(var i=0;i<scene.discardPile.length;i++){
fakecard(scene.discardPile[i],line6_d,capt_d);
}
for(var i=0;i<scene.players.length;i++){
createCharacter(scene.players[i]);
}
@ -4527,14 +4527,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
// lib.setScroll(this);
var style2={position:'relative',display:'block',left:0,top:0,marginBottom:'6px',padding:0,width:'100%'};
var style3={marginLeft:'4px',marginRight:'4px',position:'relative'}
var scenename=ui.create.node('input',ui.create.div(style2,'','关卡名称:',this),{width:'120px'});
scenename.type='text';
scenename.style.marginTop='20px';
var sceneintro=ui.create.node('input',ui.create.div(style2,'','关卡描述:',this),{width:'120px'});
sceneintro.type='text';
sceneintro.style.marginBottom='10px';
var line1=ui.create.div(style2,this);
var line2=ui.create.div(style2,this);
line1.style.marginBottom='10px';

View File

@ -176,7 +176,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else{
side=Math.random()<0.5;
}
switch(num){
case 1:ui.chessheight=4;break;
case 2:ui.chessheight=5;break;
@ -189,10 +189,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
default:ui.chessheight=8;
}
ui.chesswidth=Math.round(ui.chessheight*1.5);
if(num==1) ui.chesswidth++;
game.initChess();
var grids=[];
var gridnum=ui.chessheight*ui.chesswidth;
for(var i=0;i<gridnum;i++){
@ -261,7 +261,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
lib.posmap[enemy.dataset.position]=enemy;
}
if(lib.config.show_handcardbutton){
lib.setPopped(ui.create.system('手牌',null,true),function(){
var uiintro=ui.create.dialog('hidden');
@ -282,11 +282,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!added){
uiintro.add('无队友');
}
return uiintro;
},220);
}
if(!event.video&&_status.mode=='combat'&&!_status.vsboss&&(_status.replacelist.length||get.config('additional_player'))){
_status.enemyDied=0;
_status.friendDied=0;
@ -296,10 +296,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
lib.setPopped(ui.friendDied,function(){
if(_status.replacelist.length){
var uiintro=ui.create.dialog('hidden');
uiintro.add('未上场');
uiintro.add([_status.replacelist,'character']);
return uiintro;
}
});
@ -354,17 +354,17 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.finishGame.classList.add('finish_game');
ui.finishGame.parentNode.insertBefore(finishGameBr,ui.finishGame);
}
ui.create.me();
ui.create.fakeme();
if(!event.video&&((_status.mode=='combat'&&get.config('zhu')&&!_status.vsboss&&game.players.length>2)||_status.mode=='three')){
game.friendZhu=event.friendZhu;
game.friendZhu.hp++;
game.friendZhu.maxHp++;
game.friendZhu.update();
game.friendZhu.node.identity.firstChild.innerHTML='将';
for(var i=0;i<game.players.length;i++){
if(game.players[i].side!=game.me.side){
game.enemyZhu=game.players[i];
@ -375,7 +375,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
break;
}
}
if((get.config('main_zhu')||_status.mode=='three')&&event.friendViceZhu){
game.friendViceZhu=event.friendViceZhu;
game.friendViceZhu.node.identity.firstChild.innerHTML='仕';
@ -388,13 +388,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
}
ui.chessinfo=ui.create.div('.fakeme.player.playerbg',ui.me,function(e){
e.stopPropagation();
});
ui.create.div(ui.chessinfo);
lib.setScroll(ui.chessinfo.firstChild);
game.arrangePlayers();
"step 3"
ui.control.style.display='';
@ -420,7 +420,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.setChessInfo(p);
return;
}
var players=get.players(lib.sort.position);
var info=[];
for(var i=0;i<players.length;i++){
@ -444,7 +444,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(event.obs){
game.addVideo('initobs',null,event.obs);
}
event.trigger('gameStart');
game.gameDraw(p);
game.me.classList.add('current_action');
@ -537,7 +537,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(y>=ui.chessheight){
y=ui.chessheight-1;
}
var pos=y*ui.chesswidth+x;
if(!lib.posmap[pos]){
delete lib.posmap[this.dataset.position];
@ -546,7 +546,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
lib.posmap[pos]=this;
this.chessFocus();
}
if(get.mode()=='tafang'&&!_status.video){
if(_status.tafangend.includes(this.dataset.position)){
if(_status.enemies.includes(this)){
@ -677,7 +677,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(_status.chessscrolling) return;
var player=this;
var dx=0,dy=0;
if(player.getLeft()-ui.chessContainer.chessLeft<14){
dx=player.getLeft()-ui.chessContainer.chessLeft-14;
}
@ -940,7 +940,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else if(!num||typeof num=='number'){
game.addVideo('chessgainmod',this,num);
}
return this.$gainmod(num);
},
$gainmod:function(num){
@ -1041,17 +1041,17 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else{
node=ui.create.div('.card.thrown');
}
node.dataset.position=this.dataset.position;
node.fixed=true;
node.hide();
this.parentNode.appendChild(node);
ui.refresh(node);
node.show();
this.$randomMove(node,130,0);
setTimeout(function(){
lib.element.card.moveTo.call(node,player);
setTimeout(function(){
@ -1107,7 +1107,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
thrown.push(node);
var rect=this.getBoundingClientRect();
var amax,amin;
if(rect.left<=80){
@ -1471,7 +1471,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
e.preventDefault();
});
}
ui.chessscroll1=ui.create.div('.chessscroll.left',ui.chessContainer);
ui.chessscroll2=ui.create.div('.chessscroll.right',ui.chessContainer);
var chessscroll=function(){
@ -1494,11 +1494,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.chessscroll1.direction=-1;
ui.chessscroll1.addEventListener('mouseenter',chessscroll);
ui.chessscroll1.addEventListener('mouseleave',leavescroll);
ui.chessscroll2.direction=1;
ui.chessscroll2.addEventListener('mouseenter',chessscroll);
ui.chessscroll2.addEventListener('mouseleave',leavescroll);
for(var i=0;i<ui.chesswidth;i++){
for(var j=0;j<ui.chessheight;j++){
var pos='[data-position="'+(i+j*ui.chesswidth)+'"]';
@ -1598,9 +1598,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else if(game.players.length){
game.setChessInfo(game.players[0]);
}
game.triggerEnter(player);
return player;
},
replaceChessPlayer:function(name,enemy){
@ -1630,7 +1630,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(y>=ui.chessheight){
y=ui.chessheight-1;
}
pos=y*ui.chesswidth+x;
}
if(!lib.posmap[pos]){
@ -2027,13 +2027,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
var ax=a%ui.chesswidth;
var ay=Math.floor(a/ui.chesswidth);
var bx=b%ui.chesswidth;
var by=Math.floor(b/ui.chesswidth);
if(ax==bx&&Math.abs(ay-by)==1) return true;
if(ay==by&&Math.abs(ax-bx)==1) return true;
return false;
},
draw2:function(func){
@ -2206,7 +2206,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
lib.rank.rarity.common.push(lib.rank.all[i]);
}
}
ui.control.style.transition='all 0s';
if(get.is.phoneLayout()){
ui.control.style.top='calc(100% - 80px)';
@ -2220,7 +2220,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
node.style.opacity=0;
node.style.zIndex=4;
node.classList.add('pointerdiv');
var kaibao=false;
if(!name||typeof i=='string'){
if(!name){
@ -2482,7 +2482,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
fixButton(dialog1.buttons[i]);
}
dialog1.open();
var dialog2=ui.create.dialog('战斗难度','hidden');
event.dialog2=dialog2;
dialog2.classList.add('fullheight');
@ -2519,7 +2519,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
dialog2.buttons[i]._nopup=true;
dialog2.buttons[i].style.marginLeft='4px';
dialog2.buttons[i].style.marginRight='4px';
if(i<3){
dialog2.buttons[i].area='difficulty';
}
@ -2548,7 +2548,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
dialog2.open();
dialog1.classList.remove('hidden');
var selected={
lord:[],
character:[],
@ -3279,7 +3279,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
}
var victory=ui.create.div().hide();
victory.innerHTML='<span>'+game.data.arena.win+'</span>胜';
victory.style.top='auto';
@ -3292,7 +3292,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.window.appendChild(victory);
ui.refresh(victory);
victory.show();
event.checkPrize=function(){
// event.kaibao=true;
event.prize=[];
@ -3329,7 +3329,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
div.style.letterSpacing='8px';
div.style.whiteSpace='nowrap';
// div.dataset.nature='metal';
return;
}
node.style.transition='all ease-in 0.3s';
@ -3553,7 +3553,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else{
event.checkPrize();
}
event.custom.add.window=function(){
if(_status.chessclicked){
_status.chessclicked=false;
@ -3678,7 +3678,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var jiange=ui.create.div('.buttons');
event.jiange=jiange;
var jiangebuttons=ui.create.buttons(jiangelist,'character',jiange);
var clickedBoss=false;
var clickBoss=function(){
clickedBoss=true;
@ -3717,7 +3717,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
addToButton();
};
var clickedJiange=false;
var clickJiange=function(){
clickedJiange=true;
@ -3729,7 +3729,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
addToButton();
};
for(var i=0;i<bossbuttons.length;i++){
bossbuttons[i].classList.add('noclick');
bossbuttons[i].listen(clickBoss);
@ -3738,7 +3738,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
jiangebuttons[i].classList.add('noclick');
jiangebuttons[i].listen(clickJiange);
}
if(get.config('additional_player')==undefined) game.saveConfig('additional_player',true,true);
if(get.config('reward')==undefined) game.saveConfig('reward',3,true);
if(get.config('punish')==undefined) game.saveConfig('punish','无',true);
@ -3748,7 +3748,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(get.config('replace_number')==undefined) game.saveConfig('replace_number',0,true);
if(get.config('single_control')==undefined) game.saveConfig('single_control',false,true);
if(get.config('first_less')==undefined) game.saveConfig('first_less',true,true);
var dialog=ui.create.dialog('选择出场角色','hidden');
dialog.classList.add('fullwidth');
dialog.classList.add('fullheight');
@ -3806,14 +3806,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
jiange.childNodes[i].classList.add('squarebutton');
}
ui.control.style.transition='all 0s';
if(get.is.phoneLayout()){
ui.control.style.top='calc(100% - 80px)';
}
else{
ui.control.style.top='calc(100% - 70px)';
}
var next=game.me.chooseButton(dialog,true).set('onfree',true);
next._triggered=null;
next.selectButton=function(){
@ -3899,14 +3899,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.changeCoin(-3);
}
list.randomSort();
var buttons=ui.create.div('.buttons');
var node=_status.event.dialog.buttons[0].parentNode;
_status.event.dialog.buttons=ui.create.buttons(list.slice(0,parseInt(get.config('battle_number'))*4+parseInt(get.config('replace_number'))+5),'character',buttons);
_status.event.dialog.content.insertBefore(buttons,node);
buttons.addTempClass('start');
node.remove();
// _status.event.dialog.close();
// var dialog=ui.create.dialog('选择出场角色','hidden');
// _status.event.dialog=dialog;
@ -4009,7 +4009,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.control.style.transition='';
ui.control.style.display='none';
}
var glows=event.bosses.querySelectorAll('.glow');
var glows2=event.jiange.querySelectorAll('.glow2');
if(!glows.length&&!glows2.length){
@ -4731,13 +4731,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
mark.setBackground(currentname,'character');
player.addAdditionalSkill('tongshuai',link);
game.addVideo('chess_tongshuai_skill',player,[currentname,link]);
player.logSkill('tongshuai2');
game.log(player,'获得技能','【'+get.translation(link)+'】');
player.popup(link);
for(var i=0;i<event.dialog.buttons.length;i++){
if(event.dialog.buttons[i].classList.contains('selected')){
var name=event.dialog.buttons[i].link;
@ -5524,7 +5524,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
single_control_config:'单人控制',
additional_player_config:'无尽模式',
choice_number_config:'无尽模式候选',
friend:'友',
enemy:'敌',
neutral:'中',
@ -5545,7 +5545,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
save3:'三',
save4:'四',
save5:'五',
leader_2:' ',
leader_2_bg:'二',
leader_3:' ',
@ -5554,14 +5554,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
leader_5_bg:'五',
leader_8:' ',
leader_8_bg:'八',
leader_easy:' ',
leader_easy_bg:'简单',
leader_medium:' ',
leader_medium_bg:'普通',
leader_hard:' ',
leader_hard_bg:'困难',
chess_caocao:'曹操',
chess_xunyu:'荀彧',
chess_simayi:'司马懿',
@ -5570,7 +5570,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
chess_xuzhu:'许褚',
chess_zhangliao:'张辽',
chess_jiaxu:'贾诩',
chess_liubei:'刘备',
chess_guanyu:'关羽',
chess_zhangfei:'张飞',
@ -5579,7 +5579,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
chess_huangzhong:'黄忠',
chess_maliang:'马良',
chess_zhugeliang:'诸葛亮',
chess_sunquan:'孙权',
chess_zhouyu:'周瑜',
chess_lvmeng:'吕蒙',
@ -5588,27 +5588,27 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
chess_luxun:'陆逊',
chess_ganning:'甘宁',
chess_taishici:'太史慈',
chess_lvbu:'吕布',
chess_sunshangxiang:'孙尚香',
chess_diaochan:'貂蝉',
chess_huatuo:'华佗',
chess_zhangjiao:'张辽',
chess_menghuo:'孟获',
chess_dongzhuo:'董卓',
chess_xingtian:'刑天',
chess_jinchidiao:'金翅雕',
chess_beimingjukun:'北溟巨鲲',
chess_wuzhaojinlong:'五爪金龙',
treasure_dubiaoxianjing:'毒镖陷阱',
treasure_jiqishi:'集气石',
treasure_shenmidiaoxiang:'神秘雕像',
treasure_shenpanxianjing:'审判之刃',
treasure_shiyuansu:'石元素',
treasure_wuyashenxiang:'乌鸦神像',
dubiaoxianjing:'飞刃',
dubiaoxianjing_info:'距离两格体力值大于1的角色在回合结束后受到1点伤害然后摸两张牌。',
jiqishi:'集气',
@ -5621,7 +5621,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
shiyuansu_info:'任意一名角色一次性受到不少于2点伤害后使其获得1点护甲。',
wuyashenxiang:'厄音',
wuyashenxiang_info:'距离3格以内的角色在其回合结束后若体力值不大于1令其回复1点体力然后将牌堆中的一张延时锦囊牌置于其判定区。',
leader_caocao:'曹操',
leader_liubei:'刘备',
leader_sunquan:'孙权',
@ -5634,28 +5634,28 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
leader_mouduan_info:'其他友方角色回合内的行动范围+1。',
leader_zhenlve:'缜略',
leader_zhenlve_info:'友方角色使用的普通锦囊牌不可被【无懈可击】响应。',
tongshuai:'统率',
tongshuai_info:'准备阶段和结束阶段,你可以选择一名未上场的已方武将的一个技能作为你的技能。',
leader_zhaoxiang:'招降',
leader_zhaoxiang_info:'出牌阶段限一次你可以尝试对相邻敌方武将进行招降若成功你获得该武将并立即结束本局游戏若失败你受到1点伤害。每发动一次消耗10招募令。',
common:'普通',
rare:'精品',
epic:'史诗',
legend:'传说',
chess_shezhang:'设置路障',
chess_shezhang_info:'选择一名角色在其四周设置临时路障持续X回合X为存活角色数。',
chess_chuzhang:'清除路障',
chess_chuzhang_info:'将与你相邻的路障向后推移一格,每影响一个路障你摸一张牌。',
_chess_chuzhang:'除障',
_chess_chuzhang_info:'出牌阶段限一次,若你周围四格至少有三个为障碍或在边缘外,你可以选择将其中一个障碍向后推移一格(若无法推移则改为清除之)。',
arenaAdd:'援军',
arenaAdd_info:'出牌阶段限一次,你可以令一名未出场的已方角色加入战场。战斗结束后,该角色无论是否存活均不能再次出场。',
pianyi:'翩仪',
pianyi_info:'结束阶段,若你于本回合内未造成过伤害,你获得一次移动机会。',
lingdong:'灵动',
@ -5668,13 +5668,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
sanjiansheji_info:'你可以将两张【杀】当做【杀】使用你以此法使用的【杀】可以指定距离5格内的角色为目标。',
guanchuan:'强弩',
guanchuan_info:'当你使用【杀】指定唯一目标后,你可令攻击射线内的其他角色也成为此【杀】的目标。',
boss_stoneqiangzheng:'强征',
boss_stoneqiangzheng_info:'锁定技,结束阶段,你获得所有其他角色的各一张手牌。',
boss_stonebaolin:'暴凌',
boss_moyan:'魔焰',
boss_moyan_info:'锁定技结束阶段你对场上所有角色造成1点火焰伤害。',
cangming:'颠动沧溟',
cangming_info:'出牌阶段限一次,你可弃置四张花色不同的手牌并将武将牌翻至背面,然后令所有其他角色进入混乱状态直到你的下一回合开始。',
boss_bfengxing:'风行',
@ -5687,11 +5687,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_wushang_info:'锁定技准备阶段距离你5以内的所有其他角色需交给你一张手牌。',
boss_wuying:'无影',
boss_wuying_info:'锁定技,你回合内的移动距离-1其他角色至你的距离+2。',
chess_default:'常规',
chess_boss:'魔王',
chess_leader:'君主',
mode_chess_character_config:'战棋模式',
mode_chess_card_config:'战棋模式',
},

View File

@ -23,7 +23,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.click.connectMenu();
},true);
}
event.created=true;
var node=ui.create.div('.shadowed');
node.style.width='400px';
@ -40,7 +40,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
node.style.webkitUserSelect='text';
node.style.textAlign='center';
node.style.overflow='hidden';
var connect=function(e){
event.textnode.textContent='正在连接...';
clearTimeout(event.timeout);
@ -68,7 +68,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
});
ui.window.appendChild(node);
ui.ipnode=node;
var text=event.textnode;
text.style.width='400px';
text.style.height='30px';
@ -81,14 +81,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
text.style.textAlign='center';
ui.window.appendChild(text);
ui.iptext=text;
var button=ui.create.div('.menubutton.highlight.large.pointerdiv','连接',connect);
button.style.width='70px';
button.style.left='calc(50% - 35px)';
button.style.top='calc(50% + 60px)';
ui.window.appendChild(button);
ui.ipbutton=button;
ui.hall_button=ui.create.system('联机大厅',function(){
node.textContent=get.config('hall_ip')||lib.hallURL;
connect();

View File

@ -118,7 +118,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
game.syncState();
event.trigger('gameStart');
var players=get.players(lib.sort.position);
var info=[];
for(var i=0;i<players.length;i++){
@ -131,7 +131,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
_status.videoInited=true;
game.addVideo('init',null,info);
if(_status.mode=='kaihei') game.addGlobalSkill('kaihei');
var next=game.gameDraw(game.zhu||_status.firstAct||game.me);
if(_status.mode=='online'){
game.zhu.$equip(game.createCard('diqi','club',13));
@ -587,7 +587,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},500);
});
},
chooseCharacterKaihei:function(){
var next=game.createEvent('chooseCharacter');
next.setContent(function(){
@ -607,7 +607,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.zhu=game.players[i];
}
}
if(!game.zhu) game.zhu=game.me;
else{
game.zhu.setIdentity();
@ -617,7 +617,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.me.setIdentity();
game.me.node.identity.classList.remove('guessing');
}
for(i in lib.characterReplace){
var ix=lib.characterReplace[i];
for(var j=0;j<ix.length;j++){
@ -662,7 +662,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
});
},
chooseCharacter:function(){
@ -733,7 +733,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var chosen=lib.config.continue_name||[];
game.saveConfig('continue_name');
event.chosen=chosen;
var addSetting=function(dialog){
dialog.add('选择身份').classList.add('add-setting');
var table=document.createElement('div');
@ -741,7 +741,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
table.style.margin='0';
table.style.width='100%';
table.style.position='relative';
var listi=['random','zhu','fan'];
for(var i=0;i<listi.length;i++){
var td=ui.create.div('.shadowed.reduce_radius.pointerdiv.tdnode');
@ -817,7 +817,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
});
}
dialog.content.appendChild(table);
dialog.add('选择座位').classList.add('add-setting');
var seats=document.createElement('div');
seats.classList.add('add-setting');
@ -853,7 +853,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
seats.previousSibling.style.display='none';
seats.style.display='none';
}
dialog.add(ui.create.div('.placeholder.add-setting'));
dialog.add(ui.create.div('.placeholder.add-setting'));
if(get.is.phoneLayout()) dialog.add(ui.create.div('.placeholder.add-setting'));
@ -894,7 +894,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.zhu=game.players[i];
}
}
if(!game.zhu) game.zhu=game.me;
else{
game.zhu.setIdentity();
@ -946,7 +946,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
dialog.setCaption('选择角色');
game.me.setIdentity();
if(!event.chosen.length){
game.me.chooseButton(dialog,true).set('onfree',true).selectButton=function(){
return get.config('double_character')?2:1
@ -964,10 +964,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(game.changeCoin){
game.changeCoin(-3);
}
event.list.randomSort();
list=event.list.slice(0,num);
var buttons=ui.create.div('.buttons');
var node=_status.event.dialog.buttons[0].parentNode;
_status.event.dialog.buttons=ui.create.buttons(list,'characterx',buttons);
@ -991,7 +991,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else{
event.dialogxx=ui.create.characterDialog('heightset');
}
ui.create.cheat2=function(){
ui.cheat2=ui.create.control('自由选将',function(){
if(this.dialog==_status.event.dialog){
@ -1088,7 +1088,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.me.maxHp++;
game.me.update();
}
for(var i=0;i<game.players.length;i++){
if(game.players[i]!=game.me){
event.list.randomSort();
@ -1103,10 +1103,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
});
},
chooseCharacterKaiheiOL:function(){
var next=game.createEvent('chooseCharacter');
next.setContent(function(){
@ -1132,7 +1132,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
event.list=[];
var list4=[];
var libCharacter={};
for(var i=0;i<lib.configOL.characterPack.length;i++){
var pack=lib.characterPack[lib.configOL.characterPack[i]];
@ -1156,7 +1156,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
event.list.push(i);
}
_status.characterlist=event.list.slice(0);
var map={};
for(var player of game.players){
player._characterChoice=event.list.randomRemove(player.identity=='zhu'?5:3);
@ -1195,11 +1195,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
lib.playerOL[i].init(result[i]);
}
}
game.zhu.maxHp++;
game.zhu.hp++;
game.zhu.update();
game.broadcast(function(result,zhu){
for(var i in result){
if(!lib.playerOL[i].name){
@ -1210,7 +1210,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
zhu.maxHp++;
zhu.hp++;
zhu.update();
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
@ -1324,11 +1324,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
lib.playerOL[i].init(result[i][0],result[i][1]);
}
}
game.zhu.maxHp++;
game.zhu.hp++;
game.zhu.update();
game.broadcast(function(result,zhu){
for(var i in result){
if(!lib.playerOL[i].name){
@ -1339,7 +1339,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
zhu.maxHp++;
zhu.hp++;
zhu.update();
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
@ -1382,7 +1382,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
event.start=game.players.randomGet();
event.current=event.start;
event.videoId=lib.status.videoId++;
game.zhuSkill='zhuSkill_'+['xiangyang','jiangling','fancheng'].randomGet();
game.broadcastAll(function(map,id,skill){
@ -1462,11 +1462,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
lib.playerOL[i].init(result[i]);
}
}
game.zhu.maxHp++;
game.zhu.hp++;
game.zhu.update();
game.broadcast(function(result,zhu){
for(var i in result){
if(!lib.playerOL[i].name){
@ -1477,7 +1477,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
zhu.maxHp++;
zhu.hp++;
zhu.update();
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
@ -1541,7 +1541,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
event.start=game.players.randomGet();
event.current=event.start;
event.videoId=lib.status.videoId++;
game.broadcastAll(function(map,id){
ui.create.dialog('你的选将框和底牌',[map[game.me.playerid],'character'],game.me.storage.doudizhu_cardPile).videoId=id;
@ -1607,11 +1607,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
lib.playerOL[i].init(result[i][0],result[i][1]);
}
}
game.zhu.hp=4;
game.zhu.maxHp=4;
game.zhu.update();
game.broadcast(function(result,zhu){
for(var i in result){
if(!lib.playerOL[i].name){
@ -1622,7 +1622,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.zhu.hp=4;
game.zhu.maxHp=4;
game.zhu.update();
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
@ -1666,11 +1666,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.players[i].identityShown=true;
if(identityList[i]=='zhu') game.zhu=game.players[i];
}
var list;
var list4=[];
event.list=[];
var libCharacter={};
for(var i=0;i<lib.configOL.characterPack.length;i++){
var pack=lib.characterPack[lib.configOL.characterPack[i]];
@ -1706,7 +1706,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
"step 1"
var list=[];
var selectButton=(lib.configOL.double_character?2:1);
var num,num2=0;
num=Math.floor(event.list.length/game.players.length);
num2=event.list.length-num*game.players.length;
@ -1716,7 +1716,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(num2>2){
num2=2;
}
for(var i=0;i<game.players.length;i++){
var num3=0;
if(game.players[i]==game.zhu) num3=3;
@ -1750,11 +1750,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
lib.playerOL[i].init(result[i][0],result[i][1]);
}
}
game.zhu.maxHp++;
game.zhu.hp++;
game.zhu.update();
game.broadcast(function(result,zhu){
for(var i in result){
if(!lib.playerOL[i].name){
@ -1765,7 +1765,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
zhu.maxHp++;
zhu.hp++;
zhu.update();
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
@ -2537,7 +2537,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
str+='使用了';
str+=get.translation(card);
str+=',是否对其使用【炸弹】?';
var next=player.chooseToUse({
filterCard:function(card,player){
if(get.name(card)!='zhadan'||get.itemtype(card)!='card') return false;
@ -2561,7 +2561,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
type:'zhadan',
});
next.set('respondTo',[source,card]);
if(game.online){
_status.event._resultid=id;
game.resume();
@ -2626,7 +2626,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
};
var withme=false;
var withol=false;
var list=event.list;
@ -3070,7 +3070,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['spade',12,'zhangba'],
['spade',13,'wuxie'],
['spade',13,'dawanma'],
['club',1,'baiyin'],
['club',1,'zhuge'],
['club',2,'tengjia'],
@ -3098,7 +3098,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['club',13,'tiesuo'],
['club',13,'jiedao'],
['club',13,'wuxie'],
['heart',1,'wuxie'],
['heart',1,'gongshoujianbei'],
['heart',1,'zhadan'],
@ -3126,7 +3126,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['heart',12,'guohe'],
['heart',13,'wuxie'],
['heart',13,'zhuahuang'],
['diamond',1,'zhuque'],
['diamond',1,'juedou'],
['diamond',2,'tao'],

View File

@ -202,7 +202,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
// }
}
},event.playerx);
var players=get.players(lib.sort.position);
var info=[];
for(var i=0;i<players.length;i++){
@ -399,7 +399,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_shibing2ye:['female','ye',0,[],['unseen']],
gz_shibing1key:['male','key',0,[],['unseen']],
gz_shibing2key:['female','key',0,[],['unseen']],
gz_zhonghui:['male','ye',4,['gzquanji','gzpaiyi'],['gzskin']],
gz_simazhao:['male','ye',3,['gzzhaoxin','gzsuzhi'],['gzskin']],
gz_gongsunyuan:['male','ye',4,['gzhuaiyi','gzzisui'],['gzskin']],
@ -424,7 +424,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_liuba:['male','shu',3,['gztongduo','qingyin'],['gzskin']],
gz_pengyang:['male','shu',3,['gztongling','gzjinyu'],['doublegroup:shu:qun','gzskin']],
gz_zhuling:['male','wei',4,['gzjuejue','gzfangyuan'],['gzskin']],
gz_caocao:['male','wei',4,['jianxiong']],
gz_simayi:['male','wei',3,['fankui','guicai']],
gz_xiahoudun:['male','wei',4,['reganglie']],
@ -440,7 +440,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_xunyu:['male','wei',3,['quhu','gzjieming']],
gz_caopi:['male','wei',3,['xingshang','gzfangzhu'],['gzskin']],
gz_yuejin:['male','wei',4,['gzxiaoguo'],['gzskin']],
gz_liubei:['male','shu',4,['rerende']],
gz_guanyu:['male','shu',5,['new_rewusheng'],['gzskin']],
gz_zhangfei:['male','shu',4,['gzpaoxiao']],
@ -457,7 +457,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_zhurong:['female','shu',4,['juxiang','lieren']],
gz_ganfuren:['female','shu',3,['new_shushen','shenzhi'],['gzskin']],
gz_yuji:['male','qun',3,['qianhuan'],['gzskin']],
gz_sunquan:['male','wu',4,['gzzhiheng']],
gz_ganning:['male','wu',4,['qixi']],
gz_lvmeng:['male','wu',4,['new_keji','new_mouduan']],
@ -473,7 +473,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_re_lusu:['male','wu',3,['haoshi','dimeng']],
gz_zhangzhang:['male','wu',3,['zhijian','guzheng']],
gz_dingfeng:['male','wu',4,['reduanbing','refenxun'],['gzskin']],
gz_huatuo:['male','qun',3,['new_chuli','jijiu']],
gz_lvbu:['male','qun',5,['gzwushuang'],['gzskin']],
gz_diaochan:['female','qun',3,['lijian','biyue'],['gzskin']],
@ -489,7 +489,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_tianfeng:['male','qun',3,['sijian','gzsuishi']],
gz_panfeng:['male','qun',4,['gzkuangfu'],['gzskin']],
gz_zoushi:['female','qun',3,['huoshui','new_qingcheng']],
gz_dengai:['male','wei',4,['tuntian','ziliang','gzjixi'],['gzskin','die_audio']],
gz_caohong:['male','wei',4,['gzhuyuan','heyi'],['gzskin']],
gz_jiangfei:['male','shu',3,['reshengxi','gzshoucheng']],
@ -497,7 +497,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_xusheng:['male','wu',4,['gzyicheng'],['gzskin']],
gz_jiangqing:['male','wu',4,['gzshangyi','niaoxiang']],
gz_hetaihou:['female','qun',3,['zhendu','qiluan'],['gzskin']],
gz_re_lidian:['male','wei',3,['xunxun','wangxi']],
gz_zangba:['male','wei',4,['rehengjiang']],
gz_madai:['male','shu',4,['mashu2','qianxi'],['gzskin']],
@ -506,11 +506,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_chendong:['male','wu',4,['duanxie','fenming']],
gz_sp_dongzhuo:['male','qun',4,['hengzheng','baoling']],
gz_zhangren:['male','qun',4,['chuanxin','fengshi']],
gz_jun_liubei:['male','shu',4,['zhangwu','jizhao','shouyue','wuhujiangdaqi']],
gz_jun_zhangjiao:['male','qun',4,['wuxin','hongfa','wendao','huangjintianbingfu']],
gz_jun_sunquan:['male','wu',4,['jiahe','lianzi','jubao','yuanjiangfenghuotu']],
gz_liqueguosi:['male','qun',4,['gzxiongsuan']],
gz_zuoci:['male','qun',3,['yigui','jihun'],['gzskin']],
gz_bianfuren:['female','wei',3,['wanwei','gzyuejian']],
@ -519,7 +519,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_lvfan:['male','wu',3,['xindiaodu','gzdiancai']],
gz_masu:['male','shu',3,['gzsanyao','gzzhiman'],['gzskin']],
gz_shamoke:['male','shu',4,['gzjili'],['gzskin']],
gz_lingcao:['male','wu',4,['dujin']],
gz_lifeng:['male','shu',3,['tunchu','shuliang']],
gz_beimihu:["female","qun",3,["hmkguishu","hmkyuanyu"]],
@ -536,7 +536,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_re_xunchen:['male','qun',3,['gzfenglve','gzanyong']],
gz_lvlingqi:['female','qun',4,['guowu','gzshenwei','gzzhuangrong'],['gzskin']],
gz_dc_yanghu:['male','wei',3,['gzdeshao','gzmingfa']],
gz_cuimao:['male','wei',3,['gzzhengbi','gzfengying'],[]],
gz_yujin:['male','wei',4,['gzjieyue'],['gzskin']],
gz_wangping:['male','shu',4,['jianglue'],['gzskin']],
@ -546,7 +546,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_yuanshu:['male','qun',4,['gzweidi','gzyongsi'],['gzskin']],
gz_zhangxiu:['male','qun',4,['gzfudi','gzcongjian'],['gzskin']],
gz_jun_caocao:['male','wei',4,['jianan','huibian','gzzongyu','wuziliangjiangdao'],[]],
gz_jin_zhangchunhua:['female','jin',3,['gzhuishi','gzqingleng']],
gz_jin_simayi:['male','jin',3,['gzquanbian','smyyingshi','gzxiongzhi']],
gz_jin_wangyuanji:['female','jin',3,['yanxi']],
@ -565,7 +565,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_xuangongzhu:['female','jin',3,['qimei','ybzhuiji']],
gz_xinchang:['male','jin',3,['canmou','congjian']],
gz_yangzhi:['female','jin',3,['gzwanyi','gzmaihuo']],
gz_liaohua:['male','shu',4,['gzdangxian']],
gz_zhugejin:['male','wu',3,['gzhuanshi','gzhongyuan','gzmingzhe']],
gz_yangxiu:['male','wei',3,['gzdanlao','gzjilei']],
@ -576,16 +576,16 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_tw_liufuren:['female','qun',3,['gzzhuidu','gzshigong'],[]],
gz_old_huaxiong:['male','qun',4,['gzyaowu','gzshiyong'],[]],
gz_tw_xiahoushang:['male','wei',4,['gztanfeng'],[]],
gz_xf_huangquan:['male','wei',3,['gzdianhu','gzjianji'],['doublegroup:wei:shu']],
gz_guohuai:['male','wei',4,['gzduanshi','gzjingce'],['gzskin']],
gz_guanqiujian:['male','wei',4,['gzzhengrong','gzhongju'],[]],
gz_zhujun:['male','qun',4,['gzgongjian','gzkuimang'],[]],
gz_chengong:['male','qun',3,['gzyinpan','gzxingmou'],['doublegroup:wei:qun','gzskin']],
gz_re_xugong:['male','wu',3,['gzbiaozhao','gzyechou'],['doublegroup:wu:qun']],
gz_yangwan:['female','shu',3,['gzyouyan','gzzhuihuan'],['gzskin']],
gz_key_ushio:['female','key',3,['ushio_huanxin','ushio_xilv'],['doublegroup:key:wei:shu:wu:qun:jin']],
}
},
@ -7065,7 +7065,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
dialog.content.appendChild(table2);
dialog.add('  ');
event.dialog.open();
event.switchToAuto=function(){
event._result={
bool:true,
@ -7246,7 +7246,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
},
},
yigui:{
audio:2,
hiddenCard:function(player,name){
@ -8367,7 +8367,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
mark:true,
intro:{content:function(){return get.translation('wuziliangjiangdao_info')}},
},
gzzhengbi:{
audio:'zhengbi',
trigger:{player:'phaseUseBegin'},
@ -8553,7 +8553,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
},
},
junling4_eff:{
mod:{
cardEnabled2:function(card){
@ -8586,7 +8586,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},
}
},
gzjieyue:{
trigger:{player:'phaseZhunbeiBegin'},
filter:function(event,player){
@ -8657,7 +8657,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},
audio:['jieyue',2],
},
jianglue:{
limited:true,
audio:2,
@ -9020,7 +9020,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},
}
},
gzjushou:{
audio:"xinjushou",
trigger:{
@ -13794,7 +13794,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
seats.previousSibling.style.display='none';
seats.style.display='none';
}
dialog.add(ui.create.div('.placeholder.add-setting'));
dialog.add(ui.create.div('.placeholder.add-setting'));
if(get.is.phoneLayout()) dialog.add(ui.create.div('.placeholder.add-setting'));
@ -13813,11 +13813,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
};
event.addSetting=addSetting;
event.removeSetting=removeSetting;
var chosen=lib.config.continue_name||[];
game.saveConfig('continue_name');
event.chosen=chosen;
var i;
event.list=[];
for(i in lib.character){
@ -14329,7 +14329,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ye:'野',
ye2:'野心家',
yexinjia_mark:'野心家',
bumingzhi:'不明置',
mingzhizhujiang:'明置主将',
mingzhifujiang:'明置副将',
@ -14337,7 +14337,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
mode_guozhan_character_config:'国战武将',
_zhenfazhaohuan:'阵法召唤',
_zhenfazhaohuan_info:'由拥有阵法技的角色发起,满足此阵法技条件的未确定势力角色均可按逆时针顺序依次明置其一张武将牌(响应阵法召唤),以发挥阵法技的效果。',
junling:'军令',
junling1:'军令一',
junling1_bg:'令',
@ -14359,7 +14359,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
junling6:'军令六',
junling6_bg:'令',
junling6_info:'若被执行,执行者选择一张手牌和一张装备区内牌(若有),然后弃置其余的牌。',
gz_miheng:'祢衡',
gzshensu:'神速',
gzshensu_info:'①判定阶段开始时你可跳过此阶段和摸牌阶段视为使用一张【杀】无距离限制。②出牌阶段开始时你可跳过此阶段并弃置一张装备牌视为使用一张【杀】无距离限制。③弃牌开始时你可跳过此阶段并失去1点体力视为使用一张【杀】无距离限制。',
@ -14377,7 +14377,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gzluoyi_info:'摸牌阶段结束时,你可弃置一张牌,然后你于本回合内造成渠道为【杀】或【决斗】的伤害+1。',
gzqiangxi:'强袭',
gzqiangxi_info:'出牌阶段限一次你可以弃置一张武器牌或失去1点体力然后对一名其他角色造成1点伤害。',
gz_sp_duyu:'杜预',
gzpozhen:'破阵',
gzpozhen_info:'限定技,其他角色的回合开始时,你可以令其本回合不可使用、打出或重铸手牌;若其处于队列或围攻关系中,你可依次弃置此队列或参与围攻关系的其他角色的一张牌。',
@ -14388,7 +14388,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gzzhuosheng:'擢升',
gzzhuosheng2:'擢升',
gzzhuosheng_info:'当一名与你势力相同的角色受到伤害后你可令其摸一张牌。然后直到其下个结束阶段前其使用此牌根据类型执行以下效果1. 基本牌不计入次数且无距离限制2. 普通锦囊牌,此牌目标可+1或-13. 装备牌,可摸一张牌。',
gzzhaoxin:'昭心',
gzzhaoxin_info:'当你受到伤害后,你可展示所有手牌,然后与一名手牌数不大于你的其他角色交换手牌。',
gzsuzhi:'夙智',
@ -14397,7 +14397,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gzhuaiyi_info:'出牌阶段限一次,你可以展示所有手牌。若其中包含两种颜色,则你可以弃置其中一种颜色的所有牌,然后获得至多等量名角色的各一张牌。然后你将以此法得到的装备牌置于武将牌上,称为“异”。',
gzzisui:'恣睢',
gzzisui_info:'锁定技摸牌阶段你多摸X张牌。结束阶段开始时若X大于你的体力上限你死亡X为“异”数。',
gz_tangzi:'唐咨',
gz_mengda:'孟达',
gz_liuqi:'刘琦',
@ -14531,7 +14531,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gzmingfa_info:'出牌阶段限一次你可以选择一名敌方角色。该角色的下个回合结束时若其手牌数小于你你对其造成1点伤害并获得其一张手牌大于你你摸X张牌X为你与其的手牌数之差且至多为5。',
gzjilei_info:'当你受到有来源的伤害后,你可以声明一种牌的类别。若如此做,你令伤害来源不能使用、打出或弃置此类别的手牌直到回合结束。',
gzdanlao_info:'当你成为普通锦囊牌的目标后若此牌的目标数大于1则你可以摸一张牌令此牌对你无效。',
gz_cuimao:'崔琰毛玠',
gzzhengbi:'征辟',
gzzhengbi_info:'出牌阶段开始时,你可以选择一项:选择一名未确定势力的角色,此出牌阶段结束时,若其有明置的武将牌,则你获得其每个区域内的各一张牌;或将一张基本牌交给一名有明置武将牌的角色,然后其交给你一张非基本牌或两张基本牌。',
@ -14580,7 +14580,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
huibian_info:'出牌阶段限一次你可以选择一名魏势力角色和另一名已受伤的魏势力角色。若如此做你对前者造成1点伤害然后其摸两张牌然后后者回复1点体力。',
gzzongyu:'总御',
gzzongyu_info:'当【六龙骖驾】进入其他角色的装备区后,你可以将你装备区内所有坐骑牌(至少一张)与【六龙骖驾】交换位置。锁定技,当你使用坐骑牌后,若场上或弃牌堆中有【六龙骖驾】,则将【六龙骖驾】置入你的装备区。',
yigui:"役鬼",
"yigui_info":"当你首次明置此武将牌时,你将剩余武将牌堆的两张牌置于武将牌上,称为“魂”;你可以展示一张武将牌上的“魂”并将其置入剩余武将牌堆,视为使用一张本回合内未以此法使用过的基本牌或普通锦囊牌。(此牌须指定目标,且目标须为未确定势力的角色或野心家或与此“魂”势力相同的角色)",
"yigui_init":"役鬼",
@ -14593,7 +14593,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
yigui_gzwuxie:'役鬼',
jihun:"汲魂",
jihun_info:"当你受到伤害后,或与你势力不同的角色脱离濒死状态后,你可以将剩余武将牌堆的一张牌置于武将牌上,称为“魂”。",
_guozhan_marks:'标记',
_guozhan_marks_backup:'标记',
xianqu_mark:"先驱",
@ -14602,7 +14602,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
_zhulianbihe_mark_tao:"珠联",
_yinyang_mark_add:"阴阳鱼",
yinyang_add:"阴阳鱼",
gzjushou:"据守",
gzjushou_info:"结束阶段你可以摸X张牌X为亮明势力数然后弃置一张手牌。若以此法弃置的牌为装备牌则改为使用此牌。若X大于2则你将武将牌叠置。",
"new_duanliang":"断粮",
@ -14659,7 +14659,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
"hmkguishu_info":"出牌阶段,你可以将一张黑桃手牌当作【知己知彼】或【远交近攻】使用。若你本局游戏内已经发动过了〖鬼术〗,则你必须选择与上次不同的选项。",
"_mingzhisuodingji":"亮将",
"_mingzhisuodingji_info":"出牌阶段,你可以明置拥有“锁定技”的武将牌。",
gz_jun_liubei:'君刘备',
gz_jun_liubei_prefix:'君',
gz_jun_zhangjiao:'君张角',
@ -14672,7 +14672,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_shamoke:'沙摩柯',
gz_masu:'马谡',
gz_yuji:'于吉',
gzshushen:'淑慎',
gzshushen_info:'当你回复1点体力时你可令与你势力相同的一名其他角色摸一张牌。',
_lianheng:'合纵',
@ -14684,7 +14684,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gzsanyao_info:'出牌阶段限一次。你可以弃置一张牌对一名手牌数或体力值大于你的角色造成1点伤害。',
gzzhiman:'制蛮',
gzzhiman_info:'当你对其他角色造成伤害时,你可以防止此伤害。若如此做,你获得其装备区或判定区里的一张牌。然后若该角色与你势力相同,该角色可以变更副将。',
gzdiancai:'典财',
gzdiancai_info:'其他角色的出牌阶段结束时若你于此阶段失去了x张或更多的牌则你可以将手牌摸至体力上限。若如此做你可以变更副将x为你的体力值。',
xuanlve:'旋略',
@ -14702,7 +14702,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gzhuashen_info:'准备阶段开始时,若你的“化身”不足两张,则你可以观看剩余武将牌堆中的五张牌,然后扣置其中至多两张武将牌在你的武将旁,称为“化身”;若“化身”有两张以上,则你可以用剩余武将牌堆顶的一张牌替换一张“化身”。你可以于相应的时机明置并发动“化身”的一个技能,技能结算完成后将该“化身”放回剩余武将牌堆。你每个时机只能发动一张“化身”的技能,且不能发动带有技能类型的技能(锁定技、限定技等)。',
gzxinsheng:'新生',
gzxinsheng_info:'当你受到伤害后,你可以从剩余武将牌堆中扣置一张牌加入到“化身”牌中。',
jubao:'聚宝',
jubao_info:'锁定技,你装备区里的宝物牌不能被其他角色获得。结束阶段开始时,若场上或弃牌堆有【定澜夜明珠】,则你摸一张牌,然后获得装备区里有【定澜夜明珠】角色的一张牌。',
jiahe:'嘉禾',
@ -14816,7 +14816,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
duoshi_info:'出牌阶段限四次,你可以将一张红色手牌当做【以逸待劳】使用。',
gzxiaoguo:'骁果',
gzxiaoguo_info:'其他角色的结束阶段开始时你可以弃置一张基本牌令该角色选择一项1.弃置一张装备牌2.受到你对其造成的1点伤害。',
gzdangxian:'当先',
gzdangxian_info:'锁定技。当你首次明置此武将牌时,你获得一枚“先驱”标记。回合开始时,你获得一个额外的出牌阶段。',
gzhuanshi:'缓释',
@ -14937,14 +14937,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gzrejinghe_info:'出牌阶段限一次,你可以转动“天书”,然后令一名角色获得“天书”向上一面的技能直到你的下个回合开始。',
gzrejinghe_faq:'转动“天书”',
gzrejinghe_faq_info:'<br><li>若游戏未拥有“天书”,系统将[雷击,阴兵,活气,鬼助,仙授,论道,观月,言政]以顺时针方向组成圆环作为“天书”,并转动圆环将随机一个技能至于最上面。<br><li>若游戏已拥有“天书”,则以逆时针方向转动转动“天书”至下个技能于最上面。',
gz_key_ushio:'冈崎汐',
ushio_huanxin:'幻心',
ushio_huanxin_info:'当你受到伤害后/使用【杀】造成伤害后/使用装备牌后,你可进行判定。然后你获得判定牌并弃置一张牌。',
ushio_xilv:'汐旅',
ushio_xilv2:'汐旅',
ushio_xilv_info:'锁定技,此武将牌可作为任意单势力武将牌的副将。当你进行判定后,你令你的手牌上限+1直至你的下个结束阶段。',
guozhan_default:"国战标准",
guozhan_zhen:"君临天下·阵",
guozhan_shi:"君临天下·势",
@ -14991,7 +14991,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['spade',12,'tiesuo'],
['spade',13,'nanman',null,['yingbian_fujia']],
['spade',13,'wutiesuolian'],
['heart',1,'taoyuan'],
['heart',1,'wanjian'],
['heart',2,'shan'],
@ -15019,7 +15019,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['heart',12,'guohe'],
['heart',13,'shan'],
['heart',13,'zhuahuang'],
['diamond',1,'zhuge'],
['diamond',1,'wuxinghelingshan'],
['diamond',2,'shan'],
@ -15047,7 +15047,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['diamond',12,'wuxie',null,['guo']],
['diamond',13,'shan'],
['diamond',13,'zixin'],
['club',1,'juedou'],
['club',1,'huxinjing'],
['club',2,'sha'],
@ -15104,7 +15104,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['spade',12,'tiesuo'],
['spade',13,'nanman'],
['spade',13,'dawan'],
['club',1,'juedou'],
['club',1,'baiyin'],
['club',2,'sha'],
@ -15132,7 +15132,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['club',12,'tiesuo'],
['club',13,'wuxie',null,['guo']],
['club',13,'tiesuo'],
['diamond',1,'zhuge'],
['diamond',1,'zhuque'],
['diamond',2,'shan'],
@ -15160,7 +15160,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['diamond',12,'wuxie',null,['guo']],
['diamond',13,'shan'],
['diamond',13,'zixin'],
['heart',1,'taoyuan'],
['heart',1,'wanjian'],
['heart',2,'shan'],
@ -15217,7 +15217,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['spade',12,'tiesuo'],
['spade',13,'nanman'],
['spade',13,'dawan'],
['club',1,'juedou'],
['club',1,'baiyin'],
['club',2,'sha'],
@ -15245,7 +15245,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['club',12,'tiesuo'],
['club',13,'wuxie',null,['guo']],
['club',13,'tiesuo'],
['diamond',1,'zhuge'],
['diamond',1,'zhuque'],
['diamond',2,'shan'],
@ -15273,7 +15273,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['diamond',12,'wuxie',null,['guo']],
['diamond',13,'shan'],
['diamond',13,'zixin'],
['heart',1,'taoyuan'],
['heart',1,'wanjian'],
['heart',2,'shan'],
@ -15302,7 +15302,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['heart',12,'guohe'],
['heart',13,'shan'],
['heart',13,'zhuahuang'],
['spade',1,'xietianzi',null,['lianheng']],
['spade',2,'minguangkai'],
['spade',3,'huoshaolianying',null,['lianheng']],
@ -15316,7 +15316,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['spade',11,'sha','thunder',['lianheng']],
['spade',12,'lulitongxin'],
['spade',13,'wuxie'],
['heart',1,'lianjunshengyan'],
['heart',2,'diaohulishan'],
['heart',3,'jingfanma',null,['lianheng']],
@ -15330,7 +15330,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['heart',11,'sha'],
['heart',12,'huoshaolianying',null,['lianheng']],
['heart',13,'shuiyanqijunx'],
['club',1,'yuxi'],
['club',2,'huxinjing',null,['lianheng']],
['club',3,'chiling'],
@ -15344,7 +15344,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['club',11,'huoshaolianying',null,['lianheng']],
['club',12,'shuiyanqijunx'],
['club',13,'wuxie',null,['guo']],
['diamond',1,'xietianzi',null,['lianheng']],
['diamond',2,'tao'],
['diamond',3,'tao',null,['lianheng']],
@ -15358,10 +15358,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['diamond',11,'wuxie',null,['guo']],
['diamond',12,'fangtian'],
['diamond',13,'shan'],
['diamond',6,'dinglanyemingzhu'],
['heart',13,'liulongcanjia'],
//['spade',12,'gz_haolingtianxia'],
//['diamond',1,'gz_kefuzhongyuan'],
//['heart',1,'gz_guguoanbang'],
@ -15956,7 +15956,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
this.setIdentity(this.identity);
this.ai.shown=1;
this.node.identity.classList.remove('guessing');
if(_status.clickingidentity&&_status.clickingidentity[0]==this){
for(var i=0;i<_status.clickingidentity[1].length;i++){
_status.clickingidentity[1][i].delete();
@ -16401,7 +16401,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
return current.isFriendOf(to);
});
if(to.identity=='ye') to_p+=1.5;
if(to_p>=max) return -5;
if(from_p>=max) return -2-to_p;
if(max>=game.players.length/2){
@ -16436,7 +16436,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
return att;
}
if(to.ai.shown>=0.5) return att*to.ai.shown;
var nshown=0;
for(var i=0;i<game.players.length;i++){
if(game.players[i]!=from&&game.players[i].identity=='unknown'){

View File

@ -297,7 +297,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
beginner=game.players[Math.floor(Math.random()*game.players.length)];
}
event.beginner=beginner;
var stratagemBroadcast=()=>{
_status.stratagemFuryMax=3;
ui.css.stratagemCardStyle=lib.init.sheet([
@ -365,7 +365,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
game.syncState();
event.trigger('gameStart');
var players=get.players(lib.sort.position);
var info=[];
for(var i=0;i<players.length;i++){
@ -937,7 +937,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
},result);
var list=[];
var players=game.players.slice(0);
players.removeArray([game.rZhu,game.bZhu]);
@ -1160,11 +1160,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
game.players[i].identityShown=false;
}
game.zhu.isZhu=(game.zhu.identity=='zhu');
game.me.setIdentity();
game.me.node.identity.classList.remove('guessing');
for(var i=0;i<game.players.length;i++){
game.players[i].send(function(zhu,zhuid,me,identity){
for(var i in lib.playerOL){
@ -1178,13 +1178,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.arena.classList.add('choose-character');
},game.zhu,game.zhu.identity,game.players[i],game.players[i].identity);
}
var list;
var list3=[];
var list4=[];
event.list=[];
event.list2=[];
var libCharacter={};
for(var i=0;i<lib.configOL.characterPack.length;i++){
var pack=lib.characterPack[lib.configOL.characterPack[i]];
@ -1225,7 +1225,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
"step 1"
var list=[];
var selectButton=(lib.configOL.double_character?2:1);
var num,num2=0;
num=Math.floor(event.list.length/(game.players.length-1));
if(num>5){
@ -1319,27 +1319,27 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.arena.classList.remove('choose-character');
},500);
},result2,result);
for(var i in result2){
if(!lib.playerOL[i].name){
lib.playerOL[i].init(result2[i][0],result2[i][1]);
}
if(result[i]&&result[i].length) lib.playerOL[i].changeGroup(result[i],false,false);
}
for(var i=0;i<game.players.length;i++){
_status.characterlist.remove(game.players[i].name);
_status.characterlist.remove(game.players[i].name1);
_status.characterlist.remove(game.players[i].name2);
}
['stratagem_gain','stratagem_insight','stratagem_expose'].forEach(globalSkill=>game.addGlobalSkill(globalSkill));
game.players.forEach(current=>{
current.storage.zhibi=[];
current.storage.stratagem_expose=[];
current.markSkill('stratagem_fury');
});
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
@ -1518,7 +1518,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
listi=['random','zhu','zhong','fan','nei'];
if(get.config('enable_commoner')&&!event.stratagemMode) listi.push('commoner');
}
for(var i=0;i<listi.length;i++){
var td=ui.create.div('.shadowed.reduce_radius.pointerdiv.tdnode');
td.link=listi[i];
@ -1609,7 +1609,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
});
}
dialog.content.appendChild(table);
dialog.add('选择座位').classList.add('add-setting');
var seats=document.createElement('div');
seats.classList.add('add-setting');
@ -1658,7 +1658,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
seats.previousSibling.style.display='none';
seats.style.display='none';
}
dialog.add(ui.create.div('.placeholder.add-setting'));
dialog.add(ui.create.div('.placeholder.add-setting'));
if(get.is.phoneLayout()) dialog.add(ui.create.div('.placeholder.add-setting'));
@ -1739,7 +1739,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.players[i].identityShown=false;
}
}
if(get.config('special_identity')&&!event.zhongmode&&!event.stratagemMode&&game.players.length==8){
for(var i=0;i<game.players.length;i++){
delete game.players[i].special_identity;
@ -1772,7 +1772,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
}
if(!game.zhu) game.zhu=game.me;
else{
if(!stratagemMode){
@ -2009,7 +2009,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else{
event.dialogxx=ui.create.characterDialog('heightset');
}
ui.create.cheat2=function(){
ui.cheat2=ui.create.control('自由选将',function(){
if(this.dialog==_status.event.dialog){
@ -2132,7 +2132,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
if(event.special_identity){
for(var i=0;i<event.special_identity.length;i++){
game.zhu.addSkill(event.special_identity[i]);
@ -2212,7 +2212,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},game.zhu,map);
event.special_identity=map;
}
game.zhu.setIdentity();
game.zhu.identityShown=true;
game.zhu.isZhu=(game.zhu.identity=='zhu');
@ -2222,7 +2222,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(game.me.special_identity){
game.me.node.identity.firstChild.innerHTML=get.translation(game.me.special_identity+'_bg');
}
for(var i=0;i<game.players.length;i++){
game.players[i].send(function(zhu,zhuid,me,identity){
for(var i in lib.playerOL){
@ -2242,14 +2242,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.arena.classList.add('choose-character');
},game.zhu,game.zhu.identity,game.players[i],game.players[i].identity);
}
var list;
var list2=[];
var list3=[];
var list4=[];
event.list=[];
event.list2=[];
var libCharacter={};
for(var i=0;i<lib.configOL.characterPack.length;i++){
var pack=lib.characterPack[lib.configOL.characterPack[i]];
@ -2341,7 +2341,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
event.list.remove(get.sourceCharacter(game.zhu.name2));
event.list2.remove(get.sourceCharacter(game.zhu.name1));
event.list2.remove(get.sourceCharacter(game.zhu.name2));
if(game.players.length>4){
game.zhu.maxHp++;
game.zhu.hp++;
@ -2357,7 +2357,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
zhu.update();
}
},game.zhu,result.links[0],result.links[1],game.players.length>4);
if(game.zhu.group=='shen'&&!game.zhu.isUnseen(0)){
var list=['wei','shu','wu','qun','jin','key'];
for(var i=0;i<list.length;i++){
@ -2386,7 +2386,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
"step 3"
var list=[];
var selectButton=(lib.configOL.double_character?2:1);
var num,num2=0;
if(event.zhongmode){
num=6;
@ -2514,14 +2514,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.arena.classList.remove('choose-character');
},500);
},result2,result);
for(var i in result2){
if(!lib.playerOL[i].name){
lib.playerOL[i].init(result2[i][0],result2[i][1]);
}
if(result[i]&&result[i].length) lib.playerOL[i].changeGroup(result[i],false,false);
}
if(event.special_identity){
for(var i in event.special_identity){
game.zhu.addSkill(i);
@ -2784,7 +2784,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.zhu.playerfocus(1000);
_status.event.trigger('zhuUpdate');
}
if(!_status.over){
var giveup;
if(get.population('fan')+get.population('nei')==1){
@ -2857,7 +2857,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(this.ai.shown<-0.5) this.ai.shown=-0.5;
if(_status.mode=='purple') return;
if(stratagemMode) return;
var marknow=(!_status.connectMode&&this!=game.me&&get.config('auto_mark_identity')&&this.ai.identity_mark!='finished');
// if(true){
if(marknow&&_status.clickingidentity&&_status.clickingidentity[0]==this){
@ -4052,7 +4052,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}).set('ai',function(target){
var player=_status.event.player;
var att=get.attitude(player,target);
if(att>0){
var js=target.getCards('j');
if(js.length){

View File

@ -3,10 +3,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
return {
name:'realtime',
start:function(){
},
game:{
}
};
});

View File

@ -94,7 +94,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
//huatuo:['male','qun',3,['qingnang','jijiu']],
lvbu:['male','qun',4,['wushuang']],
diaochan:['female','qun',3,['pianyi','biyue']],
xiahouyuan:['male','wei',4,['shensu','suzi']],
old_caoren:['male','wei',4,['jushou']],
huangzhong:['male','shu',4,['liegong']],
@ -102,22 +102,22 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
xiaoqiao:['female','wu',3,['tianxiang','hongyan']],
old_zhoutai:['male','wu',4,['gzbuqu']],
zhangjiao:['male','qun',3,['leiji','guidao'],['zhu']],
dianwei:['male','wei',4,['qiangxi']],
yanwen:['male','qun',4,['shuangxiong']],
pangde:['male','qun',4,['xiaoxi','mengjin']],
menghuo:['male','shu',4,['manyi','zaiqi']],
zhurong:['female','shu',4,['manyi','lieren']],
xuhuang:['male','wei',4,['sgduanliang']],
sunjian:['male','wu',4,['gzyinghun']],
jiangwei:['male','shu',4,['tiaoxin']],
hejin:['male','qun',4,['mouzhu','yanhuo']],
hansui:['male','qun',4,['xiaoxi','niluan']],
niujin:['male','wei',4,['cuorui','liewei']],
jin_zhangchunhua:['female','jin',3,['huishi','qingleng']],
jin_simayi:['male','jin',3,['smyyingshi','xiongzhi','quanbian']],
jin_wangyuanji:['female','jin',3,['yanxi']],
@ -128,7 +128,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
duyu:['male','jin',4,['sanchen','zhaotao']],
},
startBefore:function(){
},
onreinit:function(){
_status.mode=_status.connectMode?lib.configOL.single_mode:get.config('single_mode');
@ -224,10 +224,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(ui.coin){
_status.coinCoeff=get.coinCoeff([game.me.name]);
}
game.syncState();
event.trigger('gameStart');
var players=get.players(lib.sort.position);
var info=[];
for(var i=0;i<players.length;i++){
@ -239,7 +239,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
_status.videoInited=true;
game.addVideo('init',null,info);
game.gameDraw(game.zhu,function(player){
if(_status.mode=='dianjiang') return 4;
if(_status.mode=='normal') return player==game.zhu?3:4;
@ -354,7 +354,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
};
var dialog=ui.create.characterDialog('heightset',filter).open();
dialog.videoId=event.videoId;
game.me.chooseButton(true).set('ai',function(button){
return Math.random();
}).set('dialog',event.videoId);
@ -830,7 +830,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var source=player;
var name=result.links[0];
var color=source.node.identity.dataset.color;
game.broadcastAll(function(source,name,color){
source.revive(null,false);
source.uninit();
@ -838,7 +838,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
source.node.identity.dataset.color=color;
},source,name,color);
game.log(source,'出场');
var num=_status.mode == 'normal' ? 4 : source.maxHp;
if(player.hasSkill('cuorui')){
player.logSkill('cuorui');
@ -1108,7 +1108,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
},
},
_changeHandcard:{
trigger:{global:'gameDrawAfter'},
silent:true,
@ -1161,7 +1161,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
normal2:'新1v1',
changban2:'血战长坂坡',
dianjiang2:'点将单挑',
wanrong:'婉容',
wanrong_info:'当你成为【杀】的目标后,你可以摸一张牌。',
sgzhiheng:'制衡',

File diff suppressed because it is too large Load Diff

View File

@ -127,7 +127,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.chesswidth=_status.map.size[0];
ui.chessheight=_status.map.size[1];
game.initChess();
var grids=[];
var gridnum=ui.chessheight*ui.chesswidth;
for(var i=0;i<gridnum;i++){
@ -159,7 +159,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
event.obs.push(cg.toString());
}
}
if(lib.config.show_handcardbutton){
lib.setPopped(ui.create.system('手牌',null,true),function(){
var uiintro=ui.create.dialog('hidden');
@ -183,16 +183,16 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
return uiintro;
},220);
}
ui.create.me();
ui.create.fakeme();
ui.chessinfo=ui.create.div('.fakeme.player',ui.me,function(e){
e.stopPropagation();
});
ui.create.div(ui.chessinfo);
lib.setScroll(ui.chessinfo.firstChild);
game.arrangePlayers();
"step 4"
ui.control.style.display='';
@ -214,10 +214,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(event.obs){
game.addVideo('initobs',null,event.obs);
}
ui.me.querySelector('.fakeme.player').hide();
ui.me.querySelector('.fakeme.avatar').hide();
var list=[];
for(i in lib.character){
if(i.indexOf('treasure_')==0) continue;
@ -236,7 +236,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
_status.turnTotal=parseInt(get.config('tafang_turn'));
ui.turnCount=ui.create.system('',null,true);
_status.remainingCount=0;
_status.tafangend=[];
for(var i=0;i<ui.chesswidth;i++){
var tafangdes=ui.chesswidth*(ui.chessheight-1)+i;
@ -1123,10 +1123,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
trueColor:"zhu",
falseColor:"wei",
_chessmove:'移动',
mode_tafang_character_config:'塔防模式',
mode_tafang_card_config:'塔防模式',
tafang_mech_weixingxianjing:'小型陷阱',
tafang_mech_weixingxianjing_skill:'捕猎',
tafang_mech_weixingxianjing_skill_info:'每一轮令距离你2格以内的一名随机敌人翻面。',
@ -1145,7 +1145,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
tafang_mech_guangmingquan:'光明泉',
tafang_mech_guangmingquan_skill:'圣疗',
tafang_mech_guangmingquan_skill_info:'每一轮令距离2格以内的所有友方角色各回复1点体力。',
tafang_mech_dubiaoxianjing:'毒镖陷阱',
tafang_mech_dubiaoxianjing_skill:'毒镖',
tafang_mech_dubiaoxianjing_skill_info:'每当距离2格以内的一名敌方角色。',
@ -1163,7 +1163,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
// tafang_mech_shenmidiaoxiang:['','',4,[],['boss'],5],
// tafang_mech_shiyuansu:['','',4,[],['boss'],5],
// tafang_mech_jiqishi:['','',4,[],['boss'],5],
tafang_mech_guangmingquan:['','',3,[],['boss'],3],
tafang_mech_nengliangqiu:['','',3,[],['boss'],3],
tafang_mech_jiguanren:['','',3,[],['boss'],3],

View File

@ -138,7 +138,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(lib.storage.versus_reward==undefined) game.save('versus_reward',3);
if(lib.storage.versus_punish==undefined) game.save('versus_punish','弃牌');
if(lib.storage.replace_number==undefined) game.save('replace_number',3);
switch(lib.storage.seat_order){
case '交叉':lib.storage.cross_seat=true;lib.storage.random_seat=false;break;
case '随机':lib.storage.cross_seat=false;lib.storage.random_seat=true;break;
@ -181,7 +181,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['zhu','ezhu','zhong','ezhong','zhong','ezhong','zhong','ezhong'],
['zhu','ezhong','zhong','ezhong','zhong','ezhu','zhong','ezhong'],
].randomGet();
var side=true;
var num=Math.floor(Math.random()*8);
list=list.splice(8-num).concat(list);
@ -230,7 +230,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
rand2--;
}
}
for(var i in lib.skill){
if(lib.skill[i].changeSeat){
lib.skill[i]={};
@ -239,7 +239,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
}
var side=Math.random()<0.5;
var num=Math.floor(Math.random()*8);
list=list.splice(8-num).concat(list);
@ -519,10 +519,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
_status.enemyCount=ui.create.system('杀敌: '+get.cnNumber(0,true),null,true);
_status.friendCount=ui.create.system('阵亡: '+get.cnNumber(0,true),null,true);
lib.setPopped(_status.friendCount,game.versusHoverFriend);
lib.setPopped(_status.enemyCount,game.versusHoverEnemy);
if(lib.storage.zhu){
game.versusPhaseLoop(firstAct);
}
@ -905,7 +905,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
var dialog=ui.create.dialog('选择角色',[myChoice.concat([event.friendChoice]),'character']);
dialog.buttons[7].node.name.innerHTML=get.verticalStr('队友选择');
var addSetting=function(dialog){
dialog.add('选择座位').classList.add('add-setting');
var seats=document.createElement('table');
@ -944,7 +944,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
seats.previousSibling.style.display='none';
seats.style.display='none';
}
dialog.add(ui.create.div('.placeholder.add-setting'));
dialog.add(ui.create.div('.placeholder.add-setting'));
if(get.is.phoneLayout()) dialog.add(ui.create.div('.placeholder.add-setting'));
@ -963,11 +963,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
};
event.addSetting=addSetting;
event.removeSetting=removeSetting;
if(get.config('change_identity')){
addSetting(dialog);
}
ui.create.cheat=function(){
_status.createControl=ui.cheat2;
ui.cheat=ui.create.control('更换',function(){
@ -1116,7 +1116,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
setTimeout(function(){
ui.arena.classList.remove('choose-character');
},500);
ui.longchuanzhibao=ui.create.system('龙船至宝',null,true);
// ui.longchuanzhibao.style.display='none';
lib.setPopped(ui.longchuanzhibao,function(){
@ -1151,12 +1151,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var bool=Math.random()<0.5;
var bool2=Math.random()<0.5;
var ref=game.players[0];
ref.side=bool;
ref.next.side=bool2;
ref.next.next.side=!bool;
ref.previous.side=!bool2;
var firstChoose=game.players.randomGet();
if(firstChoose.next.side==firstChoose.side){
firstChoose=firstChoose.next;
@ -1166,7 +1166,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
firstChoose.node.name.innerHTML=get.verticalStr(get.cnNumber(i+1,true)+'号位');
firstChoose=firstChoose.next;
}
for(var i=0;i<game.players.length;i++){
if(game.players[i].side==game.me.side){
game.players[i].node.identity.firstChild.innerHTML='友';
@ -1198,7 +1198,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var choose=[];
event.list=list;
_status.characterlist=list4;
var addSetting=function(dialog){
dialog.add('选择座位').classList.add('add-setting');
var seats=document.createElement('table');
@ -1251,7 +1251,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
seats.previousSibling.style.display='none';
seats.style.display='none';
}
dialog.add(ui.create.div('.placeholder.add-setting'));
dialog.add(ui.create.div('.placeholder.add-setting'));
if(get.is.phoneLayout()) dialog.add(ui.create.div('.placeholder.add-setting'));
@ -1270,7 +1270,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
};
event.addSetting=addSetting;
event.removeSetting=removeSetting;
var characterChoice;
if(_status.brawl&&_status.brawl.chooseCharacter){
characterChoice=_status.brawl.chooseCharacter(list,game.me);
@ -1298,7 +1298,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
addSetting(dialog);
}
}
ui.create.cheat=function(){
_status.createControl=ui.cheat2;
ui.cheat=ui.create.control('更换',function(){
@ -1460,13 +1460,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
}
var firstChoose=game.players.randomGet();
_status.firstAct=firstChoose;
firstChoose.side=false;
firstChoose.next.side=true;
for(var i=0;i<game.players.length;i++){
if(game.players[i].side==game.me.side){
game.players[i].node.identity.firstChild.innerHTML='友';
@ -1485,11 +1485,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var choose=[];
event.list=list;
_status.endlessListAll=list.slice(0);
var characterChoice=list.randomGets(6);
var dialog=ui.create.dialog('选择角色',[characterChoice,'character']);
game.me.chooseButton(true,dialog).set('onfree',true);
ui.create.cheat=function(){
_status.createControl=ui.cheat2;
ui.cheat=ui.create.control('更换',function(){
@ -1632,7 +1632,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var i;
var list;
var list2=[];
event.list=[];
event.choiceFour=(get.config('character_four')||lib.choiceFour);
event.filterChoice=function(name){
@ -1772,11 +1772,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
rand2--;
}
}
var side=Math.random()<0.5;
var num=game.players.indexOf(_status.firstAct);
list=list.splice(8-num).concat(list);
for(var i=0;i<8;i++){
if(list[i][0]=='e'){
game.players[i].side=side;
@ -1797,7 +1797,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
delete game.players[i].node.name_seat;
}
}
_status.rechoose=true;
for(var i=0;i<game.players.length;i++){
game.players[i].uninit();
@ -1975,7 +1975,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
_status.friendBackup=event.friendlist.slice(0);
_status.enemyBackup=event.enemylist.slice(0);
_status.coinCoeff=get.coinCoeff(event.friendlist);
ui.create.players(6);
for(var i=0;i<game.players.length;i++){
game.players[i].getId();
@ -1992,10 +1992,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
_status.prepareArena=true;
ui.create.me();
ui.me.appendChild(ui.fakeme);
game.friend=[];
game.enemy=[];
for(var i in lib.skill){
if(lib.skill[i].changeSeat){
lib.skill[i]={};
@ -2041,11 +2041,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.friendZhu.maxHp++;
game.friendZhu.hp++;
game.friendZhu.update();
game.enemyZhu.maxHp++;
game.enemyZhu.hp++;
game.enemyZhu.update();
game.onSwapControl();
});
},
@ -2093,7 +2093,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
this.dialog.versus_number=this.dialog.add(ui.create.switcher('versus_number',[1,2,3],lib.storage.number)).querySelector('.toggle');
this.dialog.replace_number=this.dialog.add(ui.create.switcher('replace_number',[0,1,2,3,5,7,9,17],lib.storage.replace_number)).querySelector('.toggle');
this.dialog.choice=this.dialog.add(ui.create.switcher('choice',[12,16,20,24,40,'∞'],lib.storage.choice)).querySelector('.toggle');
// if(lib.storage.cross_seat){
// this.dialog.versus_random_seat.parentNode.classList.add('disabled');
// }
@ -2182,7 +2182,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
_status.friend.length=0;
_status.enemy.length=0;
var choice=(lib.storage.choice=='∞')?list.length:lib.storage.choice;
ui.dialog.content.firstChild.innerHTML='选择角色';
var buttons=ui.create.div('.buttons');
var node=_status.event.dialog.buttons[0].parentNode;
@ -2190,7 +2190,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
_status.event.dialog.content.insertBefore(buttons,node);
buttons.addTempClass('start');
node.remove();
// event.check();
});
delete _status.createControl;
@ -2357,12 +2357,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
"step 1"
_status.friendBackup=_status.friend.slice(0);
_status.enemyBackup=_status.enemy.slice(0);
_status.friendDied=[];
_status.enemyDied=[];
_status.totalCount=_status.friend.length;
_status.coinCoeff=get.coinCoeff(_status.friend);
// ui.auto.show();
ui.wuxie.show();
ui.control.style.display='none';
@ -2523,7 +2523,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
for(i=0;i<num;i++){
game.friend[i].init(_status.friend[i]);
game.enemy[i].init(_status.enemy[i]);
game.friend[i].node.identity.dataset.color=get.translation(_status.color+'Color');
game.enemy[i].node.identity.dataset.color=get.translation(!_status.color+'Color');
}
@ -2531,7 +2531,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.friendZhu.maxHp++;
game.friendZhu.hp++;
game.friendZhu.update();
game.enemyZhu.maxHp++;
game.enemyZhu.hp++;
game.enemyZhu.update();
@ -2564,7 +2564,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
['zhu','ezhu','zhong','ezhong','zhong','ezhong','zhong','ezhong'],
['zhu','ezhong','zhong','ezhong','zhong','ezhu','zhong','ezhong'],
].randomGet();
var side=true;
var num=Math.floor(Math.random()*8);
list=list.splice(8-num).concat(list);
@ -2585,7 +2585,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.players[i].node.identity.dataset.color=get.translation(game.players[i].side+'Color');
game.players[i].getId();
}
var side=true;
var map={};
var num=Math.floor(Math.random()*8);
@ -2604,7 +2604,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var evt_list=[['huoshaowuchao','chunyuqiong'],['liangcaokuifa','sp_xuyou'],['zhanyanliangzhuwenchou','jsp_guanyu'],['shishengshibai','re_guojia'],['xutuhuanjin','yj_jushou'],['liangjunxiangchi','yj_jushou'],['jianshoudaiyuan','tianfeng'],['yiruoshengqiang','re_caocao'],['shichongerjiao','sp_xuyou']].randomGet();
var evt=evt_list[0],character=evt_list[1];
game.addGlobalSkill(evt);
var func=function(map,evt){
for(var i in map){
var player=lib.playerOL[i];
@ -2777,7 +2777,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
rand2--;
}
}
var side=Math.random()<0.5;
var map={};
var num=Math.floor(Math.random()*8);
@ -2807,7 +2807,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.players[i].node.name_seat.style.opacity=1;
}
},_status.firstAct);
var filterChoice=function(name){
// if(name=='zuoci'||name=='miheng') return true;
if(!lib.choiceFour.includes(name)){
@ -3009,16 +3009,16 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},500)
_status.friendDied=[];
_status.enemyDied=[];
_status.friend=[];
_status.enemy=[];
_status.enemyCount=ui.create.system('杀敌: '+get.cnNumber(0,true),null,true);
_status.friendCount=ui.create.system('阵亡: '+get.cnNumber(0,true),null,true);
lib.setPopped(_status.friendCount,func1);
lib.setPopped(_status.enemyCount,func2);
for(var i in result){
if(!lib.playerOL[i].name1){
lib.playerOL[i].init(result[i][0]);
@ -3043,16 +3043,16 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
_status.friendDied=list1;
_status.enemyDied=list2;
_status.friend=list3;
_status.enemy=list4;
_status.enemyCount=ui.create.system('杀敌: '+get.cnNumber(_status.enemyDied.length,true),null,true);
_status.friendCount=ui.create.system('阵亡: '+get.cnNumber(_status.friendDied.length,true),null,true);
lib.setPopped(_status.friendCount,func1);
lib.setPopped(_status.enemyCount,func2);
for(var i=0;i<game.players.length;i++){
if(game.players[i].side==game.me.side){
game.players[i].node.identity.firstChild.innerHTML='友';
@ -3127,7 +3127,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
}];
//22联机分配武将
var list=[];
var libCharacter={};
@ -3307,7 +3307,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
event.sendback=sendback;
//发送
event.ai_targets=[];
for(var i=0;i<game.players.length;i++){
@ -3508,26 +3508,26 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
dialog.close();
}
},event.videoId);
_status.friendDied=[];
_status.enemyDied=[];
_status.friend=game.players[0].storage.versuslist;
_status.enemy=game.players[1].storage.versuslist;
delete game.players[0].storage.versuslist;
delete game.players[1].versuslist;
_status.enemyCount=ui.create.system('杀敌: '+get.cnNumber(0,true),null,true);
_status.friendCount=ui.create.system('阵亡: '+get.cnNumber(0,true),null,true);
lib.setPopped(_status.friendCount,game.versusHoverFriend);
lib.setPopped(_status.enemyCount,game.versusHoverEnemy);
game.me.side=true;
game.players[0].side=true;
game.players[1].side=false;
var func=function(list1,list2,list3,list4,func1,func2,playerid){
if(game.me.playerid==playerid){
game.me.side=true;
@ -3537,25 +3537,25 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
game.me.side=false;
game.me.next.side=true;
}
if(game.me.side){
_status.enemyDied=list1;
_status.friendDied=list2;
_status.enemy=list3;
_status.friend=list4;
}
else{
_status.friendDied=list1;
_status.enemyDied=list2;
_status.friend=list3;
_status.enemy=list4;
}
_status.enemyCount=ui.create.system('杀敌: '+get.cnNumber(_status.enemyDied.length,true),null,true);
_status.friendCount=ui.create.system('阵亡: '+get.cnNumber(_status.friendDied.length,true),null,true);
lib.setPopped(_status.friendCount,func1);
lib.setPopped(_status.enemyCount,func2);
};
@ -3563,7 +3563,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
_status.enemy,_status.friend,game.versusHoverFriend,game.versusHoverEnemy,game.players[0].playerid];
game.broadcast(func,_status.enemyDied,_status.friendDied,
_status.enemy,_status.friend,game.versusHoverFriend,game.versusHoverEnemy,game.players[0].playerid);
var list=[[game.players[0],['选择出场角色',[_status.friend,'character']]],[game.players[1],['选择出场角色',[_status.enemy,'character']]]];
game.me.chooseButtonOL(list,function(player,result){
if(game.online||player==game.me) player.init(result.links[0]);
@ -3808,12 +3808,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},
versusHoverEnemy:function(){
var uiintro=ui.create.dialog('hidden');
if(_status.enemyDied.length){
uiintro.add('已阵亡');
uiintro.add([_status.enemyDied,'character']);
}
uiintro.add('未上场');
if(_status.enemy.length){
uiintro.add([_status.enemy,'character']);
@ -3821,17 +3821,17 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else{
uiintro.add('(无)')
}
return uiintro;
},
versusHoverFriend:function(){
var uiintro=ui.create.dialog('hidden');
if(_status.friendDied.length){
uiintro.add('已阵亡');
uiintro.add([_status.friendDied,'character']);
}
uiintro.add('未上场');
if(_status.friend.length){
uiintro.add([_status.friend,'character']);
@ -3839,7 +3839,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else{
uiintro.add('(无)')
}
return uiintro;
},
versusHoverHandcards:function(){
@ -3875,12 +3875,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.control.hide();
ui.intro=ui.create.dialog();
ui.intro.source='versusCheckEnemy';
if(_status.enemyDied.length){
ui.intro.add('已阵亡');
ui.intro.add([_status.enemyDied,'character']);
}
ui.intro.add('未上场');
if(_status.enemy.length){
ui.intro.add([_status.enemy,'character']);
@ -3904,12 +3904,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ui.control.hide();
ui.intro=ui.create.dialog();
ui.intro.source='versusCheckFriend';
if(_status.friendDied.length){
ui.intro.add('已阵亡');
ui.intro.add([_status.friendDied,'character']);
}
ui.intro.add('未上场');
if(_status.friend.length){
ui.intro.add([_status.friend,'character']);
@ -3974,7 +3974,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
ui.versushighlight=game.me;
game.me.classList.add('current_action');
ui.fakeme.style.backgroundImage=game.me.node.avatar.style.backgroundImage;
}
},
@ -3993,7 +3993,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
ui.lineme.width=ui.window.offsetWidth;
ui.lineme.height=ui.window.offsetHeight;
var ctx=ui.linemectx;
ctx.shadowBlur=5;
ctx.shadowColor='rgba(0,0,0,0.3)';
@ -4004,9 +4004,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
ctx.strokeStyle='rgba(255,255,255,'+opacity+')';
ctx.lineWidth=3;
ctx.setLineDash([8,2]);
ctx.beginPath();
var startx,endx,pos;
var endy=game.me.offsetHeight/2+game.me.offsetTop+ui.arena.offsetTop;
var starty=ui.me.offsetTop+ui.arena.offsetTop+ui.me.offsetHeight/2;
@ -4036,7 +4036,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_jiarenzidan:['male','wei',5,['boss_chiying','boss_jingfan'],['jiangeboss','hiddenboss','bossallowed'],'wei'],
boss_duanyuzhongda:['male','wei',5,['boss_fanshi','boss_xuanlei','boss_skonghun'],['jiangeboss','hiddenboss','bossallowed'],'wei'],
boss_juechenmiaocai:['male','wei',5,['boss_chuanyun','boss_leili','boss_fengxing'],['jiangeboss','hiddenboss','bossallowed'],'wei'],
boss_jileibaihu:['male','shu',5,['boss_jiguan','boss_zhenwei','boss_benlei'],['jiangemech','hiddenboss','bossallowed'],'shu'],
boss_yunpingqinglong:['male','shu',5,['boss_jiguan','boss_mojianjg'],['jiangemech','hiddenboss','bossallowed'],'shu'],
boss_lingjiaxuanwu:['male','shu',5,['boss_jiguan','yizhong','boss_lingyu'],['jiangemech','hiddenboss','bossallowed'],'shu'],
@ -4045,7 +4045,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_tuntianchiwen:['male','wei',5,['boss_jiguan','boss_tanshi','boss_tunshi'],['jiangemech','hiddenboss','bossallowed'],'wei'],
boss_shihuosuanni:['male','wei',5,['boss_jiguan','boss_lianyujg'],['jiangemech','hiddenboss','bossallowed'],'wei'],
boss_lieshiyazi:['male','wei',5,['boss_jiguan','boss_nailuo'],['jiangemech','hiddenboss','bossallowed'],'wei'],
boss_kumuyuanrang:['male','wei',5,['boss_bashi','boss_danjing'],['jiangeboss','hiddenboss','bossallowed'],'wei'],
boss_baijiwenyuan:['male','wei',5,['boss_jiaoxie'],['jiangeboss','hiddenboss','bossallowed'],'wei'],
boss_yihanyunchang:['male','shu',5,['boss_xiaorui','boss_huchen'],['jiangeboss','hiddenboss','bossallowed'],'shu'],
@ -4105,7 +4105,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
["heart",9,"tao"],
["heart",12,"tao"],
["diamond",12,"tao"],
["spade",2,"bagua"],
["club",2,"bagua"],
["spade",5,"jueying"],
@ -4123,7 +4123,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
["diamond",5,"guanshi"],
["diamond",12,"fangtian"],
["heart",5,"qilin"],
["heart",3,"wugu"],
["heart",4,"wugu"],
["heart",1,"taoyuan"],
@ -4194,14 +4194,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
["spade",9,"jiu"],
["club",3,"jiu"],
["club",9,"jiu"],
["diamond",13,"hualiu"],
["club",1,"baiyin"],
["spade",2,"tengjia"],
["club",2,"tengjia"],
["spade",1,"guding"],
["diamond",1,"zhuque"],
["heart",2,"huogong"],
["heart",3,"huogong"],
["diamond",12,"huogong"],
@ -4271,7 +4271,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
["heart",9,"tao"],
["heart",12,"tao"],
["diamond",12,"tao"],
["spade",2,"bagua"],
["club",2,"bagua"],
["spade",5,"jueying"],
@ -4289,7 +4289,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
["diamond",5,"guanshi"],
["diamond",12,"fangtian"],
["heart",5,"qilin"],
["heart",3,"wugu"],
["heart",4,"wugu"],
["heart",1,"taoyuan"],
@ -4325,7 +4325,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
["heart",6,'lebu'],
["spade",1,'hanbing'],
["club",2,'renwang'],
["heart",4,"sha","fire"],
["heart",7,"sha","fire"],
["heart",10,"sha","fire"],
@ -4358,13 +4358,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
["spade",9,"jiu"],
["club",3,"jiu"],
["club",9,"jiu"],
["diamond",13,"hualiu"],
["club",1,"baiyin"],
["spade",2,"tengjia",],
["spade",1,"guding"],
["diamond",1,"zhuque"],
["heart",2,"huogong"],
["heart",3,"huogong"],
["diamond",12,"huogong"],
@ -4444,10 +4444,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
choice_config:'候选人数',
mode_versus_character_config:'剑阁武将',
mode_versus_card_config:'同舟共济',
tangzi:'唐咨',
liuqi:'刘琦',
wenji:'问计',
wenji2:'问计',
wenji_info:'队友的出牌阶段开始时,你可令其交给你一张手牌,若此牌为锦囊牌,则非队友角色计算与你的距离+1直到你的下个回合开始。',
@ -4458,7 +4458,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
xingzhao3:'兴棹',
xingzhao_bg:'棹',
xingzhao_info:'锁定技若你和队友持有的龙船至宝数合计为1个以上你具有技能“恂恂”2个以上当你或队友使用装备牌时其摸一张牌3个以上你和队友跳过判定阶段。',
boss_liedixuande:'烈帝玄德',
boss_gongshenyueying:'工神月英',
boss_tianhoukongming:'天侯孔明',
@ -4467,7 +4467,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_jiarenzidan:'佳人子丹',
boss_duanyuzhongda:'断狱仲达',
boss_juechenmiaocai:'绝尘妙才',
boss_jileibaihu:'机雷白虎',
boss_yunpingqinglong:'云屏青龙',
boss_lingjiaxuanwu:'灵甲玄武',
@ -4476,12 +4476,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
boss_tuntianchiwen:'吞天螭吻',
boss_shihuosuanni:'食火狻猊',
boss_lieshiyazi:'裂石睚眦',
boss_kumuyuanrang:'枯目元让',
boss_baijiwenyuan:'百计文远',
boss_yihanyunchang:'翊汉云长',
boss_fuweizilong:'扶危子龙',
boss_xiaorui:'骁锐',
boss_xiaorui2:'骁锐',
boss_xiaorui_info:'友方角色于其回合内使用【杀】造成伤害后,其使用【杀】的次数+1。',
@ -6958,7 +6958,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
name:source.name,
stat:source.stat
});
game.broadcastAll(function(source,name,color){
_status.friend.remove(name);
_status.enemy.remove(name);
@ -6971,7 +6971,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
},source,name,color);
game.log(source,'出场');
source.draw(4);
var evt=event.getParent('dying');
if(evt&&evt.parent){
@ -7004,10 +7004,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
}
if(!num||typeof num!='number') return this;
this.storage.longchuanzhibao+=num;
this.updateMark('longchuanzhibao');
if(source){
source.storage.longchuanzhibao-=num;
source.updateMark('longchuanzhibao');
@ -7016,7 +7016,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else{
game.log(this,'获得了'+get.cnNumber(num)+'个','#y龙船至宝');
}
if(source&&source.side!=this.side){
this.draw(num,'nodelay');
var that=this;
@ -7027,7 +7027,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
friend.draw(num,'nodelay');
}
}
var map={wei:0,shu:0,wu:0,qun:0};
for(var i=0;i<game.players.length;i++){
var current=game.players[i];
@ -7184,7 +7184,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
return;
}
var list=(this.side==game.me.side)?_status.friend:_status.enemy;
if((list.length==0&&lib.storage.noreplace_end)||
(lib.storage.zhu&&lib.storage.main_zhu&&this.identity=='zhu'&&game.players.length>2)){
@ -7450,7 +7450,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
_status.enemyDied.push(this.name1);
_status.enemyCount.innerHTML='杀敌: '+get.cnNumber(_status.enemyDied.length,true);
}
var list=(this.side==me.side)?_status.friend:_status.enemy;
if((list.length==0&&lib.storage.noreplace_end)||
(lib.storage.zhu&&lib.storage.main_zhu&&this.identity=='zhu'&&game.players.length>2)){