| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 3 | 
 
| 经验 | 6435 | 
 
| 最后登录 | 2022-8-29 | 
 
| 在线时间 | 141 小时 | 
 
 
 
 
 
Lv2.观梦者 
	- 梦石
 - 0 
 
        - 星屑
 - 299 
 
        - 在线时间
 - 141 小时
 
        - 注册时间
 - 2010-10-16
 
        - 帖子
 - 41
 
 
 
 | 
	
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员  
 
x
 
修改了这个部分不显示金钱改显示敌人的注释  
但是 敌人注释只能显示10个字符 后面的字无法显示,。。。。 
因为游戏页面不够大 ,,但是如何换行呢? 让引用敌人的注释可以完整的显示出来?{:2_249:} 求助。。 
 
 
 
        this.resetTextColor(); 
        this.drawText(enemy.note, x, y); 
        x += this.textWidth(enemy.note) + 6; 
        this.changeTextColor(this.systemColor()); 
        this.drawText(TextManager.currencyUnit, x, y); 
 
        x = this.contents.width - rewardsWidth; 
        y += lineHeight; 
 
        for (var j = 0; j < enemy.dropItems.length; j++) { 
            var di = enemy.dropItems[j]; 
            if (di.kind > 0) { 
                var item = Game_Enemy.prototype.itemObject(di.kind, di.dataId); 
                this.drawItemName(item, x, y, rewardsWidth); 
                y += lineHeight; 
            } 
        } 
 
        var descWidth = 480; 
        x = this.contents.width - descWidth; 
        y = this.textPadding() + lineHeight * 7; 
        this.drawTextEx(enemy.meta.desc1, x, y + lineHeight * 0, descWidth); 
        this.drawTextEx(enemy.meta.desc2, x, y + lineHeight * 1, descWidth); 
    }; 
 
})(); |   
 
 
 
 |