fix
|
@ -430,6 +430,10 @@ card.hearth={
|
||||||
order:8,
|
order:8,
|
||||||
result:{
|
result:{
|
||||||
target:-1
|
target:-1
|
||||||
|
},
|
||||||
|
tag:{
|
||||||
|
multineg:1,
|
||||||
|
multitarget:1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -32,16 +32,22 @@ character.hearth={
|
||||||
// hs_bolvar:['male','wei',2,[]],
|
// hs_bolvar:['male','wei',2,[]],
|
||||||
// hs_fuding:['male','wei',2,[]],
|
// hs_fuding:['male','wei',2,[]],
|
||||||
hs_ysera:['female','wu',4,['chenshui']],
|
hs_ysera:['female','wu',4,['chenshui']],
|
||||||
|
hs_alextrasza:['female','shu',5,['fushi']],
|
||||||
|
hs_sapphiron:['male','wei',4,['bingdong','stuxi']],
|
||||||
|
|
||||||
hs_ronghejuren:['male','shu',8,[]],
|
hs_zhishigushu:['male','shu',4,['jiaohui']],
|
||||||
|
hs_zhanzhenggushu:['male','wei',6,['biri']],
|
||||||
|
hs_ronghejuren:['male','shu',8,['ronghuo']],
|
||||||
|
hs_shanlingjuren:['male','qun',8,['luoshi']],
|
||||||
hs_edwin:['male','qun',3,['lianzhan']],
|
hs_edwin:['male','qun',3,['lianzhan']],
|
||||||
hs_mijiaojisi:['female','qun',3,['kuixin']],
|
hs_mijiaojisi:['female','qun',3,['kuixin']],
|
||||||
hs_huzhixiannv:['female','wu',3,['jingmeng','qingliu']],
|
hs_huzhixiannv:['female','wu',3,['jingmeng','qingliu']],
|
||||||
// hs_tgolem:['male','qun',4,['guozai']],
|
hs_tgolem:['male','qun',4,['guozaix']],
|
||||||
hs_totemic:['male','wu',3,['s_tuteng']],
|
hs_totemic:['male','wu',3,['s_tuteng']],
|
||||||
hs_xsylvanas:['female','qun',3,['busi','xshixin','xmojian']],
|
hs_xsylvanas:['female','qun',3,['busi','xshixin','xmojian']],
|
||||||
hs_siwangzhiyi:['male','qun',12,['mieshi']],
|
hs_siwangzhiyi:['male','qun',12,['mieshi']],
|
||||||
hs_bilanyoulong:['male','wei',4,['lingzhou']],
|
hs_bilanyoulong:['male','wei',4,['lingzhou']],
|
||||||
|
hs_jinglinglong:['male','wu',3,['mianyi']],
|
||||||
},
|
},
|
||||||
perfectPair:{
|
perfectPair:{
|
||||||
hs_sthrall:['hs_totemic','hs_alakir','hs_neptulon','hs_yngvar','hs_tgolem'],
|
hs_sthrall:['hs_totemic','hs_alakir','hs_neptulon','hs_yngvar','hs_tgolem'],
|
||||||
|
@ -50,6 +56,222 @@ character.hearth={
|
||||||
hs_malfurion:['hs_malorne'],
|
hs_malfurion:['hs_malorne'],
|
||||||
},
|
},
|
||||||
skill:{
|
skill:{
|
||||||
|
biri:{
|
||||||
|
trigger:{global:'useCard'},
|
||||||
|
priority:15,
|
||||||
|
filter:function(event,player){
|
||||||
|
return event.card.name=='sha'&&event.player!=player&&
|
||||||
|
get.distance(player,event.targets[0])<=1&&
|
||||||
|
player.num('h',{type:'basic'})>0&&
|
||||||
|
event.targets.contains(player)==false&&event.targets.length==1;
|
||||||
|
},
|
||||||
|
direct:true,
|
||||||
|
content:function(){
|
||||||
|
"step 0"
|
||||||
|
var effect=0;
|
||||||
|
for(var i=0;i<trigger.targets.length;i++){
|
||||||
|
effect+=ai.get.effect(trigger.targets[i],trigger.card,trigger.player,player);
|
||||||
|
}
|
||||||
|
var str='蔽日:是否弃置一张基本牌令'+get.translation(trigger.player);
|
||||||
|
if(trigger.targets&&trigger.targets.length){
|
||||||
|
str+='对'+get.translation(trigger.targets);
|
||||||
|
}
|
||||||
|
str+='的'+get.translation(trigger.card)+'失效?';
|
||||||
|
if(event.isMine()||effect<0){
|
||||||
|
game.delay(0.5);
|
||||||
|
}
|
||||||
|
player.chooseToDiscard('h',{type:'basic'},str).ai=function(card){
|
||||||
|
if(effect<0){
|
||||||
|
return 9-ai.get.value(card);
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
"step 1"
|
||||||
|
if(result.bool){
|
||||||
|
trigger.untrigger();
|
||||||
|
trigger.finish();
|
||||||
|
player.logSkill('biri',trigger.targets);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ai:{
|
||||||
|
expose:0.2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
stuxi:{
|
||||||
|
trigger:{player:'phaseEnd'},
|
||||||
|
forced:true,
|
||||||
|
content:function(){
|
||||||
|
'step 0'
|
||||||
|
event.targets=get.players();
|
||||||
|
'step 1'
|
||||||
|
if(event.targets.length){
|
||||||
|
var target=event.targets.shift();
|
||||||
|
if(!target.isTurnedOver()&&target.num('he')){
|
||||||
|
target.chooseToDiscard(true);
|
||||||
|
}
|
||||||
|
event.redo();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
bingdong:{
|
||||||
|
enable:'phaseUse',
|
||||||
|
usable:1,
|
||||||
|
filter:function(event,player){
|
||||||
|
return !player.isTurnedOver();
|
||||||
|
},
|
||||||
|
filterTarget:function(card,player,target){
|
||||||
|
return !target.isTurnedOver()&&player!=target;
|
||||||
|
},
|
||||||
|
content:function(){
|
||||||
|
'step 0'
|
||||||
|
if(!player.isTurnedOver()){
|
||||||
|
player.turnOver();
|
||||||
|
}
|
||||||
|
'step 1'
|
||||||
|
if(!target.isTurnedOver()){
|
||||||
|
target.turnOver();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ai:{
|
||||||
|
order:1,
|
||||||
|
expose:0.2,
|
||||||
|
result:{
|
||||||
|
target:function(player,target){
|
||||||
|
if(ai.get.attitude(player,target)<-3&&player.identity!='zhu'){
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
luoshi:{
|
||||||
|
trigger:{player:'damageEnd'},
|
||||||
|
forced:true,
|
||||||
|
filter:function(event,player){
|
||||||
|
return player.num('he')>0||(event.source&&event.source.num('he')>0);
|
||||||
|
},
|
||||||
|
content:function(){
|
||||||
|
'step 0'
|
||||||
|
var hs=player.get('he');
|
||||||
|
if(hs.length){
|
||||||
|
player.discard(hs.randomGet())
|
||||||
|
}
|
||||||
|
'step 1'
|
||||||
|
if(trigger.source){
|
||||||
|
var hs=trigger.source.get('he');
|
||||||
|
if(hs.length){
|
||||||
|
trigger.source.discard(hs.randomGet())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ronghuo:{
|
||||||
|
trigger:{player:'useCardToBefore'},
|
||||||
|
priority:7,
|
||||||
|
filter:function(event,player){
|
||||||
|
if(event.card.name=='sha'&&!event.card.nature) return true;
|
||||||
|
},
|
||||||
|
check:function(event,player){
|
||||||
|
var att=ai.get.attitude(player,event.target);
|
||||||
|
if(event.target.hasSkillTag('nofire')){
|
||||||
|
return att>0;
|
||||||
|
}
|
||||||
|
return att<=0;
|
||||||
|
},
|
||||||
|
forced:true,
|
||||||
|
content:function(){
|
||||||
|
trigger.card.nature='fire';
|
||||||
|
player.addSkill('ronghuo2');
|
||||||
|
player.storage.ronghuo=trigger.card;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ronghuo2:{
|
||||||
|
trigger:{player:'useCardAfter'},
|
||||||
|
forced:true,
|
||||||
|
popup:false,
|
||||||
|
content:function(){
|
||||||
|
delete player.storage.ronghuo.nature;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fushi:{
|
||||||
|
enable:'phaseUse',
|
||||||
|
filterTarget:true,
|
||||||
|
content:function(){
|
||||||
|
'step 0'
|
||||||
|
target.loseMaxHp(true);
|
||||||
|
'step 1'
|
||||||
|
if(target.hp<target.maxHp){
|
||||||
|
target.recover();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ai:{
|
||||||
|
threaten:1.4,
|
||||||
|
expose:0.2,
|
||||||
|
order:9,
|
||||||
|
result:{
|
||||||
|
target:function(player,target){
|
||||||
|
if(target.hp==target.maxHp) return 0;
|
||||||
|
if(target.hp==target.maxHp-1) return -1;
|
||||||
|
if(target.hp==1) return 1;
|
||||||
|
if(target.hp<target.maxHp-2) return 0.5;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mianyi:{
|
||||||
|
mod:{
|
||||||
|
targetEnabled:function(card,player,target,now){
|
||||||
|
if(player!=target){
|
||||||
|
if(get.type(card)=='trick'&&!get.tag(card,'multitarget')) return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
jiaohui:{
|
||||||
|
trigger:{player:'phaseEnd'},
|
||||||
|
direct:true,
|
||||||
|
filter:function(event,player){
|
||||||
|
return !player.getStat('damage');
|
||||||
|
},
|
||||||
|
content:function(){
|
||||||
|
'step 0'
|
||||||
|
player.chooseTarget('是否发动【教诲】?').ai=function(target){
|
||||||
|
var att=ai.get.attitude(player,target);
|
||||||
|
if(att>1&&target.hp<=1){
|
||||||
|
att+=2;
|
||||||
|
}
|
||||||
|
return att;
|
||||||
|
};
|
||||||
|
'step 1'
|
||||||
|
if(result.bool){
|
||||||
|
event.target=result.targets[0];
|
||||||
|
player.logSkill('jiaohui',event.target);
|
||||||
|
if(event.target.hp<event.target.maxHp){
|
||||||
|
event.target.chooseControl('draw_card','recover_hp',function(event,target){
|
||||||
|
if(target.hp>=2||target.hp>=target.maxHp-1) return 'draw_card';
|
||||||
|
if(target.hp==2&&target.num('h')==0) return 'draw_card';
|
||||||
|
return 'recover_hp';
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
event.target.draw(2);
|
||||||
|
event.finish();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
event.finish();
|
||||||
|
}
|
||||||
|
'step 2'
|
||||||
|
if(result.control=='draw_card'){
|
||||||
|
event.target.draw(2);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
event.target.recover();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
chenshui:{
|
chenshui:{
|
||||||
trigger:{player:'phaseEnd'},
|
trigger:{player:'phaseEnd'},
|
||||||
frequent:true,
|
frequent:true,
|
||||||
|
@ -348,6 +570,44 @@ character.hearth={
|
||||||
player.removeSkill('guozai2');
|
player.removeSkill('guozai2');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
guozaix:{
|
||||||
|
enable:'phaseUse',
|
||||||
|
usable:2,
|
||||||
|
filter:function(event,player){
|
||||||
|
return player.num('h')<4;
|
||||||
|
},
|
||||||
|
init:function(player){
|
||||||
|
player.storage.guozaix2=0;
|
||||||
|
},
|
||||||
|
content:function(){
|
||||||
|
var num=4-player.num('h');
|
||||||
|
player.draw(num);
|
||||||
|
player.addSkill('guozaix2');
|
||||||
|
player.storage.guozaix2+=num;
|
||||||
|
game.addVideo('storage',player,['guozaix2',player.storage.guozaix2]);
|
||||||
|
},
|
||||||
|
ai:{
|
||||||
|
order:1,
|
||||||
|
result:{
|
||||||
|
player:1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
guozaix2:{
|
||||||
|
mark:true,
|
||||||
|
intro:{
|
||||||
|
content:function(storage){
|
||||||
|
return '需弃置'+get.cnNumber(storage)+'张牌';
|
||||||
|
}
|
||||||
|
},
|
||||||
|
trigger:{player:'phaseUseEnd'},
|
||||||
|
forced:true,
|
||||||
|
content:function(){
|
||||||
|
player.chooseToDiscard('he',true,player.storage.guozaix2);
|
||||||
|
player.storage.guozaix2=0;
|
||||||
|
player.removeSkill('guozaix2');
|
||||||
|
}
|
||||||
|
},
|
||||||
hanshuang:{
|
hanshuang:{
|
||||||
trigger:{source:'damageEnd'},
|
trigger:{source:'damageEnd'},
|
||||||
forced:true,
|
forced:true,
|
||||||
|
@ -2189,15 +2449,37 @@ character.hearth={
|
||||||
hs_malygos:'玛里苟斯',
|
hs_malygos:'玛里苟斯',
|
||||||
hs_xuefashi:'血法师',
|
hs_xuefashi:'血法师',
|
||||||
hs_ysera:'伊瑟拉',
|
hs_ysera:'伊瑟拉',
|
||||||
|
hs_alextrasza:'阿莱克斯塔',
|
||||||
|
|
||||||
|
fushi:'缚誓',
|
||||||
|
fushi_info:'出牌阶段,你可以令一名已受伤角色失去一点体力上限并回复一点体力',
|
||||||
hs_ronghejuren:'熔核巨人',
|
hs_ronghejuren:'熔核巨人',
|
||||||
|
hs_shanlingjuren:'山岭巨人',
|
||||||
hs_edwin:'艾德温',
|
hs_edwin:'艾德温',
|
||||||
hs_mijiaojisi:'秘教祭司',
|
hs_mijiaojisi:'秘教祭司',
|
||||||
hs_huzhixiannv:'湖之仙女',
|
hs_huzhixiannv:'湖之仙女',
|
||||||
hs_tgolem:'图腾魔像',
|
hs_tgolem:'图腾魔像',
|
||||||
hs_totemic:'图腾师',
|
hs_totemic:'图腾师',
|
||||||
hs_bilanyoulong:'碧蓝幼龙',
|
hs_bilanyoulong:'碧蓝幼龙',
|
||||||
|
hs_zhishigushu:'知识古树',
|
||||||
|
hs_zhanzhenggushu:'战争古树',
|
||||||
|
hs_jinglinglong:'精灵龙',
|
||||||
|
hs_sapphiron:'萨菲隆',
|
||||||
|
|
||||||
|
biri:'蔽日',
|
||||||
|
biri_info:'每当距离你1以内的一名其他角色成为杀的惟一目标时,若杀的使用者不是你,你可以弃置一张基本牌取消之',
|
||||||
|
stuxi:'吐息',
|
||||||
|
stuxi_info:'锁定技,回合结束阶段,你令所有未翻面角色各弃置一张牌',
|
||||||
|
bingdong:'冰冻',
|
||||||
|
bingdong_info:'出牌阶段限一次,若你的武将牌正面朝上,你可以选择一名未翻面的角色与其同时将武将牌翻至背面',
|
||||||
|
ronghuo:'熔火',
|
||||||
|
ronghuo_info:'锁定技,你的普通杀均视为火杀',
|
||||||
|
luoshi:'落石',
|
||||||
|
luoshi_info:'锁定技,每当你受到一次伤害,你与伤害来源各随机弃置一张牌',
|
||||||
|
mianyi:'免疫',
|
||||||
|
mianyi_info:'锁定技,你不能成为其他角色的单体非延时锦囊的目标',
|
||||||
|
jiaohui:'教诲',
|
||||||
|
jiaohui_info:'回合结束阶段,若你没有于本回合内造成伤害,你可以令一名角色摸两张牌或回复一点体力',
|
||||||
chenshui:'沉睡',
|
chenshui:'沉睡',
|
||||||
chenshui_info:'回合结束阶段,你可以将一张随机梦境牌加入你的手牌',
|
chenshui_info:'回合结束阶段,你可以将一张随机梦境牌加入你的手牌',
|
||||||
mengjing:'梦境',
|
mengjing:'梦境',
|
||||||
|
@ -2238,6 +2520,10 @@ character.hearth={
|
||||||
guozai2:'过载',
|
guozai2:'过载',
|
||||||
guozai2_bg:'载',
|
guozai2_bg:'载',
|
||||||
guozai_info:'出牌阶段限一次,你可将手牌补至四张,并于此阶段结束时弃置等量的牌',
|
guozai_info:'出牌阶段限一次,你可将手牌补至四张,并于此阶段结束时弃置等量的牌',
|
||||||
|
guozaix:'重载',
|
||||||
|
guozaix2:'重载',
|
||||||
|
guozaix2_bg:'载',
|
||||||
|
guozaix_info:'出牌阶段限两次,你可将手牌补至四张,并于此阶段结束时弃置等量的牌',
|
||||||
hanshuang:'寒霜',
|
hanshuang:'寒霜',
|
||||||
hanshuang_info:'锁定技,你使用黑色牌造成伤害后,受伤害角色须将武将牌翻至背面,然后你流失一点体力',
|
hanshuang_info:'锁定技,你使用黑色牌造成伤害后,受伤害角色须将武将牌翻至背面,然后你流失一点体力',
|
||||||
bingshi:'冰噬',
|
bingshi:'冰噬',
|
||||||
|
|
|
@ -56,6 +56,7 @@ character.sp={
|
||||||
},
|
},
|
||||||
skill:{
|
skill:{
|
||||||
tunchu:{
|
tunchu:{
|
||||||
|
audio:2,
|
||||||
trigger:{player:'phaseDrawBegin'},
|
trigger:{player:'phaseDrawBegin'},
|
||||||
check:function(event,player){
|
check:function(event,player){
|
||||||
return player.num('h')-player.num('h',{type:'equip'})+2<=player.hp;
|
return player.num('h')-player.num('h',{type:'equip'})+2<=player.hp;
|
||||||
|
@ -111,6 +112,7 @@ character.sp={
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
shuliang:{
|
shuliang:{
|
||||||
|
audio:2,
|
||||||
trigger:{global:'phaseEnd'},
|
trigger:{global:'phaseEnd'},
|
||||||
direct:true,
|
direct:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
|
@ -141,6 +143,7 @@ character.sp={
|
||||||
group:['jieyuan_more','jieyuan_less'],
|
group:['jieyuan_more','jieyuan_less'],
|
||||||
subSkill:{
|
subSkill:{
|
||||||
more:{
|
more:{
|
||||||
|
audio:true,
|
||||||
trigger:{source:'damageBegin'},
|
trigger:{source:'damageBegin'},
|
||||||
direct:true,
|
direct:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
|
@ -157,15 +160,15 @@ character.sp={
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
next.logSkill=['jieyuan',trigger.player];
|
next.logSkill=['jieyuan_more',trigger.player];
|
||||||
'step 1'
|
'step 1'
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
player.logSkill('jieyuan',trigger.player);
|
|
||||||
trigger.num++;
|
trigger.num++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
less:{
|
less:{
|
||||||
|
audio:true,
|
||||||
trigger:{player:'damageBegin'},
|
trigger:{player:'damageBegin'},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
if(!player.num('h',{color:'red'})) return false;
|
if(!player.num('h',{color:'red'})) return false;
|
||||||
|
@ -184,7 +187,7 @@ character.sp={
|
||||||
}
|
}
|
||||||
return 7-ai.get.value(card);
|
return 7-ai.get.value(card);
|
||||||
};
|
};
|
||||||
next.logSkill='jieyuan';
|
next.logSkill='jieyuan_less';
|
||||||
"step 1"
|
"step 1"
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
game.delay();
|
game.delay();
|
||||||
|
@ -201,7 +204,16 @@ character.sp={
|
||||||
fenxin:{
|
fenxin:{
|
||||||
mode:['identity'],
|
mode:['identity'],
|
||||||
trigger:{source:'dieBegin'},
|
trigger:{source:'dieBegin'},
|
||||||
|
init:function(player){
|
||||||
|
player.storage.fenxin=false;
|
||||||
|
},
|
||||||
|
intro:{
|
||||||
|
content:'limited'
|
||||||
|
},
|
||||||
|
audio:2,
|
||||||
|
mark:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
|
if(player.storage.fenxin) return false;
|
||||||
return event.player.identity!='zhu'&&player.identity!='zhu'&&
|
return event.player.identity!='zhu'&&player.identity!='zhu'&&
|
||||||
player.identity!='mingzhong'&&event.player.identity!='mingzhong';
|
player.identity!='mingzhong'&&event.player.identity!='mingzhong';
|
||||||
},
|
},
|
||||||
|
@ -235,13 +247,15 @@ character.sp={
|
||||||
}
|
}
|
||||||
trigger.player.identity=identity;
|
trigger.player.identity=identity;
|
||||||
player.line(trigger.player,'green');
|
player.line(trigger.player,'green');
|
||||||
|
player.storage.fenxin=true;
|
||||||
|
player.unmarkSkill('fenxin');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
qingyi:{
|
qingyi:{
|
||||||
group:['qingyi1','qingyi2']
|
group:['qingyi1','qingyi2']
|
||||||
},
|
},
|
||||||
qingyi1:{
|
qingyi1:{
|
||||||
audio:2,
|
audio:true,
|
||||||
trigger:{player:'phaseBegin'},
|
trigger:{player:'phaseBegin'},
|
||||||
direct:true,
|
direct:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
|
@ -266,7 +280,7 @@ character.sp={
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
qingyi2:{
|
qingyi2:{
|
||||||
audio:2,
|
audio:true,
|
||||||
trigger:{player:'phaseUseBefore'},
|
trigger:{player:'phaseUseBefore'},
|
||||||
direct:true,
|
direct:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
|
@ -314,6 +328,7 @@ character.sp={
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
shixin:{
|
shixin:{
|
||||||
|
audio:2,
|
||||||
trigger:{player:'damageBefore'},
|
trigger:{player:'damageBefore'},
|
||||||
filter:function(event){
|
filter:function(event){
|
||||||
return event.nature=='fire';
|
return event.nature=='fire';
|
||||||
|
@ -3712,9 +3727,11 @@ character.sp={
|
||||||
shuliang:'输粮',
|
shuliang:'输粮',
|
||||||
shuliang_info:'每当一名角色的结束阶段开始时,若其没有手牌,你可以将一张“粮”置入弃牌堆,然后该角色摸两张牌',
|
shuliang_info:'每当一名角色的结束阶段开始时,若其没有手牌,你可以将一张“粮”置入弃牌堆,然后该角色摸两张牌',
|
||||||
jieyuan:'竭缘',
|
jieyuan:'竭缘',
|
||||||
|
jieyuan_more:'竭缘',
|
||||||
|
jieyuan_less:'竭缘',
|
||||||
jieyuan_info:'当你对一名其他角色造成伤害时,若其体力值大于或等于你的体力值,你可弃置一张黑色手牌令此伤害+1;当你受到一名其他角色造成的伤害时,若其体力值大于或等于你的体力值,你可弃置一张红色手牌令此伤害-1。',
|
jieyuan_info:'当你对一名其他角色造成伤害时,若其体力值大于或等于你的体力值,你可弃置一张黑色手牌令此伤害+1;当你受到一名其他角色造成的伤害时,若其体力值大于或等于你的体力值,你可弃置一张红色手牌令此伤害-1。',
|
||||||
fenxin:'焚心',
|
fenxin:'焚心',
|
||||||
fenxin_info:'定技,当你杀死一名非主公角色时,在其翻开身份牌之前,你可以与该角色交换身份牌。(你的身份为主公时不能发动此技能)',
|
fenxin_info:'限定技,当你杀死一名非主公角色时,在其翻开身份牌之前,你可以与该角色交换身份牌。(你的身份为主公时不能发动此技能)',
|
||||||
shixin:'释衅',
|
shixin:'释衅',
|
||||||
shixin_info:'锁定技,当你受到火属性伤害时,你防止此伤害',
|
shixin_info:'锁定技,当你受到火属性伤害时,你防止此伤害',
|
||||||
qingyi:'轻逸',
|
qingyi:'轻逸',
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
character.xswd={
|
|
||||||
character:{
|
|
||||||
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -1019,8 +1019,9 @@ character.yijiang={
|
||||||
event.card=result.cards[0];
|
event.card=result.cards[0];
|
||||||
event.current.lose(result.cards,ui.special);
|
event.current.lose(result.cards,ui.special);
|
||||||
var cardx=ui.create.card();
|
var cardx=ui.create.card();
|
||||||
cardx.classList.add('infohidden')
|
cardx.classList.add('infohidden');
|
||||||
event.current.$throw(ui.create.card(),1000);
|
cardx.classList.add('infoflip');
|
||||||
|
event.current.$throw(cardx,1000);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
event.card=null;
|
event.card=null;
|
||||||
|
|
|
@ -8,18 +8,18 @@ character.yxs={
|
||||||
yxs_aijiyanhou:['female','qun',3,['seyou','sheshi']],
|
yxs_aijiyanhou:['female','qun',3,['seyou','sheshi']],
|
||||||
yxs_diaochan:['female','qun',3,['fengyi','wange']],
|
yxs_diaochan:['female','qun',3,['fengyi','wange']],
|
||||||
yxs_yangyuhuan:['female','wu',3,['fengyan','nichang']],
|
yxs_yangyuhuan:['female','wu',3,['fengyan','nichang']],
|
||||||
yxs_baosi:['female','qun',3,['jieyin','fenghuo']],
|
yxs_baosi:['female','wu',3,['jieyin','fenghuo']],
|
||||||
yxs_napolun:['male','qun',4,['tongling','fanpu']],
|
yxs_napolun:['male','wei',4,['tongling','fanpu']],
|
||||||
yxs_kaisa:['male','qun',4,['ducai']],
|
yxs_kaisa:['male','shu',4,['ducai']],
|
||||||
yxs_zhuyuanzhang:['male','qun',4,['qiangyun']],
|
yxs_zhuyuanzhang:['male','wu',4,['qiangyun']],
|
||||||
yxs_jinke:['male','qun',3,['cike','qiangxi']],
|
yxs_jinke:['male','qun',3,['cike','qiangxi']],
|
||||||
yxs_libai:['male','qun',3,['miaobi','zhexian']],
|
yxs_libai:['male','qun',3,['miaobi','zhexian']],
|
||||||
yxs_luban:['male','qun',3,['guifu','lshengong']],
|
yxs_luban:['male','wu',3,['guifu','lshengong']],
|
||||||
yxs_lvzhi:['female','qun',4,['zhensha','xumou']],
|
yxs_lvzhi:['female','shu',4,['zhensha','xumou']],
|
||||||
yxs_goujian:['male','qun',3,['keji','tuqiang']],
|
yxs_goujian:['male','wu',3,['keji','tuqiang']],
|
||||||
yxs_lishimin:['male','qun',4,['kongju']],
|
yxs_lishimin:['male','qun',4,['kongju']],
|
||||||
yxs_huamulan:['female','qun',3,['xiaoji','yizhuang']],
|
yxs_huamulan:['female','shu',3,['xiaoji','yizhuang']],
|
||||||
yxs_luobinhan:['male','qun',4,['xiadao','lzhangyi']],
|
yxs_luobinhan:['male','wu',4,['xiadao','lzhangyi']],
|
||||||
},
|
},
|
||||||
skill:{
|
skill:{
|
||||||
xiadao:{
|
xiadao:{
|
||||||
|
@ -953,7 +953,7 @@ character.yxs={
|
||||||
for(var i=0;i<trigger.targets.length;i++){
|
for(var i=0;i<trigger.targets.length;i++){
|
||||||
effect+=ai.get.effect(trigger.targets[i],trigger.card,trigger.player,player);
|
effect+=ai.get.effect(trigger.targets[i],trigger.card,trigger.player,player);
|
||||||
}
|
}
|
||||||
var str='是否弃置一张杀令'+get.translation(trigger.player);
|
var str='非攻:是否弃置一张杀令'+get.translation(trigger.player);
|
||||||
if(trigger.targets&&trigger.targets.length){
|
if(trigger.targets&&trigger.targets.length){
|
||||||
str+='对'+get.translation(trigger.targets);
|
str+='对'+get.translation(trigger.targets);
|
||||||
}
|
}
|
||||||
|
@ -976,7 +976,7 @@ character.yxs={
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
threaten:1.2,
|
threaten:1.2,
|
||||||
expose:0.1
|
expose:0.2
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
feiming:{
|
feiming:{
|
||||||
|
|
|
@ -8,7 +8,7 @@ window.config={
|
||||||
forbidstone:['zhugedan','pal_xuanxiao'],
|
forbidstone:['zhugedan','pal_xuanxiao'],
|
||||||
forbidchess:['hetaihou','swd_kangnalishi'],
|
forbidchess:['hetaihou','swd_kangnalishi'],
|
||||||
forbidboss:['caiwenji','gjqt_aruan','pal_xuanxiao','swd_hupo'],
|
forbidboss:['caiwenji','gjqt_aruan','pal_xuanxiao','swd_hupo'],
|
||||||
forbiddouble:['zhugedan','swd_kangnalishi','swd_nicole','dongzhuo','wutugu','jg_simayi'],
|
forbiddouble:['zhugedan','swd_kangnalishi','swd_nicole','dongzhuo','wutugu','jg_simayi','hs_siwangzhiyi','hs_ronghejuren'],
|
||||||
layoutfixed:['chess'],
|
layoutfixed:['chess'],
|
||||||
all:{
|
all:{
|
||||||
mode:['identity','guozhan','versus','boss','chess','stone'],
|
mode:['identity','guozhan','versus','boss','chess','stone'],
|
||||||
|
|
37
game/game.js
|
@ -4625,7 +4625,7 @@
|
||||||
gainMaxHp:function(){
|
gainMaxHp:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
game.log(player,'获得了'+get.cnNumber(num)+'点体力上限');
|
game.log(player,'获得了'+get.cnNumber(num)+'点体力上限');
|
||||||
if(typeof player.singleHp==='boolean'){
|
if(!event.forced&&typeof player.singleHp==='boolean'){
|
||||||
if(player.singleHp){
|
if(player.singleHp){
|
||||||
player.singleHp=false;
|
player.singleHp=false;
|
||||||
player.maxHp+=num;
|
player.maxHp+=num;
|
||||||
|
@ -6339,11 +6339,18 @@
|
||||||
}
|
}
|
||||||
next.content=lib.element.playerproto.loseMaxHp;
|
next.content=lib.element.playerproto.loseMaxHp;
|
||||||
},
|
},
|
||||||
gainMaxHp:function(num){
|
gainMaxHp:function(){
|
||||||
var next=game.createEvent('gainMaxHp');
|
var next=game.createEvent('gainMaxHp');
|
||||||
next.num=num;
|
|
||||||
next.player=this;
|
next.player=this;
|
||||||
if(next.num==undefined) next.num=1;
|
next.num=1;
|
||||||
|
for(var i=0;i<arguments.length;i++){
|
||||||
|
if(typeof arguments[i]==='number'){
|
||||||
|
next.num=arguments[i];
|
||||||
|
}
|
||||||
|
else if(typeof arguments[i]==='boolean'){
|
||||||
|
next.forced=arguments[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
next.content=lib.element.playerproto.gainMaxHp;
|
next.content=lib.element.playerproto.gainMaxHp;
|
||||||
},
|
},
|
||||||
changeHp:function(num,popup){
|
changeHp:function(num,popup){
|
||||||
|
@ -12801,7 +12808,7 @@
|
||||||
dialog.open();
|
dialog.open();
|
||||||
}
|
}
|
||||||
if(!lib.config.touchscreen) dialog.contentContainer.onscroll=ui.update;
|
if(!lib.config.touchscreen) dialog.contentContainer.onscroll=ui.update;
|
||||||
dialog.contentContainer.ontouchstart=ui.click.touchStart;
|
dialog.contentContainer.ontouchstart=ui.click.dialogtouchStart;
|
||||||
dialog.contentContainer.ontouchmove = ui.click.touchScroll;
|
dialog.contentContainer.ontouchmove = ui.click.touchScroll;
|
||||||
dialog.contentContainer.style.WebkitOverflowScrolling='touch';
|
dialog.contentContainer.style.WebkitOverflowScrolling='touch';
|
||||||
dialog.ontouchstart=ui.click.dragtouchdialog;
|
dialog.ontouchstart=ui.click.dragtouchdialog;
|
||||||
|
@ -15732,6 +15739,9 @@
|
||||||
if(!lib.config.show_name){
|
if(!lib.config.show_name){
|
||||||
node.node.name.style.display='none';
|
node.node.name.style.display='none';
|
||||||
}
|
}
|
||||||
|
if(node.node.hp.childNodes.length==0){
|
||||||
|
node.node.name.style.top='8px';
|
||||||
|
}
|
||||||
// var name=get.translation(item);
|
// var name=get.translation(item);
|
||||||
node.node.name.innerHTML=get.slimName(item);
|
node.node.name.innerHTML=get.slimName(item);
|
||||||
// for(var i=0;i<name.length;i++){
|
// for(var i=0;i<name.length;i++){
|
||||||
|
@ -17149,6 +17159,11 @@
|
||||||
},
|
},
|
||||||
window:function(){
|
window:function(){
|
||||||
var clicked=_status.clicked;
|
var clicked=_status.clicked;
|
||||||
|
var dialogtouched=false;
|
||||||
|
if(_status.dialogtouched){
|
||||||
|
_status.dialogtouched=false;
|
||||||
|
dialogtouched=true;
|
||||||
|
}
|
||||||
if(_status.dragged) return;
|
if(_status.dragged) return;
|
||||||
if(_status.touchpopping) return;
|
if(_status.touchpopping) return;
|
||||||
if(_status.reloading) return;
|
if(_status.reloading) return;
|
||||||
|
@ -17180,7 +17195,7 @@
|
||||||
ui.control.show();
|
ui.control.show();
|
||||||
game.resume2();
|
game.resume2();
|
||||||
}
|
}
|
||||||
else if(_status.event.isMine()){
|
else if(_status.event.isMine()&&!dialogtouched){
|
||||||
if(_status.event.custom.replace.window){
|
if(_status.event.custom.replace.window){
|
||||||
_status.event.custom.replace.window();
|
_status.event.custom.replace.window();
|
||||||
}
|
}
|
||||||
|
@ -17874,6 +17889,12 @@
|
||||||
this.startY=e.touches[0].clientY;
|
this.startY=e.touches[0].clientY;
|
||||||
_status.dragged=false;
|
_status.dragged=false;
|
||||||
},
|
},
|
||||||
|
dialogtouchStart:function(e){
|
||||||
|
this.startX=e.touches[0].clientX;
|
||||||
|
this.startY=e.touches[0].clientY;
|
||||||
|
_status.dragged=false;
|
||||||
|
_status.dialogtouched=true;
|
||||||
|
},
|
||||||
touchScroll:function(e) {
|
touchScroll:function(e) {
|
||||||
if(_status.mousedragging) return;
|
if(_status.mousedragging) return;
|
||||||
if(_status.draggingtouchdialog) return;
|
if(_status.draggingtouchdialog) return;
|
||||||
|
@ -18498,9 +18519,11 @@
|
||||||
hs1[i].classList.remove('drawinghidden');
|
hs1[i].classList.remove('drawinghidden');
|
||||||
if(offset12>40){
|
if(offset12>40){
|
||||||
offset12=90-hs1[i].node.info.offsetWidth;
|
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(17px)';
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
hs1[i].node.info.querySelector('span').style.display='';
|
||||||
hs1[i].node.name.style.transform='';
|
hs1[i].node.name.style.transform='';
|
||||||
}
|
}
|
||||||
hs1[i].node.info.style.transform='translateX(-'+offset12+'px)';
|
hs1[i].node.info.style.transform='translateX(-'+offset12+'px)';
|
||||||
|
@ -18532,9 +18555,11 @@
|
||||||
hs2[i].classList.remove('drawinghidden');
|
hs2[i].classList.remove('drawinghidden');
|
||||||
if(offset22>40){
|
if(offset22>40){
|
||||||
offset22=90-hs2[i].node.info.offsetWidth;
|
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(17px)';
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
hs2[i].node.info.querySelector('span').style.display='';
|
||||||
hs2[i].node.name.style.transform='';
|
hs2[i].node.name.style.transform='';
|
||||||
}
|
}
|
||||||
hs2[i].node.info.style.transform='translateX(-'+offset22+'px)';
|
hs2[i].node.info.style.transform='translateX(-'+offset22+'px)';
|
||||||
|
|
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 91 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 64 KiB |
|
@ -334,6 +334,7 @@ div:not(.handcards)>.card>.info,
|
||||||
.handcards>.card:last-child>.info,
|
.handcards>.card:last-child>.info,
|
||||||
div:not(.handcards)>.card>.name,
|
div:not(.handcards)>.card>.name,
|
||||||
.handcards>.card:last-child>.name{transform: none !important}
|
.handcards>.card:last-child>.name{transform: none !important}
|
||||||
|
div:not(.handcards)>.card>.info>span{display: inline !important}
|
||||||
.card>.image{
|
.card>.image{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -387,7 +388,8 @@ div:not(.handcards)>.card>.name,
|
||||||
transform:scale(0.8);
|
transform:scale(0.8);
|
||||||
transform-origin:bottom left;
|
transform-origin:bottom left;
|
||||||
}
|
}
|
||||||
.dialog .buttons>.button.character{
|
.dialog .buttons>.button.character,
|
||||||
|
.button.character.longcharacter{
|
||||||
height:108px;
|
height:108px;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,6 +74,10 @@ body{
|
||||||
background: url('../style/cardback/image/official.png');
|
background: url('../style/cardback/image/official.png');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
.card.infohidden:not(.infoflip){
|
||||||
|
background: url('../style/cardback/image/official2.png');
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
|
||||||
#system>div>.glow{
|
#system>div>.glow{
|
||||||
background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1));
|
background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1));
|
||||||
|
|
After Width: | Height: | Size: 163 KiB |
|
@ -2,3 +2,7 @@
|
||||||
background: url('image/official.png');
|
background: url('image/official.png');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
.card.infohidden:not(.infoflip){
|
||||||
|
background: url('image/official2.png');
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
|