Compare commits

..

No commits in common. "47464597141e8104b9b520ef17faa323e866f2bd" and "bc94e6d169ccc8f27b40236ed21ad12622749517" have entirely different histories.

44 changed files with 3104 additions and 2620 deletions

View File

@ -873,10 +873,11 @@ action
| disableShop_s | disableShop_s
| follow_s | follow_s
| unfollow_s | unfollow_s
| setanimate_s
| deleteanimate_s
| playanimate_s
| clearanimate_s
| animate_s | animate_s
| animateResize_s
| pauseAnimate_s
| remuseAnimate_s
| animate_1_s | animate_1_s
| stopAnimate_s | stopAnimate_s
| vibrate_s | vibrate_s
@ -1073,98 +1074,6 @@ if (block.isCollapsed() || !block.isEnabled() || pos || Int_0 || Bool_0) {
return code+',\n'; return code+',\n';
*/; */;
animationDrawable_s
: '帧动画' '总显示帧数' IntString '底色' ColorString? Colour '底色不透明度' IntString? BGNL?Newline
'图片序列同一帧后面覆盖先前的默认起始帧为0结束帧为最后一帧)'BGNL?Newline
'(剪裁区域不填写为全图,绘制区域不填写为全画面)'BGNL?Newline
'(不透明度100为不透明默认为不透明结束不透明度默认与开始透明度相同'BGNL?Newline
animationDrawableimage+? Newline
'音频序列(到达对应帧进行播放)'BGNL?Newline
animationDrawablesound+? Newline
/* animationDrawable_s
tooltip : animationDrawable帧动画图片叠加
helpUrl : /_docs/#/instruction
default : [30,"0, 0, 0",'rgb(0, 0, 0)',""]
allImages : ['EvalString_0']
colour : this.imageColor
if (IntString_1&&(IntString_1 < 0||IntString_1>100)) throw new Error('透明度范围为0-100,0为透明100为不透明,不填默认为不透明')
ColorString_0 = ColorString_0 ? (', "color": ['+ColorString_0+']') : '';
IntString_1 = IntString_1 ? (', "globalAlpha": '+IntString_1+'') : '';
var imageList=animationDrawableimage_0?',"imageList": [\n'+animationDrawableimage_0.slice(0,-1)+'\n]':''
var soundList=animationDrawablesound_0?',"soundList": [\n'+animationDrawablesound_0.slice(0,-1)+'\n]':''
var code = '{"type": "animationDrawable", "allFarme": '+IntString_0+ColorString_0+IntString_1+imageList+soundList+'},\n';
return code;
*/;
animationDrawableList
: animationDrawableimage
| animationDrawablesound
| animationDrawabletextEmpty;
animationDrawableimage
: '图片' EvalString? '起始帧' IntString? '起始不透明度' IntString? BGNL? Newline
'剪裁坐标cx' IntString? 'cy' IntString? '宽' IntString? '高' IntString? '绘制坐标x'IntString? 'y' IntString? '宽' IntString? '高' IntString?'角度'IntString? BGNL? Newline
'结束帧' IntString? '结束不透明度' IntString? '剪裁坐标cx' IntString? 'cy' IntString? '宽' IntString? '高' IntString? '绘制坐标x'IntString? 'y' IntString? '宽' IntString? '高' IntString?'角度'IntString? Newline
/* animationDrawableimage
tooltip : 帧动画图片列表
helpUrl : /_docs/#/instruction
default : ["","","","","","","","","","","","","","","","","","","","","","",""]
colour : this.subColor
allImages : ['EvalString_0']
if (IntString_1&&(IntString_1 < 0||IntString_1>100)) throw new Error('不透明度范围为0-100,0为透明,100为不透明,不填默认为不透明')
if (IntString_11&&(IntString_12 < 0||IntString_12>100)) throw new Error('不透明度范围为0-100,0为透明,100为不透明,不填默认为不透明')
IntString_0 = IntString_0 ? (', "beforefarme": '+IntString_0+'') : '';
IntString_1 = IntString_1 ? (', "globalAlpha": '+IntString_1+'') : '';
IntString_2 = IntString_2 ? (', "cx": '+IntString_2+'') : '';
IntString_3 = IntString_3 ? (', "cy": '+IntString_3+'') : '';
IntString_4 = IntString_4 ? (', "cw": '+IntString_4+'') : '';
IntString_5 = IntString_5 ? (', "ch": '+IntString_5+'') : '';
IntString_6 = IntString_6 ? (', "x": '+IntString_6+'') : '';
IntString_7 = IntString_7 ? (', "y": '+IntString_7+'') : '';
IntString_8 = IntString_8 ? (', "w": '+IntString_8+'') : '';
IntString_9 = IntString_9 ? (', "h": '+IntString_9+'') : '';
IntString_10 = IntString_10 ? (', "angle": '+IntString_10+'') : '';
IntString_11 = IntString_11 ? (', "afterfarme": '+IntString_11+'') : '';
IntString_12 = IntString_12 ? (', "aglobalAlpha": '+IntString_12+'') : '';
IntString_13 = IntString_13 ? (', "acx": '+IntString_13+'') : '';
IntString_14 = IntString_14 ? (', "acy": '+IntString_14+'') : '';
IntString_15 = IntString_15 ? (', "acw": '+IntString_15+'') : '';
IntString_16 = IntString_16 ? (', "ach": '+IntString_16+'') : '';
IntString_17 = IntString_17 ? (', "ax": '+IntString_17+'') : '';
IntString_18 = IntString_18 ? (', "ay": '+IntString_18+'') : '';
IntString_19 = IntString_19 ? (', "aw": '+IntString_19+'') : '';
IntString_20 = IntString_20 ? (', "ah": '+IntString_20+'') : '';
IntString_21 = IntString_21 ? (', "aangle": '+IntString_21+'') : '';
return '{ "image":"'+EvalString_0+'"'+IntString_0+IntString_1+IntString_2+IntString_3+IntString_4+IntString_5+IntString_6+IntString_7+IntString_8+IntString_9+IntString_10+IntString_11+IntString_12+IntString_13+IntString_14+IntString_15+IntString_16+IntString_17+IntString_18+IntString_19+IntString_20+IntString_21+'},'
*/;
animationDrawablesound
: '音效' EvalString? '起始帧' IntString '是否停止其他音效'Bool? Newline
/* animationDrawablesound
tooltip : 帧动画配音
helpUrl : /_docs/#/instruction
default : ["",0,false]
colour : this.subColor
allSounds : ['EvalString_0']
return '{ "sound":"'+EvalString_0+'","startfarme":'+IntString_0+',"stopbefore":'+Bool_0+'},'
*/;
animationDrawabletextEmpty
: Newline
/* animationDrawabletextEmpty
var code = [];
return code;
*/;
over_s over_s
: '旁白文字' ':' EvalString BGNL? Newline : '旁白文字' ':' EvalString BGNL? Newline
'背景' EvalString? '回忆滤镜' Bool? '持续帧数' Int? '渐入渐出帧数' Int? '音频文件' EvalString? BGNL? Newline '背景' EvalString? '回忆滤镜' Bool? '持续帧数' Int? '渐入渐出帧数' Int? '音频文件' EvalString? BGNL? Newline
@ -2094,10 +2003,10 @@ drawWarning_s
/* drawWarning_s /* drawWarning_s
tooltip : drawWarning: 绘制warning警告并拉进镜头,本事件为异步事件,下一事件将在3100ms后执行 tooltip : drawWarning: 绘制warning警告并拉进镜头,本事件为异步事件,下一事件将在3100ms后执行
helpUrl : /_docs/#/instruction helpUrl : /_docs/#/instruction
default : [0, 0,2,24,"这里是提示内容","绿色史莱姆",false] default : [0, 0,'2',24,"这里是提示内容","绿色史莱姆",false]
colour : this.soundColor colour : this.soundColor
selectPoint : ["PosString_0", "PosString_1"] selectPoint : ["PosString_0", "PosString_1"]
if(!EvalString_1||!/^(0|([1-9][0-9]*))(\.[\d]+)?$/.test(EvalString_0))throw new Error("此项仅能填写小数或整数"); if(!EvalString_1||!/^(0|([1-9][0-9]*))(\.[\d]+)?$/.test(EvalString_1))throw new Error("此项仅能填写小数或整数");
var code = '{"type": "drawWarning", "x": '+PosString_0+', "y": '+PosString_1+',"large":'+EvalString_0+',"size":'+Int_0+',"text": "'+EvalString_1+'", "text2": "'+EvalString_2+'", "warning": '+Bool_0+'},\n'; var code = '{"type": "drawWarning", "x": '+PosString_0+', "y": '+PosString_1+',"large":'+EvalString_0+',"size":'+Int_0+',"text": "'+EvalString_1+'", "text2": "'+EvalString_2+'", "warning": '+Bool_0+'},\n';
return code; return code;
*/; */;
@ -2363,6 +2272,138 @@ var code = '{"type": "vibrate", "direction": "'+Vibrate_List_0+'", "time": '+Int
return code; return code;
*/; */;
setanimate_s
: '新建 帧动画/特效' '名称' EvalString '参照点偏移像素x' IntString? 'y' IntString? '动画大小 宽' IntString '高' IntString '总帧数' IntString BGNL?Newline
'图片序列同一帧后面覆盖先前的默认起始帧为0结束帧为最后一帧)'BGNL?Newline
'(剪裁区域不填写为全图,绘制区域不填写为全画面)'BGNL?Newline
'(不透明度100为不透明默认为不透明结束透明度默认与开始不透明度相同'BGNL?Newline
animateDrawableimage+? Newline
'音频序列(到达对应帧进行播放)'BGNL?Newline
animateDrawablesound+? Newline
/* setanimate_s
tooltip : setanimate:设置帧动画/特效(此项仅储存,不播放)
helpUrl : /_docs/#/instruction
default : ["sword","","",192,192,60]
colour : this.imageColor
IntString_0 = IntString_0 ? (', "px": '+IntString_0+'') : '';
IntString_1 = IntString_1 ? (', "py": '+IntString_1+'') : '';
var imageList=animateDrawableimage_0?',"imageList": [\n'+animateDrawableimage_0.slice(0,-1)+'\n]':''
var soundList=animateDrawablesound_0?',"soundList": [\n'+animateDrawablesound_0.slice(0,-1)+'\n]':''
var code = '{"type": "setanimate", "name": "'+EvalString_0+'"'+IntString_0+IntString_1+' ,"width": '+IntString_2+', "height": '+IntString_3+', "allFarme": '+IntString_4+imageList+soundList+'},\n';
return code;
*/;
animateDrawableList
: animateDrawableimage
| animateDrawablesound
| animateDrawabletextEmpty;
animateDrawableimage
: '图片' EvalString? '起始帧' IntString? '起始不透明度' IntString? BGNL? Newline
'剪裁坐标cx' IntString? 'cy' IntString? '宽' IntString? '高' IntString? '绘制坐标x'IntString? 'y' IntString? '宽' IntString? '高' IntString?'旋转角度'IntString? BGNL? Newline
'结束帧' IntString? '结束不透明度' IntString? '剪裁坐标cx' IntString? 'cy' IntString? '宽' IntString? '高' IntString? '绘制坐标x'IntString? 'y' IntString? '宽' IntString? '高' IntString?'旋转角度'IntString? Newline
/* animateDrawableimage
tooltip : 帧动画图片列表
helpUrl : /_docs/#/instruction
default : ["","","","","","","","","","","","","","","","","","","","","","",""]
colour : this.subColor
allImages : ['EvalString_0']
if (IntString_1&&(IntString_1 < 0||IntString_1>100)) throw new Error('不透明度范围为0-100,0为透明,100为不透明,不填默认为不透明')
if (IntString_12&&(IntString_12 < 0||IntString_12>100)) throw new Error('不透明度范围为0-100,0为透明,100为不透明,不填默认为不透明')
IntString_0 = IntString_0 ? (', "beforefarme": '+IntString_0+'') : '';
IntString_1 = IntString_1 ? (', "globalAlpha": '+IntString_1+'') : '';
IntString_2 = IntString_2 ? (', "cx": '+IntString_2+'') : '';
IntString_3 = IntString_3 ? (', "cy": '+IntString_3+'') : '';
IntString_4 = IntString_4 ? (', "cw": '+IntString_4+'') : '';
IntString_5 = IntString_5 ? (', "ch": '+IntString_5+'') : '';
IntString_6 = IntString_6 ? (', "x": '+IntString_6+'') : '';
IntString_7 = IntString_7 ? (', "y": '+IntString_7+'') : '';
IntString_8 = IntString_8 ? (', "w": '+IntString_8+'') : '';
IntString_9 = IntString_9 ? (', "h": '+IntString_9+'') : '';
IntString_10 = IntString_10 ? (', "angle": '+IntString_10+'') : '';
IntString_11 = IntString_11 ? (', "afterfarme": '+IntString_11+'') : '';
IntString_12 = IntString_12 ? (', "aglobalAlpha": '+IntString_12+'') : '';
IntString_13 = IntString_13 ? (', "acx": '+IntString_13+'') : '';
IntString_14 = IntString_14 ? (', "acy": '+IntString_14+'') : '';
IntString_15 = IntString_15? (', "acw": '+IntString_15+'') : '';
IntString_16 = IntString_16 ? (', "ach": '+IntString_16+'') : '';
IntString_17 = IntString_17 ? (', "ax": '+IntString_17+'') : '';
IntString_18 = IntString_18 ? (', "ay": '+IntString_18+'') : '';
IntString_19 = IntString_19 ? (', "aw": '+IntString_19+'') : '';
IntString_20 = IntString_20 ? (', "ah": '+IntString_20+'') : '';
IntString_21 = IntString_21 ? (', "aangle": '+IntString_21+'') : '';
return '{ "image":"'+EvalString_0+'"'+IntString_0+IntString_1+IntString_2+IntString_3+IntString_4+IntString_5+IntString_6+IntString_7+IntString_8+IntString_9+IntString_10+IntString_11+IntString_12+IntString_13+IntString_14+IntString_15+IntString_16+IntString_17+IntString_18+IntString_19+IntString_20+IntString_21+'},'
*/;
animateDrawablesound
: '音效' EvalString? '起始帧' IntString '是否停止其他音效'Bool Newline
/* animateDrawablesound
tooltip : 帧动画配音
helpUrl : /_docs/#/instruction
default : ["",0,false]
colour : this.subColor
allSounds : ['EvalString_0']
return '{ "sound":"'+EvalString_0+'","startfarme":'+IntString_0+',"stopbefore":'+Bool_0+'},'
*/;
animateDrawabletextEmpty
: Newline
/* animateDrawabletextEmpty
var code = [];
return code;
*/;
deleteanimate_s
: '删除 帧动画/特效' '名称' EvalString Newline
/* deleteanimate_s
tooltip : deleteanimate:删除储存的帧动画
helpUrl : /_docs/#/instruction
default : ["zone"]
colour : this.imageColor
var code = '{"type": "deleteanimate", "name": "'+EvalString_0+'"},\n';
return code;
*/;
playanimate_s
: '播放 帧动画/特效' '名称' EvalString '像素x' IntString? 'y' IntString? '跟随勇士' Bool 'x方向缩放' EvalString? 'y方向缩放'EvalString? Newline
/* playanimate_s
tooltip : playanimate:播放帧动画选择跟随勇士后x、y将失效改为勇士中心坐标
helpUrl : /_docs/#/instruction
default : ["zone","","",false,"",""]
colour : this.imageColor
IntString_0 = IntString_0 ? (', "x": '+IntString_0+'') : '';
IntString_1 = IntString_1 ? (', "y": '+IntString_1+'') : '';
if(EvalString_1&&!/^(0|([1-9][0-9]*))(\.[\d]+)?$/.test(EvalString_1))throw new Error("此项仅能填写小数、整数或不填");
if(EvalString_2&&!/^(0|([1-9][0-9]*))(\.[\d]+)?$/.test(EvalString_2))throw new Error("此项仅能填写小数、整数或不填");
EvalString_1 = EvalString_1 ? (', "scalex": '+EvalString_1+'') : '';
EvalString_2 = EvalString_2 ? (', "scaley": '+EvalString_2+'') : '';
var code = '{"type": "playanimate", "name": "'+EvalString_0+'"'+IntString_0+IntString_1+',"hero":'+Bool_0+EvalString_1+EvalString_2+'},\n';
return code;
*/;
clearanimate_s
: '清空正在播放的帧动画/特效'
/* clearanimate_s
tooltip : clearanimate:清空正在播放的帧动画
helpUrl : /_docs/#/instruction
colour : this.imageColor
var code = '{"type": "clearanimate"},\n';
return code;
*/;
animate_s animate_s
: '显示动画' EvalString '位置' 'x' PosString? 'y' PosString? '相对窗口坐标' Bool '不等待执行完毕' Bool Newline : '显示动画' EvalString '位置' 'x' PosString? 'y' PosString? '相对窗口坐标' Bool '不等待执行完毕' Bool Newline
@ -2398,71 +2439,16 @@ var code = '{"type": "animate", "name": "'+EvalString_0+'", "loc": "hero"'+Bool_
return code; return code;
*/; */;
animateResize_s
: '显示动画60Fps' EvalString '编号'PosString? '中心像素' 'x' PosString? 'y' PosString?'以勇士为中心' Bool'倒放' Bool'循环'Bool'不等待执行完毕' Bool Newline
/* animateResize_s
tooltip : animateResize显示动画并选择是否以勇士为中心及倒放以勇士为中心时中心像素坐标无效
helpUrl : /_docs/#/instruction
default : ["zone","","","",false,false,false,false]
allAnimates : ['EvalString_0']
previewBlock : true
material : ["./project/animates/", "EvalString_0"]
colour : this.soundColor
PosString_0 = PosString_0?', "id":'+PosString_0:'';
Bool_0 = Bool_0?', "hero": true':'';
if(!Bool_0){
if(PosString_1===""||PosString_2==="")throw new Error("中心像素坐标或以勇士为中心必须填写一项");
Bool_0=',"centerX":'+PosString_1+', "centerY":'+PosString_2
}
if(Bool_2&&!Bool_3 )throw new Error("循环必须与不等待执行完毕同时开启,否则将陷入死循环")
Bool_1 = Bool_1?', "reverse": true':'';
Bool_2 = Bool_2?', "loop": true':'';
Bool_3 = Bool_3?', "async": true':'';
var code = '{"type": "animateResize", "name": "'+EvalString_0+'"'+PosString_0+Bool_0+Bool_1+Bool_2+Bool_3+'},\n';
return code;
*/;
pauseAnimate_s
: '暂停动画编号'PosString?'(不填写编号为暂停所有)' Newline
/* pauseAnimate_s
tooltip : pauseAnimate暂停动画不填写编号为暂停所有
helpUrl : /_docs/#/instruction
default : ['']
colour : this.soundColor
PosString_0 = PosString_0?', "id":'+PosString_0:'';
var code = '{"type": "pauseAnimate"'+PosString_0+'},\n';
return code;
*/;
remuseAnimate_s
: '继续动画编号'PosString?'(不填写编号为继续所有)' Newline
/* remuseAnimate_s
tooltip : remuseAnimate继续动画不填写编号为继续所有
helpUrl : /_docs/#/instruction
default : ['']
colour : this.soundColor
PosString_0 = PosString_0?', "id":'+PosString_0:'';
var code = '{"type": "remuseAnimate"'+PosString_0+'},\n';
return code;
*/;
stopAnimate_s stopAnimate_s
: '停止动画编号'PosString?'(不填写编号为继续所有)' '执行动画回调' Bool Newline : '停止所有动画' '执行动画回调' Bool Newline
/* stopAnimate_s /* stopAnimate_s
tooltip : stopAnimate停止动画(不填写编号为继续所有) tooltip : stopAnimate停止所有动画
helpUrl : /_docs/#/instruction helpUrl : /_docs/#/instruction
default : ["",false] default : [false]
colour : this.soundColor colour : this.soundColor
PosString_0 = PosString_0?', "id":'+PosString_0:'';
Bool_0 = Bool_0?', "doCallback": true':''; Bool_0 = Bool_0?', "doCallback": true':'';
var code = '{"type": "stopAnimate"'+PosString_0+Bool_0+'},\n'; var code = '{"type": "stopAnimate"'+Bool_0+'},\n';
return code; return code;
*/; */;
@ -2734,6 +2720,95 @@ return code;
*/; */;
animationDrawable_s
: '帧动画' '总显示帧数' IntString '底色' ColorString? Colour '底色不透明度' IntString? BGNL?Newline
'图片序列同一帧后面覆盖先前的默认起始帧为0结束帧为最后一帧)'BGNL?Newline
'(剪裁区域不填写为全图,绘制区域不填写为全画面)'BGNL?Newline
'(不透明度100为不透明默认为不透明结束不透明度默认与开始透明度相同'BGNL?Newline
animationDrawableimage+? Newline
'音频序列(到达对应帧进行播放)'BGNL?Newline
animationDrawablesound+? Newline
/* animationDrawable_s
tooltip : animationDrawable帧动画图片叠加
helpUrl : /_docs/#/instruction
default : [30,"0, 0, 0",'rgb(0, 0, 0)',""]
allImages : ['EvalString_0']
colour : this.imageColor
if (IntString_1&&(IntString_1 < 0||IntString_1>100)) throw new Error('透明度范围为0-100,0为透明100为不透明,不填默认为不透明')
ColorString_0 = ColorString_0 ? (', "color": ['+ColorString_0+']') : '';
IntString_1 = IntString_1 ? (', "globalAlpha": '+IntString_1+'') : '';
var imageList=animationDrawableimage_0?',"imageList": [\n'+animationDrawableimage_0.slice(0,-1)+'\n]':''
var soundList=animationDrawablesound_0?',"soundList": [\n'+animationDrawablesound_0.slice(0,-1)+'\n]':''
var code = '{"type": "animationDrawable", "allFarme": '+IntString_0+ColorString_0+IntString_1+imageList+soundList+'},\n';
return code;
*/;
animationDrawableList
: animationDrawableimage
| animationDrawablesound
| animationDrawabletextEmpty;
animationDrawableimage
: '图片' EvalString? '起始帧' IntString? '起始不透明度' IntString? BGNL? Newline
'剪裁坐标cx' IntString? 'cy' IntString? '宽' IntString? '高' IntString? '绘制坐标x'IntString? 'y' IntString? '宽' IntString? '高' IntString? BGNL? Newline
'结束帧' IntString? '结束不透明度' IntString? '剪裁坐标cx' IntString? 'cy' IntString? '宽' IntString? '高' IntString? '绘制坐标x'IntString? 'y' IntString? '宽' IntString? '高' IntString? Newline
/* animationDrawableimage
tooltip : 帧动画图片列表
helpUrl : /_docs/#/instruction
default : ["","","","","","","","","","","","","","","","","","","","",""]
colour : this.subColor
allImages : ['EvalString_0']
if (IntString_1&&(IntString_1 < 0||IntString_1>100)) throw new Error('不透明度范围为0-100,0为透明,100为不透明,不填默认为不透明')
if (IntString_11&&(IntString_11 < 0||IntString_11>100)) throw new Error('不透明度范围为0-100,0为透明,100为不透明,不填默认为不透明')
IntString_0 = IntString_0 ? (', "beforefarme": '+IntString_0+'') : '';
IntString_1 = IntString_1 ? (', "globalAlpha": '+IntString_1+'') : '';
IntString_2 = IntString_2 ? (', "cx": '+IntString_2+'') : '';
IntString_3 = IntString_3 ? (', "cy": '+IntString_3+'') : '';
IntString_4 = IntString_4 ? (', "cw": '+IntString_4+'') : '';
IntString_5 = IntString_5 ? (', "ch": '+IntString_5+'') : '';
IntString_6 = IntString_6 ? (', "x": '+IntString_6+'') : '';
IntString_7 = IntString_7 ? (', "y": '+IntString_7+'') : '';
IntString_8 = IntString_8 ? (', "w": '+IntString_8+'') : '';
IntString_9 = IntString_9 ? (', "h": '+IntString_9+'') : '';
IntString_10 = IntString_10 ? (', "afterfarme": '+IntString_10+'') : '';
IntString_11 = IntString_11 ? (', "aglobalAlpha": '+IntString_11+'') : '';
IntString_12 = IntString_12 ? (', "acx": '+IntString_12+'') : '';
IntString_13 = IntString_13 ? (', "acy": '+IntString_13+'') : '';
IntString_14 = IntString_14 ? (', "acw": '+IntString_14+'') : '';
IntString_15 = IntString_15 ? (', "ach": '+IntString_15+'') : '';
IntString_16 = IntString_16 ? (', "ax": '+IntString_16+'') : '';
IntString_17 = IntString_17 ? (', "ay": '+IntString_17+'') : '';
IntString_18 = IntString_18 ? (', "aw": '+IntString_18+'') : '';
IntString_19 = IntString_19 ? (', "ah": '+IntString_19+'') : '';
return '{ "image":"'+EvalString_0+'"'+IntString_0+IntString_1+IntString_2+IntString_3+IntString_4+IntString_5+IntString_6+IntString_7+IntString_8+IntString_9+IntString_10+IntString_11+IntString_12+IntString_13+IntString_14+IntString_15+IntString_16+IntString_17+IntString_18+IntString_19+'},'
*/;
animationDrawablesound
: '音效' EvalString? '起始帧' IntString '是否停止其他音效'Bool? Newline
/* animationDrawablesound
tooltip : 帧动画配音
helpUrl : /_docs/#/instruction
default : ["",0,false]
colour : this.subColor
allSounds : ['EvalString_0']
return '{ "sound":"'+EvalString_0+'","startfarme":'+IntString_0+',"stopbefore":'+Bool_0+'},'
*/;
animationDrawabletextEmpty
: Newline
/* animationDrawabletextEmpty
var code = [];
return code;
*/;
setCurtain_0_s setCurtain_0_s
: '更改画面色调' ColorString Colour '动画时间' IntString? BGNL? Newline '渐变方式' MoveMode_List '持续到下一个本事件' Bool '不等待执行完毕' Bool Newline : '更改画面色调' ColorString Colour '动画时间' IntString? BGNL? Newline '渐变方式' MoveMode_List '持续到下一个本事件' Bool '不等待执行完毕' Bool Newline

View File

@ -729,6 +729,140 @@ MotaActionParser = function () {
this.next, this.next,
]); ]);
break; break;
case "setanimate":
var buildanimateDrawableimage = function (obj) {
obj = MotaActionFunctions.processanimateDrawableimage(obj || []);
var res = null;
for (var ii = obj.length - 1, one; (one = obj[ii]); ii--) {
res = MotaActionBlocks["animateDrawableimage"].xmlText([
one[0],
one[1],
one[2],
one[3],
one[4],
one[5],
one[6],
one[7],
one[8],
one[9],
one[10],
one[11],
one[12],
one[13],
one[14],
one[15],
one[16],
one[17],
one[18],
one[19],
one[20],
one[21],
one[22],
res,
]);
}
return res;
};
var buildanimateDrawablesound = function (obj) {
obj = MotaActionFunctions.processanimateDrawablesound(obj || []);
var res = null;
for (var ii = obj.length - 1, one; (one = obj[ii]); ii--) {
res = MotaActionBlocks["animateDrawablesound"].xmlText([
one[0],
one[1],
one[2],
res,
]);
}
return res;
};
this.next = MotaActionBlocks["setanimate_s"].xmlText([
data.name,
data.px,
data.py,
data.width,
data.height,
data.allFarme,
buildanimateDrawableimage(data.imageList),
buildanimateDrawablesound(data.soundList),
this.next,
]);
break;
case "clearanimate":
this.next = MotaActionBlocks["clearanimate_s"].xmlText([this.next]);
break;
case "deleteanimate":
this.next = MotaActionBlocks["deleteanimate_s"].xmlText([
data.name,
this.next,
]);
break;
case "playanimate":
this.next = MotaActionBlocks["playanimate_s"].xmlText([
data.name,
data.x,
data.y,
data.hero,
data.scalex,
data.scaley,
this.next,
]);
break;
case "animationDrawable":
var buildanimationDrawableimage = function (obj) {
obj = MotaActionFunctions.processanimationDrawableimage(obj || []);
var res = null;
for (var ii = obj.length - 1, one; (one = obj[ii]); ii--) {
res = MotaActionBlocks["animationDrawableimage"].xmlText([
one[0],
one[1],
one[2],
one[3],
one[4],
one[5],
one[6],
one[7],
one[8],
one[9],
one[10],
one[11],
one[12],
one[13],
one[14],
one[15],
one[16],
one[17],
one[18],
one[19],
one[20],
res,
]);
}
return res;
};
var buildanimationDrawablesound = function (obj) {
obj = MotaActionFunctions.processanimationDrawablesound(obj || []);
var res = null;
for (var ii = obj.length - 1, one; (one = obj[ii]); ii--) {
res = MotaActionBlocks["animationDrawablesound"].xmlText([
one[0],
one[1],
one[2],
res,
]);
}
return res;
};
this.next = MotaActionBlocks["animationDrawable_s"].xmlText([
data.allFarme,
data.color,
"rgba(" + data.color + ")",
data.globalAlpha,
buildanimationDrawableimage(data.imageList),
buildanimationDrawablesound(data.soundList),
this.next,
]);
break;
case "tip": case "tip":
this.next = MotaActionBlocks["tip_s"].xmlText([ this.next = MotaActionBlocks["tip_s"].xmlText([
@ -1017,64 +1151,6 @@ MotaActionParser = function () {
]); ]);
} }
break; break;
case "animationDrawable":
var buildanimationDrawableimage = function (obj) {
obj = MotaActionFunctions.processanimationDrawableimage(obj || []);
var res = null;
for (var ii = obj.length - 1, one; (one = obj[ii]); ii--) {
res = MotaActionBlocks["animationDrawableimage"].xmlText([
one[0],
one[1],
one[2],
one[3],
one[4],
one[5],
one[6],
one[7],
one[8],
one[9],
one[10],
one[11],
one[12],
one[13],
one[14],
one[15],
one[16],
one[17],
one[18],
one[19],
one[20],
one[21],
one[22],
res,
]);
}
return res;
};
var buildanimationDrawablesound = function (obj) {
obj = MotaActionFunctions.processanimationDrawablesound(obj || []);
var res = null;
for (var ii = obj.length - 1, one; (one = obj[ii]); ii--) {
res = MotaActionBlocks["animationDrawablesound"].xmlText([
one[0],
one[1],
one[2],
res,
]);
}
return res;
};
this.next = MotaActionBlocks["animationDrawable_s"].xmlText([
data.allFarme,
data.color,
"rgba(" + data.color + ")",
data.globalAlpha,
buildanimationDrawableimage(data.imageList),
buildanimationDrawablesound(data.soundList),
this.next,
]);
break;
case "jumpHero": // 跳跃勇士 case "jumpHero": // 跳跃勇士
if (data.dxy) { if (data.dxy) {
this.next = MotaActionBlocks["jumpHero_1_s"].xmlText([ this.next = MotaActionBlocks["jumpHero_1_s"].xmlText([
@ -1159,34 +1235,8 @@ MotaActionParser = function () {
]); ]);
} }
break; break;
case "animateResize": // 停止所有动画
this.next = MotaActionBlocks["animateResize_s"].xmlText([
data.name,
data.id||"",
data.centerX||"",
data.centerY||"",
data.hero||false,
data.reverse||false,
data.loop||false,
data.async || false,
this.next,
]);
break;
case "pauseAnimate": // 暂停所有动画
this.next = MotaActionBlocks["pauseAnimate_s"].xmlText([
data.id||"",
this.next,
]);
break;
case "remuseAnimate": // 继续所有动画
this.next = MotaActionBlocks["remuseAnimate_s"].xmlText([
data.id||"",
this.next,
]);
break;
case "stopAnimate": // 停止所有动画 case "stopAnimate": // 停止所有动画
this.next = MotaActionBlocks["stopAnimate_s"].xmlText([ this.next = MotaActionBlocks["stopAnimate_s"].xmlText([
data.id||"",
data.doCallback || false, data.doCallback || false,
this.next, this.next,
]); ]);
@ -2888,7 +2938,80 @@ MotaActionParser = function () {
}); });
return list; return list;
}; };
MotaActionFunctions.processanimationDrawableimage = function (overList) {
var list = [];
overList.forEach(function (one) {
list.push([
one.image,
one.beforefarme,
one.globalAlpha,
one.cx,
one.cy,
one.cw,
one.ch,
one.x,
one.y,
one.w,
one.h,
one.afterfarme,
one.aglobalAlpha,
one.acx,
one.acy,
one.acw,
one.ach,
one.ax,
one.ay,
one.aw,
one.ah,
]);
});
return list;
};
MotaActionFunctions.processanimationDrawablesound = function (overList) {
var list = [];
overList.forEach(function (one) {
list.push([one.sound, one.startfarme, one.stopbefore]);
});
return list;
};
MotaActionFunctions.processanimateDrawableimage = function (overList) {
var list = [];
overList.forEach(function (one) {
list.push([
one.image,
one.beforefarme,
one.globalAlpha,
one.cx,
one.cy,
one.cw,
one.ch,
one.x,
one.y,
one.w,
one.h,
one.angle,
one.afterfarme,
one.aglobalAlpha,
one.acx,
one.acy,
one.acw,
one.ach,
one.ax,
one.ay,
one.aw,
one.ah,
one.aangle,
]);
});
return list;
};
MotaActionFunctions.processanimateDrawablesound = function (overList) {
var list = [];
overList.forEach(function (one) {
list.push([one.sound, one.startfarme, one.stopbefore]);
});
return list;
};
MotaActionFunctions.processMultiLoc = function (EvalString_0, EvalString_1) { MotaActionFunctions.processMultiLoc = function (EvalString_0, EvalString_1) {
var floorstr = ""; var floorstr = "";
if (EvalString_0 && EvalString_1) { if (EvalString_0 && EvalString_1) {
@ -3162,45 +3285,6 @@ MotaActionParser = function () {
return str; return str;
}; };
MotaActionFunctions.processanimationDrawableimage = function (overList) {
var list = [];
overList.forEach(function (one) {
list.push([
one.image,
one.beforefarme,
one.globalAlpha,
one.cx,
one.cy,
one.cw,
one.ch,
one.x,
one.y,
one.w,
one.h,
one.angle,
one.afterfarme,
one.aglobalAlpha,
one.acx,
one.acy,
one.acw,
one.ach,
one.ax,
one.ay,
one.aw,
one.ah,
one.aangle
]);
});
return list;
};
MotaActionFunctions.processanimationDrawablesound = function (overList) {
var list = [];
overList.forEach(function (one) {
list.push([one.sound, one.startfarme, one.stopbefore]);
});
return list;
};
MotaActionFunctions.replaceFromName = function (str) { MotaActionFunctions.replaceFromName = function (str) {
if (!str || MotaActionFunctions.disableReplace) return str; if (!str || MotaActionFunctions.disableReplace) return str;
var map = {}, var map = {},

View File

@ -354,11 +354,6 @@ editor_blockly = function () {
editor.uievent.previewUI([{ type: "drawImage", image: obj.name, x: obj.loc[0], y: obj.loc[1] }]); editor.uievent.previewUI([{ type: "drawImage", image: obj.name, x: obj.loc[0], y: obj.loc[1] }]);
} }
break; break;
case 'animateResize_s': // 显示动画
if (obj.name && obj.centerX&&obj.centerY) {
editor.uievent.previewUI([{ type: "fillRect", x:obj.centerX-5, y: obj.centerY-5, width:10, height: 10, style:"#FF0000"}]);
}
break;
case 'setCurtain_0_s': // 更改色调 case 'setCurtain_0_s': // 更改色调
if (obj.color) { if (obj.color) {
editor.uievent.previewUI([{ type: "fillRect", x: 0, y: 0, width: core.__PIXELS__, height: core.__PIXELS__, style: obj.color }]); editor.uievent.previewUI([{ type: "fillRect", x: 0, y: 0, width: core.__PIXELS__, height: core.__PIXELS__, style: obj.color }]);

View File

@ -381,7 +381,7 @@ var comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
"_docs": "退化扣防", "_docs": "退化扣防",
"_data": "退化时勇士下降的防御力点数" "_data": "退化时勇士下降的防御力点数"
}, },
"damage": { "damage2": {
"_leaf": true, "_leaf": true,
"_type": "textarea", "_type": "textarea",
"_range": "thiseval==~~thiseval||thiseval==null", "_range": "thiseval==~~thiseval||thiseval==null",

View File

@ -1809,7 +1809,7 @@ events.prototype._action_animate = function (data, x, y, prefix) {
}; };
events.prototype._action_stopAnimate = function (data, x, y, prefix) { events.prototype._action_stopAnimate = function (data, x, y, prefix) {
core.stopAnimate(data.id, data.doCallback); core.stopAnimate(null, data.doCallback);
core.doAction(); core.doAction();
}; };

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"ratio":2,"bitmaps":["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAD6SURBVHhe7dQ9SsVAFAXg+MNTeAhaWCrWLsHGUlCwsHMXgo2NjZ31a1yBVtaCrSvQ1i24hSSegbuEBAS/Dw7M3JnqZEgHAAAAAAAAAAAAAP/NOI5rySI5GobhNDlJ9uuYqaXo9RR83Pf9U/KevGV/kxwkW+2D1FWmkmKXKfYuZf8k38lrZpeZHSaLusaU2ktOyRcp+zP5Sl6yv858t53VNaaWcrdT9mPSXvpHskrxO3XMnNpvJYW3F/+Q9XmNmVv7raT055R+n/VejZlbyt5M6VfJbdYbNWZureyUvkzOagQAAAAAAAAAAAAAAAAAAAAAAAAAAADwd3XdL135q9NaPZ6+AAAAAElFTkSuQmCC","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ4SURBVHhe7de7alRRFMbx3DSIgqiNIBJsBUUESyutBAsLO9/CWtL4BtorlgFBRGIEEQwxMSBiMWouGo2TCyaTC0lmJjM5ey+/HVfeYPZB8P+DNefsS/WdxZ5zugAAAAAAAAAAAAAAAAAAAID/lZkdVnX7ELmkkA+C1rU3xngthHBf1xsa9+1vQmcdhK7qUdAXFPh4URSjur+r6vdt6DQP/ZDqkkL/ZlZs6jqh8WnfghzU1UcOQlclmop3fBk5KPA+hXxRYb9LiWtsujR0Oe5b0Gke+hUF/TaFLtHrh29BDgr9jEJOoReqeur2RPfTvgWdpnzTG8yAQm6oYgq8uWfWLvaD1y+vkNko3G6FPJ9CT7ZbZpVVs9m1/Ydw3bchB3X9+dTxqVLwk4tmH1T1VnjlW5CDGj11/XDq+HTgfFwye/rVbKpmNjzDx1N2Cn8jhb+qF8mRObOX381m1sPww4od8y3IQZn3KPzdogjNyorZ8xmzaXX9cjOe8y3IxcNvNtq2OV41ezFrttYMv30ZOSn8dOavqBrjC3+PnfVGvOfLyE0P4HH6qhr9Zfbmp7p/Lg74EnJT+LdbeyGk4F/PhfhgMp7yJeSm9/yTavza2HyIYwuhPTRkvb6E3NT5fQr/2cRS2HhfDfVB/Qn7EnJLf7rq/pvTq6H9uRa2fBplSOGrTixvhdrUWqj7NMqi8HsV/shsLez5FMq004qXq+th14cok879/upO+FKp2GGfQll09PSsNOLVxXq85VMoUzr7F7fDIx+iTOnNR8fP2UGOnvKl8NPx8+RTPOpTKFt6CH4LAAAAAAAAAAAAAAAAAAAAAAAAAACAf1RX1x9x4x3SPdhnTAAAAABJRU5ErkJggg==","","","","","","","","","","","","","","","","","",""],"frame_max":5,"frames":[[[0,8,32,30,100]],[[0,-16,32,50,130]],[[0,-24,40,80,150]],[[0,-48,24,90,180],[1,-8,40,100,255]],[[0,-56,24,100,200],[1,-8,24,100,255]]],"se":{},"pitch":{}} {"ratio":2,"bitmaps":["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAD6SURBVHhe7dQ9SsVAFAXg+MNTeAhaWCrWLsHGUlCwsHMXgo2NjZ31a1yBVtaCrSvQ1i24hSSegbuEBAS/Dw7M3JnqZEgHAAAAAAAAAAAAAP/NOI5rySI5GobhNDlJ9uuYqaXo9RR83Pf9U/KevGV/kxwkW+2D1FWmkmKXKfYuZf8k38lrZpeZHSaLusaU2ktOyRcp+zP5Sl6yv858t53VNaaWcrdT9mPSXvpHskrxO3XMnNpvJYW3F/+Q9XmNmVv7raT055R+n/VejZlbyt5M6VfJbdYbNWZureyUvkzOagQAAAAAAAAAAAAAAAAAAAAAAAAAAADwd3XdL135q9NaPZ6+AAAAAElFTkSuQmCC","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ4SURBVHhe7de7alRRFMbx3DSIgqiNIBJsBUUESyutBAsLO9/CWtL4BtorlgFBRGIEEQwxMSBiMWouGo2TCyaTC0lmJjM5ey+/HVfeYPZB8P+DNefsS/WdxZ5zugAAAAAAAAAAAAAAAAAAAID/lZkdVnX7ELmkkA+C1rU3xngthHBf1xsa9+1vQmcdhK7qUdAXFPh4URSjur+r6vdt6DQP/ZDqkkL/ZlZs6jqh8WnfghzU1UcOQlclmop3fBk5KPA+hXxRYb9LiWtsujR0Oe5b0Gke+hUF/TaFLtHrh29BDgr9jEJOoReqeur2RPfTvgWdpnzTG8yAQm6oYgq8uWfWLvaD1y+vkNko3G6FPJ9CT7ZbZpVVs9m1/Ydw3bchB3X9+dTxqVLwk4tmH1T1VnjlW5CDGj11/XDq+HTgfFwye/rVbKpmNjzDx1N2Cn8jhb+qF8mRObOX381m1sPww4od8y3IQZn3KPzdogjNyorZ8xmzaXX9cjOe8y3IxcNvNtq2OV41ezFrttYMv30ZOSn8dOavqBrjC3+PnfVGvOfLyE0P4HH6qhr9Zfbmp7p/Lg74EnJT+LdbeyGk4F/PhfhgMp7yJeSm9/yTavza2HyIYwuhPTRkvb6E3NT5fQr/2cRS2HhfDfVB/Qn7EnJLf7rq/pvTq6H9uRa2fBplSOGrTixvhdrUWqj7NMqi8HsV/shsLez5FMq004qXq+th14cok879/upO+FKp2GGfQll09PSsNOLVxXq85VMoUzr7F7fDIx+iTOnNR8fP2UGOnvKl8NPx8+RTPOpTKFt6CH4LAAAAAAAAAAAAAAAAAAAAAAAAAACAf1RX1x9x4x3SPdhnTAAAAABJRU5ErkJggg==","","","","","","","","","","","","","","","","","",""],"frame_max":5,"frames":[[[0,8,32,30,100]],[[0,-16,32,50,130]],[[0,-24,40,80,150]],[[0,-48,24,90,180],[1,-8,40,100,255]],[[0,-56,24,100,200],[1,-8,24,100,255]]]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -911,7 +911,6 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"animates": [ "animates": [
"hand", "hand",
"jianji", "jianji",
"jianji2",
"sword", "sword",
"thunder", "thunder",
"yongchang", "yongchang",
@ -1940,6 +1939,10 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"type": "function", "type": "function",
"function": "function(){\ncore.getItem('book', 1);\ncore.getItem('fly', 1);\ncore.getItem('postman', 1);\ncore.getItem('I369', 1);\n}" "function": "function(){\ncore.getItem('book', 1);\ncore.getItem('fly', 1);\ncore.getItem('postman', 1);\ncore.getItem('I369', 1);\n}"
}, },
{
"type": "insert",
"name": "战斗动画特效注册"
},
{ {
"type": "insert", "type": "insert",
"name": "强制横屏" "name": "强制横屏"
@ -2125,7 +2128,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"animateSpeed": 300, "animateSpeed": 300,
"moveSpeed": 100, "moveSpeed": 100,
"statusCanvasRowsOnMobile": 3, "statusCanvasRowsOnMobile": 3,
"floorChangeTime": 0, "floorChangeTime": 500,
"yellowGem": 2 "yellowGem": 2
}, },
"flags": { "flags": {

View File

@ -1,16 +1,16 @@
var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
{ {
"greenSlime": {"name":"绿头怪","hp":64,"atk":32,"def":2,"money":0,"exp":1,"point":0,"special":[],"mdef":0,"spell":0,"speed":17}, "greenSlime": {"name":"绿头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"redSlime": {"name":"红头怪","hp":84,"atk":27,"def":6,"money":0,"exp":1,"point":0,"special":[],"value":null,"mdef":0,"spell":0,"speed":19}, "redSlime": {"name":"红头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"value":10,"mdef":0,"spell":0,"speed":1},
"blackSlime": {"name":"青头怪","hp":222,"atk":46,"def":10,"money":0,"exp":0,"point":0,"special":[],"mdef":0,"spell":0,"speed":15,"damage":null}, "blackSlime": {"name":"青头怪","hp":222,"atk":46,"def":10,"money":0,"exp":0,"point":0,"special":[],"mdef":0,"spell":0,"speed":15},
"slimelord": {"name":"怪王","hp":790,"atk":48,"def":8,"money":0,"exp":0,"point":0,"special":[],"mdef":0,"spell":0,"speed":20}, "slimelord": {"name":"怪王","hp":790,"atk":48,"def":8,"money":0,"exp":0,"point":0,"special":[],"mdef":0,"spell":0,"speed":20},
"bat": {"name":"小蝙蝠","hp":46,"atk":49,"def":0,"money":0,"exp":1,"point":0,"special":[1],"mdef":0,"speed":29,"spell":0}, "bat": {"name":"小蝙蝠","hp":100,"atk":50,"def":30,"money":2,"exp":0,"point":0,"special":[1],"mdef":0,"speed":15,"spell":0},
"bigBat": {"name":"大蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "bigBat": {"name":"大蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"redBat": {"name":"红蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"mdef":0,"spell":0,"speed":1}, "redBat": {"name":"红蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"mdef":0,"spell":0,"speed":1},
"vampire": {"name":"冥灵魔王","hp":888,"atk":888,"def":888,"money":888,"exp":888,"point":0,"special":[6],"n":8,"mdef":0,"spell":0,"speed":1}, "vampire": {"name":"冥灵魔王","hp":888,"atk":888,"def":888,"money":888,"exp":888,"point":0,"special":[6],"n":8,"mdef":0,"spell":0,"speed":1},
"skeleton": {"name":"骷髅人","hp":77,"atk":77,"def":7,"money":0,"exp":2,"point":0,"special":0,"mdef":0,"spell":0,"speed":17}, "skeleton": {"name":"骷髅人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"skeletonCaptain": {"name":"骷髅队长","hp":226,"atk":66,"def":1,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":18}, "skeletonCaptain": {"name":"骷髅队长","hp":226,"atk":66,"def":1,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":18},
"zombie": {"name":"兽人","hp":444,"atk":43,"def":9,"money":0,"exp":3,"point":0,"special":[],"mdef":0,"spell":0,"speed":27}, "zombie": {"name":"兽人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[22],"mdef":0,"spell":0,"speed":1},
"zombieKnight": {"name":"兽人武士","hp":10000,"atk":100,"def":100,"money":0,"exp":0,"point":0,"special":[22],"speed":10,"mdef":0,"damage2":20,"spell":0}, "zombieKnight": {"name":"兽人武士","hp":10000,"atk":100,"def":100,"money":0,"exp":0,"point":0,"special":[22],"speed":10,"mdef":0,"damage2":20,"spell":0},
"rock": {"name":"石头人","hp":50,"atk":50,"def":0,"money":3,"exp":0,"point":0,"special":3,"damage2":15,"mdef":0,"spell":0,"speed":1}, "rock": {"name":"石头人","hp":50,"atk":50,"def":0,"money":3,"exp":0,"point":0,"special":3,"damage2":15,"mdef":0,"spell":0,"speed":1},
"bluePriest": {"name":"初级法师","hp":108,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"mdef":0,"spell":270,"speed":12}, "bluePriest": {"name":"初级法师","hp":108,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"mdef":0,"spell":270,"speed":12},
@ -30,7 +30,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"skeletonKing": {"name":"骷髅王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "skeletonKing": {"name":"骷髅王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"evilHero": {"name":"迷失勇者","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "evilHero": {"name":"迷失勇者","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"demonPriest": {"name":"魔神法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "demonPriest": {"name":"魔神法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"goldHornSlime": {"name":"小恶魔","hp":126,"atk":48,"def":12,"money":0,"exp":2,"point":0,"special":0,"mdef":0,"spell":0,"speed":16}, "goldHornSlime": {"name":"金角怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"silverSlime": {"name":"银头怪","hp":100,"atk":120,"def":0,"money":15,"exp":0,"point":0,"special":14,"mdef":0,"spell":0,"speed":1}, "silverSlime": {"name":"银头怪","hp":100,"atk":120,"def":0,"money":15,"exp":0,"point":0,"special":14,"mdef":0,"spell":0,"speed":1},
"whiteHornSlime": {"name":"尖角怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0}, "whiteHornSlime": {"name":"尖角怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
"redSwordsman": {"name":"剑王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"mdef":0,"spell":0,"speed":1}, "redSwordsman": {"name":"剑王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"mdef":0,"spell":0,"speed":1},
@ -43,7 +43,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"evilBat": {"name":"邪恶蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "evilBat": {"name":"邪恶蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"silverSlimelord": {"name":"银怪王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "silverSlimelord": {"name":"银怪王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"goldSlimelord": {"name":"金怪王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "goldSlimelord": {"name":"金怪王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"skeletonWarrior": {"name":"骷髅士兵","hp":226,"atk":66,"def":1,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":18,"displayIdInBook":null}, "skeletonWarrior": {"name":"骷髅士兵","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"whiteSlimeman": {"name":"水银战士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "whiteSlimeman": {"name":"水银战士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"slimeman": {"name":"影子战士","hp":243,"atk":28,"def":5,"money":0,"exp":0,"point":0,"special":[],"atkValue":2,"defValue":3,"mdef":0,"spell":0,"speed":69}, "slimeman": {"name":"影子战士","hp":243,"atk":28,"def":5,"money":0,"exp":0,"point":0,"special":[],"atkValue":2,"defValue":3,"mdef":0,"spell":0,"speed":69},
"yellowGateKeeper": {"name":"初级卫兵","hp":80,"atk":25,"def":5,"money":3,"exp":1,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "yellowGateKeeper": {"name":"初级卫兵","hp":80,"atk":25,"def":5,"money":3,"exp":1,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
@ -53,7 +53,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"devilWarrior": {"name":"魔神武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "devilWarrior": {"name":"魔神武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"fairyEnemy": {"name":"仙子","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "fairyEnemy": {"name":"仙子","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"dragon": {"name":"魔龙","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"bigImage":null,"mdef":0,"spell":0,"speed":1}, "dragon": {"name":"魔龙","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"bigImage":null,"mdef":0,"spell":0,"speed":1},
"skeletonKnight": {"name":"骷髅武士","hp":330,"atk":113,"def":2,"money":0,"exp":4,"point":0,"special":0,"mdef":0,"spell":0,"speed":20}, "skeletonKnight": {"name":"骷髅武士","hp":330,"atk":113,"def":2,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":20},
"skeletonPresbyter": {"name":"骷髅巫师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "skeletonPresbyter": {"name":"骷髅巫师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
"ironRock": {"name":"铁面人","hp":111,"atk":97,"def":37,"money":0,"exp":0,"point":0,"special":[3],"mdef":0,"spell":0,"speed":14}, "ironRock": {"name":"铁面人","hp":111,"atk":97,"def":37,"money":0,"exp":0,"point":0,"special":[3],"mdef":0,"spell":0,"speed":14},
"grayRock": {"name":"灰色石头人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1}, "grayRock": {"name":"灰色石头人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":1},
@ -80,9 +80,5 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"bearDown": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"bigImage":"bear.png","mdef":0,"spell":0,"speed":1}, "bearDown": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"bigImage":"bear.png","mdef":0,"spell":0,"speed":1},
"bearLeft": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"mdef":0,"spell":0,"speed":1}, "bearLeft": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"mdef":0,"spell":0,"speed":1},
"bearRight": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"mdef":0,"spell":0,"speed":1}, "bearRight": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"mdef":0,"spell":0,"speed":1},
"bearUp": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"mdef":0,"spell":0,"speed":1}, "bearUp": {"name":"熊出没","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"faceIds":{"down":"bearDown","left":"bearLeft","right":"bearRight","up":"bearUp"},"mdef":0,"spell":0,"speed":1}
"E421": {"name":"蓝头怪","hp":104,"atk":33,"def":8,"money":0,"exp":1,"point":0,"special":[],"value":null,"mdef":0,"spell":0,"speed":19,"displayIdInBook":null},
"E422": {"name":"新敌人","hp":0,"atk":0,"def":0,"mdef":0,"speed":1,"money":0,"exp":0,"point":0,"special":[]},
"E425": {"name":"黄骷髅","hp":226,"atk":66,"def":1,"money":0,"exp":0,"point":0,"special":0,"mdef":0,"spell":0,"speed":18,"displayIdInBook":null},
"E426": {"name":"小偷","hp":377,"atk":53,"def":17,"mdef":0,"speed":34,"money":50,"exp":10,"point":0,"special":[],"spell":0}
} }

View File

@ -7737,6 +7737,648 @@ var events_c12a15a8_c380_4b28_8144_256cba95f760 =
] ]
} }
], ],
"战斗动画特效注册": [
{
"type": "setanimate",
"name": "sword",
"px": 48,
"py": 48,
"width": 192,
"height": 192,
"allFarme": 15,
"imageList": [
{
"image": "jianji.webp",
"beforefarme": 0,
"globalAlpha": 100,
"cx": 192,
"cy": 2112,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 3,
"acx": 192,
"acy": 2112,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "jianji.webp",
"beforefarme": 4,
"globalAlpha": 100,
"cx": 384,
"cy": 2112,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 6,
"acx": 384,
"acy": 2112,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "jianji.webp",
"beforefarme": 7,
"globalAlpha": 100,
"cx": 576,
"cy": 2112,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 9,
"acx": 576,
"acy": 2112,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "jianji.webp",
"beforefarme": 10,
"globalAlpha": 100,
"cx": 768,
"cy": 2112,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 12,
"acx": 768,
"acy": 2112,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "jianji.webp",
"beforefarme": 13,
"globalAlpha": 100,
"cx": 0,
"cy": 2304,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 15,
"acx": 0,
"acy": 2304,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
}
],
"soundList": [
{
"sound": "",
"startfarme": 0,
"stopbefore": false
}
]
},
{
"type": "setanimate",
"name": "Fire01",
"px": 48,
"py": 48,
"width": 192,
"height": 192,
"allFarme": 15,
"imageList": [
{
"image": "015-Fire01.webp",
"beforefarme": 0,
"globalAlpha": 100,
"cx": 192,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 3,
"acx": 192,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "015-Fire01.webp",
"beforefarme": 4,
"globalAlpha": 100,
"cx": 384,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 6,
"acx": 384,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "015-Fire01.webp",
"beforefarme": 7,
"globalAlpha": 100,
"cx": 576,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 9,
"acx": 576,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "015-Fire01.webp",
"beforefarme": 10,
"globalAlpha": 100,
"cx": 768,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 12,
"acx": 768,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "015-Fire01.webp",
"beforefarme": 13,
"globalAlpha": 100,
"cx": 960,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 15,
"acx": 960,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
}
],
"soundList": [
{
"sound": "",
"startfarme": 0,
"stopbefore": false
}
]
},
{
"type": "setanimate",
"name": "Fire02",
"px": 48,
"py": 48,
"width": 192,
"height": 192,
"allFarme": 15,
"imageList": [
{
"image": "015-Fire01.webp",
"beforefarme": 0,
"globalAlpha": 100,
"cx": 192,
"cy": 192,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 3,
"acx": 192,
"acy": 192,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "015-Fire01.webp",
"beforefarme": 4,
"globalAlpha": 100,
"cx": 384,
"cy": 192,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 6,
"acx": 384,
"acy": 192,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "015-Fire01.webp",
"beforefarme": 7,
"globalAlpha": 100,
"cx": 576,
"cy": 192,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 9,
"acx": 576,
"acy": 192,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "015-Fire01.webp",
"beforefarme": 10,
"globalAlpha": 100,
"cx": 768,
"cy": 192,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 12,
"acx": 768,
"acy": 192,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "015-Fire01.webp",
"beforefarme": 13,
"globalAlpha": 100,
"cx": 960,
"cy": 192,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 15,
"acx": 960,
"acy": 192,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
}
],
"soundList": [
{
"sound": "",
"startfarme": 0,
"stopbefore": false
}
]
},
{
"type": "setanimate",
"name": "005-Attack03",
"px": 48,
"py": 48,
"width": 192,
"height": 192,
"allFarme": 15,
"imageList": [
{
"image": "005-Attack03.webp",
"beforefarme": 0,
"globalAlpha": 100,
"cx": 0,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 3,
"acx": 0,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "005-Attack03.webp",
"beforefarme": 4,
"globalAlpha": 100,
"cx": 192,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 6,
"acx": 192,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "005-Attack03.webp",
"beforefarme": 7,
"globalAlpha": 100,
"cx": 384,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 9,
"acx": 384,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "005-Attack03.webp",
"beforefarme": 10,
"globalAlpha": 100,
"cx": 576,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 12,
"acx": 576,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "005-Attack03.webp",
"beforefarme": 13,
"globalAlpha": 100,
"cx": 768,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 15,
"acx": 768,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
}
],
"soundList": [
{
"sound": "",
"startfarme": 0,
"stopbefore": false
}
]
},
{
"type": "setanimate",
"name": "012-Heal01",
"px": 48,
"py": 48,
"width": 192,
"height": 192,
"allFarme": 15,
"imageList": [
{
"image": "012-Heal01.webp",
"beforefarme": 0,
"globalAlpha": 100,
"cx": 0,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 3,
"acx": 0,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "012-Heal01.webp",
"beforefarme": 4,
"globalAlpha": 100,
"cx": 192,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 6,
"acx": 192,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "012-Heal01.webp",
"beforefarme": 7,
"globalAlpha": 100,
"cx": 384,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 9,
"acx": 384,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "012-Heal01.webp",
"beforefarme": 10,
"globalAlpha": 100,
"cx": 576,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 12,
"acx": 576,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
},
{
"image": "012-Heal01.webp",
"beforefarme": 13,
"globalAlpha": 100,
"cx": 768,
"cy": 0,
"cw": 192,
"ch": 192,
"x": 0,
"y": 0,
"w": 96,
"h": 96,
"afterfarme": 15,
"acx": 768,
"acy": 0,
"acw": 192,
"ach": 192,
"ax": 0,
"ay": 0,
"aw": 96,
"ah": 96
}
],
"soundList": [
{
"sound": "",
"startfarme": 0,
"stopbefore": false
}
]
}
],
"chapter06": null, "chapter06": null,
"chapter07": null, "chapter07": null,
"chapter000001": [ "chapter000001": [

View File

@ -65,13 +65,6 @@ main.floors.changguan1=
6, 6,
0 0
] ]
},
"12,7": {
"floorId": "yiqu1",
"loc": [
0,
7
]
} }
}, },
"beforeBattle": {}, "beforeBattle": {},
@ -89,7 +82,7 @@ main.floors.changguan1=
[110265,110266,110267,110268, 0, 0, 0, 0, 0,110304,110305,110306,110307], [110265,110266,110267,110268, 0, 0, 0, 0, 0,110304,110305,110306,110307],
[110273,110274,110275,110276, 0, 0, 0, 0, 0,110116,110313,110314,110315], [110273,110274,110275,110276, 0, 0, 0, 0, 0,110116,110313,110314,110315],
[110281,110282,110283,110284, 0, 0, 0, 0, 0,110132, 0, 0, 0], [110281,110282,110283,110284, 0, 0, 0, 0, 0,110132, 0, 0, 0],
[110289,110290,110291,110292, 0, 0, 0, 0, 0, 0, 0, 0, 94], [110289,110290,110291,110292, 0, 0, 0, 0, 0, 0,10254,10248, 94],
[110297,110298,110299,110300, 0, 0, 0, 0, 0,110116, 0, 0, 0], [110297,110298,110299,110300, 0, 0, 0, 0, 0,110116, 0, 0, 0],
[110305,110306,110307,110308, 0, 0, 0, 0, 0,110261,110262,110262,110263], [110305,110306,110307,110308, 0, 0, 0, 0, 0,110261,110262,110262,110263],
[110313,110314,110315,110316,110122,110122, 0,110122,110122,110269,110270,110270,110271], [110313,110314,110315,110316,110122,110122, 0,110122,110122,110269,110270,110270,110271],

View File

@ -93,8 +93,8 @@ main.floors.changguan2=
[140193,210153,210156,143,71695, 0, 0, 0, 0, 0, 0, 0, 94], [140193,210153,210156,143,71695, 0, 0, 0, 0, 0, 0, 0, 94],
[140193,143,143,143, 0, 0, 0, 0, 0, 0, 0, 0, 0], [140193,143,143,143, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[140193,140193,130178,70130, 0, 0, 0, 0, 0, 0, 0,140,140], [140193,140193,130178,70130, 0, 0, 0, 0, 0, 0, 0,140,140],
[140193,140193,130178,40165,200199, 0, 0,71791, 0, 0,140192,140,140], [140193,140193,130178,40165,200199,71791,71791,71791, 0, 0,140192,140,140],
[140193,140193,130186,110114,110114, 93, 93, 0,143, 0,140192,140,140] [140193,140193,130186,110114,110114, 0,143,143,143, 0,140192,140,140]
], ],
"areas": "牢狱", "areas": "牢狱",
"bgmap": [ "bgmap": [
@ -125,7 +125,7 @@ main.floors.changguan2=
[140,140,140196,140202,200183, 0, 0, 0, 0, 0, 0, 0, 0], [140,140,140196,140202,200183, 0, 0, 0, 0, 0, 0, 0, 0],
[140,140,140194, 0,200191, 0, 0, 0, 0,71818,140184,140,140], [140,140,140194, 0,200191, 0, 0, 0, 0,71818,140184,140,140],
[140,140,140194, 0, 0, 0, 0, 0,71832,71833,140192,140,140], [140,140,140194, 0, 0, 0, 0, 0,71832,71833,140192,140,140],
[140,140,140194, 0,110117, 0, 0,140184,140,140,140,140,140] [140,140,140194, 0, 0,140184,140,140,140,140186,140192,140,140]
], ],
"bg2map": [ "bg2map": [
[ 0, 0, 0, 0, 0, 0, 0, 0,110293,110294,110294,110294,110294], [ 0, 0, 0, 0, 0, 0, 0, 0,110293,110294,110294,110294,110294],
@ -140,7 +140,7 @@ main.floors.changguan2=
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,70138, 0, 0, 0, 0, 0,71826, 0, 0, 0], [ 0, 0, 0,70138, 0, 0, 0, 0, 0,71826, 0, 0, 0],
[ 0, 0, 0,40173, 0, 0, 0,71799,71840,71841, 0, 0, 0] [ 0, 0, 0,40173, 0,71799,71799,71799,71840,71841, 0, 0, 0]
], ],
"fg2map": [ "fg2map": [

View File

@ -17,12 +17,9 @@ main.floors.chushi=
"name": "chapter0" "name": "chapter0"
}, },
{ {
"type": "choices", "type": "confirm",
"text": "要进行教程内容吗", "text": "要进行教程内容吗",
"choices": [ "yes": [
{
"text": "确定",
"action": [
{ {
"type": "changeFloor", "type": "changeFloor",
"floorId": "jiaocheng01", "floorId": "jiaocheng01",
@ -31,11 +28,8 @@ main.floors.chushi=
12 12
] ]
} }
] ],
}, "no": [
{
"text": "取消",
"action": [
{ {
"type": "changeFloor", "type": "changeFloor",
"floorId": "guangchang", "floorId": "guangchang",
@ -45,46 +39,6 @@ main.floors.chushi=
] ]
} }
] ]
},
{
"text": "一区测试",
"action": [
{
"type": "changeFloor",
"floorId": "yiqu1",
"loc": [
0,
7
]
},
{
"type": "setValue",
"name": "status:atk",
"value": "16"
},
{
"type": "setValue",
"name": "status:def",
"value": "16"
},
{
"type": "setValue",
"name": "status:spell",
"value": "0"
},
{
"type": "setValue",
"name": "status:speed",
"value": "20"
},
{
"type": "setValue",
"name": "status:hp",
"value": "1000"
}
]
}
]
} }
], ],
"eachArrive": [], "eachArrive": [],

View File

@ -14,7 +14,7 @@ main.floors.guangchang=
"firstArrive": [ "firstArrive": [
{ {
"type": "setCurtain", "type": "setCurtain",
"time": 100 "time": 1000
}, },
{ {
"type": "setText", "type": "setText",

View File

@ -51,6 +51,13 @@ main.floors.guangchang2=
8 8
] ]
}, },
"12,10": {
"floorId": "xiaoxiang01",
"loc": [
0,
10
]
},
"2,0": { "2,0": {
"floorId": "guangchang6", "floorId": "guangchang6",
"loc": [ "loc": [
@ -67,8 +74,8 @@ main.floors.guangchang2=
"cannotMove": {}, "cannotMove": {},
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[ 0, 0, 91, 0,210184,210186,210186,210186,210186,210186,210186,210186,143], [ 0, 0, 91, 0,210192,210194,210194,210175,210194,210194,210194,210192,143],
[ 0, 0, 0, 0,210192,210194,210194,210175,210194,210194,210194,210194,143], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[120156, 0, 0, 0,90664,90648,90648, 0,90644,90648,90649, 0,143], [120156, 0, 0, 0,90664,90648,90648, 0,90644,90648,90649, 0,143],
[120164, 0, 0, 0,90665,140110,122, 0,90645,140110,122, 0,120120], [120164, 0, 0, 0,90665,140110,122, 0,90645,140110,122, 0,120120],
[120172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,120136], [120172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,120136],
@ -77,7 +84,7 @@ main.floors.guangchang2=
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,120160], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,120160],
[ 92, 0, 0, 0,110384,110385,110376, 0,90652,90648,90649, 0,120168], [ 92, 0, 0, 0,110384,110385,110376, 0,90652,90648,90649, 0,120168],
[ 0, 0, 0, 0,110384, 0,122, 0,90653, 0,122, 0,120176], [ 0, 0, 0, 0,110384, 0,122, 0,90653, 0,122, 0,120176],
[362,362,363, 0, 0, 0, 0, 0, 0, 0, 0, 0,90266], [362,362,363, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94],
[210181,210181,210181, 0, 0, 0, 0, 0, 0, 0, 0, 0,110189], [210181,210181,210181, 0, 0, 0, 0, 0, 0, 0, 0, 0,110189],
[210186,210186,210186,361,362,362,362,362,362,362,362,362,110197] [210186,210186,210186,361,362,362,362,362,362,362,362,362,110197]
], ],
@ -124,7 +131,7 @@ main.floors.guangchang2=
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[110239,110239,110239,364, 0, 0, 0, 0, 0, 0, 0, 0, 0], [110239,110239,110239,364, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,364, 0, 0, 0, 0, 0, 0, 0, 0,90266], [ 0, 0, 0,364, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,110239,110239,110239,110239,110239,110239,110239,110239,110239, 0] [ 0, 0, 0,110239,110239,110239,110239,110239,110239,110239,110239,110239, 0]
], ],
"fg2map": [ "fg2map": [

View File

@ -109,7 +109,7 @@ main.floors.guangchang3=
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50151,71217,140094], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50151,71217,140094],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,71791,140102], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,71791,140102],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140110], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140110],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140086] [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
], ],
"bg2map": [ "bg2map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],

View File

@ -75,10 +75,10 @@ main.floors.guangchang5=
"cannotMove": {}, "cannotMove": {},
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[210161,210157,210162, 0, 0, 0, 91, 0, 0, 0, 0, 0,140094], [210161,210157,210162, 0, 0, 0, 91, 0, 0, 0, 0, 0,140086],
[210164,210165,210170, 0, 0, 0, 0, 0, 0, 0, 0,20110,140094], [210164,210165,210170, 0, 0, 0, 0, 0, 0, 0, 0,20110,140094],
[210162,210178,210179, 0, 0, 0, 0, 0, 0, 0,122, 0,140102], [210162,210178,210179, 0, 0, 0, 0, 0, 0, 0,122, 0,140102],
[210170,210178,210171, 0, 0, 0, 0, 0, 0, 0, 0,20110,140110], [210170,210178,210171, 0, 0, 0, 0, 0, 0, 0, 0,20110, 0],
[ 0,365,362,362,363, 0, 0, 0,361,362,362,362,362], [ 0,365,362,362,363, 0, 0, 0,361,362,362,362,362],
[ 0,365,210177,210178,210176, 0, 0, 0,210176,210167,210178,210178,210178], [ 0,365,210177,210178,210176, 0, 0, 0,210176,210167,210178,210178,210178],
[362,363,210070,210071,210184, 0, 0, 0,210184,210068,210069,210178,210166], [362,363,210070,210071,210184, 0, 0, 0,210184,210068,210069,210178,210166],

View File

@ -29,13 +29,6 @@ main.floors.guangchang6=
12, 12,
9 9
] ]
},
"12,7": {
"floorId": "yiqu1",
"loc": [
0,
7
]
} }
}, },
"beforeBattle": {}, "beforeBattle": {},
@ -44,71 +37,67 @@ main.floors.guangchang6=
"afterOpenDoor": {}, "afterOpenDoor": {},
"autoEvent": {}, "autoEvent": {},
"cannotMove": {}, "cannotMove": {},
"cannotMoveIn": { "cannotMoveIn": {},
"4,12": [],
"4,11": [],
"4,10": []
},
"map": [ "map": [
[140095,120160,120161,120162,120163,120164,365, 0, 0, 0, 0,143,143], [140087,20102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[140095,120168,120169,120170,120171,120172,365, 0, 0, 0, 0,143,143], [140095,20110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[140103,120176,120177,20122,120179,120180,365, 0, 0, 0, 0,143,143], [140103,20102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[140111,20110,140107,140108,140109,20110,365, 0, 0, 0, 0,130192,130193], [140111,20110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[362,362,362,362,362,362,362, 0, 0, 0, 0,130200,130201], [362,362,362,363,364, 0,10171,10232,10240, 0, 0, 0, 0],
[210178,210178,210178,210167,210178,210178,210176, 0, 0, 0, 0,140099,140100], [210178,210178,210178,210167,364, 0, 0, 0, 0, 0, 0, 0, 0],
[210178,210178,210178,210178,210178,210178,210184, 0, 0, 0, 0,140107,140108], [210178,210178,210178,210178,364, 0, 0, 0,10254,10185,10245,10234, 0],
[210194,210175,210194,210194,210194,210194,210192, 0, 0, 0, 0, 0, 94], [210194,210175,210194,210194,364, 0, 0, 0, 0, 0, 0, 0, 0],
[110239, 0, 0, 0, 0, 0,365, 0, 0, 0, 0,120109,120110], [110239, 0,126,71320,364, 0, 0,10272,10179,10171,10178,10273, 0],
[ 92, 0, 0, 0,362, 0,363, 0, 0, 0, 0,120117,120118], [ 92, 0, 0,71328,364, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 17,130046, 17, 0, 0, 0,140086,120125,120126], [ 0, 0, 0,71336,361,362,362,362,362,362,362,362,362],
[130183, 0, 0, 0, 17,130046, 17, 0, 0, 0,140094,120133,120134], [130183, 0, 0, 0,210176,210178,210178,210178,210178,210178,210167,210178,210178],
[130191, 0, 93, 0, 17, 0, 0, 0, 0, 0,140102,120141,120142] [130191, 0, 93, 0,210184,210178,210167,210178,210166,210178,210178,210178,210166]
], ],
"areas": "牢狱", "areas": "牢狱",
"bgmap": [ "bgmap": [
[30055,30052,30052,30052,30052,30052,30052,90078,90078,90078,90078,90078,90078], [30055,30052,30052,30052,30052,30062,30052,30052,30052,30052,30052,30055,30052],
[30052,30052,30055,30052,30052,30052,30052,90078,90078,90078,90078,90078,90078], [30052,30052,30055,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052],
[30052,30052,30052,30052,30052,30052,30052,90078, 0,90078,90078,90078,90078], [30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30062,30052],
[30052,30052,30052,30052,30052,30052,30052,90078,90078,90078,90078,90078,90078], [30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052],
[30052,30052,30052,30052,30052,30052,30052,90078,90078,90078,90078,90078,90078], [30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052],
[30052,30052,30052,30052, 0, 0, 0,90078,90078,90078,90078,90078,90078], [30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052],
[30052,30052,30052,30052, 0, 0, 0, 0,90078,90078,90078,90078,90078], [30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052],
[30052,30052,30052,30052, 0, 0, 0,90078,90078,90078,90078,90078,90078], [30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052],
[30052,30052,30052,30052,30052,30052,30052,90078,90078,90078,90078,90078,90078], [30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052],
[30052,30052,30052,30052,30052,30052,30052,90078,90078,90078,90078,90078,90078], [30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052],
[30052,30052,30052,30052,210187,210178,210187,90078,90078,90078,90078,90078,90078], [30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052,30052],
[30052,30052,30052,30052,210195,210178,210195,90078,90078,90078,90078,90078,90078], [30052,30052,30052,30052,30052,30052,30052,30052,30055,30052,30052,30052,30052],
[30052,30052,30052,30052,90078,90078,90078,90078,90078,90078,90078,90078,90078] [30052,30052,30052,30052,30055,30052,30052,30052,30052,30052,30052,30052,30052]
], ],
"fgmap": [ "fgmap": [
[ 0, 0, 0, 0, 0, 0, 0,140087, 0, 0, 0, 0, 0],
[ 0, 0,140091,140092,140093, 0, 0,140095, 0, 0, 0, 0, 0],
[ 0,20102,140099,140100,140101,20102, 0,140103, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,140111, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,140087, 0, 0, 0,140091,140092],
[ 0, 0, 0, 0, 0, 0, 0,140095, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,140103, 0, 0, 0, 0, 0],
[110231, 0, 0, 0, 0, 0,365,140111, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[110231, 0, 0,140086, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,140094, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,140102, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,140110, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
], ],
"bg2map": [ "bg2map": [
[ 0, 0, 0, 0, 0, 0,160032, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,160032, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,120178, 0, 0,160032, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,20130, 0, 0,160032, 0, 0, 0, 0, 0, 0],
[120103,120103,120103,120103,120103,120103,120103, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,365, 0, 0, 0, 0, 0, 0, 0, 0, 0], [120103,120103,120103,120103, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,365,130045,130046,130047, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0,170026, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,365,130045,130046,130047, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0,170026, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,365,130053,130054,130055, 0, 0, 0, 0, 0, 0] [ 0, 0, 0, 0,170026, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0,170026, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0,170026, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0,120103,120103,120103,120103,120103,120103,120103,120103,120103],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
], ],
"fg2map": [ "fg2map": [

View File

@ -18,7 +18,7 @@ main.floors.jiaocheng01=
}, },
{ {
"type": "setCurtain", "type": "setCurtain",
"time": 100 "time": 1000
} }
], ],
"eachArrive": [], "eachArrive": [],
@ -262,9 +262,9 @@ main.floors.jiaocheng01=
[ 1, 0, 0, 82, 0, 1, 81, 1, 82, 1, 1, 1, 1], [ 1, 0, 0, 82, 0, 1, 81, 1, 82, 1, 1, 1, 1],
[ 1, 21, 1, 1, 0, 1, 22, 1, 0, 0, 21, 23, 1], [ 1, 21, 1, 1, 0, 1, 22, 1, 0, 0, 21, 23, 1],
[ 1, 1, 1, 1, 83, 1, 1, 1, 1, 1, 1, 1, 1], [ 1, 1, 1, 1, 83, 1, 1, 1, 1, 1, 1, 1, 1],
[401, 0,402, 1, 0,124, 82, 0, 22, 1, 31, 0, 32], [ 27, 0, 28, 1, 0,124, 82, 0, 22, 1, 31, 0, 32],
[ 0, 0, 0, 1, 21, 1, 1, 1, 0, 1, 0, 0, 0], [ 0, 0, 0, 1, 21, 1, 1, 1, 0, 1, 0, 0, 0],
[403, 0,404, 1, 23, 1, 21, 1, 0, 1, 34, 0, 33], [ 29, 0, 30, 1, 23, 1, 21, 1, 0, 1, 34, 0, 33],
[ 1, 1, 1, 1, 1, 1, 0, 1, 81, 1, 1, 1, 1], [ 1, 1, 1, 1, 1, 1, 0, 1, 81, 1, 1, 1, 1],
[129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,129], [129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,129],
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1] [ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1]

View File

@ -284,29 +284,6 @@ main.floors.jiaocheng02=
"type": "hide", "type": "hide",
"remove": true "remove": true
} }
],
"3,8": [
{
"type": "animationDrawable",
"allFarme": 30,
"color": [
0,
0,
0
],
"imageList": [
{
"image": ""
}
],
"soundList": [
{
"sound": "",
"startfarme": 0,
"stopbefore": false
}
]
}
] ]
}, },
"changeFloor": { "changeFloor": {
@ -333,19 +310,19 @@ main.floors.jiaocheng02=
"cannotMove": {}, "cannotMove": {},
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[ 0, 31, 0,217, 33, 0, 91, 1,402, 1,404, 1,203], [ 0, 31, 0,217, 33, 0, 91, 1, 28, 1, 30, 1,203],
[216, 1, 0, 1, 1, 1, 1, 1,402, 1,404, 1, 1], [216, 1, 0, 1, 1, 1, 1, 1, 28, 1, 30, 1, 1],
[216, 1, 31, 1, 0, 0, 0, 81, 0, 1, 0, 1,425], [216, 1, 31, 1, 0, 0, 0, 81, 0, 1, 0, 1,211],
[425, 1, 21, 1,216, 1,216, 1, 1, 1, 81, 1, 1], [211, 1, 21, 1,216, 1,216, 1, 1, 1, 81, 1, 1],
[ 0, 1, 1, 1, 0, 1, 0, 0, 0,425, 0, 0, 0], [ 0, 1, 1, 1, 0, 1, 0, 0, 0,211, 0, 0, 0],
[ 31, 1, 32, 1, 0, 1, 1, 0, 1, 1, 1, 1,425], [ 31, 1, 32, 1, 0, 1, 1, 0, 1, 1, 1, 1,211],
[ 0, 82, 0, 1, 0, 1, 21, 33, 1, 33, 0, 81, 0], [ 0, 82, 0, 1, 0, 1, 21, 33, 1, 33, 0, 81, 0],
[ 0, 1, 1, 1,217, 1, 1, 1, 1, 1, 1, 1, 22], [ 0, 1, 1, 1,217, 1, 1, 1, 1, 1, 1, 1, 22],
[203, 1, 33, 0, 0,403,403,403,403, 1, 0, 0, 0], [203, 1, 33, 0, 0, 29, 29, 29, 29, 1, 0, 0, 0],
[ 0, 1, 1, 1, 0, 1, 1, 1, 1, 1,203, 1, 82], [ 0, 1, 1, 1, 0, 1, 1, 1, 1, 1,203, 1, 82],
[ 33, 0,425, 1, 0, 1, 0,203, 0,124, 0, 1, 0], [ 33, 0,211, 1, 0, 1, 0,203, 0,124, 0, 1, 0],
[ 0, 82, 0, 1,217, 1, 0, 1, 1, 81, 1, 1, 21], [ 0, 82, 0, 1,217, 1, 0, 1, 1, 81, 1, 1, 21],
[216, 0, 0, 22, 0, 1, 93, 1,401, 0,401, 1, 21] [216, 0, 0, 22, 0, 1, 93, 1, 27, 0, 27, 1, 21]
], ],
"areas": "教程", "areas": "教程",
"bgmap": [ "bgmap": [

View File

@ -26,14 +26,6 @@ main.floors.jiaocheng03=
"type": "setHeroOpacity", "type": "setHeroOpacity",
"opacity": 0 "opacity": 0
}, },
{
"type": "function",
"function": "function(){\ncore.unloadEquip(0, () => {\n\tcore.setItem(\"sword0\", 0);\n\tcore.setItem(\"I375\", 0)\n\tcore.setItem(\"yellowKey\", 0)\n\tcore.setItem(\"blueKey\", 0)\n\tcore.setItem(\"redKey\", 0)\n\tcore.setItem(\"greenKey\", 0)\n\tcore.status.hero.hp = 1000\n\tcore.status.hero.atk = 16\n\tcore.status.hero.def = 16\n\tcore.status.hero.spell = 0\n\tcore.status.hero.speed = 20\n\tcore.updateStatusBar()\n})\n}"
},
{
"type": "tip",
"text": "教学层属性已清空"
},
{ {
"type": "changeFloor", "type": "changeFloor",
"floorId": "guangchang", "floorId": "guangchang",
@ -145,18 +137,18 @@ main.floors.jiaocheng03=
"cannotMove": {}, "cannotMove": {},
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[129, 1,401, 1,402, 1, 91, 1,403, 1,404, 1,129], [129, 1, 27, 1, 28, 1, 91, 1, 29, 1, 30, 1,129],
[ 70, 1, 82, 1, 82, 1,236, 1, 82, 1, 82, 1,375], [ 70, 1, 82, 1, 82, 1,236, 1, 82, 1, 82, 1,375],
[ 0, 83, 0,403, 0, 33, 0, 31, 0, 23, 0, 83, 0], [ 0, 83, 0, 29, 0, 33, 0, 31, 0, 23, 0, 83, 0],
[ 1, 1, 1, 1, 1, 1,219, 1, 1, 1, 1, 1, 1], [ 1, 1, 1, 1, 1, 1,219, 1, 1, 1, 1, 1, 1],
[ 0, 22, 0, 31, 0, 31, 0, 1,401, 1,404, 1,404], [ 0, 22, 0, 31, 0, 31, 0, 1, 27, 1, 30, 1, 30],
[ 81, 1, 81, 1, 81, 1, 22, 1,401, 1,404, 1,401], [ 81, 1, 81, 1, 81, 1, 22, 1, 27, 1, 30, 1, 27],
[403, 1, 31, 1, 31, 1,218, 1, 82, 1, 82, 1, 82], [ 29, 1, 31, 1, 31, 1,218, 1, 82, 1, 82, 1, 82],
[402, 1,402, 1,403, 1, 0, 81, 0, 33, 0, 21, 0], [ 28, 1, 28, 1, 29, 1, 0, 81, 0, 33, 0, 21, 0],
[ 1, 1, 1, 1, 1, 1,240, 1, 1, 1, 1, 1, 1], [ 1, 1, 1, 1, 1, 1,240, 1, 1, 1, 1, 1, 1],
[ 0, 33, 0, 21, 0,403, 0, 1,401, 1,402, 1, 31], [ 0, 33, 0, 21, 0, 29, 0, 1, 27, 1, 28, 1, 31],
[ 83, 1, 83, 1, 83, 1,204, 1, 81, 1, 81, 1, 81], [ 83, 1, 83, 1, 83, 1,204, 1, 81, 1, 81, 1, 81],
[402, 1,404, 1,401,129,124,204, 0, 33, 0, 23, 0], [ 28, 1, 30, 1, 27,129,124,204, 0, 33, 0, 23, 0],
[ 1, 1, 1, 1, 1, 1, 93, 1, 1, 1, 1, 1, 1] [ 1, 1, 1, 1, 1, 1, 93, 1, 1, 1, 1, 1, 1]
], ],
"areas": "牢狱", "areas": "牢狱",

View File

@ -16,6 +16,13 @@ main.floors.xiaoxiang01=
"parallelDo": "", "parallelDo": "",
"events": {}, "events": {},
"changeFloor": { "changeFloor": {
"0,10": {
"floorId": "guangchang2",
"loc": [
12,
10
]
},
"12,7": { "12,7": {
"floorId": "xiaoxiang02", "floorId": "xiaoxiang02",
"loc": [ "loc": [
@ -29,13 +36,6 @@ main.floors.xiaoxiang01=
6, 6,
0 0
] ]
},
"0,7": {
"floorId": "guangchang2",
"loc": [
12,
10
]
} }
}, },
"beforeBattle": {}, "beforeBattle": {},

View File

@ -11,29 +11,13 @@ main.floors.yiqu1=
"images": [], "images": [],
"ratio": 1, "ratio": 1,
"defaultGround": "grass2", "defaultGround": "grass2",
"firstArrive": [ "firstArrive": [],
{
"type": "setHeroOpacity",
"opacity": 1
},
{
"type": "setCurtain",
"time": 100
}
],
"eachArrive": [], "eachArrive": [],
"parallelDo": "", "parallelDo": "",
"events": {}, "events": {},
"changeFloor": { "changeFloor": {
"12,8": {
"floorId": "yiqu2",
"loc": [
0,
8
]
},
"0,7": { "0,7": {
"floorId": "guangchang6", "floorId": "yiqu2",
"loc": [ "loc": [
12, 12,
7 7
@ -56,19 +40,19 @@ main.floors.yiqu1=
] ]
}, },
"map": [ "map": [
[143,143,143,143,130193,130193,130193,130193,130193,143,143,143,143], [140,140,140,110199,110234, 0, 91, 0,110205,110207,110233,110233,110233],
[143,143,143,143,130060,130061,130062,130201,130201,143,143,143,143], [110206,110206,110206,110207,90425, 0, 0, 0,110224,110226, 0, 0, 94],
[143,130193,130193,130194,130068,130069,130070, 0,120023,130192,130193,130193,143], [110225,110225,110225,110226, 0, 0, 0,110122,110232,110234, 81,110122,110123],
[130194,130201,130201,130202,130007,130006,130099,130098,120031,130200,130201,130201,143], [110233,110233,110233,110234,110122,110122, 0, 0, 0,110131, 0, 0,110189],
[130202, 32, 0, 21,201021,401,110116, 0,201, 81, 0, 21,130192], [140134, 0, 0,120020,201029, 0, 0, 0,110138,110139,200998,200999,110197],
[140101, 0,205, 0,201037,421,110124, 31, 0,110116, 31, 0,130200], [140142, 0,120015,120028,201037, 0,201029, 0, 0, 0, 0, 0,110197],
[140109,201037, 0,201037,200199, 81,110140,110138, 81,110138,110138,202,90667], [140150, 0, 0,120019, 0, 0,201029, 0,110189,140,110191, 0,110205],
[ 92,201, 0, 0, 31, 0,202, 0, 0, 82, 0, 0,90675], [ 92, 0, 0,120019,201037,201037,201037, 0,110197,140,110199, 81,110224],
[120111, 0, 0, 21, 0, 0,201021,205,110138,110138,201021, 0, 94], [ 0, 0, 0,120027, 0, 0, 0, 0,110197,140,110199, 0,110232],
[120119,110122, 81,110122,201037,201,201029,402, 0, 21,201029,205,90650], [110191, 0, 0, 0, 0, 0,110189,140,140,140,110199, 0, 94],
[120127,202, 31,202,201037, 0,201029, 0, 21, 0,201029, 0,110189], [110199,140,140,110191, 0, 0,110197,140,140,110204,110207, 0, 0],
[120135, 22,205,403,201037,202,201037,110122,110122, 81,201037,201,110197], [140,140,140,110199,90684,90684,110197,140,140,110199,110234, 0, 0],
[120143,110138,110138,110138,201029, 0,201, 0, 31, 0, 21, 0,110197] [140,140,140,110199,100307,100308,110197,140,140,110199, 0, 0, 0]
], ],
"bgmap": [ "bgmap": [
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078], [90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
@ -86,36 +70,48 @@ main.floors.yiqu1=
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078] [90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078]
], ],
"fgmap": [ "fgmap": [
[ 0, 0, 0, 0, 0,120080, 0, 0,120066, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0,120074, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0,110114, 0, 0, 0,110114,110114],
[ 0, 0, 0, 0, 0, 0,130091,130090, 0, 0, 0, 0, 0], [130156,140119,130156, 0,110116,110114, 0, 0, 0,110143, 0, 0, 0],
[ 0, 0, 0, 0,200175, 0, 0, 0, 0, 0, 0, 0, 0], [130167,140127,130167,120039,201021, 0, 0, 0, 0, 0,200990,200991, 0],
[140093, 0, 0, 0,200183, 0, 0, 0, 0,110152, 0, 0, 0], [ 0,140135,120007,120020, 0, 0,201021, 0, 0, 0, 0, 0, 0],
[ 0,201021, 0,201021,200191, 0, 0, 0, 0,110160, 0, 0,90667], [ 0,140143, 0,120019, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0,140151, 0, 0,201021,201021, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[201007, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0,110114, 0,110114,201021, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0,201021, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0,201021, 0, 0,110114,110114, 0, 0, 0, 0],
[ 0, 0, 0, 0,201021, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
], ],
"bg2map": [ "bg2map": [
[ 0, 0, 0, 0, 0,110146, 0,110146, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0,120082, 0, 0, 0, 0], [200991, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,110131],
[200999, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0,120019, 0, 0, 0, 0,110146,110146, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0,130015, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,110129, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,110146,110146, 0,110146,110146, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0,110146,110146, 0, 0, 0], [201015, 0, 0,120035, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,90658], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
], ],
"fg2map": [ "fg2map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[140118, 0, 0, 0,110113, 0, 0, 0, 0, 0, 0, 0, 0],
[140126, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
] ]
} }

View File

@ -10,7 +10,7 @@ main.floors.yiqu10=
"canUseQuickShop": true, "canUseQuickShop": true,
"images": [], "images": [],
"ratio": 1, "ratio": 1,
"defaultGround": "X90078", "defaultGround": "grass2",
"firstArrive": [], "firstArrive": [],
"eachArrive": [], "eachArrive": [],
"parallelDo": "", "parallelDo": "",

View File

@ -10,25 +10,18 @@ main.floors.yiqu2=
"canUseQuickShop": true, "canUseQuickShop": true,
"images": [], "images": [],
"ratio": 1, "ratio": 1,
"defaultGround": "X90078", "defaultGround": "grass2",
"firstArrive": [], "firstArrive": [],
"eachArrive": [], "eachArrive": [],
"parallelDo": "", "parallelDo": "",
"events": {}, "events": {},
"changeFloor": { "changeFloor": {
"12,7": { "12,7": {
"floorId": "yiqu3", "floorId": "yiqu1",
"loc": [ "loc": [
0, 0,
7 7
] ]
},
"0,8": {
"floorId": "yiqu1",
"loc": [
12,
8
]
} }
}, },
"beforeBattle": {}, "beforeBattle": {},
@ -39,19 +32,19 @@ main.floors.yiqu2=
"cannotMove": {}, "cannotMove": {},
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [140,140,140,140,140,140,140,110199,110232,110233,120080,110233,110197],
[ 1, 22, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [110206,110206,110206,110206,110206,110206,110206,110207,90648, 21, 28,90424,110205],
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [143,110225,110225,110225,110225,110225,110225,110226,90649, 32, 27,90851,110224],
[ 1, 81, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 22], [143,110233,110233,110233,110233,110233,110233,110234,120015, 82,120015,120010,200990],
[ 1, 81, 1, 1, 1, 1, 1, 1, 1, 0, 83, 0,403], [143, 0, 32, 0, 0,210,201037, 0, 0,214, 0, 0,140133],
[ 31, 0,401,209, 0,402, 1, 0, 34, 0, 1,209, 0], [143,201037,201037, 81,201037, 0, 81, 0,110116, 21,110117, 0,140141],
[ 0,202, 0, 1, 32, 0, 1,405, 0,408, 1, 81, 1], [143, 0,209, 0,110129, 0,110117, 0,110160,110138,110139, 0,140149],
[ 1, 81, 1, 1, 0,421, 1, 0,204, 0, 1, 0, 94], [143,210,110024,214,110129,110122,110131,210,110146, 22, 0, 0, 94],
[ 92, 0, 21, 1, 1, 81, 1, 1, 82, 1, 1,205, 1], [130194, 0,209, 0,110150, 27,110131, 0, 81, 21, 21, 21, 0],
[ 1, 1, 0,202, 0, 0, 32,209, 0, 1, 21, 0, 1], [140,140,140, 0, 81, 28,110131, 0,110189,140,140,140,140],
[ 0,201, 0, 1, 81, 1, 1, 1, 0,205, 0, 0,421], [140,140,140,110199,110191,110189,140,140,110197,140,140,140,140],
[202, 1, 1, 1, 0, 1,402, 1,201, 1, 31, 1, 0], [140,140,140,110199,110199,110197,140,140,140,140,140,140,140],
[ 0, 21, 21, 1, 0,202, 0,201, 0, 1, 1, 1, 22] [140,140,140,110199,110199,110197,140,140,140,140,140,140,140]
], ],
"bgmap": [ "bgmap": [
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078], [90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
@ -69,12 +62,48 @@ main.floors.yiqu2=
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078] [90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078]
], ],
"fgmap": [ "fgmap": [
[ 0, 0, 0, 0, 0, 0, 0, 0,90651, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0,140091,140092,140092,140093, 0, 0, 0,120007, 0,120007,120007,140117],
[ 0,140099,140100,140100,140101, 0,201021, 0, 0, 0, 0,140124,140125],
[ 0,201021,201021, 0,201021, 0, 0, 0, 0, 0, 0,140132, 0],
[ 0, 0, 0, 0,110116, 0, 0, 0, 0, 0, 0,140140, 0],
[ 0, 0,110016, 0, 0,110114,110142, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,201007],
[ 0, 0, 0,110191,110114,110114, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
], ],
"bg2map": [ "bg2map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,110233, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,200990],
[ 0,140107,140108,140108,140109, 0, 0, 0, 0, 0, 0, 0,200998],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0,110114, 0, 0, 0,110138, 0, 0, 0, 0],
[ 0, 0, 0, 0,110122, 0,110122, 0,110132,110146,110146, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0,110116, 0, 0, 0, 0],
[ 0, 0, 0, 0,110122,110122, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
], ],
"fg2map": [ "fg2map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140116, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
] ]
} }

View File

@ -10,27 +10,12 @@ main.floors.yiqu3=
"canUseQuickShop": true, "canUseQuickShop": true,
"images": [], "images": [],
"ratio": 1, "ratio": 1,
"defaultGround": "X90078", "defaultGround": "grass2",
"firstArrive": [], "firstArrive": [],
"eachArrive": [], "eachArrive": [],
"parallelDo": "", "parallelDo": "",
"events": {}, "events": {},
"changeFloor": { "changeFloor": {},
"0,7": {
"floorId": "yiqu2",
"loc": [
12,
7
]
},
"5,0": {
"floorId": "yiqu4",
"loc": [
5,
12
]
}
},
"beforeBattle": {}, "beforeBattle": {},
"afterBattle": {}, "afterBattle": {},
"afterGetItem": {}, "afterGetItem": {},
@ -39,19 +24,19 @@ main.floors.yiqu3=
"cannotMove": {}, "cannotMove": {},
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[ 1, 1, 1, 1, 1, 91, 1, 1, 1, 1, 1, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 31, 21, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1, 1, 1, 1, 1,203, 1, 1, 1, 1, 21, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1, 1, 1, 1, 1,205, 1, 1, 1, 1, 82, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1, 0,202, 0,421, 0,421, 0, 31, 0, 0, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1,201, 1, 1, 81, 1, 1, 1, 1, 1, 81, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 92, 0, 1, 31, 0,209, 0, 1,403, 0,209, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1, 81, 1, 0,244, 0, 31, 1, 0,403, 0, 1, 23], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[205, 0, 1, 1, 1, 1, 82, 1,205, 1, 1, 1, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0,209, 1,401,402, 0, 0, 1, 0, 1,244, 0, 31], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[205, 0, 1, 1, 1, 1,216, 1, 81, 1, 0, 81, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 21, 0,203, 0, 31, 21, 0, 81, 0, 82,216, 0,203] [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
], ],
"bgmap": [ "bgmap": [

View File

@ -1,68 +1,41 @@
main.floors.yiqu4= main.floors.yiqu4=
{ {
"floorId": "yiqu4", "floorId": "yiqu4",
"title": "主塔 4 层", "title": "主塔 4 层",
"name": "4", "name": "4",
"width": 13, "width": 13,
"height": 13, "height": 13,
"canFlyTo": true, "canFlyTo": true,
"canFlyFrom": true, "canFlyFrom": true,
"canUseQuickShop": true, "canUseQuickShop": true,
"images": [], "images": [],
"ratio": 1, "ratio": 1,
"defaultGround": "X90078", "defaultGround": "grass2",
"firstArrive": [], "firstArrive": [],
"eachArrive": [], "eachArrive": [],
"parallelDo": "", "parallelDo": "",
"events": {}, "events": {},
"changeFloor": { "changeFloor": {},
"5,12": { "beforeBattle": {},
"floorId": "yiqu3", "afterBattle": {},
"loc": [ "afterGetItem": {},
5, "afterOpenDoor": {},
0 "autoEvent": {},
] "cannotMove": {},
}, "cannotMoveIn": {},
"12,11": { "map": [
"floorId": "yiqu5", [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"loc": [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
0, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
11 [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
] [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
} [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"beforeBattle": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"afterBattle": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"afterGetItem": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"afterOpenDoor": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"autoEvent": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"cannotMove": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
"cannotMoveIn": {},
"map": [
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[ 1, 1, 1,421, 0,205, 0,421, 1, 1, 1, 1, 1],
[ 1, 1, 1, 0, 1, 81, 1, 0, 81, 81, 0,205, 0],
[ 0,244, 0, 31, 1, 0, 1, 31, 1, 1,216, 1, 31],
[ 0, 1,425, 1, 1, 31, 1, 1, 22, 1, 0, 1, 1],
[ 31, 1, 0, 1,401, 1,402, 1, 0, 1, 32, 1,403],
[ 0, 81, 21, 1, 0, 1, 0, 1,244, 81, 0, 81, 0],
[403, 1, 0, 1, 82, 1, 82, 1, 1, 1,216, 1, 1],
[ 0, 1,421, 0, 21, 0, 32, 0,240, 21, 0,425, 94],
[ 0,216, 0, 1, 1, 93, 1, 1, 1, 1, 1, 1, 1]
], ],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
} }

View File

@ -1,61 +1,41 @@
main.floors.yiqu5= main.floors.yiqu5=
{ {
"floorId": "yiqu5", "floorId": "yiqu5",
"title": "主塔 5 层", "title": "主塔 5 层",
"name": "5", "name": "5",
"width": 13, "width": 13,
"height": 13, "height": 13,
"canFlyTo": true, "canFlyTo": true,
"canFlyFrom": true, "canFlyFrom": true,
"canUseQuickShop": true, "canUseQuickShop": true,
"images": [], "images": [],
"ratio": 1, "ratio": 1,
"defaultGround": "X90078", "defaultGround": "grass2",
"firstArrive": [], "firstArrive": [],
"eachArrive": [], "eachArrive": [],
"parallelDo": "", "parallelDo": "",
"events": {}, "events": {},
"changeFloor": { "changeFloor": {},
"0,11": { "beforeBattle": {},
"floorId": "yiqu4", "afterBattle": {},
"loc": [ "afterGetItem": {},
12, "afterOpenDoor": {},
11 "autoEvent": {},
] "cannotMove": {},
} "cannotMoveIn": {},
}, "map": [
"beforeBattle": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"afterBattle": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"afterGetItem": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"afterOpenDoor": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"autoEvent": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"cannotMove": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"cannotMoveIn": {}, [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"map": [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1, 0, 32, 1, 1, 1,426, 1, 1, 1, 1, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1, 82, 1, 1, 1, 1, 0, 1, 1, 31, 1, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[216, 0,216, 1, 1, 1, 83, 1, 1, 0, 1, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[ 0, 1, 0, 1, 1,209, 0,209, 1, 81, 1, 1, 1],
[ 32, 1, 32, 0, 81, 0, 82, 0, 32, 0,216, 0, 22],
[ 1, 1, 0, 1, 1,244, 1, 1, 81, 1, 1, 1, 1],
[ 31, 1,209, 1, 31, 0,403, 1,203, 0,244, 1, 31],
[ 0,216, 0, 1, 1, 1, 1, 1, 0,203, 0, 1, 0],
[ 1, 1, 32, 82, 0,402, 1, 1,209, 0, 34, 1, 81],
[ 92, 0, 0, 1, 1, 1, 1, 21, 1, 1, 21, 1, 22],
[ 1, 1, 31, 82, 0,401, 1, 32, 0,425, 0,213, 0]
], ],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
} }

View File

@ -1,29 +1,29 @@
main.floors.yiqu6= main.floors.yiqu6=
{ {
"floorId": "yiqu6", "floorId": "yiqu6",
"title": "主塔 6 层", "title": "主塔 6 层",
"name": "6", "name": "6",
"width": 13, "width": 13,
"height": 13, "height": 13,
"canFlyTo": true, "canFlyTo": true,
"canFlyFrom": true, "canFlyFrom": true,
"canUseQuickShop": true, "canUseQuickShop": true,
"images": [], "images": [],
"ratio": 1, "ratio": 1,
"defaultGround": "X90078", "defaultGround": "grass2",
"firstArrive": [], "firstArrive": [],
"eachArrive": [], "eachArrive": [],
"parallelDo": "", "parallelDo": "",
"events": {}, "events": {},
"changeFloor": {}, "changeFloor": {},
"beforeBattle": {}, "beforeBattle": {},
"afterBattle": {}, "afterBattle": {},
"afterGetItem": {}, "afterGetItem": {},
"afterOpenDoor": {}, "afterOpenDoor": {},
"autoEvent": {}, "autoEvent": {},
"cannotMove": {}, "cannotMove": {},
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
@ -38,16 +38,4 @@ main.floors.yiqu6=
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
], ],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
} }

View File

@ -10,7 +10,7 @@ main.floors.yiqu7=
"canUseQuickShop": true, "canUseQuickShop": true,
"images": [], "images": [],
"ratio": 1, "ratio": 1,
"defaultGround": "X90078", "defaultGround": "grass2",
"firstArrive": [], "firstArrive": [],
"eachArrive": [], "eachArrive": [],
"parallelDo": "", "parallelDo": "",

View File

@ -10,7 +10,7 @@ main.floors.yiqu8=
"canUseQuickShop": true, "canUseQuickShop": true,
"images": [], "images": [],
"ratio": 1, "ratio": 1,
"defaultGround": "X90078", "defaultGround": "grass2",
"firstArrive": [], "firstArrive": [],
"eachArrive": [], "eachArrive": [],
"parallelDo": "", "parallelDo": "",

View File

@ -1,29 +1,29 @@
main.floors.yiqu9= main.floors.yiqu9=
{ {
"floorId": "yiqu9", "floorId": "yiqu9",
"title": "主塔 9 层", "title": "主塔 9 层",
"name": "9", "name": "9",
"width": 13, "width": 13,
"height": 13, "height": 13,
"canFlyTo": true, "canFlyTo": true,
"canFlyFrom": true, "canFlyFrom": true,
"canUseQuickShop": true, "canUseQuickShop": true,
"images": [], "images": [],
"ratio": 1, "ratio": 1,
"defaultGround": "X90078", "defaultGround": "grass2",
"firstArrive": [], "firstArrive": [],
"eachArrive": [], "eachArrive": [],
"parallelDo": "", "parallelDo": "",
"events": {}, "events": {},
"changeFloor": {}, "changeFloor": {},
"beforeBattle": {}, "beforeBattle": {},
"afterBattle": {}, "afterBattle": {},
"afterGetItem": {}, "afterGetItem": {},
"afterOpenDoor": {}, "afterOpenDoor": {},
"autoEvent": {}, "autoEvent": {},
"cannotMove": {}, "cannotMove": {},
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
@ -38,16 +38,4 @@ main.floors.yiqu9=
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
], ],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
} }

View File

@ -285,8 +285,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
}, },
"afterBattle": async function (enemyId, x, y) { "afterBattle": async function (enemyId, x, y) {
// 战斗结束后触发的事件 // 战斗结束后触发的事件
var enemy = core.material.enemys[enemyId] var enemy = core.getEnemyInfo(enemyId, hero, x, y)
var special = core.getEnemyValue(enemy, "special", x, y); var special = enemy.special;
// 播放战斗音效和动画 // 播放战斗音效和动画
// 默认播放的动画;你也可以使用 // 默认播放的动画;你也可以使用
var animate = 'hand'; // 默认动画 var animate = 'hand'; // 默认动画
@ -391,8 +391,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
} }
// 退化 // 退化
if (core.enemys.hasSpecial(special, 21)) { if (core.enemys.hasSpecial(special, 21)) {
core.status.hero.atk -= core.getEnemyValue(enemy, "atkValue", x, y) || 0; core.status.hero.atk -= (enemy.atkValue || 0);
core.status.hero.def -= core.getEnemyValue(enemy, "defValue", x, y) || 0; core.status.hero.def -= (enemy.defValue || 0);
if (core.status.hero.atk < 0) core.status.hero.atk = 0; if (core.status.hero.atk < 0) core.status.hero.atk = 0;
if (core.status.hero.def < 0) core.status.hero.def = 0; if (core.status.hero.def < 0) core.status.hero.def = 0;
} }
@ -447,7 +447,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
// 因为removeBlock和hideBlock都会刷新状态栏因此将删除部分移动到这里并保证刷新只执行一次以提升效率 // 因为removeBlock和hideBlock都会刷新状态栏因此将删除部分移动到这里并保证刷新只执行一次以提升效率
if (core.getBlock(x, y) != null) { if (core.getBlock(x, y) != null) {
// 检查是否是重生怪物;如果是则仅隐藏不删除 // 检查是否是重生怪物;如果是则仅隐藏不删除
if (core.hasSpecial(special, 23)) { if (core.hasSpecial(enemy.special, 23)) {
core.hideBlock(x, y); core.hideBlock(x, y);
} else { } else {
core.removeBlock(x, y); core.removeBlock(x, y);
@ -900,8 +900,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
exp: Math.floor(mon_exp), exp: Math.floor(mon_exp),
point: Math.floor(mon_point), point: Math.floor(mon_point),
special: mon_special, special: mon_special,
guards: guards // 返回支援情况 guards: guards, // 返回支援情况
}; };
}, },
"getDamageInfo": function (enemy, hero, x, y, floorId) { "getDamageInfo": function (enemy, hero, x, y, floorId) {
@ -1077,9 +1076,9 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
} else { } else {
hero_damage += per_damage + per_mdamage hero_damage += per_damage + per_mdamage
} }
let animate = core.plugin.enemyanimate[enemy.id] ?? "jianji2" let animate = core.plugin.enemyanimate[enemy.id] ?? "sword"
//这里可通过if更改默认的怪物攻击特效 //这里可通过if更改默认的怪物攻击特效
hero_animate.push(animate) //勇士身上绘制jianji2动画 hero_animate.push(animate) //勇士身上绘制sword动画
if (heroinfo.mhp + (hero_diff.mhp ?? 0) - hero_damage >= 0) { if (heroinfo.mhp + (hero_diff.mhp ?? 0) - hero_damage >= 0) {
hero_diff.mhp = (hero_diff.mhp ?? 0) - hero_damage hero_diff.mhp = (hero_diff.mhp ?? 0) - hero_damage
hero_damage = 0 hero_damage = 0
@ -1102,7 +1101,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
let mon_damage = 0 let mon_damage = 0
let hero_damage = 0 let hero_damage = 0
//这里写生效装备的技能效果同时对双方属性的修改计入diff(不要在此直接修改heroinfo和enemyinfo) //这里写生效装备的技能效果同时对双方属性的修改计入diff(不要在此直接修改heroinfo和enemyinfo)
let animate = core.plugin.equipanimate[v.id] ?? "jianji2" let animate = core.plugin.equipanimate[v.id] ?? "sword"
//这里可通过if更改默认的道具特效 //这里可通过if更改默认的道具特效
enemy_animate.push(animate) //勇士身上绘制动画 enemy_animate.push(animate) //勇士身上绘制动画
@ -1144,7 +1143,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
let per_mdamage = Math.max(Math.floor(heroinfo.matk * (100 - enemyinfo.mdef) / 100), 0) let per_mdamage = Math.max(Math.floor(heroinfo.matk * (100 - enemyinfo.mdef) / 100), 0)
mon_damage = per_damage + per_mdamage mon_damage = per_damage + per_mdamage
//这里记录伤害触发后的属性变化和动画同时计入diff(不要在此直接修改heroinfo和enemyinfo) //这里记录伤害触发后的属性变化和动画同时计入diff(不要在此直接修改heroinfo和enemyinfo)
let animate = core.plugin.heroanimate[equip0] ?? "jianji2" let animate = core.plugin.heroanimate[equip0] ?? "sword"
//这里可通过if更改默认的武器攻击特效 //这里可通过if更改默认的武器攻击特效
enemy_animate.push(animate) enemy_animate.push(animate)
@ -1170,7 +1169,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
} else { } else {
hero_damage += per_damage + per_mdamage hero_damage += per_damage + per_mdamage
} }
let animate = core.plugin.enemyanimate[enemy.id] ?? "jianji2" let animate = core.plugin.enemyanimate[enemy.id] ?? "sword"
//这里可通过if更改默认的怪物攻击特效 //这里可通过if更改默认的怪物攻击特效
hero_animate.push(animate) //勇士身上绘制sword动画 hero_animate.push(animate) //勇士身上绘制sword动画
if (heroinfo.mhp + (hero_diff.mhp ?? 0) - hero_damage >= 0) { if (heroinfo.mhp + (hero_diff.mhp ?? 0) - hero_damage >= 0) {
@ -1194,7 +1193,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
let mon_damage = 0 let mon_damage = 0
let hero_damage = 0 let hero_damage = 0
//这里写生效装备的技能效果同时对双方属性的修改计入diff(不要在此直接修改heroinfo和enemyinfo) //这里写生效装备的技能效果同时对双方属性的修改计入diff(不要在此直接修改heroinfo和enemyinfo)
let animate = core.plugin.equipanimate[v.id] ?? "jianji2" let animate = core.plugin.equipanimate[v.id] ?? "sword"
//这里可通过if更改默认的道具特效 //这里可通过if更改默认的道具特效
enemy_animate.push(animate) //怪物身上绘制动画 enemy_animate.push(animate) //怪物身上绘制动画
@ -1653,6 +1652,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
} }
core.drawbackground(core.ui.cgText.image, core.ui.cgText.memory) core.drawbackground(core.ui.cgText.image, core.ui.cgText.memory)
} }
core.plugin.playing.clear();
// 切换到对应的楼层 // 切换到对应的楼层
core.changeFloor(data.floorId, null, data.hero.loc, 0, function () { core.changeFloor(data.floorId, null, data.hero.loc, 0, function () {
// TODO可以在这里设置读档后播放BGM // TODO可以在这里设置读档后播放BGM

View File

@ -255,11 +255,7 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
"blueKing": 45, "blueKing": 45,
"keiskeiFairy": 71, "keiskeiFairy": 71,
"tulipFairy": 72, "tulipFairy": 72,
"purpleBowman": 65, "purpleBowman": 65
"E421": 73,
"E422": 73,
"E425": 74,
"E426": 75
}, },
"enemy48": { "enemy48": {
"angel": 0, "angel": 0,
@ -334,29 +330,7 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
"I374": 37, "I374": 37,
"I375": 38, "I375": 38,
"I396": 39, "I396": 39,
"postman": 62, "postman": 62
"I401": 63,
"I402": 64,
"I403": 65,
"I404": 66,
"I405": 67,
"I406": 68,
"I407": 69,
"I408": 70,
"I412": 71,
"I409": 72,
"I410": 73,
"I411": 74,
"I413": 75,
"I414": 76,
"I415": 77,
"I416": 78,
"I417": 79,
"I418": 80,
"I419": 81,
"I420": 82,
"I423": 83,
"I424": 84
}, },
"autotile": { "autotile": {
"autotile": 0, "autotile": 0,

View File

@ -553,8 +553,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
} }
] ]
} }
], ]
"text": "调整战斗动画"
}, },
"I370": { "I370": {
"cls": "items", "cls": "items",
@ -636,10 +635,6 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
{ {
"type": "function", "type": "function",
"function": "function(){\nconst input = core.getFlag('input', '');\nconst tags = [core.status.floorId,\n\tcore.getHeroLoc().x.toString(), core.getHeroLoc().y.toString()\n]\nif (!core.isReplaying()) {\n\tcore.plugin.postComment(input, tags);\n}\n}" "function": "function(){\nconst input = core.getFlag('input', '');\nconst tags = [core.status.floorId,\n\tcore.getHeroLoc().x.toString(), core.getHeroLoc().y.toString()\n]\nif (!core.isReplaying()) {\n\tcore.plugin.postComment(input, tags);\n}\n}"
},
{
"type": "function",
"function": "function(){\nif (!core.isReplaying()) {\n\tcore.plugin.getComment();\n\tsetTimeout(core.plugin.drawCommentSign, 1000);\n}\n}"
} }
] ]
}, },
@ -665,153 +660,5 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
] ]
} }
] ]
},
"I401": {
"cls": "items",
"name": "初等红宝石",
"text": ",攻击+${core.values.redGem}",
"itemEffect": "core.status.hero.atk += core.values.redGem * core.status.thisMap.ratio",
"itemEffectTip": ",攻击+${core.values.redGem * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.atk += core.values.redGem",
"canUseItemEffect": "true"
},
"I402": {
"cls": "items",
"name": "初等蓝宝石",
"text": ",防御+${core.values.blueGem}",
"itemEffect": "core.status.hero.def += core.values.blueGem * core.status.thisMap.ratio",
"itemEffectTip": ",防御+${core.values.blueGem * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.def += core.values.blueGem",
"canUseItemEffect": "true"
},
"I403": {
"cls": "items",
"name": "初等绿宝石",
"text": ",法强+${core.values.greenGem}",
"itemEffect": "core.status.hero.spell += core.values.greenGem * core.status.thisMap.ratio",
"itemEffectTip": ",法强+${core.values.greenGem * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.spell += core.values.greenGem",
"canUseItemEffect": "true"
},
"I404": {
"cls": "items",
"name": "初等黄宝石",
"text": ",速度+${core.values.yellowGem}",
"itemEffect": "core.status.hero.speed += core.values.yellowGem * core.status.thisMap.ratio",
"itemEffectTip": ",速度+${core.values.yellowGem * core.status.thisMap.ratio}",
"useItemEvent": null,
"canUseItemEffect": "true",
"useItemEffect": "core.status.hero.spell += core.values.yellowGem"
},
"I405": {
"cls": "items",
"name": "中等红宝石",
"text": ",攻击+${core.values.redGem}",
"itemEffect": "core.status.hero.atk += 3 * core.values.redGem * core.status.thisMap.ratio",
"itemEffectTip": ",攻击+${core.values.redGem * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.atk += core.values.redGem",
"canUseItemEffect": "true"
},
"I406": {
"cls": "items",
"name": "中等蓝宝石",
"text": ",防御+${core.values.blueGem}",
"itemEffect": "core.status.hero.def += 3 * core.values.blueGem * core.status.thisMap.ratio",
"itemEffectTip": ",防御+${core.values.blueGem * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.def += core.values.blueGem",
"canUseItemEffect": "true"
},
"I407": {
"cls": "items",
"name": "中等绿宝石",
"text": ",法强+${core.values.greenGem}",
"itemEffect": "core.status.hero.spell += 3 * core.values.greenGem * core.status.thisMap.ratio",
"itemEffectTip": ",法强+${core.values.greenGem * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.spell += core.values.greenGem",
"canUseItemEffect": "true"
},
"I408": {
"cls": "items",
"name": "中等黄宝石",
"text": ",速度+${core.values.yellowGem}",
"itemEffect": "core.status.hero.speed += 3 * core.values.yellowGem * core.status.thisMap.ratio",
"itemEffectTip": ",速度+${core.values.yellowGem * core.status.thisMap.ratio}",
"useItemEvent": null,
"canUseItemEffect": "true",
"useItemEffect": "core.status.hero.spell += core.values.yellowGem"
},
"I412": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I409": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I410": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I411": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I413": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I414": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I415": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I416": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I417": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I418": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I419": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I420": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I423": {
"cls": "items",
"name": "银币",
"text": ",生命+${core.values.redPotion}",
"itemEffect": "core.status.hero.money += 10",
"itemEffectTip": ",金钱+10",
"useItemEffect": "core.status.hero.hp += core.values.redPotion",
"canUseItemEffect": "true"
},
"I424": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
} }
} }

View File

@ -299,32 +299,6 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
"398": {"cls":"terrains","id":"T397"}, "398": {"cls":"terrains","id":"T397"},
"399": {"cls":"terrains","id":"T399"}, "399": {"cls":"terrains","id":"T399"},
"400": {"cls":"terrains","id":"T400"}, "400": {"cls":"terrains","id":"T400"},
"401": {"cls":"items","id":"I401"},
"402": {"cls":"items","id":"I402"},
"403": {"cls":"items","id":"I403"},
"404": {"cls":"items","id":"I404"},
"405": {"cls":"items","id":"I405"},
"406": {"cls":"items","id":"I406"},
"407": {"cls":"items","id":"I407"},
"408": {"cls":"items","id":"I408"},
"409": {"cls":"items","id":"I409"},
"410": {"cls":"items","id":"I410"},
"411": {"cls":"items","id":"I411"},
"412": {"cls":"items","id":"I412"},
"413": {"cls":"items","id":"I413"},
"414": {"cls":"items","id":"I414"},
"415": {"cls":"items","id":"I415"},
"416": {"cls":"items","id":"I416"},
"417": {"cls":"items","id":"I417"},
"418": {"cls":"items","id":"I418"},
"419": {"cls":"items","id":"I419"},
"420": {"cls":"items","id":"I420"},
"421": {"cls":"enemys","id":"E421"},
"422": {"cls":"enemys","id":"E422"},
"423": {"cls":"items","id":"I423"},
"424": {"cls":"items","id":"I424"},
"425": {"cls":"enemys","id":"E425"},
"426": {"cls":"enemys","id":"E426"},
"20034": {"cls":"tileset","id":"X20034","canPass":true}, "20034": {"cls":"tileset","id":"X20034","canPass":true},
"20154": {"cls":"tileset","id":"X20154","canPass":true}, "20154": {"cls":"tileset","id":"X20154","canPass":true},
"20216": {"cls":"tileset","id":"X20216","canPass":true}, "20216": {"cls":"tileset","id":"X20216","canPass":true},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 22 KiB

File diff suppressed because it is too large Load Diff