commit
bc9118a421
|
@ -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_lingtong:['male','wu',4,['olxuanfeng'],['die_audio:re_lingtong']],
|
||||||
ol_sb_guanyu:['male','shu',4,['olsbweilin','olsbduoshou']],
|
ol_sb_guanyu:['male','shu',4,['olsbweilin','olsbduoshou']],
|
||||||
ol_sb_taishici:['male','wu',4,['olsbdulie','olsbdouchan']],
|
ol_sb_taishici:['male','wu',4,['olsbdulie','olsbdouchan']],
|
||||||
|
ol_gaoshun:['male','qun',4,['olxianzhen','decadejinjiu'],['die_audio:re_gaoshun']],
|
||||||
},
|
},
|
||||||
characterSort:{
|
characterSort:{
|
||||||
onlyOL:{
|
onlyOL:{
|
||||||
onlyOL_yijiang1:['ol_jianyong','ol_lingtong'],
|
onlyOL_yijiang1:['ol_jianyong','ol_lingtong','ol_gaoshun'],
|
||||||
onlyOL_yijiang2:['ol_caozhang'],
|
onlyOL_yijiang2:['ol_caozhang'],
|
||||||
onlyOL_sb:['ol_sb_jiangwei','ol_sb_guanyu','ol_sb_taishici'],
|
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:{
|
characterReplace:{
|
||||||
},
|
},
|
||||||
skill:{
|
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谋关羽
|
//新OL谋关羽
|
||||||
olsbweilin:{
|
olsbweilin:{
|
||||||
audio:2,
|
audio:2,
|
||||||
|
@ -730,6 +765,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
olsbweilin_info:'每回合限一次,你可以将一张牌当作任意【杀】或【酒】使用,且你以此法使用的牌指定最后一个目标后,你令所有目标角色本回合与此牌颜色相同的手牌均视为【杀】。',
|
olsbweilin_info:'每回合限一次,你可以将一张牌当作任意【杀】或【酒】使用,且你以此法使用的牌指定最后一个目标后,你令所有目标角色本回合与此牌颜色相同的手牌均视为【杀】。',
|
||||||
olsbduoshou:'夺首',
|
olsbduoshou:'夺首',
|
||||||
olsbduoshou_info:'锁定技。①你每回合使用的第一张红色牌无距离限制。②你每回合使用的第一张基本牌不计入使用次数。③你每回合第一次造成伤害后,你摸一张牌。',
|
olsbduoshou_info:'锁定技。①你每回合使用的第一张红色牌无距离限制。②你每回合使用的第一张基本牌不计入使用次数。③你每回合第一次造成伤害后,你摸一张牌。',
|
||||||
|
ol_gaoshun:'OL界高顺',
|
||||||
|
ol_gaoshun_prefix:'OL界',
|
||||||
|
olxianzhen:'陷阵',
|
||||||
|
olxianzhen_info:'出牌阶段限一次,你可以与一名角色拼点。若你赢,本回合你无视该角色的防具且对其使用牌没有次数和距离限制,且当你使用【杀】或普通锦囊牌指定其他角色为唯一目标时可以令该角色也成为此牌的目标;若你没赢,本回合你不能对其使用【杀】且你的【杀】不计入手牌上限。',
|
||||||
|
|
||||||
onlyOL_yijiang1:'OL专属·将1',
|
onlyOL_yijiang1:'OL专属·将1',
|
||||||
onlyOL_yijiang2:'OL专属·将2',
|
onlyOL_yijiang2:'OL专属·将2',
|
||||||
|
|
|
@ -1462,6 +1462,7 @@ window.noname_character_rank={
|
||||||
'ol_dengai',
|
'ol_dengai',
|
||||||
're_wuguotai',
|
're_wuguotai',
|
||||||
're_gaoshun',
|
're_gaoshun',
|
||||||
|
'ol_gaoshun',
|
||||||
're_caozhi',
|
're_caozhi',
|
||||||
're_lingtong',
|
're_lingtong',
|
||||||
'xin_xusheng',
|
'xin_xusheng',
|
||||||
|
|
|
@ -4059,23 +4059,34 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
decadejinjiu:{
|
decadejinjiu:{
|
||||||
global:'decadejinjiu_global',
|
global:'decadejinjiu_global',
|
||||||
mod:{
|
mod:{
|
||||||
cardname:function(card){
|
cardname(card){
|
||||||
if(card.name=='jiu') return 'sha';
|
if(card.name=='jiu') return 'sha';
|
||||||
},
|
},
|
||||||
cardnumber:function(card){
|
cardnumber(card){
|
||||||
if(card.name=='jiu') return 13;
|
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:{
|
subSkill:{
|
||||||
global:{
|
global:{
|
||||||
mod:{
|
mod:{
|
||||||
cardEnabled:function(card,player){
|
cardEnabled(card,player){
|
||||||
if(card.name=='jiu'){
|
if(card.name=='jiu'){
|
||||||
var source=_status.currentPhase;
|
var source=_status.currentPhase;
|
||||||
if(source&&source!=player&&source.hasSkill('decadejinjiu')) return false;
|
if(source&&source!=player&&source.hasSkill('decadejinjiu')) return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
cardSavable:function(card,player){
|
cardSavable(card,player){
|
||||||
if(card.name=='jiu'){
|
if(card.name=='jiu'){
|
||||||
var source=_status.currentPhase;
|
var source=_status.currentPhase;
|
||||||
if(source&&source!=player&&source.hasSkill('decadejinjiu')) return false;
|
if(source&&source!=player&&source.hasSkill('decadejinjiu')) return false;
|
||||||
|
|
|
@ -733,7 +733,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
const target=player.getStorage('olqingyuan').filter(target=>target.hasCard(card=>lib.filter.canBeGained(card,target,player),'he')).randomGet();
|
const target=player.getStorage('olqingyuan').filter(target=>target.hasCard(card=>lib.filter.canBeGained(card,target,player),'he')).randomGet();
|
||||||
player.line(target);
|
player.line(target);
|
||||||
player.addTempSkill('olqingyuan_used');
|
player.addTempSkill('olqingyuan_used');
|
||||||
player.gainPlayerCard(target,'he',true);
|
player.gain(target.getCards('he',card=>{
|
||||||
|
return lib.filter.canBeGained(card,target,player);
|
||||||
|
}).randomGet(),target,'giveAuto');
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
const {result:{bool,targets}}=await player.chooseTarget((card,player,target)=>{
|
const {result:{bool,targets}}=await player.chooseTarget((card,player,target)=>{
|
||||||
|
@ -27243,7 +27245,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
olshandao_info:'出牌阶段限一次,你可以选择任意名角色,你选择这些角色的各一张牌,依次将这些牌放置到牌堆顶,然后你视为对这些角色使用【五谷丰登】,然后你视为对这些角色外的所有其他角色使用【万箭齐发】。',
|
olshandao_info:'出牌阶段限一次,你可以选择任意名角色,你选择这些角色的各一张牌,依次将这些牌放置到牌堆顶,然后你视为对这些角色使用【五谷丰登】,然后你视为对这些角色外的所有其他角色使用【万箭齐发】。',
|
||||||
ol_hujinding:'胡金定',
|
ol_hujinding:'胡金定',
|
||||||
olqingyuan:'轻缘',
|
olqingyuan:'轻缘',
|
||||||
olqingyuan_info:'锁定技。①游戏开始时,或当你于本局游戏首次受到伤害后,你选择一名未以此法选择过的其他角色。②每回合限一次,你发动〖轻缘①〗选择过的角色得到牌后,你随机获得其中一名角色的一张牌。',
|
olqingyuan_info:'锁定技。①游戏开始时,或当你于本局游戏首次受到伤害后,你选择一名未以此法选择过的其他角色。②每回合限一次,你发动〖轻缘①〗选择过的角色得到牌后,你随机获得其中一名角色的随机一张牌。',
|
||||||
olchongshen:'重身',
|
olchongshen:'重身',
|
||||||
olchongshen_info:'你可以将本轮得到的手牌当作【闪】使用,且这些牌不计入你的手牌上限。',
|
olchongshen_info:'你可以将本轮得到的手牌当作【闪】使用,且这些牌不计入你的手牌上限。',
|
||||||
|
|
||||||
|
|
|
@ -6750,6 +6750,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
xinxianzhen2:{
|
xinxianzhen2:{
|
||||||
audio:'xianzhen',
|
audio:'xianzhen',
|
||||||
|
audioname2:{
|
||||||
|
ol_gaoshun:'rexianzhen',
|
||||||
|
},
|
||||||
mod:{
|
mod:{
|
||||||
targetInRange:function(card,player,target){
|
targetInRange:function(card,player,target){
|
||||||
if(target==player.storage.xinxianzhen) return true;
|
if(target==player.storage.xinxianzhen) return true;
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
Loading…
Reference in New Issue