Browse Source

修复进化型不出现的问题

tags/v1.0
枫谷剑仙 7 years ago
parent
commit
1729aea2ff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      script.js

+ 1
- 1
script.js View File

@@ -476,7 +476,7 @@ function editBoxChangeMonId(id)
var mType = monInfoBox.querySelectorAll(".monster-type li");
for (var ti=0;ti<mType.length;ti++)
{
if (md.type[ti])
if (md.type[ti]>=0)
{
mType[ti].className = "type-name type-name-" + md.type[ti];
mType[ti].firstChild.className = "type-icon type-icon-" + md.type[ti];


Loading…
Cancel
Save