This commit is contained in:
libccy 2015-11-18 13:46:30 +08:00
parent be962d74b9
commit 651004a144
20 changed files with 103 additions and 10 deletions

View File

@ -2,4 +2,4 @@
对决模式改进
屏蔽强将选项
卡牌、卡背、体力条样式
新武将
新武将张鲁、士燮、马云騄、兀突骨、sp蔡文姬

View File

@ -29,7 +29,8 @@ character.hearth={
// hs_trueheart:['male','wei',2,[],['fullskin']],
// hs_sainaliusi:['male','wei',2,[],['fullskin']],
// hs_lrhonin:['male','wei',2,[],['fullskin']],
hs_bolvar:['male','wei',2,[],['fullskin']],
// hs_bolvar:['male','wei',2,[],['fullskin']],
// hs_fuding:['male','wei',2,[],['fullskin']],
hs_ronghejuren:['male','shu',8,[],['fullskin']],
hs_edwin:['male','qun',3,['lianzhan'],['fullskin']],

View File

@ -29,8 +29,47 @@ character.sp={
sp_jiangwei:['male','shu',4,['kunfen','fengliang'],['fullskin']],
sp_machao:['male','qun',4,['zhuiji','cihuai'],['fullskin']],
sunhao:['male','wu',5,['canshi','chouhai'],['fullskin']],
shixie:['male','qun',3,['biluan','lixia'],['fullskin']],
mayunlu:['female','shu',3,['fengpo','mashu'],['fullskin']],
zhanglu:['male','qun',3,['yishe','bushi','midao'],['fullskin']],
wutugu:['male','qun',15,['ranshang','hanyong'],['fullskin']],
sp_caiwenji:['female','wei',3,['chenqing','mozhi'],['fullskin']],
},
skill:{
biluan:{
trigger:{player:'phaseDrawBefore'},
check:function(event,player){
var ng=[];
for(var i=0;i<game.players.length;i++){
if(game.players[i].group!='unknown'){
ng.add(game.players[i].group);
}
}
ng=ng.length;
if(ng<2) return false;
var nai=0;
for(var i=0;i<game.players.length;i++){
var dist=get.distance(game.players[i],player,'attack');
if(dist<=1&&dist+ng>1){
nai++;
}
}
console.log(nai);
return nai>=2;
},
filter:function(event,player){
for(var i=0;i<game.players.length;i++){
if(get.distance(game.players[i],player)<=1){
return true;
}
}
return false;
},
},
biluan2:{
mark:true,
},
fuji:{
trigger:{global:'damageBegin'},
filter:function(event){
@ -2806,8 +2845,34 @@ character.sp={
sp_jiangwei:'姜维',
zhangbao:'张宝',
yangxiou:'杨修',
yicong:'义从',
shixie:'士燮',
mayunlu:'马云騄',
zhanglu:'张鲁',
wutugu:'兀突骨',
mateng:'马腾',
biluan:'避乱',
biluan_info:'摸牌阶段开始时若有其他角色与你距离不大于1则你可以放弃摸牌。若如此做其他角色与你距离+XX为势力数',
lixia:'礼下',
lixia_info:'锁定技,其他角色结束阶段开始时,若你不在其攻击范围内,你摸一张牌或令其摸一张牌。若如此做,其他角色与你的距离-1',
yishe:'义舍',
yishe_info:'结束阶段开始时若你的武将牌上没有牌你可以摸两张牌。若如此做你将两张牌置于武将牌上称为“米”当“米”移至其他区域后若你的武将牌上没有“米”你回复1点体力',
bushi:'布施',
midao:'米道',
bushi_info:'当你受到1点伤害后或其他角色受到你造成的1点伤害后受到伤害的角色可以获得一张“米”',
midao_info:'当一张判定牌生效前,你可以打出一张“米”代替之',
fengpo:'凤魄',
fengpo_info:'当你于出牌阶段内使用第一张【杀】或【决斗】指定目标后若目标角色数为1你可以选择一项1.摸X张牌2.此牌造成的伤害+XX为其手牌中方牌的数量',
chenqing:'陈情',
chenqing_info:'每轮限一次,当一名角色处于濒死状态时,你可以令另一名其他角色摸四张牌,然后弃置四张牌。若其以此法弃置的四张牌花色各不相同,则视为该角色对濒死的角色使用一张【桃】',
mozhi:'默识',
mozhi_info:'结束阶段开始时,你可以将一张手牌当你本回合出牌阶段使用的第一张基本或非延时类锦囊牌使用。然后,你可以将一张手牌当你本回合出牌阶段使用的第二张基本或非延时类锦囊牌使用',
ranshang:'燃殇',
ranshang_info:'锁定技当你受到1点火焰伤害后你获得1枚“燃”标记结束阶段开始时你失去X点体力X为“燃”标记的数量',
hanyong:'悍勇',
hanyong_info:'当你使用【南蛮入侵】或【万箭齐发】时,若你的体力值小于游戏轮数,你可以令此牌造成的伤害+1',
yicong:'义从',
yongsi:'庸肆',
yongsi1:'庸肆',
yongsi2:'庸肆',

View File

@ -1335,6 +1335,7 @@ character.yijiang={
},
selectTarget:2,
content:function(){
'step 0'
var gainner,giver;
if(targets[0].num('h')<targets[1].num('h')){
gainner=targets[0];
@ -1344,10 +1345,36 @@ character.yijiang={
gainner=targets[1];
giver=targets[0];
}
var card=giver.get('h').randomGet();
gainner.gain(card,'give');
giver.$give(card,gainner);
if(get.suit(card)!='spade') player.draw();
giver.chooseCard('选择一张手牌交给'+get.translation(gainner),true);
event.gainner=gainner;
event.giver=giver;
'step 1'
var card=result.cards[0];
event.gainner.gain(card,'give');
event.giver.$give(1,event.gainner);
'step 2'
if(event.gainner.num('h')==event.giver.num('h')){
if(player.hp<player.maxHp){
player.chooseControl('draw_card','recover_hp',function(event,player){
if(player.hp>=3&&player.num('h')<player.hp) return 'draw_card';
return 'recover_hp';
});
}
else{
player.draw();
event.finish();
}
}
else{
event.finish();
}
'step 3'
if(result.control=='draw_card'){
player.draw();
}
else{
player.recover();
}
},
ai:{
order:10.5,
@ -1369,7 +1396,7 @@ character.yijiang={
return 1;
}
},
player:0.01
player:0.1
}
}
},
@ -3489,7 +3516,7 @@ character.yijiang={
qiuyuan_info:'当你成为【杀】的目标时,你可以令另一名其他角色选择一项:①、交给你一张【闪】;②、成为此【杀】的额外目标。',
gongji_info:'出牌阶段,你可以弃置一张牌,令你的攻击范围无限,直到回合结束,然后若你以此法弃置的牌为装备牌,你可以弃置一名其他角色的一张牌。每回合限一次。',
zhuiyi_info:'你死亡时可以令一名其他角色杀死你的角色除外摸三张牌然后令其回复1点体力。',
anxu_info:'出牌阶段,你可以选择两名手牌数不相等的其他角色,令其中手牌少的角色获得手牌多的角色的一张手牌并展示之,若不为黑桃,你摸一张牌',
anxu_info:'出牌阶段限一次你可以选择两名手牌数不同的其他角色令其中手牌多的角色将一张手牌交给手牌少的角色然后若这两名角色手牌数相等你摸一张牌或回复1点体力',
zongxuan_info:'每当你的牌被弃置,你可以将其按任意顺序置于牌堆顶',
zhiyan_info:'回合结束阶段,你可以令一名角色摸一张并展示之,若是装备牌,其立即装备之并回复一点体力',
miji_info:'回合结束阶段若你已受伤可以摸X张牌然后可以将等量的牌交给一名其他角色X为你已损失的体力值',

View File

@ -8,7 +8,7 @@ window.config={
forbidstone:['zhugedan','pal_xuanxiao'],
forbidchess:['hetaihou','swd_kangnalishi'],
forbidboss:['caiwenji','gjqt_aruan','pal_xuanxiao','swd_hupo'],
forbiddouble:['zhugedan','swd_kangnalishi','swd_nicole','dongzhuo','jg_simayi'],
forbiddouble:['zhugedan','swd_kangnalishi','swd_nicole','dongzhuo','wutugu','jg_simayi'],
layoutfixed:['chess','boss'],
all:{
mode:['identity','guozhan','versus','boss','chess','stone'],

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 KiB

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB