请选择 进入手机版 | 继续访问电脑版

江湖梦网游戏服务平台

 找回密码
 免费注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 2588|回复: 3

[搬运汉化] 屏蔽掉战斗日志

[复制链接]

449

帖子

41

精华

25

贡献

江湖英豪

检察者

Rank: 5Rank: 5Rank: 5

积分
7217
发表于 2020-1-15 04:20 | 显示全部楼层 |阅读模式

马上注册,享用更多精彩。

您需要 登录 才可以下载或查看,没有帐号?免费注册

x
本帖最后由 大魔王 于 2020-1-15 04:22 编辑

原作者:salvareless


如题,屏蔽战斗日志,本来因为自己要用所以就小搜了一下,发现好像之后VA屏蔽战斗日志的帖子,而且好像会报错的样子,所以就自己翻了翻代码,方法比较粗糙,但是很实用。首先找到windows.js,用代码编辑软件打开它,找到这个位置

  1. Window_BattleLog.prototype.windowWidth = function() {
  2.     return Graphics.boxWidth;
  3. };

  4. Window_BattleLog.prototype.windowHeight = function() {
  5.     return this.fittingHeight(this.maxLines());
  6. };
复制代码

在代码中两个return后面填上0,其余的部分注释掉。变成:

  1. Window_BattleLog.prototype.windowWidth = function() {
  2.     return 0 //Graphics.boxWidth;
  3. };

  4. Window_BattleLog.prototype.windowHeight = function() {
  5.     return 0 //this.fittingHeight(this.maxLines());
  6. };
复制代码
好啦,这下可以安全的屏蔽掉战斗日志啦。


QQ群:135474765游戏群 [img]http://img2.17getfun.com/FhlesUf3VWxvhVFuc0qdBwYuanyt?imageMogr2/auto-orient/thumbnail/1080x%3E/format/jpg/

449

帖子

41

精华

25

贡献

江湖英豪

检察者

Rank: 5Rank: 5Rank: 5

积分
7217
 楼主| 发表于 2020-1-15 04:23 | 显示全部楼层
  1. (function()
  2. {
  3.     Window_BattleLog.prototype.windowWidth = function()
  4.   {
  5.     return 0 //Graphics.boxWidth;
  6.   };

  7. Window_BattleLog.prototype.windowHeight = function()
  8.   {
  9.     return 0 //this.fittingHeight(this.maxLines());
  10.   };
  11. })();
复制代码


高级美化
原作者:夏末渐离
QQ群:135474765游戏群 [img]http://img2.17getfun.com/FhlesUf3VWxvhVFuc0qdBwYuanyt?imageMogr2/auto-orient/thumbnail/1080x%3E/format/jpg/

71

帖子

0

精华

0

贡献

江湖才俊

Rank: 3

积分
200
发表于 2020-1-15 10:12 | 显示全部楼层
6666666
回复

使用道具 举报

本站网友  发表于 2020-1-15 18:18
把孤独当做晚餐
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|手机版|Archiver|小黑屋|江湖梦网 ( 粤ICP备18126133号-1 )

GMT+8, 2024-4-16 19:28 , Processed in 0.228459 second(s), 25 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表