This commit is contained in:
libccy 2016-07-16 11:32:55 +08:00
parent 9531992a93
commit f67b684e2f
5 changed files with 65 additions and 10 deletions

View File

@ -1539,7 +1539,11 @@ card.standard={
str+='将'+(state>0?'生效':'失效')+',是否无懈?';
if(player.isUnderControl(true)&&!_status.auto&&!ui.tempnowuxie&&tempnowuxie){
ui.tempnowuxie=ui.create.control('不无懈'+get.translation(card.name),ui.click.tempnowuxie);
var translation=get.translation(card.name);
if(translation.length>=4){
translation=translation.slice(0,2);
}
ui.tempnowuxie=ui.create.control('不无懈'+translation,ui.click.tempnowuxie);
ui.tempnowuxie._origin=id2;
}
var next=player.chooseToUse({

View File

@ -10,12 +10,12 @@ character.ow={
ow_shibing:['male','shu',4,['tuji','mujing']],
ow_yuanshi:['male','qun',3,['feiren','lianpo','zhanlong']],
ow_chanyata:['male','qun',3,['xie','luan','sheng']],
ow_dva:['female','qun',2,['jijia','tuijin','zihui','chongzhuang']],
// ow_heibaihe:['female','shu',3,[]],
// ow_mei:['female','shu',3,[]],
// ow_baolei:['female','shu',3,[]],
// ow_ana:['female','shu',4,[]],
// ow_dva:['female','shu',4,[]],
// ow_maikelei:['male','shu',4,[]],
// ow_banzang:['male','shu',4,[]],
// ow_kuangshu:['male','shu',4,[]],
@ -26,6 +26,42 @@ character.ow={
// ow_zhaliya:['female','shu',4,[]],
},
skill:{
jijia:{
mark:true,
init:function(player){
player.storage.jijia=4;
player.storage.jijia2=0;
},
intro:{
content:function(storage){
return '机甲体力值:'+storage;
}
},
mod:{
maxHandcard:function(player,num){
if(player.storage.jijia>0){
return num+player.storage.jijia;
}
}
},
trigger:{player:'changeHp'},
forced:true,
popup:false,
filter:function(event,player){
return player.storage.jijia>0&&event.parent.name=='damage'&&event.num<0;
},
content:function(){
player.hp-=trigger.num;
player.update();
player.storage.jijia+=trigger.num;
if(player.storage.jijia<=0){
player.unmarkSkill('jijia');
}
else{
player.updateMarks();
}
}
},
xiandan:{
trigger:{player:'shaBegin'},
direct:true,
@ -86,7 +122,7 @@ character.ow={
'step 0'
player.discardPlayerCard('是否发动【目镜】?',trigger.target).logSkill=['mujing'];
'step 1'
if(result.bool&&player.num('h')<trigger.target.num('h')){
if(result.bool&&player.num('h')<=trigger.target.num('h')){
player.draw();
}
}
@ -1153,12 +1189,20 @@ character.ow={
}
},
translate:{
jijia:'机甲',
jijia_info:'锁定技游戏开始时你获得一个体力为4的机甲你的手牌上限为你和机甲的体力之和你受到的伤害由机甲承担',
zihui:'自毁',
zihui_info:'出牌阶段你可以摧毁你的机甲然后令所有其他角色选择一项弃置数量等同你机甲体力值的牌或受到2点火焰伤害',
tuijin:'推进',
tuijin_info:'出牌阶段限一次若你有机甲你可以指定一名角色本回合内视为与其距离为1',
chongzhuang:'重装',
chongzhuang_info:'若你没有机甲在你回合结束或造成伤害时你获得一个机甲标记当你有4个机甲标记时你立即重新获得机甲',
shouge:'收割',
shouge_info:'每当你杀死一名角色,你可以获得一张治疗波',
tuji:'突击',
tuji_info:'锁定技在你的回合内你每使用一次牌后你计算与其他角色的距离便减少1直到回合结束',
mujing:'目镜',
mujing_info:'每当你对攻击范围不含你的角色使用一张牌,你可以弃置目标一张牌;若你的手牌数比目标少,你摸一张牌',
mujing_info:'每当你对攻击范围不含你的角色使用一张牌,你可以弃置目标一张牌;若你的手牌数不多于目标,你摸一张牌',
feiren:'飞刃',
feiren2:'飞刃',
feiren_info:'你的杀无视距离和防具;你的黑桃杀可以额外结算一次,梅花杀可以额外指定一个目标',
@ -1209,6 +1253,7 @@ character.ow={
ow_luxiao:'卢西奥',
ow_shibing:'士兵76',
ow_yuanshi:'源氏',
ow_chanyata:'禅雅塔'
ow_chanyata:'禅雅塔',
ow_dva:'DVA',
}
};

View File

@ -22,6 +22,7 @@ window.characterRank={
'pal_xuanxiao',
'xk_fujianhan',
'swd_cheyun',
'swd_huanyuanzhi',
'swd_jipeng',
'lusu',
'yuanshu',
@ -34,7 +35,6 @@ window.characterRank={
'liuxie',
'hs_neptulon',
'gjqt_aruan',
'hs_totemic',
'shen_lvbu',
'zhangxingcai',
'swd_sikongyu',
@ -52,9 +52,13 @@ window.characterRank={
'hs_xsylvanas',
'hs_malygos',
'hs_alakir',
'hs_morgl',
'ow_luxiao',
],
a:[
'hs_walian',
'hs_fandral',
'hs_totemic',
'sundeng',
'hs_xialikeer',
'hs_sainaliusi',
@ -104,15 +108,16 @@ window.characterRank={
'hs_shanlingjuren',
'hs_tgolem',
'zhangrang',
'hs_lafamu',
'ow_chanyata',
'ow_tianshi',
'hs_lafamu',
'ow_shibing',
'ow_liekong',
],
am:[
'guohuanghou',
'sunziliufang',
'hs_blingtron',
'ow_shibing',
'hs_kcthun',
'ow_zhixuzhiguang',
'ow_falaozhiying',
@ -189,10 +194,10 @@ window.characterRank={
'hs_jiaziruila',
'hs_brann',
're_liubei',
'ow_liekong',
'liyan',
],
bp:[
'hs_hallazeal',
'liuyu',
'chess_zhangliao',
'chess_sunshangxiang',
@ -274,7 +279,6 @@ window.characterRank={
'swd_nicole',
'sp_jiangwei',
'zhugeliang',
'swd_huanyuanzhi',
'swd_huyue',
'swd_zhuoshanzhu',
'swd_shaowei',

View File

@ -8,6 +8,8 @@ window.noname_update={
'game/game.js',
'game/asset.js',
'card/swd.js',
'card/standard.js',
'character/rank.js',
'character/ow.js',
'character/hearth.js',
],

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 85 KiB