Merge pull request #571 from copcap/dev-bugfix

bug修复;江山如故武将原画优化
This commit is contained in:
Spmario233 2023-10-23 22:30:52 +08:00 committed by GitHub
commit c24faece73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 7 additions and 5 deletions

View File

@ -445,7 +445,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}); });
if(targets.length){ if(targets.length){
game.delayex(); game.delayex();
player.useCard({name:'sha',isCard:true,storage:{jsrgbaohe:0}},targets,false); player.useCard({name:'sha',isCard:true,storage:{jsrgbaohe:true}},targets,false);
player.addTempSkill('jsrgbaohe_add'); player.addTempSkill('jsrgbaohe_add');
} }
} }
@ -460,7 +460,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
forced:true, forced:true,
filter:function(event,player){ filter:function(event,player){
let evt=event.getParent(3),respondTo=event.respondTo; let evt=event.getParent(3),respondTo=event.respondTo;
if(evt.name!='useCard'||!Array.isArray(respondTo)||!respondTo[1].storage||typeof respondTo[1].storage.jsrgbaohe!='number') return false; if(evt.name!='useCard'||!Array.isArray(respondTo)||!respondTo[1].storage||!respondTo[1].storage.jsrgbaohe) return false;
return evt.targets.length>evt.num+1; return evt.targets.length>evt.num+1;
}, },
logTarget:function(event){ logTarget:function(event){
@ -471,7 +471,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
'step 0' 'step 0'
var evt=trigger.getParent(3); var evt=trigger.getParent(3);
var targets=evt.targets.slice(evt.num+1); var targets=evt.targets.slice(evt.num+1);
var map=trigger.customArgs; var map=evt.customArgs;
for(var target of targets){ for(var target of targets){
var id=target.playerid; var id=target.playerid;
if(!map[id]) map[id]={}; if(!map[id]) map[id]={};
@ -6126,7 +6126,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
jsrgzhenfeng_info:'出牌阶段每种类别各限一次。你可以视为使用一张存活角色的技能描述中包含的基本牌或普通锦囊牌无距离和次数限制。当此牌对技能描述中包含此牌的角色生效时你对其造成1点伤害。', jsrgzhenfeng_info:'出牌阶段每种类别各限一次。你可以视为使用一张存活角色的技能描述中包含的基本牌或普通锦囊牌无距离和次数限制。当此牌对技能描述中包含此牌的角色生效时你对其造成1点伤害。',
jsrg_zhangfei:'转张飞', jsrg_zhangfei:'转张飞',
jsrg_zhangfei_prefix:'转', jsrg_zhangfei_prefix:'转',
jsrgbaohe:'暴', jsrgbaohe:'暴',
jsrgbaohe_info:'一名角色的出牌阶段结束时,你可以弃置两张牌,然后视为你对攻击范围内包含其的所有角色使用一张【杀】。当一名角色使用牌响应此【杀】后,此【杀】对后续目标角色造成的伤害+1。', jsrgbaohe_info:'一名角色的出牌阶段结束时,你可以弃置两张牌,然后视为你对攻击范围内包含其的所有角色使用一张【杀】。当一名角色使用牌响应此【杀】后,此【杀】对后续目标角色造成的伤害+1。',
jsrgxushi:'虚势', jsrgxushi:'虚势',
jsrgxushi_info:'出牌阶段限一次。你可以交给任意名角色各一张牌,然后你获得两倍数量的【影】。', jsrgxushi_info:'出牌阶段限一次。你可以交给任意名角色各一张牌,然后你获得两倍数量的【影】。',

View File

@ -11522,7 +11522,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var num=2; var num=2;
if(target.hasSkill('twyujue_effect0')) num--; if(target.hasSkill('twyujue_effect0')) num--;
if(target.hasSkill('twyujue_effect1')) num--; if(target.hasSkill('twyujue_effect1')) num--;
num=Math.min(num,trigger.getl(target).cards2.length); var cards=trigger.getg(player);
num=Math.min(num,trigger.getl(target).cards2.filter(i=>cards.includes(i)).length);
if(num>0) event.count=num; if(num>0) event.count=num;
else if(targets.length>0) event.redo(); else if(targets.length>0) event.redo();
else event.finish(); else event.finish();

View File

@ -126,6 +126,7 @@ var pinyin_dict_polyphone = {
"度势": "duó ", "度势": "duó ",
"诛綝": " chēn", "诛綝": " chēn",
"大喝": "dà hè", "大喝": "dà hè",
"暴喝": "bào hè",
"曲误": "qǔ ", "曲误": "qǔ ",
"媛丽": "yuán lì", "媛丽": "yuán lì",
"调归": "diào ", "调归": "diào ",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 77 KiB