Merge branch 'noAnimate' of https://gitea.mota.press/bdf1/tianta into noAnimate

This commit is contained in:
爱的天使Erdnase 2023-01-04 00:38:51 +08:00
commit ee336525b2
2 changed files with 520 additions and 495 deletions

View File

@ -326,12 +326,12 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
core.status.hero.exp += exp;
core.status.hero.statistics.exp += exp;
var hint = "打败 " + core.getEnemyValue(enemy, "name", x, y);
if (core.flags.statusBarItems.indexOf('enableMoney') >= 0)
hint += ',' + core.getStatusLabel('money') + '+' + money; // hint += ",金币+" + money;
if (core.flags.statusBarItems.indexOf('enableExp') >= 0)
hint += ',' + core.getStatusLabel('exp') + '+' + exp; // hint += ",经验+" + exp;
core.drawTip(hint, enemy.id);
var hint = "打败 " + core.getEnemyValue(enemy, "name", x, y);
if (core.flags.statusBarItems.indexOf('enableMoney') >= 0)
hint += ',' + core.getStatusLabel('money') + '+' + money; // hint += ",金币+" + money;
if (core.flags.statusBarItems.indexOf('enableExp') >= 0)
hint += ',' + core.getStatusLabel('exp') + '+' + exp; // hint += ",经验+" + exp;
if (!core.getFlag("isNoTip")) core.drawTip(hint, enemy.id);
// 中毒
if (core.enemys.hasSpecial(special, 12)) {
@ -849,7 +849,9 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
core.load(true);
break;
case 69: // E上 //打开光标
if ((core.flags.flyNearStair && !core.nearStair()))
if (!core.hasItem('fly'))
core.drawTip("你没有" + core.material.items['fly'].name, 'fly');
else if ((core.flags.flyNearStair && !core.nearStair()))
core.drawTip("必须在楼梯口才能使用" + core.material.items['fly'].name, 'fly');
else if (!core.canUseItem('fly'))
core.drawTip("不知道为什么," + core.material.items['fly'].name + "在此层失效了!", 'fly');
@ -870,7 +872,9 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
core.openToolbox(true);
break;
case 81: // Q下 //打开装备栏
if ((core.flags.flyNearStair && !core.nearStair()))
if (!core.hasItem('fly'))
core.drawTip("你没有" + core.material.items['fly'].name, 'fly');
else if ((core.flags.flyNearStair && !core.nearStair()))
core.drawTip("必须在楼梯口才能使用" + core.material.items['fly'].name, 'fly');
else if (!core.canUseItem('fly'))
core.drawTip("不知道为什么," + core.material.items['fly'].name + "在此层失效了!", 'fly');

File diff suppressed because it is too large Load Diff