添加阎象(手杀),谋张角、手杀郭照调整,阎象、蒋济、鲍信、吴班添加同名替换

This commit is contained in:
mengxinzxz 2023-10-25 13:10:33 +08:00 committed by GitHub
parent cf7a0657e5
commit 5368183aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 69 additions and 11 deletions

View File

@ -2446,7 +2446,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
},
characterReplace:{
wuban:['clan_wuban','dc_wuban','wuban'],
wuban:['clan_wuban','dc_wuban','wuban','xin_wuban'],
},
characterIntro:{
xunshu:'荀淑83年149年字季和为郎陵侯相颍川颍阴人今河南省许昌市人。汉和帝至汉桓帝时人物以品行高洁著称。有子八人号八龙。年轻时有高尚的德行学问渊博不喜欢雕章琢句徒在文字上用功不注重实际的学识。因此常常被俗儒看不起。但州里却称他有知人之明。安帝时征召任为郎中后来再升当涂长。离职还乡里。他的孙子荀彧是曹操部下著名的谋士。',

View File

@ -6,7 +6,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
connect:true,
characterSort:{
mobile:{
mobile_default:['xin_wuban','laimin','baoxin','jiangji','liwei','xin_guozhao',"miheng","taoqian","lingcao","sunru","lifeng","zhuling","liuye","zhaotongzhaoguang","majun","simazhao","wangyuanji","pangdegong","shenpei","hujinding","zhangyì","jiakui","yangbiao","chendeng","dongcheng","yangyi","dengzhi","zhengxuan","sp_sufei","furong","dingyuan","simashi","yanghuiyu","hucheer","gongsunkang","nanhualaoxian","zhouqun","qiaozhou","fuqian","simafu","mayuanyi","yanpu","sunhanhua","sp_maojie","peixiu","sp_jianggan","ruanhui","xin_mamidi","sp_caosong","yangfu","wangjun","sp_pengyang","qianzhao",'shichangshi'],
mobile_default:['yanxiang','xin_wuban','laimin','baoxin','jiangji','liwei','xin_guozhao',"miheng","taoqian","lingcao","sunru","lifeng","zhuling","liuye","zhaotongzhaoguang","majun","simazhao","wangyuanji","pangdegong","shenpei","hujinding","zhangyì","jiakui","yangbiao","chendeng","dongcheng","yangyi","dengzhi","zhengxuan","sp_sufei","furong","dingyuan","simashi","yanghuiyu","hucheer","gongsunkang","nanhualaoxian","zhouqun","qiaozhou","fuqian","simafu","mayuanyi","yanpu","sunhanhua","sp_maojie","peixiu","sp_jianggan","ruanhui","xin_mamidi","sp_caosong","yangfu","wangjun","sp_pengyang","qianzhao",'shichangshi'],
mobile_yijiang:["yj_zhanghe","yj_zhangliao","yj_xuhuang","yj_ganning",'yj_huangzhong','yj_weiyan','yj_zhoubuyi'],
mobile_standard:["xin_xiahoudun","xin_zhangfei"],
mobile_shenhua_feng:['re_xiaoqiao',"xin_zhoutai"],
@ -26,6 +26,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
},
character:{
yanxiang:['male','qun',3,['kujian','twruilian'],['character:tw_yanxiang','die_audio:tw_yanxiang']],
mb_sunluyu:['female','wu',3,['mbmeibu','mbmumu']],
xin_wuban:['male','shu',4,['xinjintao'],['clan:陈留吴氏','character:wuban']],
baoxin:['male','qun',4,['mutao','yimou'],['character:tw_baoxin','die_audio:tw_baoxin']],
@ -387,6 +388,40 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
},
skill:{
//阎象
kujian:{
audio:'twkujian',
inherit:'twkujian',
selectCard:[1,2],
content:function(){
player.give(cards,target).gaintag.add('twkujianx');
player.addSkill('kujian_draw');
player.addSkill('twkujian_discard');
},
subSkill:{
draw:{
charlotte:true,
audio:'twkujian',
trigger:{global:['useCardAfter','respondAfter']},
filter:function(event,player){
return event.player.hasHistory('lose',evt=>{
if(event!=evt.getParent()) return false;
for(var i in evt.gaintag_map){
if(evt.gaintag_map[i].contains('twkujianx')) return true;
}
});
},
forced:true,
logTarget:'player',
content:function(){
'step 0'
game.asyncDraw([player,trigger.player],2);
'step 1'
game.delayx();
},
},
},
},
//手杀差异化孙鲁育
mbmumu:{
audio:'mumu',
@ -1086,14 +1121,29 @@ game.import('character',function(lib,game,ui,get,ai,_status){
else event.finish();
'step 2'
var suit=result.control;
event.suit=suit;
player.chat(get.translation(suit+2));
game.log(player,'选择了','#y'+get.translation(suit+2));
if(target.countCards('e',{suit:suit})) player.gain(target.getCards('e',{suit:suit}),target,'giveAuto');
'step 4'
var suit=event.suit;
if(target.countCards('h',{suit:suit})){
player.chooseButton(['选择获得其中一张牌',target.getCards('e',{suit:suit})],true).set('ai',button=>get.value(button.link));
}
else event.goto(6);
'step 5'
if(result.bool){
var card=result.links[0];
if(lib.filter.canBeGained(card,player,target)) player.gain(card,target,'giveAuto','bySelf');
else game.log('但',card,'不能被',player,'获得!');
}
'step 6'
var suit=event.suit;
player.storage.yichong=suit;
player.markSkill('yichong');
game.broadcastAll(function(player,suit){
if(player.marks.yichong) player.marks.yichong.firstChild.innerHTML=get.translation(suit);
},player,suit);
if(target.countCards('he',{suit:suit})) player.gain(target.getCards('he',{suit:suit}),target,'giveAuto');
game.countPlayer(function(current){
current.removeSkill('yichong_'+player.playerid);
if(current==target) target.addSkill('yichong_'+player.playerid);
@ -15395,7 +15445,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
xin_guozhao:'手杀郭照',
xin_guozhao_prefix:'手杀',
yichong:'易宠',
yichong_info:'①准备阶段,你可以选择一名其他角色并选择一个花色,然后你获得其所有此花色的牌,移除场上的所有“雀”标记,令其获得“雀”标记直到你的下个回合开始。②拥有“雀”标记的角色获得你最后一次发动〖易宠①〗选择的花色的牌后,你获得这些牌(你至多通过每个“雀”得到一张牌)。',
yichong_info:'①准备阶段,你可以选择一名其他角色并选择一个花色,然后你获得其所有此花色的装备牌和其一张此花色的手牌,移除场上的所有“雀”标记,令其获得“雀”标记直到你的下个回合开始。②拥有“雀”标记的角色获得你最后一次发动〖易宠①〗选择的花色的牌后,你获得这些牌(你至多通过每个“雀”得到一张牌)。',
wufei:'诬诽',
wufei_info:'若场上存在拥有“雀”标记的角色A①当你使用【杀】或伤害类锦囊牌指定第一个目标后你令A成为此牌伤害来源。②当你受到伤害后若A的体力值大于3则你可以令A受到1点无来源伤害。',
yj_zhoubuyi:'☆周不疑',
@ -15466,6 +15516,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
mbmeibu_info:'其他角色的出牌阶段开始时若你在其攻击范围内你可以弃置一张牌令该角色于本回合内获得〖止息〗。若你以此法弃置的牌不是【杀】或黑色锦囊牌则本回合其与你的距离视为1。',
mbzhixi:'止息',
mbzhixi_info:'锁定技。出牌阶段若你于此阶段使用过的牌数不小于X你不能使用牌X为你的体力值当你使用锦囊牌时你结束此阶段。',
yanxiang:'阎象',
kujian:'苦谏',
kujian_info:'出牌阶段限一次,你可以将至多两张手牌称为“谏”并交给一名其他角色,然后你获得以下效果:当其他角色使用或打出牌后,若其中有“谏”,你与其各摸两张牌;当其他角色不因使用或打出而失去牌后,若其中有“谏”,你与其各弃置一张牌。',
mobile_standard:'手杀异构·标准包',
mobile_shenhua_feng:'手杀异构·其疾如风',

View File

@ -3237,8 +3237,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
sbguidao:{
audio:2,
trigger:{
global:[/*'phaseBefore',*/'damageEnd'],
//player:'enterGame',
global:['phaseBefore','damageEnd'],
player:'enterGame',
},
forced:true,
locked:false,
@ -3320,9 +3320,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return true;
},
content:function(){
player.addMark('sbguidao',1);
var num=Math.min(8-player.countMark('sbhuangtian_count'),2);
player.addMark('sbguidao',num);
player.addTempSkill('sbhuangtian_count','roundStart');
player.addMark('sbhuangtian_count',1,false);
player.addMark('sbhuangtian_count',num,false);
}
},
count:{onremove:true}
@ -4980,9 +4981,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
sbleiji:'雷击',
sbleiji_info:'出牌阶段你可以选择一名其他角色并弃4枚“道兵”对其造成1点雷电伤害。',
sbguidao:'鬼道',
sbguidao_info:'①一名角色受到属性伤害后你获得2枚“道兵”。②当你受到伤害时你可以弃2枚“道兵”并防止此伤害。然后若当前回合角色不为你〖鬼道①〗于你下回合开始前无效。③“道兵”上限为8。',
sbguidao_info:'①游戏开始时/一名角色受到属性伤害后,你获得4/2枚“道兵”。②当你受到伤害时你可以弃2枚“道兵”并防止此伤害。然后若当前回合角色不为你〖鬼道①〗于你下回合开始前无效。③“道兵”上限为8。',
sbhuangtian:'黄天',
sbhuangtian_info:'主公技锁定技。①回合开始时若本回合为你的第一个回合且游戏轮数为1且游戏内没有【太平要术】你装备【太平要术】。②其他群势力角色造成伤害后若你拥有〖鬼道〗你获得1枚“道兵”每轮你至多以此法获得4枚“道兵”。',
sbhuangtian_info:'主公技锁定技。①回合开始时若本回合为你的第一个回合且游戏轮数为1且游戏内没有【太平要术】你装备【太平要术】。②其他群势力角色造成伤害后若你拥有〖鬼道〗你获得2枚“道兵”每轮你至多以此法获得4枚“道兵”。',
sb_caocao:'谋曹操',
sbjianxiong:'奸雄',
sbjianxiong_info:'①游戏开始时你可获得至多2枚“治世”标记。②当你受到伤害后你可获得伤害牌摸1-X张牌X为“治世”数然后你可弃1枚“治世”。',

View File

@ -14036,6 +14036,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
tw_caocao:['tw_caocao','jsrg_caocao','yj_caocao'],
mateng:['tw_mateng','mateng'],
xiahouen:['tw_xiahouen','jsrg_xiahouen'],
jiangji:['tw_jiangji','jiangji'],
baoxin:['tw_baoxin','baoxin'],
yanxiang:['yanxiang','tw_yanxiang'],
},
dynamicTranslate:{
twfeifu:function(player){
@ -14500,7 +14503,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
tw_liwei_prefix:'TW',
twjiaohua:'教化',
twjiaohua_info:'当你或体力值最小的其他角色因摸牌而得到牌后,你可以令该角色从牌堆或弃牌堆中获得一张本次未获得的类别的牌(每种类别每回合限一次)。',
tw_yanxiang:'阎象',
tw_yanxiang:'TW阎象',
tw_yanxiang_prefix:'TW',
twkujian:'苦谏',
twkujianx:'谏',
twkujian_info:'出牌阶段限一次。你可以将至多三张手牌交给一名其他角色,称为“谏”,你获得以下效果:当其他角色使用或打出牌后,若其中有“谏”,你与其各摸一张牌;当其他角色不因使用或打出而失去牌后,若其中有“谏”,你与其各弃置一张牌。',