Merge pull request #932 from mengxinzxz/PR-Branch

素材补充+技能调整
This commit is contained in:
Spmario233 2024-02-08 23:47:12 +08:00 committed by GitHub
commit 5824e2eb76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 15 additions and 14 deletions

BIN
audio/die/shen_xuzhu.mp3 Normal file

Binary file not shown.

BIN
audio/skill/zhengqing1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/zhengqing2.mp3 Normal file

Binary file not shown.

BIN
audio/skill/zhuangpo1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/zhuangpo2.mp3 Normal file

Binary file not shown.

View File

@ -18,7 +18,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
clan_zhongyan:['female','jin',3,['clanguangu','clanxiaoyong','clanbaozu'],['clan:颍川钟氏']], clan_zhongyan:['female','jin',3,['clanguangu','clanxiaoyong','clanbaozu'],['clan:颍川钟氏']],
clan_wangyun:['male','qun',3,['clanjiexuan','clanmingjie','clanzhongliu'],['clan:太原王氏']], clan_wangyun:['male','qun',3,['clanjiexuan','clanmingjie','clanzhongliu'],['clan:太原王氏']],
clan_wanghun:['male','jin',3,['clanfuxun','clanchenya','clanzhongliu'],['clan:太原王氏']], clan_wanghun:['male','jin',3,['clanfuxun','clanchenya','clanzhongliu'],['clan:太原王氏']],
clan_zhonghui:['male','wei','3/4',['clanyuzhi','clanxieshu','clanbaozu'],['clan:颍川钟氏']], clan_zhonghui:['male','wei',4,['clanyuzhi','clanxieshu','clanbaozu'],['clan:颍川钟氏']],
clan_zhongyu:['male','wei',3,['clanjiejian','clanhuanghan','clanbaozu'],['clan:颍川钟氏']], clan_zhongyu:['male','wei',3,['clanjiejian','clanhuanghan','clanbaozu'],['clan:颍川钟氏']],
clan_wanglun:['male','wei',3,['clanqiuxin','clanjianyuan','clanzhongliu'],['clan:太原王氏']], clan_wanglun:['male','wei',3,['clanqiuxin','clanjianyuan','clanzhongliu'],['clan:太原王氏']],
clan_xunyou:['male','wei',3,['clanbaichu','clandaojie'],['clan:颍川荀氏']], clan_xunyou:['male','wei',3,['clanbaichu','clandaojie'],['clan:颍川荀氏']],

View File

@ -153,7 +153,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
current.addMark('zhengqing',num); current.addMark('zhengqing',num);
}) })
if(onlyMe&&isMax){ if(onlyMe&&isMax){
player.draw(num); player.draw(Math.min(5,num));
player.getHistory('custom').push({zhengqing_count:num}); player.getHistory('custom').push({zhengqing_count:num});
} }
else{ else{
@ -8539,7 +8539,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
shen_xuzhu:'神许褚', shen_xuzhu:'神许褚',
shen_xuzhu_prefix:'神', shen_xuzhu_prefix:'神',
zhengqing:'争擎', zhengqing:'争擎',
zhengqing_info:'锁定技。一轮游戏开始时你移去所有角色的“擎”标记令上一轮于一回合内造成伤害值最多的角色各获得X枚“擎”且你与这些角色各摸一张牌X为这些角色该回合内造成的伤害值。若该角色为你且本次获得的“擎”数为本局游戏最多的一次你改为摸X张牌。', zhengqing_info:'锁定技。一轮游戏开始时你移去所有角色的“擎”标记令上一轮于一回合内造成伤害值最多的角色各获得X枚“擎”且你与这些角色各摸一张牌X为这些角色该回合内造成的伤害值。若该角色为你且本次获得的“擎”数为本局游戏最多的一次你改为摸X张牌(至多摸五张)。',
zhuangpo:'壮魄', zhuangpo:'壮魄',
zhuangpo_info:'你可以将牌面信息中包含“【杀】”的牌当【决斗】使用然后你获得如下效果1.当此【决斗】指定目标后若你有“擎”你可以移去任意枚“擎”令目标角色弃置等量的牌2.当你造成渠道为此牌的伤害时,若此牌的所有目标角色中存在有“擎”的角色,此伤害+1。', zhuangpo_info:'你可以将牌面信息中包含“【杀】”的牌当【决斗】使用然后你获得如下效果1.当此【决斗】指定目标后若你有“擎”你可以移去任意枚“擎”令目标角色弃置等量的牌2.当你造成渠道为此牌的伤害时,若此牌的所有目标角色中存在有“擎”的角色,此伤害+1。',

View File

@ -125,6 +125,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
filter(event,player){ filter(event,player){
return player.getDiscardableCards(player,'h').some(card=>!player.getStorage('dcfuli').includes(get.type2(card))); return player.getDiscardableCards(player,'h').some(card=>!player.getStorage('dcfuli').includes(get.type2(card)));
}, },
usable:1,
async content(event,trigger,player){ async content(event,trigger,player){
await player.showHandcards(get.translation(player)+'发动了【抚黎】'); await player.showHandcards(get.translation(player)+'发动了【抚黎】');
const getNum=(type)=>{ const getNum=(type)=>{
@ -12113,7 +12114,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
dcshoucheng_info:'一名角色于其回合外失去最后的手牌后,你可令其摸两张牌。', dcshoucheng_info:'一名角色于其回合外失去最后的手牌后,你可令其摸两张牌。',
dc_liuli:'刘理', dc_liuli:'刘理',
dcfuli:'抚黎', dcfuli:'抚黎',
dcfuli_info:'出牌阶段你可以展示手牌并弃置一种类别的所有手牌每种类别每回合限一次然后摸X张牌X为这些牌的牌名字数和且X至多为场上手牌数最多的角色的手牌数。若你因此弃置了伤害类卡牌则你可以选择一名角色令其攻击范围-1直到你的下个回合开始。', dcfuli_info:'出牌阶段限一次你可以展示手牌并弃置一种类别的所有手牌每种类别每回合限一次然后摸X张牌X为这些牌的牌名字数和且X至多为场上手牌数最多的角色的手牌数。若你因此弃置了伤害类卡牌则你可以选择一名角色令其攻击范围-1直到你的下个回合开始。',
dcdehua:'德化', dcdehua:'德化',
dcdehua_info:'锁定技。①一轮游戏开始时,若有你可以使用的非延时类伤害类牌的牌名,你选择其中一个并视为使用之,然后你不能从手牌中使用此牌名的牌,然后若你已选择过所有的伤害类牌牌名,你失去〖德化〗。②你的手牌上限+YY为你〖德化①〗选择过的牌名数。', dcdehua_info:'锁定技。①一轮游戏开始时,若有你可以使用的非延时类伤害类牌的牌名,你选择其中一个并视为使用之,然后你不能从手牌中使用此牌名的牌,然后若你已选择过所有的伤害类牌牌名,你失去〖德化〗。②你的手牌上限+YY为你〖德化①〗选择过的牌名数。',

View File

@ -213,7 +213,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
frequent:true, frequent:true,
async content(event,trigger,player){ async content(event,trigger,player){
let cards=get.cards(3,true); let cards=get.cards(3,true);
const {result:{bool,links}}=await player.chooseButton(['灵慧:是否使用其中的一张牌并获得其余牌?',cards]).set('ai',button=>{ const {result:{bool,links}}=await player.chooseButton(['灵慧:是否使用其中的一张牌并随机获得其中一张剩余牌?',cards]).set('ai',button=>{
return get.event('player').getUseValue(button.link); return get.event('player').getUseValue(button.link);
}); });
if(bool){ if(bool){
@ -222,7 +222,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.$gain2(card,false); player.$gain2(card,false);
await game.asyncDelayx(); await game.asyncDelayx();
await player.chooseUseTarget(true,card,false); await player.chooseUseTarget(true,card,false);
if(cards.length) await player.gain(cards,'gain2'); if(cards.length) await player.gain(cards.randomGet(),'gain2');
} }
}, },
}, },
@ -14438,7 +14438,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
dczengou_info:'出牌阶段限一次你可以将至多体力上限张牌称为“谮构”交给一名其他角色并摸等量张牌。若如此做其下次体力值增加或使用牌结算完毕后其展示所有手牌然后失去Y点体力Y为其手牌中的“谮构”牌数。', dczengou_info:'出牌阶段限一次你可以将至多体力上限张牌称为“谮构”交给一名其他角色并摸等量张牌。若如此做其下次体力值增加或使用牌结算完毕后其展示所有手牌然后失去Y点体力Y为其手牌中的“谮构”牌数。',
bailingyun:'柏灵筠', bailingyun:'柏灵筠',
dclinghui:'灵慧', dclinghui:'灵慧',
dclinghui_info:'一名角色的结束阶段,若当前回合角色为你或本回合有角色进入过濒死状态,则你可以观看牌堆顶的三张牌,然后你可以使用其中一张牌并获得剩余牌。', dclinghui_info:'一名角色的结束阶段,若当前回合角色为你或本回合有角色进入过濒死状态,则你可以观看牌堆顶的三张牌,然后你可以使用其中一张牌并随机获得其中一张剩余牌。',
dcxiace:'黠策', dcxiace:'黠策',
dcxiace_info:'每回合每项各限一次。当你造成/受到伤害后你可以弃置一张牌并回复1点体力/令一名其他角色的非锁定技于本回合失效。', dcxiace_info:'每回合每项各限一次。当你造成/受到伤害后你可以弃置一张牌并回复1点体力/令一名其他角色的非锁定技于本回合失效。',
dcyuxin:'御心', dcyuxin:'御心',

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -911,7 +911,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!player.isInitFilter('noZhuHp')){ if(!player.isInitFilter('noZhuHp')){
player.hp++; player.hp++;
player.maxHp++; player.maxHp++;
player.$update(); player.update();
} }
} }
}); });
@ -936,7 +936,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!lib.playerOL[i].isInitFilter('noZhuHp')){ if(!lib.playerOL[i].isInitFilter('noZhuHp')){
lib.playerOL[i].hp++; lib.playerOL[i].hp++;
lib.playerOL[i].maxHp++; lib.playerOL[i].maxHp++;
lib.playerOL[i].$update(); lib.playerOL[i].update();
} }
} }
} }
@ -1393,7 +1393,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!player.isInitFilter('noZhuHp')){ if(!player.isInitFilter('noZhuHp')){
player.hp++; player.hp++;
player.maxHp++; player.maxHp++;
player.$update(); player.update();
} }
} }
} }
@ -1423,7 +1423,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!player.isInitFilter('noZhuHp')){ if(!player.isInitFilter('noZhuHp')){
player.hp++; player.hp++;
player.maxHp++; player.maxHp++;
player.$update(); player.update();
} }
} }
} }
@ -2114,7 +2114,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!game.me.isInitFilter('noZhuHp')){ if(!game.me.isInitFilter('noZhuHp')){
game.me.hp++; game.me.hp++;
game.me.maxHp++; game.me.maxHp++;
game.me.$update(); game.me.update();
} }
} }
for(var i=0;i<game.players.length;i++){ for(var i=0;i<game.players.length;i++){

View File

@ -1610,7 +1610,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!player.isInitFilter('noZhuHp')){ if(!player.isInitFilter('noZhuHp')){
player.hp++; player.hp++;
player.maxHp++; player.maxHp++;
player.$update(); player.update();
} }
} }
else if(Math.random()<0.5){ else if(Math.random()<0.5){
@ -1878,7 +1878,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!event.current.isInitFilter('noZhuHp')){ if(!event.current.isInitFilter('noZhuHp')){
event.current.hp++; event.current.hp++;
event.current.maxHp++; event.current.maxHp++;
event.current.$update(); event.current.update();
} }
} }
event.current.node.name_seat.remove(); event.current.node.name_seat.remove();