var events_c12a15a8_c380_4b28_8144_256cba95f760 = 
{
	"commonEvent": {
		"加点事件": [
			{
				"type": "comment",
				"text": "通过传参，flag:arg1表示当前应该的加点数值"
			},
			{
				"type": "choices",
				"choices": [
					{
						"text": "攻击+${1*flag:arg1}",
						"action": [
							{
								"type": "setValue",
								"name": "status:atk",
								"value": "status:atk+1*flag:arg1"
							}
						]
					},
					{
						"text": "防御+${2*flag:arg1}",
						"action": [
							{
								"type": "setValue",
								"name": "status:def",
								"value": "status:def+2*flag:arg1"
							}
						]
					},
					{
						"text": "生命+${200*flag:arg1}",
						"action": [
							{
								"type": "setValue",
								"name": "status:hp",
								"value": "status:hp+200*flag:arg1"
							}
						]
					}
				]
			}
		],
		"毒衰咒处理": [
			{
				"type": "comment",
				"text": "获得毒衰咒效果，flag:arg1为要获得的类型"
			},
			{
				"type": "switch",
				"condition": "flag:arg1",
				"caseList": [
					{
						"case": "0",
						"action": [
							{
								"type": "comment",
								"text": "获得毒效果"
							},
							{
								"type": "if",
								"condition": "!flag:poison",
								"true": [
									{
										"type": "setValue",
										"name": "flag:poison",
										"value": "true"
									}
								],
								"false": []
							}
						]
					},
					{
						"case": "1",
						"action": [
							{
								"type": "comment",
								"text": "获得衰效果"
							},
							{
								"type": "if",
								"condition": "!flag:weak",
								"true": [
									{
										"type": "setValue",
										"name": "flag:weak",
										"value": "true"
									},
									{
										"type": "if",
										"condition": "core.values.weakValue>=1",
										"true": [
											{
												"type": "comment",
												"text": ">=1：直接扣数值"
											},
											{
												"type": "addValue",
												"name": "status:atk",
												"value": "-core.values.weakValue"
											},
											{
												"type": "addValue",
												"name": "status:def",
												"value": "-core.values.weakValue"
											}
										],
										"false": [
											{
												"type": "comment",
												"text": "<1：扣比例"
											},
											{
												"type": "function",
												"function": "function(){\ncore.addBuff('atk', -core.values.weakValue);\n}"
											},
											{
												"type": "function",
												"function": "function(){\ncore.addBuff('def', -core.values.weakValue);\n}"
											}
										]
									}
								],
								"false": []
							}
						]
					},
					{
						"case": "2",
						"action": [
							{
								"type": "comment",
								"text": "获得咒效果"
							},
							{
								"type": "if",
								"condition": "!flag:curse",
								"true": [
									{
										"type": "setValue",
										"name": "flag:curse",
										"value": "true"
									}
								],
								"false": []
							}
						]
					}
				]
			}
		],
		"滑冰事件": [
			{
				"type": "comment",
				"text": "公共事件：滑冰事件"
			},
			{
				"type": "if",
				"condition": "core.canMoveHero()",
				"true": [
					{
						"type": "comment",
						"text": "检测下一个点是否可通行"
					},
					{
						"type": "setValue",
						"name": "flag:nx",
						"value": "core.nextX()"
					},
					{
						"type": "setValue",
						"name": "flag:ny",
						"value": "core.nextY()"
					},
					{
						"type": "if",
						"condition": "core.noPass(flag:nx, flag:ny)",
						"true": [
							{
								"type": "comment",
								"text": "不可通行，触发下一个点的事件"
							},
							{
								"type": "trigger",
								"loc": [
									"flag:nx",
									"flag:ny"
								]
							}
						],
						"false": [
							{
								"type": "comment",
								"text": "可通行，先移动到下个点，然后检查阻激夹域，并尝试触发该点事件"
							},
							{
								"type": "moveHero",
								"time": 80,
								"steps": [
									"forward"
								]
							},
							{
								"type": "function",
								"function": "function(){\ncore.checkBlock();\n}"
							},
							{
								"type": "comment",
								"text": "【触发事件】如果该点存在事件则会立刻结束当前事件"
							},
							{
								"type": "trigger",
								"loc": [
									"flag:nx",
									"flag:ny"
								]
							},
							{
								"type": "comment",
								"text": "如果该点不存在事件，则继续检测该点是否是滑冰点"
							},
							{
								"type": "if",
								"condition": "core.getBgNumber() == 167",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.insertAction(\"滑冰事件\",null,null,null,true)\n}"
									}
								],
								"false": []
							}
						]
					}
				],
				"false": []
			}
		],
		"回收钥匙商店": [
			{
				"type": "comment",
				"text": "此事件在全局商店中被引用了(全局商店keyShop1)"
			},
			{
				"type": "comment",
				"text": "解除引用前勿删除此事件"
			},
			{
				"type": "comment",
				"text": "玩家在快捷列表（V键）中可以使用本公共事件"
			},
			{
				"type": "while",
				"condition": "1",
				"data": [
					{
						"type": "choices",
						"text": "\t[商人,woman]用分数兑换，5分换破，15分换飞，10分换墙或换炸！ | 当前分数: ${flag:score3}",
						"choices": [
							{
								"text": "能够挖开墙角的锄头",
								"icon": "pickaxe",
								"action": [
									{
										"type": "if",
										"condition": "flag:score3>=5",
										"true": [
											{
												"type": "setValue",
												"name": "item:pickaxe",
												"value": "item:pickaxe+1"
											},
											{
												"type": "setValue",
												"name": "flag:score3",
												"value": "flag:score3-5"
											}
										],
										"false": [
											{
												"type": "tip",
												"text": "分数不够！"
											}
										]
									}
								]
							},
							{
								"text": "能够对称飞的翅膀",
								"icon": "centerFly",
								"action": [
									{
										"type": "if",
										"condition": "flag:score3>=15",
										"true": [
											{
												"type": "setValue",
												"name": "item:centerFly",
												"value": "item:centerFly+1"
											},
											{
												"type": "setValue",
												"name": "flag:score3",
												"value": "flag:score3-15"
											}
										],
										"false": [
											{
												"type": "tip",
												"text": "分数不够！"
											}
										]
									}
								]
							},
							{
								"text": "能够粘贴的墙",
								"icon": "I332",
								"action": [
									{
										"type": "if",
										"condition": "flag:score3>=10",
										"true": [
											{
												"type": "setValue",
												"name": "item:I332",
												"value": "item:I332+1"
											},
											{
												"type": "setValue",
												"name": "flag:score3",
												"value": "flag:score3-10"
											}
										],
										"false": [
											{
												"type": "tip",
												"text": "分数不够！"
											}
										]
									}
								]
							},
							{
								"text": "能炸怪物的炸弹",
								"icon": "bomb",
								"action": [
									{
										"type": "if",
										"condition": "flag:score3>=10",
										"true": [
											{
												"type": "setValue",
												"name": "item:bomb",
												"value": "item:bomb+1"
											},
											{
												"type": "setValue",
												"name": "flag:score3",
												"value": "flag:score3-10"
											}
										],
										"false": [
											{
												"type": "tip",
												"text": "分数不够！"
											}
										]
									}
								]
							},
							{
								"text": "返回",
								"action": [
									{
										"type": "break"
									}
								]
							}
						]
					}
				]
			}
		],
		"数字": [
			{
				"type": "switch",
				"condition": "flag:arg1",
				"caseList": [
					{
						"case": "1",
						"action": [
							{
								"type": "if",
								"condition": "core.status.floorId==\"MT0\"",
								"true": [
									{
										"type": "openDoor",
										"loc": [
											5,
											5
										],
										"floorId": "MT0"
									},
									{
										"type": "autoSave"
									}
								],
								"false": [
									{
										"type": "addValue",
										"name": "item:bomb",
										"value": "1"
									},
									{
										"type": "addValue",
										"name": "item:pickaxe",
										"value": "1"
									},
									{
										"type": "addValue",
										"name": "item:centerFly",
										"value": "1"
									},
									"送一破一飞一炸",
									{
										"type": "addValue",
										"name": "flag:a1",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "2",
						"action": [
							{
								"type": "if",
								"condition": "core.status.floorId==\"MT0\"",
								"true": [
									{
										"type": "openDoor",
										"loc": [
											7,
											4
										],
										"floorId": "MT0"
									},
									{
										"type": "autoSave"
									}
								],
								"false": [
									{
										"type": "addValue",
										"name": "item:yellowKey",
										"value": "1"
									},
									{
										"type": "addValue",
										"name": "item:redKey",
										"value": "1"
									},
									{
										"type": "addValue",
										"name": "item:blueKey",
										"value": "1"
									},
									"送三色钥匙",
									{
										"type": "addValue",
										"name": "flag:a1",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "3",
						"action": [
							{
								"type": "if",
								"condition": "core.status.floorId==\"MT0\"",
								"true": [
									{
										"type": "openDoor",
										"loc": [
											14,
											6
										],
										"floorId": "MT0"
									},
									{
										"type": "autoSave"
									}
								],
								"false": [
									"魔防+15",
									{
										"type": "addValue",
										"name": "status:atk",
										"value": "1"
									},
									{
										"type": "addValue",
										"name": "flag:a1",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "4",
						"action": [
							{
								"type": "if",
								"condition": "core.status.floorId==\"MT0\"",
								"true": [
									{
										"type": "openDoor",
										"loc": [
											2,
											8
										],
										"floorId": "MT0"
									},
									{
										"type": "autoSave"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:defSwitch",
										"value": "true"
									},
									"伤害减免增加7%！",
									{
										"type": "addValue",
										"name": "flag:a1",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "5",
						"action": [
							{
								"type": "if",
								"condition": "core.status.floorId==\"MT0\"",
								"true": [
									{
										"type": "openDoor",
										"loc": [
											5,
											8
										],
										"floorId": "MT0"
									},
									{
										"type": "autoSave"
									}
								],
								"false": [
									{
										"type": "setGlobalValue",
										"name": "redPotion",
										"value": 90
									},
									{
										"type": "setGlobalValue",
										"name": "bluePotion",
										"value": 120
									},
									{
										"type": "setGlobalValue",
										"name": "yellowPotion",
										"value": 150
									},
									"血瓶效果提升为90、120、150！",
									{
										"type": "addValue",
										"name": "flag:a1",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "6",
						"action": [
							{
								"type": "if",
								"condition": "core.status.floorId==\"MT0\"",
								"true": [
									{
										"type": "openDoor",
										"loc": [
											8,
											8
										],
										"floorId": "MT0"
									},
									{
										"type": "autoSave"
									}
								],
								"false": [
									{
										"type": "addValue",
										"name": "status:hp",
										"value": "status:hp*0.8"
									},
									"血量提升获得当前的80%！",
									{
										"type": "addValue",
										"name": "flag:a1",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "7",
						"action": [
							{
								"type": "if",
								"condition": "core.status.floorId==\"MT0\"",
								"true": [
									{
										"type": "openDoor",
										"loc": [
											12,
											8
										],
										"floorId": "MT0"
									},
									{
										"type": "autoSave"
									}
								],
								"false": [
									{
										"type": "addValue",
										"name": "status:atk",
										"value": "2"
									},
									"攻击加2",
									{
										"type": "addValue",
										"name": "flag:a1",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "8",
						"action": [
							{
								"type": "if",
								"condition": "core.status.floorId==\"MT0\"",
								"true": [
									"教学通过！这里只演示了1~8，实际可涂九个数字。",
									{
										"type": "changeFloor",
										"floorId": "MT1",
										"loc": [
											7,
											14
										],
										"direction": "up",
										"time": 500
									}
								],
								"false": [
									{
										"type": "addValue",
										"name": "status:def",
										"value": "2"
									},
									"防御加2",
									{
										"type": "addValue",
										"name": "flag:a1",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "9",
						"action": [
							{
								"type": "if",
								"condition": "core.status.floorId==\"MT0\"",
								"true": [
									"9"
								],
								"false": [
									{
										"type": "addValue",
										"name": "status:hp",
										"value": "500"
									},
									{
										"type": "addValue",
										"name": "status:mdef",
										"value": "5"
									},
									"生命+500",
									{
										"type": "addValue",
										"name": "flag:a1",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "default",
						"action": []
					}
				]
			},
			{
				"type": "if",
				"condition": "flag:a1==9",
				"true": [
					{
						"type": "openDoor",
						"loc": [
							7,
							1
						],
						"floorId": "MT1"
					},
					{
						"type": "setBlock",
						"number": "flower",
						"loc": [
							[
								7,
								1
							]
						]
					}
				],
				"false": []
			}
		],
		"纸条": [
			"1.送1破1炸1飞\n2.送1黄1蓝1红\n3.15魔防\n4.获得减伤7%\n5.地图血瓶效果增加20%\n6.当前血量增加80%\n7.送2点攻击\n8.送2点防御\n9.送500血以及5魔防\n另外，满足9个数字后开启内道机关门，打死全部模仿后开启外道机关门"
		]
	}
}