Add files via upload
|
@ -1588,6 +1588,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
logTarget:'target',
|
||||
check:function(event,player){
|
||||
if(get.attitude(player,event.target)>0) return true;
|
||||
var target=event.target;
|
||||
return target.countCards('h')==0||!target.hasSkillTag('noh');
|
||||
},
|
||||
filter:function(event,player){
|
||||
|
|
|
@ -15,7 +15,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
connect:true,
|
||||
character:{
|
||||
re_xusheng:['male','wu',4,['repojun']],
|
||||
re_wuguotai:['male','wu',3,['reganlu','buyi']],
|
||||
re_wuguotai:['female','wu',3,['reganlu','buyi']],
|
||||
re_gaoshun:['male','qun',4,['rexianzhen','rejinjiu']],
|
||||
re_caocao:['male','wei',4,['new_rejianxiong','hujia'],['zhu']],
|
||||
re_simayi:['male','wei',3,['refankui','reguicai']],
|
||||
|
@ -299,8 +299,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
return player.storage.repojun2&&player.storage.repojun2.length>0;
|
||||
},
|
||||
content:function(){
|
||||
player.removeSkill('repojun2');
|
||||
game.log(player,'收回了'+get.cnNumber(player.gain(player.storage.repojun2,'draw','fromStorage').cards.length)+'张〖破军〗牌');
|
||||
player.storage.repojun2.length=0;
|
||||
player.removeSkill('repojun2');
|
||||
},
|
||||
intro:{
|
||||
onunmark:'throw',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
window.noname_asset_list=[
|
||||
'1.9.98.3',
|
||||
'1.9.98.3.1',
|
||||
'audio/background/aozhan_chaoming.mp3',
|
||||
'audio/background/aozhan_online.mp3',
|
||||
'audio/background/aozhan_rewrite.mp3',
|
||||
|
@ -2407,7 +2407,12 @@ window.noname_asset_list=[
|
|||
'image/card/kuwu.png',
|
||||
'image/card/jiuwei.png',
|
||||
'image/card/mianju.png',
|
||||
'image/card/shoulijian.png',
|
||||
'image/card/shoulijian.png','image/card/rewrite_bagua.png',
|
||||
'image/card/rewrite_baiyin.png',
|
||||
'image/card/rewrite_lanyinjia.png',
|
||||
'image/card/rewrite_renwang.png',
|
||||
'image/card/rewrite_tengjia.png',
|
||||
'image/card/rewrite_zhuge.png',
|
||||
|
||||
'image/card/bagua.png',
|
||||
'image/card/baihupifeng.png',
|
||||
|
@ -2839,7 +2844,6 @@ window.noname_asset_list=[
|
|||
'image/character/re_wuguotai.jpg',
|
||||
'image/character/re_xusheng.jpg',
|
||||
'image/character/zhangyì.jpg',
|
||||
'image/character/gz_wuguotai.jpg',
|
||||
|
||||
'image/character/baiwuchang.jpg',
|
||||
'image/character/baosanniang.jpg',
|
||||
|
@ -3762,22 +3766,23 @@ window.noname_asset_list=[
|
|||
'image/emotion/zhenji_emotion/19.gif',
|
||||
'image/emotion/zhenji_emotion/20.gif',
|
||||
|
||||
'image/mode/boss/card/chixueqingfeng.jpg',
|
||||
'image/mode/boss/card/chiyanzhenhunqin.jpg',
|
||||
'image/mode/boss/card/guilongzhanyuedao.jpg',
|
||||
'image/mode/boss/card/guofengyupao.jpg',
|
||||
'image/mode/boss/card/chixueqingfeng.png',
|
||||
'image/mode/boss/card/chiyanzhenhunqin.png',
|
||||
'image/mode/boss/card/guilongzhanyuedao.png',
|
||||
'image/mode/boss/card/guofengyupao.png',
|
||||
'image/mode/boss/card/honghuangzhili.png',
|
||||
'image/mode/boss/card/hongmianbaihuapao.jpg',
|
||||
'image/mode/boss/card/juechenjinge.jpg',
|
||||
'image/mode/boss/card/linglongshimandai.jpg',
|
||||
'image/mode/boss/card/qimenbagua.jpg',
|
||||
'image/mode/boss/card/hongmianbaihuapao.png',
|
||||
'image/mode/boss/card/juechenjinge.png',
|
||||
'image/mode/boss/card/linglongshimandai.png',
|
||||
'image/mode/boss/card/qimenbagua.png',
|
||||
'image/mode/boss/card/sadouchengbing.png',
|
||||
'image/mode/boss/card/shufazijinguan.jpg',
|
||||
'image/mode/boss/card/wushuangfangtianji.jpg',
|
||||
'image/mode/boss/card/xiuluolianyuji.jpg',
|
||||
'image/mode/boss/card/xuwangzhimian.jpg',
|
||||
'image/mode/boss/card/shufazijinguan.png',
|
||||
'image/mode/boss/card/wushuangfangtianji.png',
|
||||
'image/mode/boss/card/xiuluolianyuji.png',
|
||||
'image/mode/boss/card/xuwangzhimian.png',
|
||||
'image/mode/boss/card/yihuajiemu.png',
|
||||
'image/mode/boss/card/qicaishenlu.jpg',
|
||||
'image/mode/boss/card/qicaishenlu.png',
|
||||
'image/mode/boss/card/longfenghemingjian.png',
|
||||
|
||||
'image/mode/boss/character/boss_bianchengwang.jpg',
|
||||
'image/mode/boss/character/boss_chujiangwang.jpg',
|
||||
|
|
|
@ -1,40 +1,38 @@
|
|||
window.noname_update={
|
||||
version:'1.9.98.3',
|
||||
update:'1.9.98.2.4',
|
||||
version:'1.9.98.3.1',
|
||||
update:'1.9.98.3',
|
||||
changeLog:[
|
||||
'贾逵,张翼,界一将成名',
|
||||
'特效接口(只有接口,没有特效)',
|
||||
'bug修复',
|
||||
],
|
||||
files:[
|
||||
'card/extra.js',
|
||||
'card/huanlekapai.js',
|
||||
//'card/extra.js',
|
||||
//'card/huanlekapai.js',
|
||||
//'card/sp.js',
|
||||
'card/standard.js',
|
||||
//'card/swd.js',
|
||||
//'card/mtg.js',
|
||||
//'card/guozhan.js',
|
||||
//'card/gwent.js',
|
||||
'card/zhenfa.js',
|
||||
//'card/zhenfa.js',
|
||||
//'card/zhulu.js',
|
||||
'character/diy.js',
|
||||
'character/extra.js',
|
||||
//'character/diy.js',
|
||||
//'character/extra.js',
|
||||
//'character/hearth.js',
|
||||
'character/gujian.js',
|
||||
//'character/gujian.js',
|
||||
//'character/gwent.js',
|
||||
'character/hearth.js',
|
||||
'character/mobile.js',
|
||||
'character/mtg.js',
|
||||
'character/old.js',
|
||||
//'character/hearth.js',
|
||||
//'character/mobile.js',
|
||||
//'character/mtg.js',
|
||||
//'character/old.js',
|
||||
'character/refresh.js',
|
||||
'character/shenhua.js',
|
||||
'character/sp.js',
|
||||
'character/tw.js',
|
||||
'character/standard.js',
|
||||
'character/swd.js',
|
||||
//'character/shenhua.js',
|
||||
//'character/sp.js',
|
||||
//'character/tw.js',
|
||||
//'character/standard.js',
|
||||
//'character/swd.js',
|
||||
//'character/xianjian.js',
|
||||
'character/xinghuoliaoyuan.js',
|
||||
'character/yijiang.js',
|
||||
//'character/xinghuoliaoyuan.js',
|
||||
//'character/yijiang.js',
|
||||
//'character/yxs.js',
|
||||
//'extension/boss/extension.js',
|
||||
//'layout/default/layout.css',
|
||||
|
@ -49,7 +47,7 @@ window.noname_update={
|
|||
//'mode/brawl.js',
|
||||
//'mode/versus.js',
|
||||
'mode/boss.js',
|
||||
'game/game.js',
|
||||
//'game/game.js',
|
||||
//'game/NoSleep.js',
|
||||
//'game/config.js',
|
||||
//'game/package.js',
|
||||
|
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 161 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 113 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 114 KiB |
202
mode/boss.js
|
@ -474,6 +474,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
card:{
|
||||
"wushuangfangtianji":{
|
||||
type:"equip",
|
||||
modeimage:'boss',
|
||||
subtype:"equip1",
|
||||
distance:{
|
||||
attackFrom:-3,
|
||||
|
@ -481,205 +482,47 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
ai:{
|
||||
basic:{
|
||||
equipValue:2.5,
|
||||
order:function(card,player){
|
||||
if(player&&player.hasSkillTag('reverseEquip')){
|
||||
return 8.5-get.equipValue(card,player)/20;
|
||||
}
|
||||
else{
|
||||
return 8+get.equipValue(card,player)/20;
|
||||
}
|
||||
},
|
||||
useful:2,
|
||||
value:function(card,player){
|
||||
var value=0;
|
||||
var info=get.info(card);
|
||||
var current=player.getEquip(info.subtype);
|
||||
if(current&&card!=current){
|
||||
value=get.value(current,player);
|
||||
}
|
||||
var equipValue=info.ai.equipValue;
|
||||
if(equipValue==undefined){
|
||||
equipValue=info.ai.basic.equipValue;
|
||||
}
|
||||
if(typeof equipValue=='function') return equipValue(card,player)-value;
|
||||
if(typeof equipValue!='number') equipValue=0;
|
||||
return equipValue-value;
|
||||
},
|
||||
},
|
||||
result:{
|
||||
target:function(player,target){
|
||||
return get.equipResult(player,target,name);
|
||||
},
|
||||
},
|
||||
},
|
||||
skills:["wushuangfangtianji_skill"],
|
||||
enable:true,
|
||||
selectTarget:-1,
|
||||
filterTarget:function(card,player,target){
|
||||
return target==player;
|
||||
},
|
||||
modTarget:true,
|
||||
allowMultiple:false,
|
||||
content:function(){
|
||||
target.equip(card);
|
||||
},
|
||||
toself:true,
|
||||
fullimage:true,
|
||||
fullskin:true,
|
||||
},
|
||||
"shufazijinguan":{
|
||||
type:"equip",
|
||||
subtype:"equip5",
|
||||
modeimage:'boss',
|
||||
ai:{
|
||||
basic:{
|
||||
equipValue:9,
|
||||
order:function (card,player){
|
||||
if(player&&player.hasSkillTag('reverseEquip')){
|
||||
return 8.5-get.equipValue(card,player)/20;
|
||||
}
|
||||
else{
|
||||
return 8+get.equipValue(card,player)/20;
|
||||
}
|
||||
},
|
||||
useful:2,
|
||||
value:function (card,player){
|
||||
var value=0;
|
||||
var info=get.info(card);
|
||||
var current=player.getEquip(info.subtype);
|
||||
if(current&&card!=current){
|
||||
value=get.value(current,player);
|
||||
}
|
||||
var equipValue=info.ai.equipValue;
|
||||
if(equipValue==undefined){
|
||||
equipValue=info.ai.basic.equipValue;
|
||||
}
|
||||
if(typeof equipValue=='function') return equipValue(card,player)-value;
|
||||
if(typeof equipValue!='number') equipValue=0;
|
||||
return equipValue-value;
|
||||
},
|
||||
},
|
||||
result:{
|
||||
target:function(player,target){
|
||||
return get.equipResult(player,target,name);
|
||||
},
|
||||
},
|
||||
},
|
||||
skills:["shufazijinguan_skill"],
|
||||
enable:true,
|
||||
selectTarget:-1,
|
||||
filterTarget:function (card,player,target){
|
||||
return target==player;
|
||||
},
|
||||
modTarget:true,
|
||||
allowMultiple:false,
|
||||
content:function (){
|
||||
target.equip(card);
|
||||
},
|
||||
toself:true,
|
||||
fullimage:true,
|
||||
fullskin:true,
|
||||
},
|
||||
"hongmianbaihuapao":{
|
||||
type:"equip",
|
||||
subtype:"equip2",
|
||||
modeimage:'boss',
|
||||
ai:{
|
||||
basic:{
|
||||
equipValue:7,
|
||||
order:function(card,player){
|
||||
if(player&&player.hasSkillTag('reverseEquip')){
|
||||
return 8.5-get.equipValue(card,player)/20;
|
||||
}
|
||||
else{
|
||||
return 8+get.equipValue(card,player)/20;
|
||||
}
|
||||
},
|
||||
useful:2,
|
||||
value:function(card,player){
|
||||
var value=0;
|
||||
var info=get.info(card);
|
||||
var current=player.getEquip(info.subtype);
|
||||
if(current&&card!=current){
|
||||
value=get.value(current,player);
|
||||
}
|
||||
var equipValue=info.ai.equipValue;
|
||||
if(equipValue==undefined){
|
||||
equipValue=info.ai.basic.equipValue;
|
||||
}
|
||||
if(typeof equipValue=='function') return equipValue(card,player)-value;
|
||||
if(typeof equipValue!='number') equipValue=0;
|
||||
return equipValue-value;
|
||||
},
|
||||
},
|
||||
result:{
|
||||
target:function(player,target){
|
||||
return get.equipResult(player,target,name);
|
||||
},
|
||||
},
|
||||
},
|
||||
skills:["hongmianbaihuapao_skill"],
|
||||
enable:true,
|
||||
selectTarget:-1,
|
||||
filterTarget:function(card,player,target){
|
||||
return target==player;
|
||||
},
|
||||
modTarget:true,
|
||||
allowMultiple:false,
|
||||
content:function(){
|
||||
target.equip(card);
|
||||
},
|
||||
toself:true,
|
||||
fullimage:true,
|
||||
fullskin:true,
|
||||
},
|
||||
"linglongshimandai":{
|
||||
type:"equip",
|
||||
subtype:"equip2",
|
||||
modeimage:'boss',
|
||||
ai:{
|
||||
basic:{
|
||||
equipValue:7.5,
|
||||
order:function(card,player){
|
||||
if(player&&player.hasSkillTag('reverseEquip')){
|
||||
return 8.5-get.equipValue(card,player)/20;
|
||||
}
|
||||
else{
|
||||
return 8+get.equipValue(card,player)/20;
|
||||
}
|
||||
},
|
||||
useful:2,
|
||||
value:function(card,player){
|
||||
var value=0;
|
||||
var info=get.info(card);
|
||||
var current=player.getEquip(info.subtype);
|
||||
if(current&&card!=current){
|
||||
value=get.value(current,player);
|
||||
}
|
||||
var equipValue=info.ai.equipValue;
|
||||
if(equipValue==undefined){
|
||||
equipValue=info.ai.basic.equipValue;
|
||||
}
|
||||
if(typeof equipValue=='function') return equipValue(card,player)-value;
|
||||
if(typeof equipValue!='number') equipValue=0;
|
||||
return equipValue-value;
|
||||
},
|
||||
},
|
||||
result:{
|
||||
target:function(player,target){
|
||||
return get.equipResult(player,target,name);
|
||||
},
|
||||
},
|
||||
},
|
||||
skills:["linglongshimandai_skill"],
|
||||
enable:true,
|
||||
selectTarget:-1,
|
||||
filterTarget:function(card,player,target){
|
||||
return target==player;
|
||||
fullskin:true,
|
||||
},
|
||||
modTarget:true,
|
||||
allowMultiple:false,
|
||||
content:function(){
|
||||
target.equip(card);
|
||||
},
|
||||
toself:true,
|
||||
fullimage:true,
|
||||
},
|
||||
|
||||
sadouchengbing:{
|
||||
fullskin:true,
|
||||
type:'trick',
|
||||
|
@ -782,7 +625,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
guilongzhanyuedao:{
|
||||
type:'equip',
|
||||
fullimage:true,
|
||||
fullskin:true,
|
||||
modeimage:'boss',
|
||||
subtype:'equip1',
|
||||
distance:{attackFrom:-2},
|
||||
skills:['guilongzhanyuedao'],
|
||||
|
@ -795,7 +639,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
guofengyupao:{
|
||||
type:'equip',
|
||||
fullimage:true,
|
||||
fullskin:true,
|
||||
modeimage:'boss',
|
||||
subtype:'equip2',
|
||||
nomod:true,
|
||||
nopower:true,
|
||||
|
@ -807,7 +652,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
qimenbagua:{
|
||||
type:'equip',
|
||||
fullimage:true,
|
||||
fullskin:true,
|
||||
modeimage:'boss',
|
||||
subtype:'equip2',
|
||||
skills:['qimenbagua'],
|
||||
nomod:true,
|
||||
|
@ -819,7 +665,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
chixueqingfeng:{
|
||||
type:'equip',
|
||||
fullimage:true,
|
||||
fullskin:true,
|
||||
modeimage:'boss',
|
||||
subtype:'equip1',
|
||||
distance:{attackFrom:-1},
|
||||
skills:['chixueqingfeng'],
|
||||
|
@ -832,8 +679,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
chiyanzhenhunqin:{
|
||||
type:'equip',
|
||||
fullimage:true,
|
||||
fullskin:true,
|
||||
subtype:'equip1',
|
||||
modeimage:'boss',
|
||||
distance:{attackFrom:-3},
|
||||
skills:['chiyanzhenhunqin'],
|
||||
nomod:true,
|
||||
|
@ -845,7 +693,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
juechenjinge:{
|
||||
type:'equip',
|
||||
fullimage:true,
|
||||
fullskin:true,
|
||||
modeimage:'boss',
|
||||
subtype:'equip3',
|
||||
skills:['juechenjinge'],
|
||||
nomod:true,
|
||||
|
@ -857,8 +706,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
xiuluolianyuji:{
|
||||
type:'equip',
|
||||
fullimage:true,
|
||||
fullskin:true,
|
||||
subtype:'equip1',
|
||||
modeimage:'boss',
|
||||
distance:{attackFrom:-3},
|
||||
skills:['xiuluolianyuji'],
|
||||
nomod:true,
|
||||
|
@ -870,8 +720,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
xuwangzhimian:{
|
||||
type:'equip',
|
||||
fullimage:true,
|
||||
fullskin:true,
|
||||
subtype:'equip5',
|
||||
modeimage:'boss',
|
||||
skills:['xuwangzhimian'],
|
||||
nomod:true,
|
||||
nopower:true,
|
||||
|
@ -883,7 +734,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
longfenghemingjian:{
|
||||
type:'equip',
|
||||
fullskin:true,
|
||||
cardimage:'feilongduofeng',
|
||||
modeimage:'boss',
|
||||
subtype:'equip1',
|
||||
distance:{attackFrom:-2},
|
||||
skills:['longfenghemingjian'],
|
||||
|
@ -895,7 +746,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
qicaishenlu:{
|
||||
fullimage:true,
|
||||
fullskin:true,
|
||||
modeimage:'boss',
|
||||
type:'equip',
|
||||
subtype:'equip4',
|
||||
distance:{globalFrom:-1},
|
||||
|
|
|
@ -4834,6 +4834,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
unique:true,
|
||||
forceunique:true,
|
||||
enable:'phaseUse',
|
||||
usable:1,
|
||||
filterCard:function(card){
|
||||
return get.name(card)!='taipingyaoshu'&&get.color(card)=='red';
|
||||
},
|
||||
|
|