This commit is contained in:
parent
480ad1862e
commit
96d10b950a
|
@ -1400,7 +1400,6 @@ character.gujian={
|
||||||
check:function(){
|
check:function(){
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
forbid:['infinity'],
|
|
||||||
init:function(player){
|
init:function(player){
|
||||||
player.storage.zhaolu=Math.min(5,game.players.length);
|
player.storage.zhaolu=Math.min(5,game.players.length);
|
||||||
game.addVideo('storage',player,['zhaolu',player.storage.zhaolu]);
|
game.addVideo('storage',player,['zhaolu',player.storage.zhaolu]);
|
||||||
|
@ -1428,6 +1427,34 @@ character.gujian={
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
jiehuo:{
|
jiehuo:{
|
||||||
|
unique:true,
|
||||||
|
skillAnimation:true,
|
||||||
|
animationColor:'fire',
|
||||||
|
enable:'phaseUse',
|
||||||
|
line:'fire',
|
||||||
|
filterTarget:function(card,player,target){
|
||||||
|
return player!=target;
|
||||||
|
},
|
||||||
|
content:function(){
|
||||||
|
'step 0'
|
||||||
|
target.damage(2,'fire');
|
||||||
|
player.awakenSkill('jiehuo');
|
||||||
|
'step 1'
|
||||||
|
player.die();
|
||||||
|
},
|
||||||
|
ai:{
|
||||||
|
order:1,
|
||||||
|
result:{
|
||||||
|
player:function(player,target){
|
||||||
|
if(player.hp>1) return false;
|
||||||
|
if(target.hp>2) return false;
|
||||||
|
if(ai.get.attitude(player,target)>=0) return false;
|
||||||
|
return ai.get.damageEffect(target,player,player,'fire');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
jiehuo_old:{
|
||||||
unique:true,
|
unique:true,
|
||||||
forbid:['infinity'],
|
forbid:['infinity'],
|
||||||
skillAnimation:true,
|
skillAnimation:true,
|
||||||
|
@ -1473,6 +1500,7 @@ character.gujian={
|
||||||
intro:{
|
intro:{
|
||||||
content:'time'
|
content:'time'
|
||||||
},
|
},
|
||||||
|
alter:true,
|
||||||
ai:{
|
ai:{
|
||||||
noh:true,
|
noh:true,
|
||||||
threaten:0.8,
|
threaten:0.8,
|
||||||
|
@ -1534,7 +1562,9 @@ character.gujian={
|
||||||
mod:{
|
mod:{
|
||||||
cardEnabled:function(card,player){
|
cardEnabled:function(card,player){
|
||||||
if(_status.currentPhase!=player) return;
|
if(_status.currentPhase!=player) return;
|
||||||
if(get.cardCount(true,player)>=player.maxHp+2) return false;
|
var num=2;
|
||||||
|
if(get.is.altered('yuling')) num=1;
|
||||||
|
if(get.cardCount(true,player)>=player.maxHp+num) return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1652,7 +1682,8 @@ character.gujian={
|
||||||
yuling3:'御灵',
|
yuling3:'御灵',
|
||||||
yuling4:'御灵',
|
yuling4:'御灵',
|
||||||
zhaolu_info:'锁定技,每隔X回合,你流失一点体力上限,每当你受到一点伤害或有人死亡,视为减少两个回合,X为现存角色数且至多为5',
|
zhaolu_info:'锁定技,每隔X回合,你流失一点体力上限,每当你受到一点伤害或有人死亡,视为减少两个回合,X为现存角色数且至多为5',
|
||||||
jiehuo_info:'限定技,出牌阶段,你可以令所有其他角色受到X点火焰伤害,并在此阶段结束后死亡,X为你的体力上限且不超过该角色的当前体力值',
|
jiehuo_info:'限定技,出牌阶段,你可以对一名其他角色造成两点火焰伤害,然后死亡',
|
||||||
yuling_info:'锁定技,你没有摸牌和弃牌阶段,你的手牌数始终为5,你在一个出牌阶段最多使用X+2张牌,X为你的体力上限',
|
yuling_info:'锁定技,你没有摸牌和弃牌阶段,你的手牌数始终为5,你在一个出牌阶段最多使用X+2张牌,X为你的体力上限',
|
||||||
|
yuling_info_alter:'锁定技,你没有摸牌和弃牌阶段,你的手牌数始终为5,你在一个出牌阶段最多使用X+1张牌,X为你的体力上限',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -3955,11 +3955,12 @@ character.hearth={
|
||||||
liechao:{
|
liechao:{
|
||||||
enable:'phaseUse',
|
enable:'phaseUse',
|
||||||
usable:1,
|
usable:1,
|
||||||
|
alter:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return !player.isTurnedOver()&&player.num('h')<=player.hp;
|
return !player.isTurnedOver()&&player.num('h')<=player.hp;
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
player.draw(4);
|
player.draw(get.is.altered('liechao')?3:4);
|
||||||
player.turnOver();
|
player.turnOver();
|
||||||
player.skip('phaseDiscard');
|
player.skip('phaseDiscard');
|
||||||
},
|
},
|
||||||
|
@ -6260,6 +6261,7 @@ character.hearth={
|
||||||
qingliu_info:'锁定技,你防止即将受到的火焰伤害',
|
qingliu_info:'锁定技,你防止即将受到的火焰伤害',
|
||||||
liechao:'猎潮',
|
liechao:'猎潮',
|
||||||
liechao_info:'出牌阶阶段限一次,若你的武将牌正面朝上且手牌数不大于当前体力值,你可以翻面并摸四张牌,若如此做,你跳过本回合的弃牌阶段',
|
liechao_info:'出牌阶阶段限一次,若你的武将牌正面朝上且手牌数不大于当前体力值,你可以翻面并摸四张牌,若如此做,你跳过本回合的弃牌阶段',
|
||||||
|
liechao_info_info:'出牌阶阶段限一次,若你的武将牌正面朝上且手牌数不大于当前体力值,你可以翻面并摸三张牌,若如此做,你跳过本回合的弃牌阶段',
|
||||||
aoshu:'奥术',
|
aoshu:'奥术',
|
||||||
aoshu_info:'出牌阶段限一次,你可以将一张黑桃牌当作无中生有使用',
|
aoshu_info:'出牌阶段限一次,你可以将一张黑桃牌当作无中生有使用',
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ character.swd={
|
||||||
swd_yuxiaoxue:['female','wei',3,['huanhun','daixing','yinyue']],
|
swd_yuxiaoxue:['female','wei',3,['huanhun','daixing','yinyue']],
|
||||||
|
|
||||||
swd_jiliang:['male','wu',3,['yunchou','gongxin','jqimou']],
|
swd_jiliang:['male','wu',3,['yunchou','gongxin','jqimou']],
|
||||||
swd_shuijing:['female','qun',4,['mojian','duanyue']],
|
swd_shuijing:['female','qun',4,['mojian','duanyue','tuzhen']],
|
||||||
swd_quxian:['female','qun',3,['mojian','huanxia']],
|
swd_quxian:['female','qun',3,['mojian','huanxia']],
|
||||||
swd_xiyan:['male','qun',3,['zaowu','daofa']],
|
swd_xiyan:['male','qun',3,['zaowu','daofa']],
|
||||||
swd_cheyun:['female','wu',3,['shengong','xianjiang','qiaoxie']],
|
swd_cheyun:['female','wu',3,['shengong','xianjiang','qiaoxie']],
|
||||||
|
@ -2373,6 +2373,7 @@ character.swd={
|
||||||
hutian:{
|
hutian:{
|
||||||
trigger:{player:'phaseEnd'},
|
trigger:{player:'phaseEnd'},
|
||||||
direct:true,
|
direct:true,
|
||||||
|
alter:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return player.num('h')>0&&!player.storage.hutian;
|
return player.num('h')>0&&!player.storage.hutian;
|
||||||
},
|
},
|
||||||
|
@ -2383,7 +2384,7 @@ character.swd={
|
||||||
return target.maxHp>=ui.selected.cards.length;
|
return target.maxHp>=ui.selected.cards.length;
|
||||||
},
|
},
|
||||||
filterCard:true,
|
filterCard:true,
|
||||||
selectCard:[1,Infinity],
|
selectCard:[1,get.is.altered('hutian')?1:Infinity],
|
||||||
ai1:function(card){
|
ai1:function(card){
|
||||||
var useful=ai.get.useful(card);
|
var useful=ai.get.useful(card);
|
||||||
if(card.name=='du'){
|
if(card.name=='du'){
|
||||||
|
@ -2399,6 +2400,7 @@ character.swd={
|
||||||
}
|
}
|
||||||
return ai.get.attitude(player,target);
|
return ai.get.attitude(player,target);
|
||||||
},
|
},
|
||||||
|
position:'he',
|
||||||
prompt:get.prompt('hutian')
|
prompt:get.prompt('hutian')
|
||||||
});
|
});
|
||||||
"step 1"
|
"step 1"
|
||||||
|
@ -3032,34 +3034,40 @@ character.swd={
|
||||||
return player!=target;
|
return player!=target;
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
"step 0"
|
|
||||||
target.damage();
|
target.damage();
|
||||||
"step 1"
|
|
||||||
if(target.isAlive()){
|
|
||||||
var cards=target.get('h');
|
|
||||||
event.num=cards.length;
|
|
||||||
target.discard(cards);
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
event.finish();
|
|
||||||
}
|
|
||||||
"step 2"
|
|
||||||
if(event.num>=2){
|
|
||||||
player.loseHp();
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
order:9.5,
|
order:9.5,
|
||||||
expose:0.2,
|
expose:0.2,
|
||||||
result:{
|
result:{
|
||||||
target:function(player,target){
|
player:function(player,target){
|
||||||
if(ai.get.damageEffect(target,player)<0){
|
return ai.get.damageEffect(target,player,player);
|
||||||
return -target.num('h')-(target.hp==1?1:0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
tuzhen:{
|
||||||
|
trigger:{source:'damageAfter'},
|
||||||
|
filter:function(event,player){
|
||||||
|
return event.player.isIn()&&event.player!=player&&event.player.hasCard(function(card){
|
||||||
|
return get.type(card)!='basic';
|
||||||
|
});
|
||||||
|
},
|
||||||
|
alter:true,
|
||||||
|
logTarget:'player',
|
||||||
|
check:function(event,player){
|
||||||
|
return ai.get.attitude(player,event.player)<0;
|
||||||
|
},
|
||||||
|
content:function(){
|
||||||
|
var hs=trigger.player.get('h',function(card){
|
||||||
|
return get.type(card)!='basic';
|
||||||
|
});
|
||||||
|
if(get.is.altered('tuzhen')){
|
||||||
|
hs=hs.randomGet();
|
||||||
|
}
|
||||||
|
trigger.player.discard(hs);
|
||||||
|
}
|
||||||
|
},
|
||||||
mojian:{
|
mojian:{
|
||||||
trigger:{player:'shaBegin'},
|
trigger:{player:'shaBegin'},
|
||||||
check:function(event,player){
|
check:function(event,player){
|
||||||
|
@ -8987,7 +8995,8 @@ character.swd={
|
||||||
hutian:'护天',
|
hutian:'护天',
|
||||||
hutian2:'护天',
|
hutian2:'护天',
|
||||||
hutian3:'护天',
|
hutian3:'护天',
|
||||||
hutian_info:'结束阶段,你可以将X张牌置于一名角色的武将牌上,则该角色的体力值始终不能小于X;在你的下一个结束阶段,该角色获得武将牌上的牌(在此回合不能再次发动)',
|
hutian_info:'结束阶段,你可以将任意张牌置于一名角色的武将牌上,则该角色的体力值始终不能小于“护天”牌数;在你的下一个结束阶段,该角色获得武将牌上的“护天”牌(在此回合不能再次发动)',
|
||||||
|
hutian_info_alter:'结束阶段,你可以将一张牌置于一名角色的武将牌上,则该角色的体力值始终不能小于1;在你的下一个结束阶段,该角色获得武将牌上的“护天”牌(在此回合不能再次发动)',
|
||||||
linyun:'凌云',
|
linyun:'凌云',
|
||||||
linyun_info:'你可以将两张牌当作杀使用,此杀需要额外一张闪才能闪避',
|
linyun_info:'你可以将两张牌当作杀使用,此杀需要额外一张闪才能闪避',
|
||||||
sliufeng:'流风',
|
sliufeng:'流风',
|
||||||
|
@ -9129,7 +9138,10 @@ character.swd={
|
||||||
mojian:'墨剑',
|
mojian:'墨剑',
|
||||||
mojian_info:'每当你使用杀并指定目标后,你可以令其摸一张牌,然后你回复一点体力',
|
mojian_info:'每当你使用杀并指定目标后,你可以令其摸一张牌,然后你回复一点体力',
|
||||||
duanyue:'断月',
|
duanyue:'断月',
|
||||||
duanyue_info:'出牌阶段限一次,你可以弃置一张装备牌,对一名其他角色造成一点伤害,并弃其所有手牌。若弃置的手牌数有两张或更多,你流失一点体力',
|
duanyue_info:'出牌阶段限一次,你可以弃置一张装备牌,对一名其他角色造成一点伤害',
|
||||||
|
tuzhen:'突阵',
|
||||||
|
tuzhen_info:'当你造成一次伤害后,你可以弃置对方手牌中的非基本牌',
|
||||||
|
tuzhen_info_alter:'当你造成一次伤害后,你可以弃置对方手牌中的一张非基本牌',
|
||||||
fengmo:'封魔',
|
fengmo:'封魔',
|
||||||
fengmo_info:'出牌阶段限一次,你可以弃置场所有武器牌(至少两张),然后令一名未翻面的角色摸等量的牌并翻面',
|
fengmo_info:'出牌阶段限一次,你可以弃置场所有武器牌(至少两张),然后令一名未翻面的角色摸等量的牌并翻面',
|
||||||
pozhou:'破咒',
|
pozhou:'破咒',
|
||||||
|
|
Loading…
Reference in New Issue