View project in menu
This commit is contained in:
parent
f37b2673b4
commit
d8571db369
@ -1395,7 +1395,7 @@ ui.prototype.drawBook = function (index) {
|
|||||||
|
|
||||||
////// 绘制怪物属性的详细信息 //////
|
////// 绘制怪物属性的详细信息 //////
|
||||||
ui.prototype.drawBookDetail = function (index) {
|
ui.prototype.drawBookDetail = function (index) {
|
||||||
var enemys = core.enemys.getCurrentEnemys(core.floorIds[core.status.event.selection]);
|
var enemys = core.enemys.getCurrentEnemys(core.floorIds[(core.status.event.selection||{}).index]);
|
||||||
if (enemys.length==0) return;
|
if (enemys.length==0) return;
|
||||||
if (index<0) index=0;
|
if (index<0) index=0;
|
||||||
if (index>=enemys.length) index=enemys.length-1;
|
if (index>=enemys.length) index=enemys.length-1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user