Project1

标题: 删除 准备状态能力 物防 魔攻 魔防 [打印本页]

作者: 一流浪人    时间: 2013-2-12 00:20
标题: 删除 准备状态能力 物防 魔攻 魔防
本帖最后由 一流浪人 于 2013-2-12 02:33 编辑


作者: j433463    时间: 2013-2-12 01:39
如果只是修改装备页的显示,那可以这样改:

打开 Window_EquipStatus

找到重新整理 def refresh,最后一行的 6.times 改成 3.times

在下面找到绘制能力值的名字 def drew_param_name 改成
  1.   def draw_param_name(x, y, param_id)
  2.     @param_id = param_id + (param_id > 2 ? 3 : 0)
  3.     change_color(system_color)
  4.     draw_text(x, y, 80, line_height, Vocab::param(@param_id))
  5.   end
复制代码
找到绘制当前能力值 def draw_current_param,改成
  1.   def draw_current_param(x, y, param_id)
  2.     @param_id = param_id + (param_id > 2 ? 3 : 0)
  3.     change_color(normal_color)
  4.     draw_text(x, y, 32, line_height, @actor.param(@param_id), 2)
  5.   end
复制代码
找到最底下的绘制更换装备后的能力值 def draw_new_param 改成
  1.   def draw_new_param(x, y, param_id)
  2.     @param_id = param_id + (param_id > 2 ? 3 : 0)
  3.     new_value = @temp_actor.param(@param_id)
  4.     change_color(param_change_color(new_value - @actor.param(@param_id)))
  5.     draw_text(x, y, 32, line_height, new_value, 2)
  6.   end
复制代码
临时测试修改的,有问题请告知。



作者: 一流浪人    时间: 2013-2-12 02:29
j433463 发表于 2013-2-12 01:39
如果只是修改装备页的显示,那可以这样改:

打开 Window_EquipStatus

解决了,你真是天才!




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1