This commit is contained in:
libccy 2017-04-04 21:57:35 +08:00
parent 2b85f76f88
commit ea96dd1f26
4 changed files with 17 additions and 6 deletions

View File

@ -940,10 +940,19 @@ character.hearth={
content:function(storage,player){ content:function(storage,player){
if(!storage) return '未使用过青玉牌'; if(!storage) return '未使用过青玉牌';
var str='手牌上限+'+storage; var str='手牌上限+'+storage;
if(storage>=6){ var num1,num2;
if(get.is.altered('qingzun')){
num1=3;
num2=9;
}
else{
num1=2;
num2=6;
}
if(storage>=num2){
str+=';准备阶段和结束阶段,你可以摸一张牌' str+=';准备阶段和结束阶段,你可以摸一张牌'
} }
else if(storage>=2){ else if(storage>=num1){
str+=';准备阶段,你可以摸一张牌' str+=';准备阶段,你可以摸一张牌'
} }
return str; return str;

View File

@ -7189,9 +7189,7 @@ character.sp={
filter:function(event,player){ filter:function(event,player){
return player.countCards('he',{color:'red'})>0; return player.countCards('he',{color:'red'})>0;
}, },
filterTarget:function(card,player,target){ filterTarget:true,
return player!=target;
},
selectTarget:function(){ selectTarget:function(){
var player=_status.event.player var player=_status.event.player
return [1,Math.max(1,player.maxHp-player.hp)]; return [1,Math.max(1,player.maxHp-player.hp)];

View File

@ -24953,6 +24953,9 @@
for(var i=0;i<event.avatars.length;i++){ for(var i=0;i<event.avatars.length;i++){
event.avatars[i].delete(); event.avatars[i].delete();
} }
for(var i=0;i<event.nodes.length;i++){
event.nodes[i].delete();
}
event.result={friend:[],enemy:[]}; event.result={friend:[],enemy:[]};
for(var i=0;i<event.config.num;i++){ for(var i=0;i<event.config.num;i++){
event.result.friend[i]=event.friendlist[i].link; event.result.friend[i]=event.friendlist[i].link;

View File

@ -14,7 +14,8 @@ window.noname_update={
// 'card/sp.js', // 'card/sp.js',
// 'card/yunchou.js', // 'card/yunchou.js',
// 'character/*', // 'character/*',
// 'character/gujian.js', 'character/sp.js',
'character/hearth.js',
// 'mode/boss.js', // 'mode/boss.js',
// 'mode/versus.js', // 'mode/versus.js',
// 'mode/guozhan.js', // 'mode/guozhan.js',