This commit is contained in:
parent
2b85f76f88
commit
ea96dd1f26
|
@ -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;
|
||||||
|
|
|
@ -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)];
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue