Skip to content

Commit

Permalink
Revert "Revert "1.10.8""
Browse files Browse the repository at this point in the history
This reverts commit 641e8c5.
  • Loading branch information
lieren2023 committed Feb 24, 2024
1 parent 48d5b14 commit 016ba9b
Show file tree
Hide file tree
Showing 424 changed files with 22,035 additions and 20,106 deletions.
15 changes: 0 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +0,0 @@
._*
.DS_Store
.DS_Store?
.idea
.Spotlight-V100
.Trashes
.vscode
app
app.html
ehthumbs.db
jsconfig.json
localStorage.json
noname.ico
package-lock.json
Thumbs.db
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

#### 下载途径

下载途径1:项目的Releases(一步到位懒人包)
下载途径1:项目的[Releases](https://github.com/lieren2023/noname-for-dummies/releases)(一步到位懒人包)

- 手机版:noname-for-dummies-Android.apk
- 电脑版:noname-for-dummies-Windows.zip
Expand Down Expand Up @@ -114,7 +114,7 @@
贡献代码:

- 请前往无名杀原版/懒人包开源地址提Pull requests
- 本懒人包提交Pull requests时请推送到“update-Branch”分支
- 本懒人包提交Pull requests时请推送到“[update-Branch](https://github.com/lieren2023/noname-for-dummies/tree/update-branch)”分支(另:玩家可通过此分支体验最新内测版无名杀懒人包)

bug反馈:

Expand Down
Binary file added audio/die/bailingyun.mp3
Binary file not shown.
Binary file modified audio/die/bulianshi.mp3
Binary file not shown.
Binary file added audio/die/dc_liuli.mp3
Binary file not shown.
Binary file modified audio/die/fuhuanghou.mp3
Binary file not shown.
Binary file modified audio/die/guanzhang.mp3
Binary file not shown.
Binary file modified audio/die/hetaihou.mp3
Binary file not shown.
Binary file modified audio/die/luyi.mp3
Binary file not shown.
Binary file added audio/die/ol_hujinding.mp3
Binary file not shown.
Binary file modified audio/die/ol_sb_guanyu.mp3
Binary file not shown.
Binary file modified audio/die/sb_machao.mp3
Binary file not shown.
Binary file modified audio/die/sb_sunshangxiang.mp3
Binary file not shown.
Binary file modified audio/die/sb_xiahoushi.mp3
Binary file not shown.
Binary file added audio/die/sb_xunyu.mp3
Binary file not shown.
Binary file added audio/die/shen_lusu.mp3
Binary file not shown.
Binary file added audio/die/shen_xuzhu.mp3
Binary file not shown.
Binary file added audio/die/tianchou.mp3
Binary file not shown.
Binary file modified audio/die/wangyi.mp3
Binary file not shown.
Binary file modified audio/die/xunyu.mp3
Binary file not shown.
Binary file added audio/die/zhugemengxue.mp3
Binary file not shown.
Binary file modified audio/skill/anxu1.mp3
Binary file not shown.
Binary file modified audio/skill/anxu2.mp3
Binary file not shown.
Binary file added audio/skill/dcdehua1.mp3
Binary file not shown.
Binary file added audio/skill/dcdehua2.mp3
Binary file not shown.
Binary file added audio/skill/dcfuli1.mp3
Binary file not shown.
Binary file added audio/skill/dcfuli2.mp3
Binary file not shown.
Binary file modified audio/skill/dcfuxue1.mp3
Binary file not shown.
Binary file modified audio/skill/dcfuxue2.mp3
Binary file not shown.
Binary file added audio/skill/dchanying1.mp3
Binary file not shown.
Binary file added audio/skill/dchanying2.mp3
Binary file not shown.
Binary file added audio/skill/dcjichun1.mp3
Binary file not shown.
Binary file added audio/skill/dcjichun2.mp3
Binary file not shown.
Binary file added audio/skill/dclinghui1.mp3
Binary file not shown.
Binary file added audio/skill/dclinghui2.mp3
Binary file not shown.
Binary file modified audio/skill/dcshoutan1.mp3
Binary file not shown.
Binary file modified audio/skill/dcshoutan2.mp3
Binary file not shown.
Binary file added audio/skill/dcxiace1.mp3
Binary file not shown.
Binary file added audio/skill/dcxiace2.mp3
Binary file not shown.
Binary file modified audio/skill/dcyaoyi1.mp3
Binary file not shown.
Binary file modified audio/skill/dcyaoyi2.mp3
Binary file not shown.
Binary file added audio/skill/dcyuxin1.mp3
Binary file not shown.
Binary file added audio/skill/dcyuxin2.mp3
Binary file not shown.
Binary file added audio/skill/dingzhou1.mp3
Binary file not shown.
Binary file added audio/skill/dingzhou2.mp3
Binary file not shown.
Binary file modified audio/skill/fuhun1.mp3
Binary file not shown.
Binary file modified audio/skill/fuhun2.mp3
Binary file not shown.
Binary file modified audio/skill/huamu3.mp3
Binary file not shown.
Binary file modified audio/skill/huamu4.mp3
Binary file not shown.
Binary file modified audio/skill/huamu5.mp3
Binary file not shown.
Binary file modified audio/skill/huamu6.mp3
Binary file not shown.
Binary file modified audio/skill/miji1.mp3
Binary file not shown.
Binary file modified audio/skill/miji2.mp3
Binary file not shown.
Binary file added audio/skill/olchongshen1.mp3
Binary file not shown.
Binary file added audio/skill/olchongshen2.mp3
Binary file not shown.
Binary file added audio/skill/olqingyuan1.mp3
Binary file not shown.
Binary file added audio/skill/olqingyuan2.mp3
Binary file not shown.
Binary file added audio/skill/olsbduoshou1.mp3
Binary file not shown.
Binary file added audio/skill/olsbduoshou2.mp3
Binary file not shown.
Binary file added audio/skill/olsbweilin1.mp3
Binary file not shown.
Binary file added audio/skill/olsbweilin2.mp3
Binary file not shown.
Binary file added audio/skill/olshandao1.mp3
Binary file not shown.
Binary file added audio/skill/olshandao2.mp3
Binary file not shown.
Binary file modified audio/skill/paoxiao_guanzhang1.mp3
Binary file not shown.
Binary file modified audio/skill/paoxiao_guanzhang2.mp3
Binary file not shown.
Binary file modified audio/skill/qiuyuan1.mp3
Binary file not shown.
Binary file modified audio/skill/qiuyuan2.mp3
Binary file not shown.
Binary file added audio/skill/sbjieming1.mp3
Binary file not shown.
Binary file added audio/skill/sbjieming2.mp3
Binary file not shown.
Binary file modified audio/skill/sbjieyin1.mp3
Binary file not shown.
Binary file modified audio/skill/sbjieyin2.mp3
Binary file not shown.
Binary file modified audio/skill/sbliangzhu1.mp3
Binary file not shown.
Binary file modified audio/skill/sbliangzhu2.mp3
Binary file not shown.
Binary file modified audio/skill/sbqiaoshi1.mp3
Binary file not shown.
Binary file modified audio/skill/sbqiaoshi2.mp3
Binary file not shown.
Binary file added audio/skill/sbquhu1.mp3
Binary file not shown.
Binary file added audio/skill/sbquhu2.mp3
Binary file not shown.
Binary file modified audio/skill/sbtieji1.mp3
Binary file not shown.
Binary file modified audio/skill/sbtieji_false.mp3
Binary file not shown.
Binary file modified audio/skill/sbtieji_true1.mp3
Binary file not shown.
Binary file modified audio/skill/sbtieji_true2.mp3
Binary file not shown.
Binary file modified audio/skill/sbxiaoji1.mp3
Binary file not shown.
Binary file modified audio/skill/sbxiaoji2.mp3
Binary file not shown.
Binary file modified audio/skill/sbyanyu1.mp3
Binary file not shown.
Binary file modified audio/skill/sbyanyu2.mp3
Binary file not shown.
Binary file added audio/skill/tamo1.mp3
Binary file not shown.
Binary file added audio/skill/tamo2.mp3
Binary file not shown.
Binary file modified audio/skill/wusheng_guanzhang1.mp3
Binary file not shown.
Binary file modified audio/skill/wusheng_guanzhang2.mp3
Binary file not shown.
Binary file added audio/skill/zhengqing1.mp3
Binary file not shown.
Binary file added audio/skill/zhengqing2.mp3
Binary file not shown.
Binary file modified audio/skill/zhenlie1.mp3
Binary file not shown.
Binary file modified audio/skill/zhenlie2.mp3
Binary file not shown.
Binary file added audio/skill/zhimeng1.mp3
Binary file not shown.
Binary file added audio/skill/zhimeng2.mp3
Binary file not shown.
Binary file added audio/skill/zhuangpo1.mp3
Binary file not shown.
Binary file added audio/skill/zhuangpo2.mp3
Binary file not shown.
Binary file modified audio/skill/zhuikong1.mp3
Binary file not shown.
Binary file modified audio/skill/zhuikong2.mp3
Binary file not shown.
Binary file modified audio/skill/zhuiyi1.mp3
Binary file not shown.
Binary file modified audio/skill/zhuiyi2.mp3
Binary file not shown.
4 changes: 2 additions & 2 deletions card/swd.js
Original file line number Diff line number Diff line change
Expand Up @@ -3413,11 +3413,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){
};
if(trigger.result.judge>0){
trigger.result.bool=true;
trigger.player.popup('洗具');
trigger.player.popup('判定生效');
}
if(trigger.result.judge<0){
trigger.result.bool=false;
trigger.player.popup('杯具');
trigger.player.popup('判定失效');
}
game.log(trigger.player,'的判定结果为',card);
trigger.direct=true;
Expand Down
2 changes: 1 addition & 1 deletion card/yongjian.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
}
return event.card2.name=='du';
}
if(event.name!='equip'&&event.name!='addJudge'&&!event.visible) return false;
if(event.name!='equip'&&!event.visible) return false;
var evt=event.getl(player);
if(!evt||!evt.hs||!evt.hs.filter(function(i){
return get.name(i,player)=='du';
Expand Down
18 changes: 14 additions & 4 deletions card/yunchou.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
type:'delay',
cardcolor:'red',
cardnature:'fire',
toself:true,
modTarget:function(card,player,target){
return lib.filter.judge(card,player,target);
},
Expand All @@ -724,7 +725,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){
selectTarget:[-1,-1],
judge:function(card){
if(get.suit(card)=='heart'&&get.number(card)>1&&get.number(card)<10) return -6;
return 0;
return 1;
},
judge2:function(result){
if(result.bool==false) return true;
return false;
},
effect:function(){
if(result.bool==false){
Expand Down Expand Up @@ -764,6 +769,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
},
hongshui:{
type:'delay',
toself:true,
enable:function(card,player){
return player.canAddJudge(card);
},
Expand All @@ -776,7 +782,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){
selectTarget:[-1,-1],
judge:function(card){
if(get.suit(card)=='club'&&get.number(card)>1&&get.number(card)<10) return -3;
return 0;
return 1;
},
judge2:function(result){
if(result.bool==false) return true;
return false;
},
fullskin:true,
effect:function(){
Expand Down Expand Up @@ -930,9 +940,9 @@ game.import('card',function(lib,game,ui,get,ai,_status){
chenhuodajie:'趁火打劫',
chenhuodajie_info:'任意一名其他角色受到伤害时对其使用,获得其一张牌。',
huoshan:'火山',
huoshan_info:'出牌阶段,对自己使用。若判定结果为红桃2~9,则目标角色受到2点火焰伤害,距离目标1以内的其他角色受到1点火焰伤害。若判定不为红桃2~9,将之移动到下家的判定区里。',
huoshan_info:'出牌阶段,对自己使用。若判定结果为红桃2~9,则目标角色受到2点火焰伤害,距离目标1以内的其他角色受到1点火焰伤害。若判定结果不为红桃2~9,将之移动到下家的判定区里。',
hongshui:'洪水',
hongshui_info:'出牌阶段,对自己使用。若判定结果为梅花2~9,该角色随机弃置三张牌,距离该角色为X的角色随机弃置3-X张牌,若没有牌则失去1点体力。',
hongshui_info:'出牌阶段,对自己使用。若判定结果为梅花2~9,该角色随机弃置三张牌,距离该角色为X的角色随机弃置3-X张牌,若没有牌则失去1点体力。若判定结果不为梅花2~9,将之移动到下家的判定区里。',
},
list:[
['heart',6,'huoshan','fire'],
Expand Down
19 changes: 7 additions & 12 deletions character/clan.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
clan_zhong:['clan_zhongyan','clan_zhonghui','clan_zhongyu'],
},
},
/** @type { importCharacterConfig['skill'] } */
skill:{
//族吴乔
clanqiajue:{
Expand All @@ -42,7 +43,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return player.countCards('he',card=>{
if(_status.connectMode&&get.position(card)=='h') return true;
return get.color(card,player)=='black'&&lib.filter.cardDiscardable(card,player);
});
})>0;
},
direct:true,
async content(event,trigger,player){
Expand Down Expand Up @@ -440,9 +441,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
else event.goto(2);
'step 1'
if(result.bool){
player.removeSkill('clanbaozu');
player.popup('保族');
game.log(player,'失去了技能','#g【保族】');
player.removeSkills('clanbaozu');
}
else player.loseHp();
'step 2'
Expand Down Expand Up @@ -1058,7 +1057,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var owner=_status.event.getParent().owner;
if(owner) owner.$throw(card.cards);
});
if(card.name!=cardx.name||!get.is.sameNature(card,cardx)) next.viewAs=true;
if(card.name===cardx.name&&get.is.sameNature(card,cardx,true)) next.viewAs=false;
var owner=get.owner(card);
if(owner!=player&&get.position(card)=='h'){
next.throw=false;
Expand Down Expand Up @@ -1541,7 +1540,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return player.getStorage('clanfangzhen_remove').includes(game.roundNumber);
},
content(){
player.removeSkill('clanfangzhen');
player.removeSkills('clanfangzhen');
}
}
}
Expand Down Expand Up @@ -1811,9 +1810,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
event.finish();
}
'step 6'
player.removeSkill(result.control);
player.popup(result.control);
game.log(player,'失去了技能','#g【'+get.translation(result.control)+'】');
player.removeSkills(result.control);
},
ai:{
expose:0.1,
Expand Down Expand Up @@ -2391,9 +2388,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
});
'step 1'
if(result.control!='cancel2'){
player.removeSkill(result.control);
player.popup(result.control);
game.log(player,'失去了技能','#g【'+get.translation(result.control)+'】');
player.removeSkills(result.control);
}
else{
player.loseHp();
Expand Down
5 changes: 3 additions & 2 deletions character/collab.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
collab_remake:['dc_caocao','dc_liubei','dc_sunquan','nezha','dc_sunce','dc_zhaoyun'],
},
},
/** @type { importCharacterConfig['skill'] } */
skill:{
//新InitFilter测试高达一号
//打赢复活赛的牢达[哭]
Expand All @@ -52,7 +53,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
enable:['chooseToUse','chooseToRespond'],
prompt:'将♦牌当做火【杀】,♥牌当做【桃】,♣牌当做【闪】,♠牌当做【无懈可击】使用或打出',
viewAs(cards,player){
var name=false;
var name;
var nature=null;
switch(get.suit(cards[0],player)){
case 'club':name='shan';break;
Expand Down Expand Up @@ -617,7 +618,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.addMark('dcbianzhuang',1,false);
if(player.countMark('dcbianzhuang')>2){
player.storage.dcbianzhuang_inited=true;
player.reinit('zhutiexiong','wu_zhutiexiong');
player.reinitCharacter('zhutiexiong','wu_zhutiexiong');
}
}
},
Expand Down
38 changes: 14 additions & 24 deletions character/ddd.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ddd_liuhong:['male','qun',4,['dddshixing','ddddanggu','dddfuzong'],['zhu']],
ddd_xiahouxuan:['male','wei',3,['dddlanghuai','dddxuanlun']],
ddd_zhangkai:['male','qun','3/4',['dddjiexing','dddbailei']],
ddd_liangxi:['male','wei',3,['dddtongyu']],
ddd_liangxi:['male','wei',4,['dddtongyu']],
ddd_wangkanglvkai:['male','shu',4,['dddbingjian']],
// ddd_sunliang:['male','wu',3,['ddddiedang','dddanliu','dddguiying'],['zhu']],
ddd_lie:['female','wu',3,['dddyeshen','dddqiaoduan']],
Expand Down Expand Up @@ -2812,8 +2812,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
});
}
else{
game.log(player,'失去了技能','#g【齐策】');
player.removeSkill('dddqice');
player.removeSkills('dddqice');
event.finish();
}
'step 1'
Expand Down Expand Up @@ -3165,8 +3164,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
else{
if(!targets.includes(player)) player.loseMaxHp();
if(targets.length==1){
player.removeSkill('dddxiaheng');
game.log(player,'失去了技能','#g【侠横】');
player.removeSkills('dddxiaheng');
}
}
'step 5'
Expand Down Expand Up @@ -3272,8 +3270,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}).setContent('gaincardMultiple');
if(!lose) event.finish();
'step 5'
player.removeSkill('dddfengzheng');
game.log(player,'失去了技能','#g【丰政】');
player.removeSkills('dddfengzheng');
},
subSkill:{
global:{
Expand Down Expand Up @@ -4435,8 +4432,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
// return event.source&&event.source.isIn()&&event.source.getEquips(1).length>0;
// },
content(){
player.removeSkill('dddxiaoxing');
game.log(player,'失去了技能','#g【枭行】');
player.removeSkills('dddxiaoxing');
},
content_old(){
'step 0'
Expand All @@ -4448,8 +4444,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(result.bool){
trigger.source.logSkill('dddxiaoxing',player);
trigger.source.disableEquip(1);
player.removeSkill('dddxiaoxing');
game.log(player,'失去了技能','#g【枭行】');
player.removeSkills('dddxiaoxing');
}
}
}
Expand Down Expand Up @@ -4541,8 +4536,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.gain(cards,'log');
}
'step 5'
player.removeSkill('dddlangzhi');
game.log(player,'失去了技能','#g【狼志】');
player.removeSkills('dddlangzhi');
event.finish();
'step 6'
game.broadcastAll('closeDialog',event.videoId);
Expand Down Expand Up @@ -4572,7 +4566,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
const skills=player.getStockSkills(true,true).filter(skill=>{
return !player.hasSkill(skill,null,false,false);
});
return skills.length;
return skills.length>0;
},
filter_old(event,player){
var evt=event.getParent();
Expand Down Expand Up @@ -4610,7 +4604,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
else event.finish();
'step 2'
var skill=result.control;
player.addSkillLog(skill);
player.addSkills(skill);
},
content_old(){
'step 0'
Expand Down Expand Up @@ -4648,14 +4642,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.draw(3);
}
else event.finish();
for(var i of skills){
player.addSkillLog(i);
}
player.addSkills(skills);
}
else event.finish();
'step 2'
player.removeSkill('dddfuyi');
game.log(player,'失去了技能','#g【附义】');
player.removeSkills('dddfuyi');
},
subSkill:{
sha:{
Expand All @@ -4677,7 +4668,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
audio:2,
trigger:{global:'phaseUseBegin'},
filter(event,player){
return player.countCards('h')&&event.player!=player;
return player.countCards('h')>0&&event.player!=player;
},
direct:true,
content(){
Expand Down Expand Up @@ -4791,7 +4782,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
audio:2,
trigger:{player:'useCardAfter'},
filter(event,player){
return event.cards.filterInD('od').length&&get.color(event.card)=='red';
return event.cards.filterInD('od').length>0&&get.color(event.card)=='red';
},
content(){
'step 0'
Expand Down Expand Up @@ -5290,8 +5281,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
else event.finish();
'step 3'
if(target.isIn()){event.finish(); return};
player.removeSkill('dddbailei');
game.log(player,'失去了技能','#g【拜泪】');
player.removeSkills('dddbailei');
},
subSkill:{
animate:{
Expand Down
Loading

0 comments on commit 016ba9b

Please sign in to comment.