|
@ -433,76 +433,6 @@ character.diy={
|
||||||
player.draw();
|
player.draw();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
diyleiji:{
|
|
||||||
audio:2,
|
|
||||||
trigger:{player:'respond'},
|
|
||||||
filter:function(event,player){
|
|
||||||
return event.card.name=='shan';
|
|
||||||
},
|
|
||||||
direct:true,
|
|
||||||
content:function(){
|
|
||||||
"step 0";
|
|
||||||
player.chooseTarget('是否发动新雷击?').ai=function(target){
|
|
||||||
return ai.get.damageEffect(target,player,player,'thunder');
|
|
||||||
};
|
|
||||||
"step 1"
|
|
||||||
if(result.bool){
|
|
||||||
player.logSkill('diyleiji',result.targets,'thunder');
|
|
||||||
event.target=result.targets[0];
|
|
||||||
event.target.judge(function(card){
|
|
||||||
var suit=get.suit(card);
|
|
||||||
if(suit=='spade') return -4;
|
|
||||||
if(suit=='club') return -2;
|
|
||||||
return 0;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
event.finish();
|
|
||||||
}
|
|
||||||
"step 2"
|
|
||||||
if(result.suit=='club'){
|
|
||||||
event.target.damage('thunder');
|
|
||||||
player.recover();
|
|
||||||
}
|
|
||||||
else if(result.suit=='spade'){
|
|
||||||
event.target.damage(2,'thunder');
|
|
||||||
}
|
|
||||||
},
|
|
||||||
ai:{
|
|
||||||
effect:{
|
|
||||||
target:function(card,player,target,current){
|
|
||||||
if(get.tag(card,'respondShan')){
|
|
||||||
var hastarget=false;
|
|
||||||
for(var i=0;i<game.players.length;i++){
|
|
||||||
if(ai.get.attitude(target,game.players[i])<0){
|
|
||||||
hastarget=true;break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
var be=target.num('e',{color:'black'});
|
|
||||||
if(target.num('h','shan')&&be){
|
|
||||||
if(!target.skills.contains('guidao')) return 0;
|
|
||||||
return [0,hastarget?target.num('he')/2:0];
|
|
||||||
}
|
|
||||||
if(target.num('h','shan')&&target.num('h')>2){
|
|
||||||
if(!target.skills.contains('guidao')) return 0;
|
|
||||||
return [0,hastarget?target.num('h')/4:0];
|
|
||||||
}
|
|
||||||
if(target.num('h')>3||(be&&target.num('h')>=2)){
|
|
||||||
return [0,0];
|
|
||||||
}
|
|
||||||
if(target.num('h')==0){
|
|
||||||
return [1.5,0];
|
|
||||||
}
|
|
||||||
if(target.num('h')==1&&!be){
|
|
||||||
return [1.2,0];
|
|
||||||
}
|
|
||||||
if(!target.skills.contains('guidao')) return [1,0.05];
|
|
||||||
return [1,Math.min(0.5,(target.num('h')+be)/4)];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
xicai:{
|
xicai:{
|
||||||
inherit:'jianxiong'
|
inherit:'jianxiong'
|
||||||
},
|
},
|
||||||
|
@ -731,7 +661,6 @@ character.diy={
|
||||||
diy_menghuo:'孟获',
|
diy_menghuo:'孟获',
|
||||||
diy_huangzhong:'黄忠',
|
diy_huangzhong:'黄忠',
|
||||||
diy_xuhuang:'徐晃',
|
diy_xuhuang:'徐晃',
|
||||||
diy_zhangjiao:'张角',
|
|
||||||
diy_dianwei:'典韦',
|
diy_dianwei:'典韦',
|
||||||
diy_weiyan:'魏延',
|
diy_weiyan:'魏延',
|
||||||
xicai:'惜才',
|
xicai:'惜才',
|
||||||
|
@ -754,9 +683,6 @@ character.diy={
|
||||||
diy_liuyan:'刘焉',
|
diy_liuyan:'刘焉',
|
||||||
juedao:'绝道',
|
juedao:'绝道',
|
||||||
geju:'割据',
|
geju:'割据',
|
||||||
diyleiji:'雷击',
|
|
||||||
tiangong:'天公',
|
|
||||||
tiangong2:'天公',
|
|
||||||
shaoying:'烧营',
|
shaoying:'烧营',
|
||||||
zonghuo:'纵火',
|
zonghuo:'纵火',
|
||||||
diychanyuan:'缠怨',
|
diychanyuan:'缠怨',
|
||||||
|
@ -793,8 +719,6 @@ character.diy={
|
||||||
diychanyuan_info:'锁定技,杀死你的角色失去一点体力上限',
|
diychanyuan_info:'锁定技,杀死你的角色失去一点体力上限',
|
||||||
zonghuo_info:'你可弃置一张牌将你即将造成的伤害变为火焰伤害',
|
zonghuo_info:'你可弃置一张牌将你即将造成的伤害变为火焰伤害',
|
||||||
shaoying_info:'每当你造成一次火焰伤害,可指定距离受伤害角色1以内的另一名角色,并展示牌堆顶的一张牌,若此牌为红色,该角色受到一点火焰伤害',
|
shaoying_info:'每当你造成一次火焰伤害,可指定距离受伤害角色1以内的另一名角色,并展示牌堆顶的一张牌,若此牌为红色,该角色受到一点火焰伤害',
|
||||||
tiangong_info:'锁定技,你防止即将受到的雷电伤害,每当你造成一次雷电伤害,你摸一张牌',
|
|
||||||
diyleiji_info:'每当你使用或打出一张【闪】,可令任意一名角色进行一次判定,若结果为梅花,其受到一点雷电伤害,然后你回复一点体力;若结果为黑桃,其受到两点雷电伤害',
|
|
||||||
juedao_info:'出牌阶段,你可以弃置一张手牌,横置你的武将牌;锁定技,若你处于连环状态,你与其他角色的距离、其他角色与你的距离各+1。',
|
juedao_info:'出牌阶段,你可以弃置一张手牌,横置你的武将牌;锁定技,若你处于连环状态,你与其他角色的距离、其他角色与你的距离各+1。',
|
||||||
geju_info:'准备阶段开始时,你可以摸X张牌(X为攻击范围内不含有你的势力数)。',
|
geju_info:'准备阶段开始时,你可以摸X张牌(X为攻击范围内不含有你的势力数)。',
|
||||||
siji_info:'弃牌阶段结束后,你可以摸2X张牌(X为你于此阶段内弃置的【杀】的数量)。',
|
siji_info:'弃牌阶段结束后,你可以摸2X张牌(X为你于此阶段内弃置的【杀】的数量)。',
|
||||||
|
|
|
@ -271,7 +271,7 @@ window.characterRank={
|
||||||
'huatuo',
|
'huatuo',
|
||||||
'swd_luchengxuan',
|
'swd_luchengxuan',
|
||||||
'swd_moye',
|
'swd_moye',
|
||||||
'diy_zhangjiao',
|
'sp_zhangjiao',
|
||||||
'dongzhuo',
|
'dongzhuo',
|
||||||
'niutou',
|
'niutou',
|
||||||
'fazheng',
|
'fazheng',
|
||||||
|
|
|
@ -2452,6 +2452,7 @@ character.sp={
|
||||||
hongyuan:{
|
hongyuan:{
|
||||||
trigger:{player:'phaseDrawBegin'},
|
trigger:{player:'phaseDrawBegin'},
|
||||||
direct:true,
|
direct:true,
|
||||||
|
audio:2,
|
||||||
content:function(){
|
content:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
var check;
|
var check;
|
||||||
|
|
|
@ -8,11 +8,82 @@ character.wind={
|
||||||
xiaoqiao:['female','wu',3,['tianxiang','hongyan']],
|
xiaoqiao:['female','wu',3,['tianxiang','hongyan']],
|
||||||
zhoutai:['male','wu',4,['buqu','fenji']],
|
zhoutai:['male','wu',4,['buqu','fenji']],
|
||||||
zhangjiao:['male','qun',3,['leiji','guidao','huangtian'],['zhu']],
|
zhangjiao:['male','qun',3,['leiji','guidao','huangtian'],['zhu']],
|
||||||
diy_zhangjiao:['male','qun',3,['diyleiji','guidao','huangtian'],['zhu']],
|
sp_zhangjiao:['male','qun',3,['diyleiji','guidao','huangtian'],['zhu']],
|
||||||
// spzhangjiao:['male','qun',3,['spleiji','guidao','huangtian'],['zhu']],
|
// spzhangjiao:['male','qun',3,['spleiji','guidao','huangtian'],['zhu']],
|
||||||
// yuji:['male','qun',3,['guhuo']],
|
// yuji:['male','qun',3,['guhuo']],
|
||||||
},
|
},
|
||||||
skill:{
|
skill:{
|
||||||
|
|
||||||
|
diyleiji:{
|
||||||
|
audio:2,
|
||||||
|
trigger:{player:'respond'},
|
||||||
|
filter:function(event,player){
|
||||||
|
return event.card.name=='shan';
|
||||||
|
},
|
||||||
|
direct:true,
|
||||||
|
content:function(){
|
||||||
|
"step 0";
|
||||||
|
player.chooseTarget('是否发动新雷击?').ai=function(target){
|
||||||
|
return ai.get.damageEffect(target,player,player,'thunder');
|
||||||
|
};
|
||||||
|
"step 1"
|
||||||
|
if(result.bool){
|
||||||
|
player.logSkill('diyleiji',result.targets,'thunder');
|
||||||
|
event.target=result.targets[0];
|
||||||
|
event.target.judge(function(card){
|
||||||
|
var suit=get.suit(card);
|
||||||
|
if(suit=='spade') return -4;
|
||||||
|
if(suit=='club') return -2;
|
||||||
|
return 0;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
event.finish();
|
||||||
|
}
|
||||||
|
"step 2"
|
||||||
|
if(result.suit=='club'){
|
||||||
|
event.target.damage('thunder');
|
||||||
|
player.recover();
|
||||||
|
}
|
||||||
|
else if(result.suit=='spade'){
|
||||||
|
event.target.damage(2,'thunder');
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ai:{
|
||||||
|
effect:{
|
||||||
|
target:function(card,player,target,current){
|
||||||
|
if(get.tag(card,'respondShan')){
|
||||||
|
var hastarget=false;
|
||||||
|
for(var i=0;i<game.players.length;i++){
|
||||||
|
if(ai.get.attitude(target,game.players[i])<0){
|
||||||
|
hastarget=true;break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var be=target.num('e',{color:'black'});
|
||||||
|
if(target.num('h','shan')&&be){
|
||||||
|
if(!target.skills.contains('guidao')) return 0;
|
||||||
|
return [0,hastarget?target.num('he')/2:0];
|
||||||
|
}
|
||||||
|
if(target.num('h','shan')&&target.num('h')>2){
|
||||||
|
if(!target.skills.contains('guidao')) return 0;
|
||||||
|
return [0,hastarget?target.num('h')/4:0];
|
||||||
|
}
|
||||||
|
if(target.num('h')>3||(be&&target.num('h')>=2)){
|
||||||
|
return [0,0];
|
||||||
|
}
|
||||||
|
if(target.num('h')==0){
|
||||||
|
return [1.5,0];
|
||||||
|
}
|
||||||
|
if(target.num('h')==1&&!be){
|
||||||
|
return [1.2,0];
|
||||||
|
}
|
||||||
|
if(!target.skills.contains('guidao')) return [1,0.05];
|
||||||
|
return [1,Math.min(0.5,(target.num('h')+be)/4)];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
shensu:{
|
shensu:{
|
||||||
group:['shensu1','shensu2']
|
group:['shensu1','shensu2']
|
||||||
},
|
},
|
||||||
|
@ -435,6 +506,7 @@ character.wind={
|
||||||
xiahouyuan:'夏侯渊',
|
xiahouyuan:'夏侯渊',
|
||||||
caoren:'曹仁',
|
caoren:'曹仁',
|
||||||
huangzhong:'黄忠',
|
huangzhong:'黄忠',
|
||||||
|
sp_zhangjiao:'张角',
|
||||||
weiyan:'魏延',
|
weiyan:'魏延',
|
||||||
xiaoqiao:'小乔',
|
xiaoqiao:'小乔',
|
||||||
zhoutai:'周泰',
|
zhoutai:'周泰',
|
||||||
|
@ -457,6 +529,11 @@ character.wind={
|
||||||
huangtian2:'黄天',
|
huangtian2:'黄天',
|
||||||
guhuo:'蛊惑',
|
guhuo:'蛊惑',
|
||||||
fenji:'奋激',
|
fenji:'奋激',
|
||||||
|
diyleiji:'雷击',
|
||||||
|
diyleiji_info:'每当你使用或打出一张【闪】,可令任意一名角色进行一次判定,若结果为梅花,其受到一点雷电伤害,然后你回复一点体力;若结果为黑桃,其受到两点雷电伤害',
|
||||||
|
tiangong:'天公',
|
||||||
|
tiangong2:'天公',
|
||||||
|
tiangong_info:'锁定技,你防止即将受到的雷电伤害,每当你造成一次雷电伤害,你摸一张牌',
|
||||||
shensu_info:
|
shensu_info:
|
||||||
'你可以跳过摸牌阶段,或跳过出牌阶段并弃置一张装备牌,'+
|
'你可以跳过摸牌阶段,或跳过出牌阶段并弃置一张装备牌,'+
|
||||||
'若如此则视为对任意一名使用一张【杀】',
|
'若如此则视为对任意一名使用一张【杀】',
|
||||||
|
|
|
@ -13001,7 +13001,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
for(var i in lib.mode){
|
for(var i in lib.mode){
|
||||||
createModeConfig(i,start.firstChild);
|
if(lib.config.all.mode.contains(i)){
|
||||||
|
createModeConfig(i,start.firstChild);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
var active=start.firstChild.querySelector('.active');
|
var active=start.firstChild.querySelector('.active');
|
||||||
if(!active){
|
if(!active){
|
||||||
|
@ -18593,7 +18595,7 @@
|
||||||
cheat.z('liushan');
|
cheat.z('liushan');
|
||||||
},
|
},
|
||||||
zj:function(){
|
zj:function(){
|
||||||
cheat.z('diy_zhangjiao');
|
cheat.z('sp_zhangjiao');
|
||||||
},
|
},
|
||||||
sc:function(){
|
sc:function(){
|
||||||
cheat.z('sunce');
|
cheat.z('sunce');
|
||||||
|
|
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 431 KiB After Width: | Height: | Size: 431 KiB |
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "noname",
|
"name": "noname",
|
||||||
"xwalk_version": "1.6.1",
|
"xwalk_version": "1.6.2",
|
||||||
"start_url": "index.html",
|
"start_url": "index.html",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -238,7 +238,7 @@ mode.identity={
|
||||||
case 'liubei':skill='jizhen';break;
|
case 'liubei':skill='jizhen';break;
|
||||||
case 'dongzhuo':skill='hengzheng';break;
|
case 'dongzhuo':skill='hengzheng';break;
|
||||||
case 'sunquan':skill='batu';break;
|
case 'sunquan':skill='batu';break;
|
||||||
case 'diy_zhangjiao':skill='tiangong';break;
|
case 'sp_zhangjiao':skill='tiangong';break;
|
||||||
case 'liushan':skill='shengxi';break;
|
case 'liushan':skill='shengxi';break;
|
||||||
case 'sunce':skill='ciqiu';break;
|
case 'sunce':skill='ciqiu';break;
|
||||||
case 'yuanshao':skill='geju';break;
|
case 'yuanshao':skill='geju';break;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name" : "无名杀",
|
"name" : "无名杀",
|
||||||
"version" : "1.6.1",
|
"version" : "1.6.2",
|
||||||
"main" : "main.js"
|
"main" : "main.js"
|
||||||
}
|
}
|
||||||
|
|