This commit is contained in:
libccy 2015-12-20 17:23:42 +08:00
parent 1ac2c6d679
commit 7016846d60
3 changed files with 14 additions and 10 deletions

View File

@ -6023,15 +6023,15 @@ character.swd={
trigger:{source:'damageEnd'},
priority:1,
forced:true,
filter:function(event,player){
return !player.skills.contains('xiaomoyu2');
},
content:function(){
"step 0"
player.addTempSkill('xiaomoyu2','phaseAfter');
if(player.hp<player.maxHp){
player.recover();
event.finish();
// player.chooseControl('draw_card','recover_hp',function(event,target){
// if(player.num('h')>=player.hp) return 'recover_hp';
// return 'draw_card';
// });
}
else{
player.draw();
@ -6056,6 +6056,7 @@ character.swd={
}
}
},
xiaomoyu2:{},
xielv_old:{
trigger:{player:'phaseDiscardEnd'},
filter:function(event,player){
@ -7946,7 +7947,7 @@ character.swd={
daofa:'道法',
daofa_info:'每当有一名其他角色造成伤害,你可以令其弃置一张牌',
xiaomoyu:'魔愈',
xiaomoyu_info:'锁定技,每当你造成一次伤害,你回复一点体力,若你没有受伤,则改为摸一张牌',
xiaomoyu_info:'锁定技,每当你于一个回合内首次造成伤害,你回复一点体力,若你没有受伤,则改为摸一张牌',
yihua:'移花',
yihua_info:'每当你成为其他角色的某张卡牌的惟一目标时,你可以弃置两张手牌,将使用者与目标对调',
youyin:'游吟',

View File

@ -18520,14 +18520,15 @@
if(offset12>40){
offset12=90-hs1[i].node.info.offsetWidth;
hs1[i].node.info.querySelector('span').style.display='none';
hs1[i].node.name.style.transform='translateY(17px)';
hs1[i].node.name.style.transform='translateY(16px)';
hs1[i].node.info.style.transform='translateX(-'+offset12+'px) translateY(-3px)';
}
else{
hs1[i].node.info.querySelector('span').style.display='';
hs1[i].node.name.style.transform='';
}
hs1[i].node.info.style.transform='translateX(-'+offset12+'px)';
}
}
ui.handcards1Container.firstChild.style.width=(offset1*(hs1.length-1)+118)+'px';
var offset2,offset22=0;
@ -18556,14 +18557,15 @@
if(offset22>40){
offset22=90-hs2[i].node.info.offsetWidth;
hs2[i].node.info.querySelector('span').style.display='none';
hs2[i].node.name.style.transform='translateY(17px)';
hs2[i].node.name.style.transform='translateY(16px)';
hs2[i].node.info.style.transform='translateX(-'+offset22+'px) translateY(-3px)';
}
else{
hs2[i].node.info.querySelector('span').style.display='';
hs2[i].node.name.style.transform='';
}
hs2[i].node.info.style.transform='translateX(-'+offset22+'px)';
}
}
ui.handcards2Container.firstChild.style.width=(offset2*(hs2.length-1)+118)+'px';
},
updateh:function(compute){

View File

@ -334,7 +334,8 @@ div:not(.handcards)>.card>.info,
.handcards>.card:last-child>.info,
div:not(.handcards)>.card>.name,
.handcards>.card:last-child>.name{transform: none !important}
div:not(.handcards)>.card>.info>span{display: inline !important}
div:not(.handcards)>.card>.info>span,
.handcards>.card:last-child>.info>span{display: inline !important}
.card>.image{
width: 100%;
height: 100%;