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

View File

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