This commit is contained in:
parent
88124780f5
commit
f690a4eaf7
|
@ -2,6 +2,19 @@
|
|||
card.guozhan={
|
||||
connect:true,
|
||||
card:{
|
||||
feilongduofeng:{
|
||||
mode:['guozhan'],
|
||||
fullskin:true,
|
||||
type:'equip',
|
||||
subtype:'equip1',
|
||||
distance:{attackFrom:-1},
|
||||
},
|
||||
taipingyaoshu:{
|
||||
mode:['guozhan'],
|
||||
fullskin:true,
|
||||
type:'equip',
|
||||
subtype:'equip2',
|
||||
},
|
||||
yuxi:{
|
||||
mode:['guozhan'],
|
||||
fullskin:true,
|
||||
|
@ -836,6 +849,10 @@ card.guozhan={
|
|||
},
|
||||
},
|
||||
translate:{
|
||||
feilongduofeng:'飞龙夺凤',
|
||||
feilongduofeng_info:'当你使用【杀】指定一名角色为目标后,你可令该角色弃置一张牌。你使用【杀】杀死一名角色后,若你所属的势力是全场最少的(或之一),你可令该角色的使用者选择是否从未使用的武将牌中选择一张与你势力相同的武将牌重新加入游戏',
|
||||
taipingyaoshu:'太平要术',
|
||||
taipingyaoshu_info:'锁定技,防止你受到的所有属性伤害;全场每有一名与你势力相同的角色存活,所有此势力角色的手牌上限便+1;当你失去装备区里的【太平要术】时,你失去1点体力,然后摸两张牌',
|
||||
yuxi_skill:'玉玺',
|
||||
yuxi_skill2:'玉玺',
|
||||
yuxi:'玉玺',
|
||||
|
|
|
@ -7747,6 +7747,7 @@ character.swd={
|
|||
},
|
||||
filterTarget:function(card,player,target){
|
||||
if(target.identity=='zhu') return false;
|
||||
if(get.mode()=='guozhan'&&target.isZhu) return false;
|
||||
return player!=target;
|
||||
},
|
||||
content:function(){
|
||||
|
|
|
@ -35,6 +35,7 @@ window.noname_asset_list=[
|
|||
'image/card/dunpaigedang.png',
|
||||
'image/card/fangtian.png',
|
||||
'image/card/feibiao.png',
|
||||
'image/card/feilongduofeng.png',
|
||||
'image/card/fengxueren.png',
|
||||
'image/card/fengyinzhidan.png',
|
||||
'image/card/fudichouxin.png',
|
||||
|
@ -167,6 +168,7 @@ window.noname_asset_list=[
|
|||
'image/card/wangmeizhike.png',
|
||||
'image/card/sifeizhenmian.png',
|
||||
'image/card/suolianjia.png',
|
||||
'image/card/taipingyaoshu.png',
|
||||
'image/card/tao.png',
|
||||
'image/card/tanhuadong.png',
|
||||
'image/card/tanshezhiren.png',
|
||||
|
|
18
game/game.js
18
game/game.js
|
@ -2676,7 +2676,7 @@
|
|||
'3':'三张',
|
||||
},
|
||||
init:'2',
|
||||
frequent:true,
|
||||
// frequent:true,
|
||||
intro:'第一个明置身份牌的角色可获得摸牌奖励'
|
||||
},
|
||||
connect_zhulian:{
|
||||
|
@ -2742,7 +2742,7 @@
|
|||
'3':'三张',
|
||||
},
|
||||
init:'2',
|
||||
frequent:true,
|
||||
// frequent:true,
|
||||
intro:'第一个明置身份牌的角色可获得摸牌奖励'
|
||||
},
|
||||
zhulian:{
|
||||
|
@ -35513,12 +35513,20 @@
|
|||
if(skill&&!game.zhu.get('s').contains(skill)) return null;
|
||||
if(game.zhu.isZhu) return game.zhu;
|
||||
}
|
||||
else if(mode=='versus'&&_status.mode=='four'){
|
||||
else if(mode=='guozhan'||(mode=='versus'&&_status.mode=='four')){
|
||||
for(var i=0;i<game.players.length;i++){
|
||||
if(game.players[i].isZhu){
|
||||
if(skill&&!(game.players[i].get('s').contains(skill))) continue;
|
||||
if(!player||player.side==game.players[i].side){
|
||||
return game.players[i];
|
||||
if(!player) return game.players[i];
|
||||
if(mode=='guozhan'){
|
||||
if(player.identity==game.players[i].identity){
|
||||
return game.players[i];
|
||||
}
|
||||
}
|
||||
else{
|
||||
if(player.side==game.players[i].side){
|
||||
return game.players[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
|
@ -1,8 +1,9 @@
|
|||
'use strict';
|
||||
mode.guozhan={
|
||||
startBefore:function(){
|
||||
var playback=localStorage.getItem(lib.configprefix+'playback');
|
||||
for(var i in lib.characterPack.mode_guozhan){
|
||||
if(!get.config('onlyguozhan')){
|
||||
if(!get.config('onlyguozhan')&&!playback){
|
||||
if(lib.character[i.slice(3)]) continue;
|
||||
}
|
||||
lib.character[i]=lib.characterPack.mode_guozhan[i];
|
||||
|
@ -2391,7 +2392,7 @@ mode.guozhan={
|
|||
["diamond",13,"zixin"],
|
||||
["club",1,"zhuge"],
|
||||
["diamond",1,"zhuge"],
|
||||
["spade",2,"cixiong"],
|
||||
["spade",2,"feilongduofeng"],
|
||||
["spade",6,"qinggang"],
|
||||
["spade",5,"qinglong"],
|
||||
["spade",12,"zhangba"],
|
||||
|
@ -2465,6 +2466,7 @@ mode.guozhan={
|
|||
['diamond',1,'xietianzi'],
|
||||
['diamond',4,'xietianzi'],
|
||||
['club',1,'yuxi'],
|
||||
['heart',3,'taipingyaoshu'],
|
||||
],
|
||||
element:{
|
||||
content:{
|
||||
|
|
Loading…
Reference in New Issue