v1.9.86
This commit is contained in:
commit
39b4b615b2
117
character/yxs.js
117
character/yxs.js
|
@ -3,6 +3,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
return {
|
||||
name:'yxs',
|
||||
character:{
|
||||
yxs_qinqiong:["male","wei",4,["yxs_fanji","yxs_menshen"],[]],
|
||||
yxs_wuzetian:['female','wu',4,['nvquan','qiandu','weiyi']],
|
||||
yxs_caocao:['male','wei',4,['zhulu','xieling']],
|
||||
yxs_mozi:['male','qun',3,['jieyong','feigong','jianai']],
|
||||
|
@ -90,7 +91,115 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
yxs_meixi:'妺(mò)喜,姓嬉(喜),生卒年不详,亦作妺嬉、末喜、末嬉,有施氏之女,夏朝最后一位君主夏桀的王后。根据先秦时代记述女子名时所用的全称和简称方式,妺喜应姓喜,即嬉(也作僖)。由于其名字的“妺”字与“妹妹”的“妹”字字形相似,且在《庄子》等作中也有以妺为妹的用法,因此常误作"妹喜"。',
|
||||
yxs_lanlinwang:'高长恭(541年―573年),又名高孝瓘、高肃,祖籍渤海调蓨(今河北省景县),神武帝高欢之孙,文襄帝高澄第四子,生母不详,南北朝时期北齐宗室、将领,封爵兰陵郡王。高长恭貌柔心壮,音容兼美。为将躬勤细事,每得甘美,虽一瓜数果,必与将士分享。累次升任至并州刺史。突厥攻入晋阳,高长恭奋力将其击退。邙山之战,高长恭为中军,率领五百骑兵再入周军包围圈,直至金墉城下,因高长恭戴着头盔,城中的人不确定是敌军或是我军,直到高长恭把头盔脱下来城上的人才知道是高长恭,派弓箭手开始放箭保护他,之后高长恭成功替金墉解围,高长恭在此次战中威名大振,士兵们为此战而讴歌他,即后来知名的《兰陵王入阵曲》。',
|
||||
},
|
||||
characterTitle:{
|
||||
"yxs_qinqiong":"Sukincen",
|
||||
},
|
||||
skill:{
|
||||
yxs_fanji:{
|
||||
audio:2,
|
||||
trigger:{
|
||||
player:"damageEnd",
|
||||
},
|
||||
direct:true,
|
||||
priority:12,
|
||||
filter:function (event,player){
|
||||
if(!player.countCards('h',{name:'sha'})) return false;
|
||||
return event.card.name=='sha'||event.card.name=='juedou';
|
||||
},
|
||||
content:function (){
|
||||
player.addTempSkill('yxs_fanji2','shaAfter');
|
||||
player.chooseToUse({name:'sha'},trigger.source,'反击:是否对'+get.translation(trigger.source)+'使用一张杀?').logSkill='yxs_fanji';
|
||||
},
|
||||
},
|
||||
yxs_fanji2:{
|
||||
audio:2,
|
||||
trigger:{
|
||||
player:"shaBegin",
|
||||
},
|
||||
direct:true,
|
||||
filter:function (event,player){
|
||||
return event.card&&event.card.name=='sha'&&get.color(event.card)=='red';
|
||||
},
|
||||
content:function (){
|
||||
trigger.directHit=true;
|
||||
},
|
||||
},
|
||||
|
||||
yxs_menshen3:{
|
||||
trigger:{player:'phaseBegin'},
|
||||
silent:true,
|
||||
filter:function(event,player){
|
||||
return game.hasPlayer(function(current){
|
||||
return current.hasSkill('yxs_menshen2');
|
||||
});
|
||||
},
|
||||
content:function(){
|
||||
for(var i=0;i<game.players.length;i++){
|
||||
if(game.players[i].hasSkill('yxs_menshen2')){
|
||||
game.players[i].removeSkill('yxs_menshen2');
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
yxs_menshen:{
|
||||
audio:2,
|
||||
trigger:{
|
||||
player:"phaseEnd",
|
||||
},
|
||||
priority:15,
|
||||
group:'yxs_menshen3',
|
||||
onremove:true,
|
||||
filter:function (event,player){
|
||||
return game.player.length>1;
|
||||
},
|
||||
content:function (){
|
||||
"step 0"
|
||||
player.chooseTarget('选择【门神】的目标',lib.translate.yxs_menshen_info,true,function(card,player,target){
|
||||
return target!=player;
|
||||
}).set('ai',function(target){
|
||||
return get.attitude(player,target);
|
||||
});
|
||||
"step 1"
|
||||
if(result.bool){
|
||||
var target=result.targets[0];
|
||||
player.line(target,'green');
|
||||
game.log(target,'成为了','【门神】','的目标');
|
||||
target.storage.yxs_menshen2=player;
|
||||
target.addSkill('yxs_menshen2');
|
||||
}
|
||||
else {
|
||||
event.finish();
|
||||
}
|
||||
},
|
||||
ai:{
|
||||
expose:0.5,
|
||||
},
|
||||
},
|
||||
|
||||
yxs_menshen2:{
|
||||
audio:2,
|
||||
mark:'character',
|
||||
intro:{
|
||||
content:'当你成为【杀】或【决斗】的目标后,改为$成为目标'
|
||||
},
|
||||
nopop:true,
|
||||
priority:15,
|
||||
trigger:{
|
||||
target:["shaBegin","juedouBegin"],
|
||||
},
|
||||
forced:true,
|
||||
popup:false,
|
||||
filter:function(event,player){
|
||||
return player.isAlive();
|
||||
},
|
||||
content:function (){
|
||||
var target=player.storage.yxs_menshen2;
|
||||
trigger.player.line(target,'green');
|
||||
trigger.target = target;
|
||||
},
|
||||
},
|
||||
|
||||
guimian:{
|
||||
trigger:{source:'damageEnd'},
|
||||
forced:true,
|
||||
|
@ -2818,7 +2927,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
yxs_weizhongxian:'魏忠贤',
|
||||
yxs_lanlinwang:'兰陵王',
|
||||
yxs_meixi:'妹喜',
|
||||
yxs_qinqiong:"秦琼",
|
||||
|
||||
yxs_fanji:"反击",
|
||||
yxs_fanji2:"反击",
|
||||
yxs_fanji_info:"当你受伤【杀】或【决斗】造成的伤害后,你可以对伤害来源使用一张【杀】。若此【杀】为红色,其不可闪避",
|
||||
yxs_menshen:"门神",
|
||||
yxs_menshen2:"门神",
|
||||
yxs_menshen3:"门神",
|
||||
yxs_menshen_info:"回合结束阶段,你可选择一名其他角色,若如此做,直到你的下回合开始,所有角色对该角色使用的【杀】或【决斗】均视为对你使用",
|
||||
zhuxin:'诛心',
|
||||
zhuxin_info:'出牌阶段限一次,你可以与一名其他角色拼点,若你赢,你对其造成一点伤害',
|
||||
wlianhuan:'连环',
|
||||
|
|
|
@ -2469,6 +2469,7 @@ window.noname_asset_list=[
|
|||
'image/character/yxs_kaisa.jpg',
|
||||
'image/character/yxs_lanlinwang.jpg',
|
||||
'image/character/yxs_libai.jpg',
|
||||
'image/character/yxs_qinqiong.jpg',
|
||||
'image/character/yxs_lishimin.jpg',
|
||||
'image/character/yxs_luban.jpg',
|
||||
'image/character/yxs_luobinhan.jpg',
|
||||
|
@ -3228,4 +3229,4 @@ window.noname_skin_list={
|
|||
zhuran:1,
|
||||
zhurong:3,
|
||||
zuoci:4
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
window.noname_update={
|
||||
version:'1.9.84',
|
||||
update:'1.9.83',
|
||||
version:'1.9.85',
|
||||
update:'1.9.85',
|
||||
changeLog:[
|
||||
'星火燎原(by 苏婆玛丽奥)'
|
||||
'英雄杀之秦琼(by Sukincen)'
|
||||
],
|
||||
files:[
|
||||
'character/diy.js',
|
||||
'character/yxs.js',
|
||||
'character/extra.js',
|
||||
'character/old.js',
|
||||
'character/refresh.js',
|
||||
|
@ -19,4 +20,4 @@ window.noname_update={
|
|||
'game/game.js',
|
||||
'game/package.js'
|
||||
]
|
||||
};
|
||||
};
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
Loading…
Reference in New Issue