加强简单难度福利
This commit is contained in:
parent
c12e9ad266
commit
5dafd8aa20
@ -547,7 +547,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
1
|
||||
],
|
||||
"action": [
|
||||
"简单难度琼浆玉露和神之血效果翻倍,玉露效果为回满血后再得一瓶琼浆。同时送琼浆玉露各【10】瓶。",
|
||||
"简单难度琼浆玉露和神之血效果翻倍,玉露效果为回满血后再得一瓶琼浆。同时送琼浆玉露各【10】瓶。\n简单难度勇士的全属性额外给与10%的增幅。\n简单难度勇士开局获得幸运金币。\n简单难度勇士最多可以有最大生命2倍的生命。",
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:I415",
|
||||
@ -557,6 +557,40 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"type": "setValue",
|
||||
"name": "item:I416",
|
||||
"value": "10"
|
||||
},
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "buff:atk",
|
||||
"operator": "+=",
|
||||
"value": "0.1"
|
||||
},
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "buff:def",
|
||||
"operator": "+=",
|
||||
"value": "0.1"
|
||||
},
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "buff:mdef",
|
||||
"operator": "+=",
|
||||
"value": "0.1"
|
||||
},
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:coin",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"type": "hide",
|
||||
"loc": [
|
||||
[
|
||||
2,
|
||||
2
|
||||
]
|
||||
],
|
||||
"floorId": "ZH1",
|
||||
"remove": true
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -1038,7 +1072,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"startText": [
|
||||
{
|
||||
"type": "function",
|
||||
"function": "function(){\nflags._statusgry_ = 0;\nflags._statusbrg_ = 0.6;\ncore.createSpr0();\ncore.createSprBack();\n}"
|
||||
"function": "function(){\nflags._statusgry_ = 0;\nflags._statusbrg_ = 0.6;\ncore.createSpr0();\ncore.createSprBack();\nflags.version = 2;\n}"
|
||||
},
|
||||
{
|
||||
"type": "comment",
|
||||
|
@ -1259,10 +1259,11 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
core.setFlag('__fromLoad__', true);
|
||||
|
||||
// TODO:增加自己的一些读档处理
|
||||
if (!flags.version) {
|
||||
flags._statusbrg_ -= 0.15
|
||||
flags.version = 1
|
||||
if (flags.version != 2) {
|
||||
flags._statusbrg_ = 0.6
|
||||
flags.version = 2
|
||||
core.createSpr0()
|
||||
if (flags.hard == 1) core.addBuff('atk', 0.1), core.addBuff('def', 0.1), core.addBuff('mdef', 0.1)
|
||||
}
|
||||
// 切换到对应的楼层
|
||||
core.changeFloor(data.floorId, null, data.hero.loc, 0, function () {
|
||||
@ -1361,8 +1362,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
|
||||
// 检查HP上限
|
||||
if (core.flags.statusBarItems.indexOf('enableHPMax') >= 0) {
|
||||
if (core.getRealStatus('hpmax')<core.getStatus('hp')) core.addFlag('overflow', core.getStatus('hp') - core.getRealStatus('hpmax'))
|
||||
core.setStatus('hp', Math.min(core.getRealStatus('hpmax'), core.getStatus('hp')));
|
||||
if (core.getRealStatus('hpmax')*(flags.hard==1?2:1)<core.getStatus('hp')) core.addFlag('overflow', core.getStatus('hp') - core.getRealStatus('hpmax')*(flags.hard==1?2:1))
|
||||
core.setStatus('hp', Math.min(core.getRealStatus('hpmax')*(flags.hard==1?2:1), core.getStatus('hp')));
|
||||
}
|
||||
|
||||
// 设置楼层名
|
||||
|
Loading…
Reference in New Issue
Block a user