Kamiyama Shiki

This commit is contained in:
Spmario233 2020-08-08 18:36:38 +08:00 committed by GitHub
parent 93589a5cd7
commit 82cede0f0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 21 deletions

View File

@ -53,16 +53,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){
'step 0'
player.chooseTarget(get.prompt2('shiki_omusubi'),lib.filter.notMe).set('ai',function(target){
var player=_status.event.player;
if(player.isHealthy()) return 0;
if(player.hp<3&&getDamagedHp()<2) return 0;
var list=[];
if(lib.character[target.name]) list.addArray(lib.character[target.name][3]);
if(lib.character[target.name1]) list.addArray(lib.character[target.name1][3]);
if(lib.character[target.name2]) list.addArray(lib.character[target.name2][3]);
list=list.filter(function(i){
return !player.hasSkill(i);
});
if(!list.length) return 0;
if(player.isHealthy()) return 0;
if(player.hp<3&&player.getDamagedHp()<2) return 0;
var list=[];
if(lib.character[target.name]) list.addArray(lib.character[target.name][3]);
if(lib.character[target.name1]) list.addArray(lib.character[target.name1][3]);
if(lib.character[target.name2]) list.addArray(lib.character[target.name2][3]);
list=list.filter(function(i){
return !player.hasSkill(i);
});
if(!list.length) return 0;
return 1+Math.random();
});
'step 1'

View File

@ -1,6 +1,6 @@
window.noname_update={
version:'1.9.100.7',
update:'1.9.100.6.1',
version:'1.9.100.7.1',
update:'1.9.100.7',
changeLog:[
'神山识',
'bug修复',
@ -19,24 +19,24 @@ window.noname_update={
//'card/yunchou.js',
//'card/zhenfa.js',
//'card/zhulu.js',
'character/diy.js',
//'character/diy.js',
'character/extra.js',
//'character/hearth.js',
//'character/gujian.js',
//'character/gwent.js',
//'character/hearth.js',
'character/mobile.js',
//'character/mobile.js',
//'character/mtg.js',
//'character/old.js',
'character/refresh.js',
//'character/refresh.js',
//'character/shenhua.js',
'character/sp.js',
//'character/sp.js',
//'character/tw.js',
//'character/standard.js',
//'character/swd.js',
//'character/xianjian.js',
//'character/xinghuoliaoyuan.js',
'character/yijiang.js',
//'character/yijiang.js',
//'character/yxs.js',
//'extension/boss/extension.js',
//'layout/default/layout.css',
@ -47,11 +47,11 @@ window.noname_update={
//'mode/chess.js',
//'mode/tafang.js',
//'mode/single.js',
'mode/stone.js',
'mode/brawl.js',
//'mode/stone.js',
//'mode/brawl.js',
//'mode/versus.js',
'mode/boss.js',
'game/game.js',
//'mode/boss.js',
//'game/game.js',
//'game/NoSleep.js',
//'game/config.js',
//'game/package.js',