Merge pull request #559 from mengxinzxz/PR-Branch

bug修复+内容补充
This commit is contained in:
Spmario233 2023-10-21 00:11:32 +08:00 committed by GitHub
commit aa9e623aa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 58 additions and 26 deletions

BIN
audio/die/clan_wanglun.mp3 Normal file

Binary file not shown.

BIN
audio/die/hanlong.mp3 Normal file

Binary file not shown.

BIN
audio/die/ol_huban.mp3 Normal file

Binary file not shown.

BIN
audio/skill/cibei1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/cibei2.mp3 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
audio/skill/clanqiuxin1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/clanqiuxin2.mp3 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
audio/skill/duwang1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/duwang2.mp3 Normal file

Binary file not shown.

BIN
audio/skill/olhuiyun1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/olhuiyun2.mp3 Normal file

Binary file not shown.

View File

@ -915,7 +915,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
mod:{
playerEnabled:function(card,player,target){
if(!player.isPhaseUsing()) return;
if(card.name=='sha'&&player.getStorage('luanqun_effect').contains(target)) return false;
if(card.name=='sha'&&!player.getStorage('luanqun_effect').contains(target)) return false;
},
},
trigger:{player:'useCard1'},
@ -4445,16 +4445,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ai1:function(card){
return 7-_status.event.player.getUseValue(card,null,true);
},
precontent:function(){
event.getParent().addCount=false;
var evtx=event.getParent(2);
if(player.hasHistory('useCard',function(evt){
return evt.skill=='xinjianying_backup'&&evt.getParent(2)==evtx;
})){
alert('检测到您安装了十周年UI等具有出牌特效的扩展。该扩展会导致【渐营】出现无视次数限制发动的bug。为避免无限循环即将重启游戏。请卸载相关扩展以解决此问题。');
game.reload();
}
},
};
if(_status.event.xinjianying_suit) next.viewAs.suit=_status.event.xinjianying_suit;
return next;
@ -4468,7 +4458,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(_status.event.xinjianying_suit) return 16;
return 3;
},
result:{player:1},
result:{player:7},
},
subSkill:{
draw:{inherit:'jianying',audio:'xinjianying'},
@ -15227,7 +15217,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
xin_jushou:'手杀界沮授',
xin_jushou_prefix:'手杀界',
xinjianying:'渐营',
xinjianying_info:'①当你于出牌阶段内使用与此阶段你使用的上一张牌点数或花色相同的牌时,你可以摸一张牌。②出牌阶段限一次,你可以将一张牌当做任意基本牌使用(不计入次数限制)。若你于此阶段内使用的上一张牌有花色,则此牌的花色视为上一张牌的花色。',
xinjianying_info:'①当你于出牌阶段内使用与此阶段你使用的上一张牌点数或花色相同的牌时,你可以摸一张牌。②出牌阶段限一次,你可以将一张牌当做任意基本牌使用。若你于此阶段内使用的上一张牌有花色,则此牌的花色视为上一张牌的花色。',
re_xunyu:'手杀界荀彧',
re_xunyu_prefix:'手杀界',
rejieming:"节命",

View File

@ -14,12 +14,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
old_yijiang4:["old_caozhen","old_chenqun","old_zhuhuan",'old_caorui'],
old_yijiang5:["old_caoxiu","old_zhuzhi"],
old_yijiang67:["ol_zhangrang",'old_huanghao','old_liyan'],
old_sp:["old_wanglang","old_maliang","old_zhangxingcai","old_wangyun",'old_dingfeng'],
old_sp:["old_wanglang","old_maliang","old_zhangxingcai","old_wangyun",'old_dingfeng','old_guanyinping'],
old_yingbian:['junk_simayi','old_yangyan','old_yangzhi'],
old_mobile:["old_caochun"],
},
},
character:{
old_guanyinping:['female','shu',3,['xueji_old','oldhuxiao','oldwuji']],
old_caocao:['male','shen',3,['junkguixin','feiying'],['die_audio']],
old_chendao:['male','shu',4,['drlt_wanglie']],
old_liyan:['male','shu',3,['duliang','fulin']],
@ -1136,6 +1137,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
junkguixin_info:'回合结束时,你可以选择一项:①获得剩余武将牌堆的所有主公技的其中一个技能;②更改一名其他角色的势力。',
old_caochun:'旧曹纯',
old_caochun_prefix:'旧',
old_guanyinping:'旧关银屏',
old_guanyinping_prefix:'旧',
old_standard:'标准包',
old_shenhua:'神话再临',

View File

@ -263,7 +263,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}).setHiddenSkill('sbqiaobian');
break;
case 'phaseDraw':
player.chooseBool(get.prompt('sbqiaobian'),'跳过摸牌阶段,于下个准备阶段摸张牌并回复1点体力').setHiddenSkill('sbqiaobian');
player.chooseBool(get.prompt('sbqiaobian'),'跳过摸牌阶段,于下个准备阶段摸张牌并回复1点体力').setHiddenSkill('sbqiaobian');
break;
case 'phaseUse':
var num=(player.countCards('h')-6);
@ -313,13 +313,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
draw:{
charlotte:true,
mark:true,
intro:{content:'准备阶段摸张牌并回复1点体力'},
intro:{content:'准备阶段摸张牌并回复1点体力'},
audio:'sbqiaobian',
trigger:{player:'phaseZhunbeiBegin'},
forced:true,
content:function(){
player.removeSkill('sbqiaobian_draw');
player.draw(2);
player.draw(5);
player.recover();
},
},
@ -3267,8 +3267,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
sbguidao:{
audio:2,
trigger:{
global:['phaseBefore','damageEnd'],
player:'enterGame',
global:[/*'phaseBefore',*/'damageEnd'],
//player:'enterGame',
},
forced:true,
locked:false,
@ -5010,7 +5010,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
sbleiji:'雷击',
sbleiji_info:'出牌阶段你可以选择一名其他角色并弃4枚“道兵”对其造成1点雷电伤害。',
sbguidao:'鬼道',
sbguidao_info:'①游戏开始时你获得4枚“道兵”标记“道兵”上限为8。②一名角色受到属性伤害后你获得2枚“道兵”。当你受到伤害时你可以弃2枚“道兵”并防止此伤害。然后若当前回合角色不为你〖鬼道②〗于你下回合开始前无效。',
sbguidao_info:'①一名角色受到属性伤害后你获得2枚“道兵”。当你受到伤害时你可以弃2枚“道兵”并防止此伤害。然后若当前回合角色不为你〖鬼道①〗于你下回合开始前无效。③“道兵”上限为8。',
sbhuangtian:'黄天',
sbhuangtian_info:'主公技锁定技。①回合开始时若本回合为你的第一个回合且游戏轮数为1且游戏内没有【太平要术】你装备【太平要术】。②其他群势力角色造成伤害后若你拥有〖鬼道〗你获得1枚“道兵”每轮你至多以此法获得4枚“道兵”。',
sb_caocao:'谋曹操',
@ -5116,7 +5116,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
sbzaiqi_info:'蓄力技0/7。①弃牌阶段结束时你可以消耗任意点蓄力值并选择等量名角色然后令这些角色选择一项1.令你摸一张牌2.弃置一张牌然后你回复1点体力。②每回合限一次。当你造成伤害后你获得1点蓄力值。',
sb_zhanghe:'谋张郃',
sbqiaobian:'巧变',
sbqiaobian_info:'每回合限一次。①你可以失去1点体力并跳过判定阶段将判定区的所有牌移动给一名其他角色无法置入其判定区的牌改为弃置之。②你可以跳过摸牌阶段于下个准备阶段摸张牌并回复1点体力。③你可以将手牌数弃置至六张若手牌数少于六张则跳过之并跳过出牌阶段和弃牌阶段然后移动场上的一张牌。',
sbqiaobian_info:'每回合限一次。①你可以失去1点体力并跳过判定阶段将判定区的所有牌移动给一名其他角色无法置入其判定区的牌改为弃置之。②你可以跳过摸牌阶段于下个准备阶段摸张牌并回复1点体力。③你可以将手牌数弃置至六张若手牌数少于六张则跳过之并跳过出牌阶段和弃牌阶段然后移动场上的一张牌。',
sb_yl_luzhi:'谋卢植',
sb_yl_luzhi_prefix:'谋',
sbzhenliang:'贞良',

View File

@ -22491,7 +22491,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
},
xueji_old:{
audio:2,
audio:'xueji',
enable:'phaseUse',
usable:1,
filter:function(event,player){
@ -22539,6 +22539,38 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
}
},
//FW关银屏
oldhuxiao:{
shaRelated:true,
audio:'huxiao',
trigger:{player:'shaMiss'},
forced:true,
content:function(){
if(player.stat[player.stat.length-1].card.sha>0){
player.stat[player.stat.length-1].card.sha--;
}
},
},
oldwuji:{
unique:true,
audio:'wuji',
trigger:{player:'phaseJieshuBegin'},
filter:function(event,player){
return player.getStat('damage')>=3&&!player.storage.oldwuji;
},
forced:true,
juexingji:true,
skillAnimation:true,
animationColor:'orange',
content:function(){
'step 0'
player.removeSkill('oldhuxiao');
player.gainMaxHp();
'step 1'
player.recover();
player.awakenSkill('oldwuji');
},
},
xueji:{
audio:2,
enable:'phaseUse',
@ -24876,6 +24908,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
},
characterReplace:{
guanyinping:['guanyinping','old_guanyinping'],
shixie:['shixie','dc_shixie'],
caoshuang:['caoshuang','ns_caoshuang'],
caoang:['caoang','yj_caoang','tw_caoang'],
@ -26141,6 +26174,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ollianju_info:'结束阶段你可以令一名其他角色获得你本回合使用的最后一张牌A对应的所有位于弃牌堆的实体牌并记录A的牌名然后其下个结束阶段可以令你获得其本回合使用的最后一张牌B对应的所有位于弃牌堆的实体牌且若A与B的牌名相同则你失去1点体力。',
olsilv:'思闾',
olsilv_info:'锁定技,每回合限一次,当你获得或失去你发动〖联句〗记录的最后一次牌名的同名牌后,你展示这些牌,然后摸一张牌。',
xueji_old:'血祭',
xueji_old_info:'出牌阶段限一次你可以弃置一张红色牌并对攻击范围内的至多X名角色各造成1点伤害X为你已损失的体力值然后这些角色各摸一张牌。',
oldhuxiao:'虎啸',
oldhuxiao_info:'锁定技,当你使用的【杀】被【闪】抵消后,你令此【杀】不计入使用次数。',
oldwuji:'武继',
oldwuji_info:'觉醒技结束阶段若你本回合造成了3点或更多伤害你加1点体力上限并回复1点体力并失去技能〖虎啸〗。',
sp_tianji:'天极·皇室宗亲',

View File

@ -754,11 +754,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
mod:{
globalFrom:function(from,to,distance){
return distance+from.getExpansions('duwang').filter(i=>i.name!='sha').length;
return distance+Math.min(1,from.getExpansions('duwang').filter(i=>i.name!='sha').length);
},
globalTo:function(from,to,distance){
return distance+to.getExpansions('duwang').filter(i=>i.name!='sha').length;
}
return distance+Math.min(1,to.getExpansions('duwang').filter(i=>i.name!='sha').length);
},
},
},
cibei:{
@ -14574,7 +14574,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
jiangxi_info:'一名角色的回合结束时,若一号位于此回合内进入过濒死状态或未受到过伤害,你可以重置〖识命〗;若所有角色均未受到过伤害,你可以与当前回合角色各摸一张牌。',
hanlong:'韩龙',
duwang:'独往',
duwang_info:'锁定技。①游戏开始时,你从牌堆顶将五张不为【杀】的牌置于武将牌上,称为“刺”。②你至其他角色或其他角色至你的距离+XX为不为【杀】的“刺”数。',
duwang_info:'锁定技。①游戏开始时,你从牌堆顶将五张不为【杀】的牌置于武将牌上,称为“刺”。②若你有牌名不为【杀】“刺”,你至其他角色或其他角色至你的距离+1。',
cibei:'刺北',
cibei_info:'①当一名角色使用【杀】造成伤害且此牌对应的实体牌进入弃牌堆后,你可以将一张不为【杀】的“刺”置入弃牌堆,并将这些牌置入“刺”,然后弃置一名角色区域里的一张牌。②一名角色的回合结束时,若你的“刺”均为【杀】,你获得所有“刺”,且这些牌不能被弃置,且当你使用对应实体牌包含这些牌的牌时无次数和距离限制。',
wuanguo:'武安国',

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB