Merge pull request #297 from mengxinzxz/PR-Branch

海外服主公添加+bug修复
This commit is contained in:
Spmario233 2023-09-08 10:15:15 +08:00 committed by GitHub
commit 0ff2583d5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 402 additions and 20 deletions

View File

@ -6,7 +6,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
connect:true,
characterSort:{
mobile:{
mobile_default:['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","old_wanglang",'shichangshi'],
mobile_default:['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'],
mobile_standard:["xin_xiahoudun","xin_zhangfei"],
mobile_shenhua_feng:['re_xiaoqiao',"xin_zhoutai"],
@ -33,7 +33,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
shichangshi:['male','qun',1,['mbdanggu','mbmowang']],
re_zhangzhang:['male','wu',3,['rezhijian','guzheng']],
qianzhao:['male','wei',4,['mbshihe','mbzhenfu']],
old_wanglang:['male','wei',3,['gushe','jici']],
re_yanwen:["male","qun",4,["reshuangxiong"]],
xin_zhoutai:['male','wu',4,['buqu','new_fenji']],
re_caozhi:['male','wei',3,['reluoying','rejiushi','chengzhang']],
@ -147,7 +146,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hujinding:['female','shu','2/6',['renshi','wuyuan','huaizi']],
re_zhanggong:['male','wei',3,['reqianxin','rezhenxing']],
re_xugong:['male','qun',3,['rebiaozhao','yechou']],
re_xugong:['male','qun',3,['rebiaozhao','yechou'],['doublegroup:wu:qun']],
re_weiwenzhugezhi:['male','wu',4,['refuhai']],
xin_yuanshao:['male','qun',4,['reluanji','xueyi'],['zhu']],
@ -8432,7 +8431,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
logTarget:'player',
check:function(event,player){
if(get.attitude(player,event.player)<4) return false;
if(player.countCards('hs',card=>player.canSaveCard(card,target))>=1+event.num-event.player.hp) return false;
if(player.countCards('hs',card=>player.canSaveCard(card,event.player))>=1+event.num-event.player.hp) return false;
if(event.player==player||event.player==get.zhu(player)) return true;
return !player.hasUnknown();
},
@ -10097,7 +10096,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
trigger:{global:'dying'},
check:function(event,player){
if(get.attitude(player,event.player)<4) return false;
if(player.countCards('hs',card=>player.canSaveCard(card,target))>=1-event.player.hp) return false;
if(player.countCards('hs',card=>player.canSaveCard(card,event.player))>=1-event.player.hp) return false;
if(event.player==player||event.player==get.zhu(player)) return true;
if(_status.currentPhase&&get.damageEffect(_status.currentPhase,player,player)<0) return false;
return !player.hasUnknown();
@ -14131,7 +14130,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
mbaosi_info:'锁定技。当你于出牌阶段对一名攻击范围内的角色造成伤害后,你于此阶段对其使用牌无次数限制。',
xin_zhoutai:'手杀周泰',
re_yanwen:"手杀颜良文丑",
old_wanglang:'旧王朗',
qianzhao:'牵招',
mbshihe:'势吓',
mbshihe_info_identity:'出牌阶段限一次。你可以与一名角色拼点。若你:赢,当其于其下回合结束前对你造成伤害时,取消之;没赢,你随机弃置一张牌。',

View File

@ -14,8 +14,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
old_yijiang3:["liru","old_zhuran","old_fuhuanghou","old_caochong"],
old_yijiang4:["old_caozhen","old_chenqun","old_zhuhuan",'old_caorui'],
old_yijiang5:["old_caoxiu","old_zhuzhi"],
old_yijiang67:["ol_zhangrang","ol_liuyu",'old_huanghao','old_liyan'],
old_sp:["old_maliang","old_machao","zhangliang","jsp_caoren","ol_guansuo","old_zhangxingcai","old_huangfusong","old_wangyun",'old_dingfeng'],
old_yijiang67:["ol_zhangrang",'old_huanghao','old_liyan'],
old_sp:["old_wanglang","old_maliang","old_machao","zhangliang","jsp_caoren","ol_guansuo","old_zhangxingcai","old_huangfusong","old_wangyun",'old_dingfeng'],
old_yingbian:['junk_simayi','old_yangyan','old_yangzhi'],
old_mobile:["old_caochun",'old_majun'],
},
@ -83,8 +83,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ol_zhangrang:['male','qun',3,['xintaoluan']],
ol_guansuo:['male','shu',4,['zhengnan','xiefang']],
//ol_manchong:['male','wei',3,['yuce','junxing']],
ol_liuyu:['male','qun',2,['zongzuo','zhige']],
old_guanqiujian:["male","wei",4,["drlt_zhenrong","drlt_hongju"],[]],
old_wanglang:['male','wei',3,['gushe','jici']],
},
skill:{
oldqinqing:{
@ -966,12 +966,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
old_caochong:'旧曹冲',
old_guanqiujian:'旧毌丘俭',
old_huangfusong:'旧皇甫嵩',
ol_liuyu:'旧刘虞',
old_wangyun:'旧王允',
old_zhaoyun:'新杀赵云',
old_zhaoyun_ab:'赵云',
ol_huaxiong:'旧华雄',
old_xiaoqiao:'旧小乔',
old_wanglang:'旧王朗',
old_guhuo:"蛊惑",
old_guhuo_info:"你可以扣置一张手牌当做一张基本牌或普通锦囊牌使用或打出体力值不为0的其他角色依次选择是否质疑。然后若有质疑的角色你展示此牌若为假此牌作废这些角色摸一张牌若为真这些角色失去1点体力且若此牌不为♥此牌作废。",

View File

@ -8169,7 +8169,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
content:function(){
'step 0'
player.chooseTarget([1,player.hp],get.prompt2('wulie'),lib.filter.notMe).set('ai',function(){return 0});
player.chooseTarget([1,player.hp],get.prompt2('wulie'),lib.filter.notMe).set('ai',function(target){
var player=_status.event.player;
if(player.hasUnknown()) return 0;
if(player.hp-ui.selected.targets.length>1+player.countCards('hs',card=>player.canSaveCard(card,player))) return get.attitude(player,target);
return 0;
});
'step 1'
if(result.bool){
var targets=result.targets.sortBySeat();

View File

@ -66,7 +66,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"zhugezhan":["male","shu",3,["xinfu_zuilun","xinfu_fuyin"],[]],
"lukang":["male","wu",4,["drlt_qianjie","drlt_jueyan","drlt_poshi"],[]],
"yl_yuanshu":["male","qun",4,["drlt_yongsi","drlt_weidi"],["zhu"]],
"zhangxiu":["male","qun",4,["drlt_xiongluan","drlt_congjian"],[]],
"zhangxiu":["male","qun",4,["drlt_xiongluan","drlt_congjian",'twjuxiang'],['zhu']],
"chendao":["male","shu",4,["dcwanglie"],[]],
zhoufei:["female","wu",3,["olliangyin","olkongsheng"]],
},
@ -5001,6 +5001,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
yinghun:{
audio:2,
audioname:['re_sunjian','sunce','re_sunben','re_sunce','ol_sunjian'],
audioname2:{
re_sunyi:'gzyinghun_re_sunyi',
tw_ol_sunjian:'yinghun_ol_sunjian',
},
trigger:{player:'phaseZhunbeiBegin'},
direct:true,
preHidden:true,
@ -5056,7 +5060,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
gzyinghun:{
audio:'yinghun',
audioname:['re_sunjian','sunce','re_sunben','re_sunce','ol_sunjian','sb_sunce'],
audioname2:{re_sunyi:'gzyinghun_re_sunyi'},
audioname2:{
re_sunyi:'gzyinghun_re_sunyi',
tw_ol_sunjian:'yinghun_ol_sunjian',
},
trigger:{player:'phaseZhunbeiBegin'},
filter:function(event,player){
return player.getDamagedHp()>0;
@ -5120,6 +5127,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
maixie:true,
}
},
yinghun_ol_sunjian:{audio:2},
jiuchi:{
audio:2,
audioname:['re_dongzhuo'],

View File

@ -114,7 +114,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
yuanshu:['male','qun',4,['yongsi','weidi']],
sp_diaochan:['female','qun',3,['lihun','rebiyue']],
sp_zhaoyun:['male','qun',3,['ollongdan','chongzhen']],
liuxie:['male','qun',3,['tianming','mizhao']],
liuxie:['male','qun',3,['tianming','mizhao','twzhuiting'],['zhu']],
zhugejin:['male','wu',3,['olhuanshi','olhongyuan','olmingzhe']],
zhugeke:['male','wu',3,['aocai','duwu']],
guanyinping:['female','shu',3,['huxiao','xueji','wuji']],
@ -132,7 +132,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
sunhao:['male','wu',5,['recanshi','rechouhai','guiming'],['zhu']],
shixie:['male','qun',3,['rebiluan','relixia']],
mayunlu:['female','shu',4,['fengpo','mashu']],
zhanglu:['male','qun',3,['yishe','bushi','midao']],
zhanglu:['male','qun',3,['yishe','bushi','midao','twshijun'],['zhu']],
wutugu:['male','qun',15,['ranshang','hanyong']],
sp_caiwenji:['female','wei',3,['chenqing','mozhi']],
zhugeguo:['female','shu',3,['qirang','yuhua']],

View File

@ -8546,16 +8546,23 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
trigger:{global:['phaseBefore','zhuUpdate']},
filter:function(event,player){
if(!lib.group.some(function(group){
if(group==player.group) return false;
return lib.group.contains(group)||game.hasPlayer(function(current){
return current.group==group;
});
})) return false;
return !player.storage.bingzhao&&player.hasZhuSkill('bingzhao')&&(event.name!='phase'||game.phaseNumber==0);
},
content:function(){
'step 0'
var list=lib.group.filter(function(group){
return ['wei','shu','wu','qun'].contains(group)||game.hasPlayer(function(current){
if(group==player.group) return false;
return lib.group.contains(group)||game.hasPlayer(function(current){
return current.group==group;
})
});
});
player.chooseControl(list).set('prompt','秉诏:请选择一个势力').set('ai',function(){
player.chooseControl(list).set('prompt','秉诏:请选择一个其他势力').set('ai',function(){
var listx=list.slice(0);
listx.sort(function(a,b){
return game.countPlayer(function(current){

View File

@ -11,14 +11,18 @@ game.import('character',function(lib,game,ui,get,ai,_status){
tw_yunchouren:['tw_xujing','tw_qiaogong'],
tw_yunchouyong:['tw_zongyu','tw_chendong','tw_sunyi'],
tw_yunchouyan:['tw_jiangqing'],
tw_zhu:['tw_beimihu','tw_ol_sunjian','ol_liuyu','tw_menghuo'],
tw_swordsman:['xia_xushu','xia_wangyue','xia_liyàn','xia_tongyuan','xia_lusu','xia_dianwei','xia_zhaoe','xia_xiahouzie'],
tw_mobile:['nashime','tw_beimihu','tw_gexuan','tw_zhugeguo'],
tw_mobile:['nashime','tw_gexuan','tw_zhugeguo'],
tw_mobile2:['tw_chengpu','tw_guohuai','old_quancong','tw_caoxiu','tw_guanqiujian','tw_re_fazheng','tw_madai','tw_zhangfei','tw_guyong','tw_handang','tw_xuezong','tw_yl_luzhi'],
tw_yijiang:['tw_caoang','tw_caohong','tw_zumao','tw_dingfeng','tw_maliang','tw_xiahouba'],
tw_english:['kaisa'],
},
},
character:{
tw_ol_sunjian:['male','wu','4/5',['gzyinghun','wulie','twpolu'],['zhu']],
tw_menghuo:['male','qun',4,['huoshou','rezaiqi','twqiushou'],['zhu']],
ol_liuyu:['male','qun',2,['zongzuo','zhige','twchongwang'],['zhu']],
tw_gongsunfan:['male','qun',4,['twhuiyuan','twshoushou']],
tw_yangang:['male','qun',4,['twzhiqu','twxianfeng']],
xia_xiahouzie:['female','qun','3/4',['twxuechang','twduoren']],
@ -270,6 +274,348 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
},
skill:{
//海外主公技
//张鲁
twshijun: {
unique: true,
global: 'twshijun_global',
audio: 2,
zhuSkill: true,
ai: { combo: 'yishe' },
subSkill: {
global: {
audio: 'twshijun',
usable: 1,
enable: 'phaseUse',
forceaudio: true,
filter: function (event, player) {
return player.group == 'qun' && game.hasPlayer(function (current) {
return current != player && current.hasZhuSkill('twshijun', player) && !current.getExpansions('yishe').length;
});
},
filterTarget: function (card, player, target) {
return target != player && target.hasZhuSkill('twshijun', player) && !target.getExpansions('yishe').length;
},
prompt: '摸一张牌然后将一张牌作为“米”置于主公的武将牌上',
content: function () {
'step 0'
player.draw();
if (player.countCards('he')) player.chooseCard('将一张牌置于' + get.translation(target) + '的武将牌上', 'he', true);
else event.finish();
'step 1'
if (result.bool) target.addToExpansion(result.cards, player, 'give').gaintag.add('yishe');
},
ai: {
order: 7,
result: {
target: 1,
},
},
},
},
},
//张绣
twjuxiang: {
unique: true,
global: 'twjuxiang_global',
audio: 2,
zhuSkill: true,
subSkill: {
global: {
audio: 'twjuxiang',
usable: 1,
enable: 'phaseUse',
forceaudio: true,
filter: function (event, player) {
return player.countCards('e') && player.group == 'qun' && game.hasPlayer(function (target) {
return target != player && target.hasZhuSkill('twjuxiang', player) && player.countCards('e',card=>target.hasEmptySlot(get.subtype(card))||target.hasDisabledSlot(get.subtype(card)));
});
},
filterTarget: function (card, player, target) {
return target != player && target.hasZhuSkill('twjuxiang', player) && (target.hasEmptySlot(get.subtype(ui.selected.cards[0]))||target.hasDisabledSlot(get.subtype(ui.selected.cards[0])));
},
filterCard: { type: 'equip' },
position: 'e',
check: function (card) {
return get.value(card);
},
prompt: '将装备区中的一张牌置入主公的装备区中或恢复主公的对应装备栏',
discard: false,
lose: false,
content: function () {
if (target.hasEmptySlot(get.subtype(cards[0]))) {
player.$give(cards[0], target, false);
target.equip(cards[0]);
}
else {
target.gain(cards[0], player, 'give');
target.enableEquip(get.subtype(cards[0]));
}
},
ai: {
order: 7,
result: {
target: 1,
},
},
},
},
},
//孙坚
twpolu: {
unique: true,
audio: 'repolu',
trigger: { global: ['dieAfter', 'die'] },
forceDie: true,
zhuSkill: true,
filter: function (event, player, name) {
if (!player.hasZhuSkill('twpolu')) return false;
if (name == 'dieAfter' && event.source && event.source.group == 'wu') return true;
if (name == 'die' && event.player.group == 'wu') return true;
return false;
},
direct: true,
content: function () {
'step 0'
if (!player.storage.twpolu) player.storage.twpolu = 0;
event.num = player.storage.twpolu + 1;
player.chooseTarget([1, Infinity], get.prompt('twpolu'), '令任意名角色摸' + get.cnNumber(event.num) + '张牌').set('forceDie', true).ai = function (target) {
return get.attitude(_status.event.player, target);
};
'step 1'
if (result.bool) {
player.storage.twpolu++;
result.targets.sortBySeat();
player.logSkill('repolu', result.targets);
game.asyncDraw(result.targets, num);
}
else event.finish();
'step 2'
game.delay();
},
},
//孟获
twqiushou: {
unique: true,
audio: 2,
trigger: { global: 'useCardAfter' },
filter: function (event, player) {
if (event.card.name != 'nanman') return false;
var num = 0, bool = false;
for (var i of event.targets) {
if (!i.isAlive()) bool = true;
i.getHistory('damage', function (evt) {
if (evt.getParent(2) == event) num += evt.num;
});
}
return player.hasZhuSkill('twqiushou') && (bool || num > 3);
},
zhuSkill: true,
forced: true,
logTarget: function (event, player) {
return game.filterPlayer(function (target) {
return ['shu', 'qun'].contains(target.group);
});
},
content: function () {
'step 0'
game.asyncDraw(lib.skill.twqiushou.logTarget(trigger.player));
'step 1'
game.delayx();
},
},
//刘协
twzhuiting:{
unique:true,
zhuSkill:true,
audio:2,
global:'twzhuiting_global',
subSkill:{
global:{
hiddenCard:function(player,name){
if(name!='wuxie'||!lib.inpile.contains('wuxie')) return false;
if(!['wei','qun'].contains(player.group)) return false;
return game.hasPlayer(target=>target!=player&&target.hasZhuSkill('twzhuiting'));
},
audio:'twzhuiting',
forceaudio:true,
enable:'chooseToUse',
filter:function(event,player){
if(!['wei','qun'].contains(player.group)) return false;
if(!event.filterCard({name:'wuxie'},player,event)||!lib.inpile.contains('wuxie')) return false;
var target=event.getParent(4)[event.getParent(4).name=='phaseJudge'?'player':'target'];
var cardx=event.getParent(4).card;
return target&&cardx&&target!=player&&target.hasZhuSkill('twzhuiting')&&player.countCards('hes',card=>get.color(card,player)==get.color(cardx));
},
filterCard:function(card,player){
var event=_status.event;
return get.color(card,player)==get.color(event.getParent(4).card);
},
viewAs:{name:'wuxie'},
position:'hes',
prompt:function(){
var event=_status.event;
return '将一张'+get.translation(get.color(event.getParent(4).card))+'牌当作【无懈可击】对'+get.translation(event.getParent(4)[event.getParent(4).name=='phaseJudge'?'player':'target'])+'使用';
},
check:function(card){
return 8-get.value(card);
},
},
},
},
//刘繇
twniju: {
unique: true,
audio: 2,
zhuSkill: true,
trigger: { player: 'compare', target: 'compare' },
filter: function (event, player) {
return !event.iwhile && player.hasZhuSkill('twniju');
},
direct: true,
content: function () {
'step 0'
var list = ['我加', '他加', '我减', '他减', 'cancel2'];
player.chooseControl(list).set('prompt', get.prompt2('twniju')).set('ai', function () { return ['我加', '他减'].randomGet() });
'step 1'
if (result.control != 'cancel2') {
player.logSkill('twniju');
var num = game.countPlayer(function (current) {
return current.group == 'qun';
});
event.num = num;
switch (result.control) {
case '我加':
player.popup('+', num);
if (player == trigger.player) {
trigger.num1 += num;
if (trigger.num1 > 13) trigger.num1 = 13;
}
else {
trigger.num2 += num;
if (trigger.num2 > 13) trigger.num2 = 13;
}
game.log(player, '的拼点牌点数+', num);
break;
case '他加':
trigger.target.popup('+', num);
if (player == trigger.player) {
trigger.num2 += num;
if (trigger.num2 > 13) trigger.num2 = 13;
}
else {
trigger.num1 += num;
if (trigger.num1 > 13) trigger.num1 = 13;
}
game.log(trigger.target, '的拼点牌点数+', num);
break;
case '我减':
player.popup('-', num);
if (player == trigger.player) {
trigger.num1 -= num;
if (trigger.num1 < 1) trigger.num1 = 1;
}
else {
trigger.num2 -= num;
if (trigger.num2 < 1) trigger.num2 = 1;
}
game.log(player, '的拼点牌点数-', num);
break;
case '他减':
trigger.target.popup('-', num);
if (player == trigger.player) {
trigger.num2 -= num;
if (trigger.num2 < 1) trigger.num2 = 1;
}
else {
trigger.num1 -= num;
if (trigger.num1 < 1) trigger.num1 = 1;
}
game.log(trigger.target, '的拼点牌点数-', num);
break;
}
}
else event.finish();
'step 2'
if (trigger.num1 == trigger.num2) player.draw(num);
},
},
//刘虞
twchongwang: {
init: function (player) {
player.storage.twchongwang = [];
player.storage.twchongwangx = [];
},
mod: {
playerEnabled: function (card, player, target) {
if (!player.hasZhuSkill('twchongwang')) return;
if (get.tag(card, 'damage') > 0 && player.storage.twchongwangx.contains(target)) return false;
},
targetEnabled: function (card, player, target) {
if (!target.hasZhuSkill('twchongwang')) return;
if (get.tag(card, 'damage') > 0 && target.storage.twchongwangx.contains(player)) return false;
},
},
unique: true,
onremove: true,
global: 'twchongwang_global',
group: 'twchongwang_clear',
audio: 'ext:武将前瞻/audio/skill:2',
zhuSkill: true,
subSkill: {
clear: {
charlotte: true,
trigger: { player: 'phaseAfter' },
direct: true,
content: function () {
player.storage.twchongwangx = [];
},
},
global: {
trigger: { player: 'phaseUseBegin' },
filter: function (event, player) {
return player.group == 'qun' && game.hasPlayer(function (current) {
return current != player && current.hasZhuSkill('twchongwang', player) && !current.storage.twchongwang.contains(player);
});
},
direct: true,
content: function () {
'step 0'
player.chooseCardTarget({
prompt: '崇望:是否将一张牌交给主公并获得双重庇护?',
selectCard: 1,
filterCard: true,
filterTarget: function (card, player, target) {
return target != player && target.hasZhuSkill('twchongwang', player) && !target.storage.twchongwang.contains(player);
},
position: 'he',
ai1: function (card) {
if (card.name == 'du') return 10;
else if (ui.selected.cards.length && ui.selected.cards[0].name == 'du') return 0;
var player = _status.event.player;
if (ui.selected.cards.length > 4 || !game.hasPlayer(function (current) {
return get.attitude(player, current) > 0 && !current.hasSkillTag('nogain');
})) return 0;
return 1 / Math.max(0.1, get.value(card));
},
ai2: function (target) {
var player = _status.event.player, att = get.attitude(player, target);
if (ui.selected.cards[0].name == 'du') return -att;
if (target.hasSkillTag('nogain')) att /= 6;
return att;
},
});
'step 1'
if (result.bool) {
player.logSkill('twchongwang', result.targets[0]);
result.targets[0].gain(result.cards, player, 'giveAuto');
result.targets[0].storage.twchongwang.push(player);
result.targets[0].storage.twchongwangx.push(player);
}
},
},
},
},
//公孙范
twhuiyuan:{
audio:2,
@ -13806,6 +14152,23 @@ game.import('character',function(lib,game,ui,get,ai,_status){
twhuiyuan_info:'当你于出牌阶段使用牌结算结束后若你未于此阶段获得过此类型的牌你可以展示一名角色的一张手牌若此牌与你使用的牌类型相同你获得此牌否则你弃置此牌然后其摸一张牌。游击对其造成1点伤害。',
twshoushou:'收绶',
twshoushou_info:'①当你获得其他角色的牌时,若你在任意角色的攻击范围内,其他角色至你的距离+1。②当你造成或受到伤害后若你不在任意其他角色的攻击范围内其他角色至你的距离-1。',
twshijun:'师君',
twshijun_info:'主公技,其他群势力角色出牌阶段限一次,若你没有“米”,其可以摸一张牌,然后将一张牌置于你的武将牌上,称为“米”。',
twjuxiang:'踞襄',
twjuxiang_info:'主公技,其他群势力角色出牌阶段限一次,其可以选择其装备区的一张牌移动到你的装备区中,若你对应的装备栏已被废除,则改为交给你此装备牌,然后恢复你的对应装备栏。',
tw_ol_sunjian:'TW孙坚',
twpolu:'破虏',
twpolu_info:'主公技当吴势力角色杀死一名角色或死亡后你可以令任意名角色各摸X张牌X为你此前发动过此技能的次数+1。',
tw_menghuo:'TW孟获',
twqiushou:'酋首',
twqiushou_info:'主公技锁定技当一张【南蛮入侵】结算结束后若此牌造成的伤害大于3点或有角色因此死亡所有蜀势力和群势力角色各摸一张牌。',
twzhuiting:'坠廷',
twzhuiting_info:'主公技,当一张锦囊牌即将对你生效时,其他魏势力角色和群势力角色可将一张与此牌颜色相同的牌当作【无懈可击】使用。',
twniju:'逆拒',
twniju_info:'主公技,当你的拼点牌亮出后,你可以令其中一张拼点牌的点数+X或-X然后若这两张牌的点数相等你摸X张牌X为场上群势力角色数。',
ol_liuyu:'TW刘虞',
twchongwang:'崇望',
twchongwang_info:'主公技,其他群势力角色的出牌阶段开始时,其可以交给你一张牌,然后你与其使用【杀】或伤害性锦囊牌指定目标时不能指定对方为目标直至你的下回合结束(每名角色限发动一次)。',
tw_mobile:'海外服·稀有专属',
tw_yunchouzhi:'运筹帷幄·智',
@ -13813,6 +14176,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
tw_yunchouren:'运筹帷幄·仁',
tw_yunchouyong:'运筹帷幄·勇',
tw_yunchouyan:'运筹帷幄·严',
tw_zhu:'海外服·主公',
tw_sp:'海外服·SP',
tw_swordsman:'海外服·武侠篇',
tw_mobile2:'海外服·异构',

View File

@ -14,7 +14,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
duji:["male","wei",3,["xinfu_andong","xinfu_yingshi"]],
zhoufang:["male","wu",3,["xinfu_duanfa","xinfu_youdi"]],
yanjun:["male","wu",3,["xinfu_guanchao","xinfu_xunxian"]],
liuyao:["male","qun",4,["xinfu_kannan"]],
liuyao:["male","qun",4,["xinfu_kannan",'twniju'],['zhu']],
liuyan:["male","qun",3,["xinfu_tushe","xinfu_limu"]],
},
characterIntro:{

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB