This commit is contained in:
parent
b16ebb1d17
commit
10eddf9741
|
@ -16,7 +16,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
gw_laduoweide:['male','wei',4,['gwxiaoshou']],
|
gw_laduoweide:['male','wei',4,['gwxiaoshou']],
|
||||||
gw_dagong:['male','qun',4,['tianbian']],
|
gw_dagong:['male','qun',4,['tianbian']],
|
||||||
|
|
||||||
gw_bulanwang:['male','qun',4,['bolang']],
|
// gw_bulanwang:['male','qun',4,['bolang']],
|
||||||
// gw_kuite:['male','qun',3,[]],
|
// gw_kuite:['male','qun',3,[]],
|
||||||
// gw_fuertaisite:['male','qun',3,[]],
|
// gw_fuertaisite:['male','qun',3,[]],
|
||||||
// gw_hengsaite:['male','wei',4,['jinsheng']],
|
// gw_hengsaite:['male','wei',4,['jinsheng']],
|
||||||
|
@ -1518,7 +1518,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
huihun:'回魂',
|
huihun:'回魂',
|
||||||
huihun_info:'结束阶段,你可以从弃牌堆中获得本回合使用的前两张红色牌',
|
huihun_info:'结束阶段,你可以从弃牌堆中获得本回合使用的前两张红色牌',
|
||||||
lanquan:'远略',
|
lanquan:'远略',
|
||||||
lanquan_backup:'揽权',
|
lanquan_backup:'远略',
|
||||||
lanquan_info:'出牌阶段限一次,你可以观看牌堆顶的6张牌,并选择一张使用',
|
lanquan_info:'出牌阶段限一次,你可以观看牌堆顶的6张牌,并选择一张使用',
|
||||||
|
|
||||||
chaoyong:'潮涌',
|
chaoyong:'潮涌',
|
||||||
|
|
|
@ -7268,15 +7268,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
line:'fire',
|
line:'fire',
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return !player.storage.xuehuang&&
|
return !player.storage.xuehuang&&
|
||||||
player.countCards('he',{color:'red'})>0&&
|
player.countCards('h',{color:'red'})>0&&
|
||||||
player.countCards('he',{color:'black'})==0;
|
player.countCards('h',{color:'black'})==0;
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
player.storage.xuehuang=true;
|
player.storage.xuehuang=true;
|
||||||
player.awakenSkill('xuehuang');
|
player.awakenSkill('xuehuang');
|
||||||
player.showHandcards();
|
player.showHandcards();
|
||||||
var cards=player.getCards('he');
|
var cards=player.getCards('h');
|
||||||
player.discard(cards);
|
player.discard(cards);
|
||||||
event.num=cards.length;
|
event.num=cards.length;
|
||||||
'step 1'
|
'step 1'
|
||||||
|
@ -7295,7 +7295,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
order:9,
|
order:9,
|
||||||
result:{
|
result:{
|
||||||
player:function(player){
|
player:function(player){
|
||||||
if(player.countCards('he',{color:'red'})<2) return 0;
|
if(player.countCards('h',{color:'red'})<2) return 0;
|
||||||
if(player.hasCard(function(card){
|
if(player.hasCard(function(card){
|
||||||
return get.color(card)=='red'&&get.value(card)>8;
|
return get.color(card)=='red'&&get.value(card)>8;
|
||||||
})){
|
})){
|
||||||
|
@ -8625,6 +8625,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
if(event.isMine()){
|
if(event.isMine()){
|
||||||
ui.auto.hide();
|
ui.auto.hide();
|
||||||
event.dialog=ui.create.dialog('脉轮:选择一个效果');
|
event.dialog=ui.create.dialog('脉轮:选择一个效果');
|
||||||
|
event.dialog.forcebutton=true;
|
||||||
|
event.dialog.classList.add('forcebutton');
|
||||||
var effects=lib.skill.mailun.effects;
|
var effects=lib.skill.mailun.effects;
|
||||||
var clickItem=function(){
|
var clickItem=function(){
|
||||||
event.choice=this.link;
|
event.choice=this.link;
|
||||||
|
@ -9737,7 +9739,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
yulin_info:'每当你即将受到伤害,你可以弃置一张装备牌抵消此伤害',
|
yulin_info:'每当你即将受到伤害,你可以弃置一张装备牌抵消此伤害',
|
||||||
funiao_info:'出牌阶段限一次,你可以将一张手牌交给一名其他角色,然后摸一张牌',
|
funiao_info:'出牌阶段限一次,你可以将一张手牌交给一名其他角色,然后摸一张牌',
|
||||||
funiao_old_info:'出牌阶段,你可以交给一名角色一张手牌,然后观看其手牌,每个阶段对一名角色只能发动一次',
|
funiao_old_info:'出牌阶段,你可以交给一名角色一张手牌,然后观看其手牌,每个阶段对一名角色只能发动一次',
|
||||||
xuehuang_info:'限定技,出牌阶段,若你没有黑色牌,你可以展示并弃置所有牌,每弃置一张牌视为使用一张火杀,随机指定两名敌人为目标',
|
xuehuang_info:'限定技,出牌阶段,若你没有黑色手牌,你可以展示并弃置所有手牌,每弃置一张牌视为使用一张火杀,随机指定两名敌人为目标',
|
||||||
zhuyu_info:'每当一名横置的角色即将受到伤害时,你可以弃置一张红色牌令此伤害+1并变为火属性',
|
zhuyu_info:'每当一名横置的角色即将受到伤害时,你可以弃置一张红色牌令此伤害+1并变为火属性',
|
||||||
ningshuang_info:'每当你成为黑色牌的目标,你可以弃置一张黑色牌将其横置,并摸一张牌,若其已经模置则改为将其翻面',
|
ningshuang_info:'每当你成为黑色牌的目标,你可以弃置一张黑色牌将其横置,并摸一张牌,若其已经模置则改为将其翻面',
|
||||||
zaowu_old_info:'出牌阶段,你可以弃置三张不同类型的牌,创造任意两张牌并获得之',
|
zaowu_old_info:'出牌阶段,你可以弃置三张不同类型的牌,创造任意两张牌并获得之',
|
||||||
|
|
|
@ -890,7 +890,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
content:'limited'
|
content:'limited'
|
||||||
},
|
},
|
||||||
check:function(event,player){
|
check:function(event,player){
|
||||||
console.log(player.name,event.player.name);
|
|
||||||
return get.attitude(player,event.player)>=3;
|
return get.attitude(player,event.player)>=3;
|
||||||
},
|
},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
|
|
|
@ -10396,6 +10396,7 @@
|
||||||
item.firstChild.link=event.controls[i];
|
item.firstChild.link=event.controls[i];
|
||||||
}
|
}
|
||||||
event.dialog.forcebutton=true;
|
event.dialog.forcebutton=true;
|
||||||
|
event.dialog.classList.add('forcebutton');
|
||||||
event.dialog.open();
|
event.dialog.open();
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
|
@ -14,7 +14,7 @@ window.noname_update={
|
||||||
// 'card/*',
|
// 'card/*',
|
||||||
// 'card/gwent.js',
|
// 'card/gwent.js',
|
||||||
// 'character/*',
|
// 'character/*',
|
||||||
// 'character/sp.js',
|
'character/gwent.js',
|
||||||
// 'character/yijiang.js',
|
// 'character/yijiang.js',
|
||||||
'mode/identity.js',
|
'mode/identity.js',
|
||||||
'mode/guozhan.js',
|
'mode/guozhan.js',
|
||||||
|
|
|
@ -1424,6 +1424,10 @@ div:not(.handcards)>.card>.info>span,
|
||||||
bottom: auto !important;
|
bottom: auto !important;
|
||||||
min-height: 0px !important;
|
min-height: 0px !important;
|
||||||
}
|
}
|
||||||
|
.dialog.forcebutton{
|
||||||
|
width: 400px;
|
||||||
|
left: calc(50% - 200px);
|
||||||
|
}
|
||||||
.dialog.nobutton .content>div:last-child {
|
.dialog.nobutton .content>div:last-child {
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue