tianta/project/events.js
Erdnase 0d277a0b28 0-40层剧情改动,大部分应适配了新的跳过剧情效果(群主改的)
删除H5获得道具的自动提示
删除开局送的手册和楼传(保持与RM一致,手册和楼传在1楼获得)
优化打不过怪物时的效果(还原RM)
调大了字号
修复跳过剧情插件一个BUG:未跳过剧情时闪烁特效未删除
打不过怪物效果同步为RM
对话框标题微调
开场剧情选项优化
对话字体大小调整
新增两个插件:
1.移动怪物渐变消失
2.对话框偏移
对话框往左偏移27像素(还原RM)
怪物显伤右对齐(还原RM)
2023-01-03 00:17:24 +08:00

200 lines
3.6 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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",
"operator": "+=",
"value": "1*flag:arg1"
}
]
},
{
"text": "防御+${2*flag:arg1}",
"action": [
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "2*flag:arg1"
}
]
},
{
"text": "生命+${200*flag:arg1}",
"action": [
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "200*flag:arg1"
}
]
}
]
}
],
"回收钥匙商店": [
{
"type": "comment",
"text": "此事件在全局商店中被引用了(全局商店keyShop)"
},
{
"type": "comment",
"text": "解除引用前勿删除此事件"
},
{
"type": "comment",
"text": "玩家在快捷列表V键中可以使用本公共事件"
},
{
"type": "while",
"condition": "1",
"data": [
{
"type": "choices",
"text": "\t[商人,trader]你有多余的钥匙想要出售吗?",
"choices": [
{
"text": "黄钥匙10金币",
"color": [
255,
255,
0,
1
],
"action": [
{
"type": "if",
"condition": "item:yellowKey >= 1",
"true": [
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "-=",
"value": "1"
},
{
"type": "setValue",
"name": "status:money",
"operator": "+=",
"value": "10"
}
],
"false": [
"\t[商人,trader]你没有黄钥匙!"
]
}
]
},
{
"text": "蓝钥匙50金币",
"color": [
0,
0,
255,
1
],
"action": [
{
"type": "if",
"condition": "item:blueKey >= 1",
"true": [
{
"type": "setValue",
"name": "item:blueKey",
"operator": "-=",
"value": "1"
},
{
"type": "setValue",
"name": "status:money",
"operator": "+=",
"value": "50"
}
],
"false": [
"\t[商人,trader]你没有蓝钥匙!"
]
}
]
},
{
"text": "离开",
"action": [
{
"type": "exit"
}
]
}
]
}
]
}
],
"跳过事件图片": [
{
"type": "if",
"condition": "flag:useS_PASS",
"true": [
{
"type": "showImage2",
"code": 50,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
"null",
"null"
],
"loc": [
700,
0,
243,
71
],
"opacity": 1,
"time": 0
},
{
"type": "moveImage",
"code": 50,
"to": [
400,
0
],
"opacity": 1,
"time": 500
}
],
"false": [
{
"type": "moveImage",
"code": 50,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 50,
"time": 0
}
]
}
]
}
}