This commit is contained in:
parent
9fcd068926
commit
9e390639f8
|
@ -97,8 +97,11 @@ character.sp={
|
|||
zangba:['male','wei',4,['hengjiang']],
|
||||
zhangren:['male','qun',4,['chuanxin','zfengshi']],
|
||||
zoushi:['female','qun',3,['zhuoshui','zqingcheng']],
|
||||
|
||||
huangfusong:['male','qun',4,['fenyue']],
|
||||
},
|
||||
characterIntro:{
|
||||
huangfusong:'字义真。安定郡朝那县(今宁夏彭阳)人。于黄巾起义时,以中郎将身份讨伐黄巾,用火攻大破张梁、张宝。[45] 后接替董卓进攻张梁,连胜七阵。掘张角墓,拜左车骑将军、冀州牧,因拒绝贿赂宦官而被免职。[46] 董卓死,王允命其与吕布等共至郿坞抄籍董卓家产、人口,皇甫嵩将坞中所藏良家子女,尽行释放。',
|
||||
zangba:'其父臧戒,有二子臧艾与臧舜。年少时曾召集数人将获罪的父亲救出,此后四处流亡。后来成为陶谦麾下的骑都尉,负责募兵抵抗黄巾军。与孙观、尹礼等人拥兵驻屯于开阳,自成一股独立势力,后跟随吕布。吕布战败后,投降了曹操。后与袁绍、孙权等的战役里战功赫赫,官至镇东将军。',
|
||||
zhangren:'刘璋的属下,以忠勇著称。刘备入蜀时,张任曾劝刘璋提防刘备,但刘璋没有听从。魏延舞剑想趁机除掉刘璋时,张任出面对舞,解救刘璋。后在刘备进攻时于落凤坡射死了庞统。',
|
||||
jiling:'东汉末年袁术帐下将领,勇猛非常,曾奉命率军攻打小沛的刘备,在吕布辕门射戟的调停下撤兵。',
|
||||
|
@ -194,6 +197,88 @@ character.sp={
|
|||
dongbai:['dongzhuo']
|
||||
},
|
||||
skill:{
|
||||
fenyue:{
|
||||
enable:'phaseUse',
|
||||
filter:function(event,player){
|
||||
if(!player.countCards('h')) return false;
|
||||
var num;
|
||||
if(get.mode()=='identity'){
|
||||
num=game.countPlayer(function(current){
|
||||
return current.identity=='zhong'||current.identity=='mingzhong';
|
||||
});
|
||||
}
|
||||
else{
|
||||
num=1;
|
||||
}
|
||||
if(player.getStat().skill.fenyue>=num) return false;
|
||||
return true;
|
||||
},
|
||||
filterTarget:function(card,player,target){
|
||||
return target.countCards('h')&&target!=player;
|
||||
},
|
||||
ai:{
|
||||
order:2.8,
|
||||
result:{
|
||||
target:function(player,target){
|
||||
if(ai.get.attitude(player,target)<0&&player.hasCard(function(card){
|
||||
return (card.number>=9&&ai.get.value(card)<=5)||ai.get.value(card)<=3;
|
||||
})){
|
||||
return ai.get.effect(target,{name:'sha'},player,target);
|
||||
}
|
||||
else{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
content:function(){
|
||||
'step 0'
|
||||
player.chooseToCompare(target);
|
||||
'step 1'
|
||||
if(result.bool){
|
||||
player.chooseControl(function(){
|
||||
return 1;
|
||||
}).set('choiceList',[
|
||||
'令'+get.translation(target)+'不能使用或打出手牌直到回合结束',
|
||||
'视为对'+get.translation(target)+'使用一张杀(不计入次数限制)'
|
||||
]);
|
||||
}
|
||||
else{
|
||||
var evt=_status.event.getParent('phaseUse');
|
||||
if(evt&&evt.name=='phaseUse'){
|
||||
evt.skipped=true;
|
||||
}
|
||||
event.finish();
|
||||
}
|
||||
'step 2'
|
||||
if(result.control=='选项一'){
|
||||
target.addTempSkill('fenyue2','phaseAfter');
|
||||
}
|
||||
else{
|
||||
player.useCard({name:'sha'},target,false);
|
||||
}
|
||||
}
|
||||
},
|
||||
fenyue2:{
|
||||
mark:true,
|
||||
mod:{
|
||||
cardEnabled:function(){
|
||||
return false;
|
||||
},
|
||||
cardUsable:function(){
|
||||
return false;
|
||||
},
|
||||
cardRespondable:function(){
|
||||
return false;
|
||||
},
|
||||
cardSavable:function(){
|
||||
return false;
|
||||
}
|
||||
},
|
||||
intro:{
|
||||
content:'不能使用或打出卡牌'
|
||||
}
|
||||
},
|
||||
zhuoshui:{
|
||||
audio:'huoshui',
|
||||
trigger:{player:'phaseBegin'},
|
||||
|
@ -385,7 +470,7 @@ character.sp={
|
|||
}
|
||||
else{
|
||||
goon=player.hasCard(function(card){
|
||||
return card.number>=9&&ai.get.value(card)<=5||ai.get.value(card)<=3;
|
||||
return (card.number>=9&&ai.get.value(card)<=5)||ai.get.value(card)<=3;
|
||||
});
|
||||
}
|
||||
player.chooseTarget(get.prompt('shuangren'),function(card,player,target){
|
||||
|
@ -8299,7 +8384,12 @@ character.sp={
|
|||
kanze:'阚泽',
|
||||
dongyun:'董允',
|
||||
mazhong:'马忠',
|
||||
huangfusong:'皇甫嵩',
|
||||
|
||||
fenyue:'奋钺',
|
||||
fenyue2:'奋钺',
|
||||
fenyue2_bg:'钺',
|
||||
fenyue_info:'出牌阶段限X次,你可以与一名角色拼点,若你赢,你选择一项:1.其不能使用或打出手牌直到回合结束;2.视为你对其使用了【杀】(不计入次数限制)。若你没赢,你结束出牌阶段。(X为存活的忠臣数)',
|
||||
zhuoshui:'祸水',
|
||||
zhuoshui_info:'锁定技,准备阶段,你令所有其他角色的非锁定技失效直到回合结束',
|
||||
zqingcheng:'倾城',
|
||||
|
|
|
@ -232,6 +232,9 @@ character.swd={
|
|||
position:'he',
|
||||
check:function(card){
|
||||
return 7-ai.get.value(card);
|
||||
},
|
||||
ai:{
|
||||
threaten:1.5
|
||||
}
|
||||
},
|
||||
juxi:{
|
||||
|
|
|
@ -27,7 +27,7 @@ character.yxs={
|
|||
yxs_direnjie:['male','wei',3,['shentan','kanpo']],
|
||||
yxs_sunwu:['male','wu',3,['bingsheng','taolue']],
|
||||
yxs_chengyaojin:['male','shu',4,['sanbanfu']],
|
||||
yxs_yujix:['female','shu',3,['sheshen','changnian']],
|
||||
yxs_yujix:['female','shu',3,['ysheshen','changnian']],
|
||||
yxs_xiangyu:['male','shu',4,['wushuang','ciqiu']],
|
||||
yxs_yingzheng:['male','qun',4,['jianxiong','batu']],
|
||||
yxs_yuefei:['male','qun',4,['longdan','wumu']],
|
||||
|
@ -960,7 +960,7 @@ character.yxs={
|
|||
}
|
||||
},
|
||||
},
|
||||
sheshen:{
|
||||
ysheshen:{
|
||||
inherit:'yiji'
|
||||
},
|
||||
sanbanfu:{
|
||||
|
@ -2858,8 +2858,8 @@ character.yxs={
|
|||
jiean_info:'每当【演绎】造成伤害时,你可以摸X张牌,并以任意数量分配给任意角色(X为被【演绎】造成伤害角色的已损失体力值)。',
|
||||
wumu:'武穆',
|
||||
wumu_info:'锁定技,你的黑杀无视距离,红色不计入回合内的出杀限制',
|
||||
sheshen:'舍身',
|
||||
sheshen_info:'每当你受到一点伤害,可以观看牌堆顶的两张牌,并将其交给任意1~2名角色',
|
||||
ysheshen:'舍身',
|
||||
ysheshen_info:'每当你受到一点伤害,可以观看牌堆顶的两张牌,并将其交给任意1~2名角色',
|
||||
sanbanfu:'三板斧',
|
||||
sanbanfu_info:'当你对其他角色使用杀时,你可以使此杀有如下效果:若对方没有出闪,其受到2点伤害;若对方打出了一张闪,你与其各受到1点伤害;若对方打出了两张闪,你受到一点伤害',
|
||||
bingsheng:'兵圣',
|
||||
|
|
|
@ -432,6 +432,7 @@ window.noname_asset_list=[
|
|||
'image/character/hs_zhanzhenggushu.jpg',
|
||||
'image/character/hs_zhishigushu.jpg',
|
||||
'image/character/hs_zhouzhuo.jpg',
|
||||
'image/character/huangfusong.jpg',
|
||||
'image/character/huanggai.jpg',
|
||||
'image/character/huanghao.jpg',
|
||||
'image/character/huangyueying.jpg',
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
|
@ -208,6 +208,12 @@ mode.identity={
|
|||
game.zhong=game.zhu;
|
||||
game.zhu=game.zhu2;
|
||||
delete game.zhu2;
|
||||
if(game.zhong.sex=='male'&&game.zhong.maxHp<=4){
|
||||
game.zhong.addSkill('dongcha');
|
||||
}
|
||||
else{
|
||||
game.zhong.addSkill('sheshen');
|
||||
}
|
||||
}
|
||||
var enhance_zhu=false;
|
||||
if(_status.connectMode){
|
||||
|
@ -1307,6 +1313,10 @@ mode.identity={
|
|||
ai_strategy_4:'酱油',
|
||||
ai_strategy_5:'天使',
|
||||
ai_strategy_6:'仇主',
|
||||
dongcha:'洞察',
|
||||
dongcha_info:'游戏开始时,随机一名反贼的身份对你可见;准备阶段,你可以弃置场上的一张牌',
|
||||
sheshen:'舍身',
|
||||
sheshen_info:'锁定技,主公处于濒死状态即将死亡时,令主公+1体力上限,回复体力至X点(X为你的体力值数),获得你的所有牌,然后你死亡',
|
||||
},
|
||||
element:{
|
||||
player:{
|
||||
|
@ -1550,7 +1560,7 @@ mode.identity={
|
|||
}
|
||||
var difficulty=0;
|
||||
if(to==game.me) difficulty=2-get.difficulty();
|
||||
if(from==to||to.identityShown){
|
||||
if(from==to||to.identityShown||(from.storage.dongcha==to)){
|
||||
return ai.get.realAttitude(from,to)+difficulty*1.5;
|
||||
}
|
||||
else{
|
||||
|
@ -1813,6 +1823,75 @@ mode.identity={
|
|||
}
|
||||
}
|
||||
},
|
||||
skill:{
|
||||
dongcha:{
|
||||
trigger:{player:'phaseBegin'},
|
||||
direct:true,
|
||||
unique:true,
|
||||
forceunique:true,
|
||||
content:function(){
|
||||
'step 0'
|
||||
player.chooseTarget(get.prompt('dongcha'),function(card,player,target){
|
||||
return target.countCards('hej')>0;
|
||||
}).set('ai',function(target){
|
||||
var player=_status.event.player;
|
||||
return ai.get.attitude(player,target)*lib.card.guohe.ai.result.target(player,target);
|
||||
});
|
||||
'step 1'
|
||||
if(result.bool){
|
||||
player.logSkill('dongcha',result.targets);
|
||||
player.discardPlayerCard('hej',true,result.targets[0]);
|
||||
}
|
||||
},
|
||||
group:'dongcha_begin',
|
||||
subSkill:{
|
||||
begin:{
|
||||
trigger:{global:'gameStart'},
|
||||
forced:true,
|
||||
content:function(){
|
||||
var list=[];
|
||||
for(var i=0;i<game.players.length;i++){
|
||||
if(game.players[i].identity=='fan'){
|
||||
list.push(game.players[i]);
|
||||
}
|
||||
}
|
||||
var target=list.randomGet();
|
||||
player.storage.dongcha=target;
|
||||
player.chooseControl('ok').set('dialog',[get.translation(target)+'是反贼',[[target.name],'character']]);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
sheshen:{
|
||||
trigger:{global:'dieBefore'},
|
||||
forced:true,
|
||||
unique:true,
|
||||
forceunique:true,
|
||||
filter:function(event,player){
|
||||
return event.player==game.zhu&&player.hp>0;
|
||||
},
|
||||
logTarget:'player',
|
||||
content:function(){
|
||||
'step 0'
|
||||
trigger.player.gainMaxHp();
|
||||
'step 1'
|
||||
var dh=player.hp-trigger.player.hp;
|
||||
if(dh>0){
|
||||
trigger.player.recover(dh);
|
||||
}
|
||||
'step 2'
|
||||
var cards=player.getCards('he');
|
||||
if(cards.length){
|
||||
trigger.player.gain(cards,player);
|
||||
player.$giveAuto(cards,trigger.player);
|
||||
}
|
||||
'step 3'
|
||||
trigger.untrigger();
|
||||
trigger.finish();
|
||||
player.die();
|
||||
}
|
||||
}
|
||||
},
|
||||
help:{
|
||||
'身份模式':'<div style="margin:10px">选项</div><ul style="margin-top:0"><li>加强主公<br>反贼人数多于2时主公会额外增加一个技能(每个主公的额外技能固定,非常备主公增加天命)</ul>'+
|
||||
'<div style="margin:10px">明忠</div><ul style="margin-top:0"><li>本模式需要8名玩家进行游戏,使用的身份牌为:1主公、2忠臣、4反贼和1内奸。游戏开始时,每名玩家随机获得一个身份,由系统随机选择一名忠臣身份的玩家亮出身份(将忠臣牌正面朝上放在面前),其他身份(包括主公)的玩家不亮出身份。<li>'+
|
||||
|
|
Loading…
Reference in New Issue