OL界高顺
This commit is contained in:
parent
46e617e93f
commit
43805ec9a4
|
@ -10,10 +10,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
ol_lingtong:['male','wu',4,['olxuanfeng'],['die_audio:re_lingtong']],
|
||||
ol_sb_guanyu:['male','shu',4,['olsbweilin','olsbduoshou']],
|
||||
ol_sb_taishici:['male','wu',4,['olsbdulie','olsbdouchan']],
|
||||
ol_gaoshun:['male','qun',4,['olxianzhen','decadejinjiu'],['die_audio:re_gaoshun']],
|
||||
},
|
||||
characterSort:{
|
||||
onlyOL:{
|
||||
onlyOL_yijiang1:['ol_jianyong','ol_lingtong'],
|
||||
onlyOL_yijiang1:['ol_jianyong','ol_lingtong','ol_gaoshun'],
|
||||
onlyOL_yijiang2:['ol_caozhang'],
|
||||
onlyOL_sb:['ol_sb_jiangwei','ol_sb_guanyu','ol_sb_taishici'],
|
||||
},
|
||||
|
@ -23,6 +24,40 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
characterReplace:{
|
||||
},
|
||||
skill:{
|
||||
//界高顺
|
||||
olxianzhen:{
|
||||
audio:'rexianzhen',
|
||||
inherit:'xianzhen',
|
||||
async content(event,trigger,player){
|
||||
const target=event.target;
|
||||
const {result:{bool}}=await player.chooseToCompare(target);
|
||||
if(bool){
|
||||
player.storage.xinxianzhen=target;
|
||||
player.addTempSkill('xinxianzhen2');
|
||||
}
|
||||
else{
|
||||
player.markAuto('olxianzhen_buff',[target]);
|
||||
player.addTempSkill('olxianzhen_buff');
|
||||
}
|
||||
},
|
||||
subSkill:{
|
||||
buff:{
|
||||
charlotte:true,
|
||||
onremove:true,
|
||||
mod:{
|
||||
playerEnabled(card,player,target){
|
||||
if(get.name(card,player)=='sha'&&player.getStorage('olxianzhen_buff').includes(target)) return false;
|
||||
},
|
||||
ignoredHandcard(card,player){
|
||||
if(get.name(card,player)=='sha') return true;
|
||||
},
|
||||
cardDiscardable(card,player,name){
|
||||
if(name=='phaseDiscard'&&get.name(card,player)=='sha') return false;
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
//新OL谋关羽
|
||||
olsbweilin:{
|
||||
audio:2,
|
||||
|
@ -730,6 +765,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
olsbweilin_info:'每回合限一次,你可以将一张牌当作任意【杀】或【酒】使用,且你以此法使用的牌指定最后一个目标后,你令所有目标角色本回合与此牌颜色相同的手牌均视为【杀】。',
|
||||
olsbduoshou:'夺首',
|
||||
olsbduoshou_info:'锁定技。①你每回合使用的第一张红色牌无距离限制。②你每回合使用的第一张基本牌不计入使用次数。③你每回合第一次造成伤害后,你摸一张牌。',
|
||||
ol_gaoshun:'OL界高顺',
|
||||
ol_gaoshun_prefix:'OL界',
|
||||
olxianzhen:'陷阵',
|
||||
olxianzhen_info:'出牌阶段限一次,你可以与一名角色拼点。若你赢,本回合你无视该角色的防具且对其使用牌没有次数和距离限制,且当你使用【杀】或普通锦囊牌指定其他角色为唯一目标时可以令该角色也成为此牌的目标;若你没赢,本回合你不能对其使用【杀】且你的【杀】不计入手牌上限。',
|
||||
|
||||
onlyOL_yijiang1:'OL专属·将1',
|
||||
onlyOL_yijiang2:'OL专属·将2',
|
||||
|
|
|
@ -1462,6 +1462,7 @@ window.noname_character_rank={
|
|||
'ol_dengai',
|
||||
're_wuguotai',
|
||||
're_gaoshun',
|
||||
'ol_gaoshun',
|
||||
're_caozhi',
|
||||
're_lingtong',
|
||||
'xin_xusheng',
|
||||
|
|
|
@ -4059,23 +4059,34 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
decadejinjiu:{
|
||||
global:'decadejinjiu_global',
|
||||
mod:{
|
||||
cardname:function(card){
|
||||
cardname(card){
|
||||
if(card.name=='jiu') return 'sha';
|
||||
},
|
||||
cardnumber:function(card){
|
||||
cardnumber(card){
|
||||
if(card.name=='jiu') return 13;
|
||||
},
|
||||
},
|
||||
audio:2,
|
||||
audioname2:{
|
||||
ol_gaoshun:'rejinjiu',
|
||||
},
|
||||
trigger:{player:['useCard1','respond']},
|
||||
filter(event,player){
|
||||
return event.card.name=='sha'&&!event.skill&&event.cards&&event.cards.length==1&&event.cards[0].name=='jiu';
|
||||
},
|
||||
forced:true,
|
||||
firstDo:true,
|
||||
content(){},
|
||||
subSkill:{
|
||||
global:{
|
||||
mod:{
|
||||
cardEnabled:function(card,player){
|
||||
cardEnabled(card,player){
|
||||
if(card.name=='jiu'){
|
||||
var source=_status.currentPhase;
|
||||
if(source&&source!=player&&source.hasSkill('decadejinjiu')) return false;
|
||||
}
|
||||
},
|
||||
cardSavable:function(card,player){
|
||||
cardSavable(card,player){
|
||||
if(card.name=='jiu'){
|
||||
var source=_status.currentPhase;
|
||||
if(source&&source!=player&&source.hasSkill('decadejinjiu')) return false;
|
||||
|
|
|
@ -6750,6 +6750,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
xinxianzhen2:{
|
||||
audio:'xianzhen',
|
||||
audioname2:{
|
||||
ol_gaoshun:'rexianzhen',
|
||||
},
|
||||
mod:{
|
||||
targetInRange:function(card,player,target){
|
||||
if(target==player.storage.xinxianzhen) return true;
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
Loading…
Reference in New Issue