fix:
- 修复 items.js 中 StarCoinHammer2 没有 text 导致绘制道具信息出错的问题 - 修复因为 star 变量引用错误导致无法进入最终 boss 战的问题
This commit is contained in:
parent
095e0c86b1
commit
7e7f36250b
@ -761,7 +761,8 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
|||||||
"name": "星币锤",
|
"name": "星币锤",
|
||||||
"canUseItemEffect": "true",
|
"canUseItemEffect": "true",
|
||||||
"hideInToolbox": true,
|
"hideInToolbox": true,
|
||||||
"useItemEffect": "if (flags.star.level > 0) {\n\tflags.star.level--\n\tflags.StarCoinHammer = !flags.StarCoinHammer\n} else core.drawTip(\"当前暂无星光\")"
|
"useItemEffect": "if (flags.star.level > 0) {\n\tflags.star.level--\n\tflags.StarCoinHammer = !flags.StarCoinHammer\n} else core.drawTip(\"当前暂无星光\")",
|
||||||
|
"text": "\\i[BuffStarlight]+7,可消耗100×\\i[stars]的\\i[money](魔法学院消耗X3),伤害计算时获得\\i[money]×\\i[stars]%(魔法学院效果-90%)的\\i[atk](上限1000×\\i[stars])\\n开启/关闭需消耗1\\i[BuffStarlight]"
|
||||||
},
|
},
|
||||||
"FlashlightS": {
|
"FlashlightS": {
|
||||||
"cls": "items",
|
"cls": "items",
|
||||||
|
@ -20289,7 +20289,6 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
this.hero_atk = core.getRealStatus('atk');
|
this.hero_atk = core.getRealStatus('atk');
|
||||||
this.hero_def = core.getRealStatus('def');
|
this.hero_def = core.getRealStatus('def');
|
||||||
this.hero_money = core.status.hero.money;
|
this.hero_money = core.status.hero.money;
|
||||||
this.star = core.flags.star.level;
|
|
||||||
|
|
||||||
this.ATKbet = flags.Trident * 3;
|
this.ATKbet = flags.Trident * 3;
|
||||||
this.DEFbet = flags.Trident * 5;
|
this.DEFbet = flags.Trident * 5;
|
||||||
@ -20684,11 +20683,11 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
|
|
||||||
// FlashlightB 星光数增加结算
|
// FlashlightB 星光数增加结算
|
||||||
if (core.hasItem("FlashlightB") && this.turn > 1 && this.turn % 3 === 1) {
|
if (core.hasItem("FlashlightB") && this.turn > 1 && this.turn % 3 === 1) {
|
||||||
core.flags.star.level++;
|
flags.star.level++;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 星光奖励 money 结算
|
// 星光奖励 money 结算
|
||||||
this.hero_money += this.star * flags.ratio;
|
this.hero_money += flags.star.level * flags.ratio;
|
||||||
|
|
||||||
|
|
||||||
if (core.hasItem("VitaminPills")) {
|
if (core.hasItem("VitaminPills")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user