This commit is contained in:
libccy 2017-02-19 22:09:31 +08:00
parent bf80a74e2d
commit 1df32b18a6
6 changed files with 67 additions and 24 deletions

View File

@ -79,6 +79,10 @@ character.sp={
kanze:['male','wu',3,['xiashu','kuanshi']], kanze:['male','wu',3,['xiashu','kuanshi']],
heqi:['male','wu',4,['qizhou','shanxi']], heqi:['male','wu',4,['qizhou','shanxi']],
}, },
characterIntro:{
re_yuanshu:'字公路,汝南汝阳人,袁绍之弟。初为虎贲中郎将。董卓进京后以袁术为后将军,袁术因畏祸而出奔南阳。初平元年与袁绍、曹操等同时起兵,共讨董卓。后与袁绍对立,被袁绍、曹操击败,率馀众奔九江,割据扬州。建安二年称帝,建号仲氏。',
},
perfectPair:{ perfectPair:{
zhugejin:['zhugeke'], zhugejin:['zhugeke'],
guanyinping:['guanyu'], guanyinping:['guanyu'],
@ -460,6 +464,7 @@ character.sp={
trigger:{player:['phaseBefore','equipAfter','loseAfter']}, trigger:{player:['phaseBefore','equipAfter','loseAfter']},
forced:true, forced:true,
popup:false, popup:false,
derivation:['mashu','reyingzi','duanbing','fenwei'],
filter:function(event,player){ filter:function(event,player){
if(player.equiping) return false; if(player.equiping) return false;
var suits=[]; var suits=[];
@ -7189,6 +7194,7 @@ character.sp={
forced:true, forced:true,
popup:false, popup:false,
unique:true, unique:true,
derivation:['tiaoxin','paoxiao','xinshensu'],
content:function(){ content:function(){
player.removeAdditionalSkill('baobian'); player.removeAdditionalSkill('baobian');
var list=[]; var list=[];

View File

@ -29,7 +29,32 @@ character.standard={
diaochan:['female','qun',3,['lijian','biyue']], diaochan:['female','qun',3,['lijian','biyue']],
}, },
characterIntro:{ characterIntro:{
chenlin:'hhh' liubei:'先主姓刘,讳备,字玄德,涿郡涿县人,汉景帝子中山靖王胜之后也。以仁德治天下。',
guanyu:'字云长,本字长生,并州河东解州人。五虎上将之首,爵至汉寿亭侯,谥曰“壮缪侯”。被奉为“关圣帝君”,崇为“武圣”。',
zhangfei:'字翼德,涿郡人,燕颔虎须,豹头环眼。有诗云:“长坂坡头杀气生,横枪立马眼圆睁。一声好似轰雷震,独退曹家百万兵”。',
zhugeliang:'字孔明,号卧龙,琅琊阳都人,蜀汉丞相。在世时被封为武乡侯,谥曰忠武侯。著有《出师表》、《诫子书》等。怀不世之才,以空城戏司马,能观星象而通鬼神。',
zhaoyun:'字子龙,常山真定人。身长八尺,姿颜雄伟。长坂坡单骑救阿斗,先主云:“子龙一身都是胆也。”',
machao:'字孟起,扶风茂陵人。面如冠玉,目如流星,虎体猿臂,彪腹狼腰,声雄力猛。因衣着讲究,举止非凡,故人称“锦马超”。麾铁骑,捻金枪。',
huangyueying:'荆州沔南白水人,沔阳名士黄承彦之女,诸葛亮之妻,诸葛瞻之母。容貌甚丑,而有奇才:上通天文,下察地理,韬略近于诸书无所不晓,诸葛亮在南阳闻其贤而迎娶。',
sunquan:'吴大帝,字仲谋,吴郡富春县人。统领吴与蜀魏三足鼎立,制衡天下。',
ganning:'字兴霸,巴郡临江人,祖籍荆州南阳郡。为人勇猛刚强,忠心耿耿,勇往无前。曾带兵百人于二更奇袭曹营,大挫其锐气。',
lvmeng:'字子明,汝南富陂人。陈寿评曰:“吕蒙勇而有谋断,识军计,谲郝普,擒关羽,最其妙者。初虽轻果妄杀,终于克己,有国士之量,岂徒武将而已乎!”',
huanggai:'字公覆,零陵郡泉陵县人。官至偏将军、武陵太守。以苦肉计骗曹孟德,亲往诈降,火烧战船,重创敌军。',
zhouyu:'字公瑾,庐江舒县人,任东吴三军大都督,雄姿英发,人称“美周郎”。赤壁之战前,巧用反间计杀了精通水战的叛将蔡瑁、张允。',
daqiao:'庐江皖县人,为乔公长女,孙策之妻,小乔之姊。与小乔并称为“江东二乔”,容貌国色流离。',
luxun:'本名陆议,字伯言,吴郡吴县人。历任东吴大都督、丞相。吴大帝孙权兄孙策之婿,世代为江东大族。以谦逊之书麻痹关羽,夺取荆州,又有火烧连营大破蜀军。',
sunshangxiang:'孙夫人,乃孙权之妹。刘备定荆州,孙权进妹与其结姻,重固盟好。孙夫人才捷刚猛,有诸兄之风。后人为其立庙,号曰“枭姬庙”。',
caocao:'魏武帝曹操,字孟德,小名阿瞒、吉利,沛国谯人。精兵法,善诗歌,乃治世之能臣,乱世之奸雄也。',
simayi:'晋宣帝,字仲达,河内温人。曾任职过曹魏的大都督,太尉,太傅。少有奇节,聪明多大略,博学洽闻,伏膺儒教,世之鬼才也。',
xiahoudun:'字元让,沛国谯人。有拔矢啖睛之勇,性格勇猛刚烈。',
zhangliao:'字文远魏雁门马邑人。官至前将军、征东将军、晋阳侯。武功高强又谋略过人多次建立奇功以800人突袭孙权十万大军皆望风披靡。',
xuzhu:'字仲康,谯国谯县人。和典韦一同统率着曹操的亲卫队“虎卫军”。因为他十分勇猛,所以有“虎痴”的绰号。曾有裸衣斗马超之举。',
guojia:'字奉孝,颍川阳翟人,官至军师祭酒。惜天妒英才,英年早逝。有诗云:“良计环环不遗策,每临制变满座惊”。',
zhenji:'中山无极人,别称甄洛或甄宓,庙号文昭甄皇后。魏文帝曹丕的正室。懂诗文,有倾国倾城之貌,《洛神赋》即是曹植为她所作。',
huatuo:'字元化,一名旉,沛国谯人,“建安三神医”之一。集平生之所得著《青囊经》,现已失传。',
lvbu:'字奉先,五原郡九原县人。三国第一猛将,曾独力战刘关张三人,其武力世之无双。时人语曰:“人中有吕布,马中有赤兔。”',
diaochan:'中国古代四大美女之一,有闭月羞花之貌。司徒王允之义女,由王允授意施行连环计,离间董卓、吕布,借布手除卓。后貂蝉成为吕布的妾。',
}, },
perfectPair:{ perfectPair:{
xiahoudun:['xiahouyuan'], xiahoudun:['xiahouyuan'],

View File

@ -72,6 +72,9 @@ character.yijiang={
zhangrang:['male','qun',3,['taoluan']], zhangrang:['male','qun',3,['taoluan']],
sunziliufang:['male','wei',3,['guizao','jiyu']], sunziliufang:['male','wei',3,['guizao','jiyu']],
}, },
characterIntro:{
huaxiong:'董卓旗下名将,自荐抵抗山东地区反对董卓的诸侯联军于汜水关前,他先后斩杀济北相鲍信之弟鲍忠和孙坚部将祖茂、以及袁术部将俞涉和韩馥手下潘凤等人,最后关东联军派出关羽与之一对一决斗而被杀。'
},
perfectPair:{ perfectPair:{
wuguotai:['sunjian','sunshangxiang'], wuguotai:['sunjian','sunshangxiang'],
zhangchunhua:['simayi'], zhangchunhua:['simayi'],

View File

@ -33828,7 +33828,7 @@
if(lib.config.favouriteCharacter.contains(name)){ if(lib.config.favouriteCharacter.contains(name)){
fav.classList.add('active'); fav.classList.add('active');
} }
var intro=ui.create.div('.characterintro',uiintro,lib.characterIntro[name]||'123'); var intro=ui.create.div('.characterintro',get.characterIntro(name),uiintro);
var intro2=ui.create.div('.characterintro.intro2',uiintro); var intro2=ui.create.div('.characterintro.intro2',uiintro);
var list=lib.character[name][3]; var list=lib.character[name][3];
@ -34663,6 +34663,14 @@
if(info.locked) return true; if(info.locked) return true;
return false; return false;
}, },
},
characterIntro:function(name){
if(lib.characterIntro[name]) return lib.characterIntro[name];
if(name.indexOf('_')!=-1){
name=name.slice(name.indexOf('_')+1);
}
if(lib.characterIntro[name]) return lib.characterIntro[name];
return '暂无武将介绍';
}, },
groupnature:function(group){ groupnature:function(group){
switch(group){ switch(group){

View File

@ -1,27 +1,28 @@
window.noname_update={ window.noname_update={
version:'1.9.9.5', version:'1.9.9.6',
update:'1.9.9', // update:'1.9.9',
changeLog:[ changeLog:[
'新武将', '新武将资料卡',
], ],
files:[ files:[
'game/game.js', // 'game/game.js',
'game/asset.js', // 'game/asset.js',
'card/*', // 'card/*',
'character/*', // 'character/*',
'mode/boss.js', // 'mode/boss.js',
'mode/chess.js', // 'mode/chess.js',
'mode/versus.js', // 'mode/versus.js',
// 'mode/guozhan.js', // 'mode/guozhan.js',
// 'mode/identity.js', // 'mode/identity.js',
'mode/stone.js', // 'mode/stone.js',
// 'theme/simple/style.css', // 'theme/simple/style.css',
'layout/default/layout.css', // 'layout/default/layout.css',
// 'layout/default/layout.css',
// 'layout/long/layout.css', // 'layout/long/layout.css',
// 'layout/long2/layout.css', // 'layout/long2/layout.css',
// 'layout/mobile/layout.css', // 'layout/mobile/layout.css',
// 'layout/newlayout/global.css', // 'layout/newlayout/global.css',
'layout/mode/chess.css', // 'layout/mode/chess.css',
// 'extension/boss/extension.js', // 'extension/boss/extension.js',
] ]
} }

View File

@ -176,7 +176,7 @@
left: 10px; left: 10px;
top: 10px; top: 10px;
overflow: hidden; overflow: hidden;
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px !important; box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 0 5px !important;
} }
.menubg.charactercard>.menubutton.large{ .menubg.charactercard>.menubutton.large{
width: 85px; width: 85px;
@ -292,14 +292,14 @@
pointer-events: none; pointer-events: none;
} }
.menubg.charactercard>.ava>.avatar{ .menubg.charactercard>.ava>.avatar{
left: 0; left: 5px;
top: 0; top: 5px;
width: calc(100% - 0px); width: calc(100% - 10px);
height: calc(100% - 0px); height: calc(100% - 10px);
background-position: 50% 0; background-position: 50% 0;
border-radius: 0px !important; border-radius: 4px !important;
z-index: 1; z-index: 1;
box-shadow: none; box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 0 5px;
} }
.menu.main>.menu-tab{ .menu.main>.menu-tab{
height:37px; height:37px;