| 
 
| 赞 | 0 |  
| VIP | 0 |  
| 好人卡 | 0 |  
| 积分 | 1 |  
| 经验 | 2169 |  
| 最后登录 | 2021-3-30 |  
| 在线时间 | 43 小时 |  
 Lv1.梦旅人 
	梦石0 星屑65 在线时间43 小时注册时间2013-7-29帖子6 | 
| 
x
加入我们,或者,欢迎回来。您需要 登录 才可以下载或查看,没有帐号?注册会员  ![]() 复制代码class Window_BattleStatus < Window_Selectable
  #--------------------------------------------------------------------------
  # ☆ 绘制角色战斗用肖像图
  #     enabled : 有效的标志。false 的时候使用半透明效果绘制
  #--------------------------------------------------------------------------
  def draw_face(face_name, face_index, x, y, enabled = true)
    bitmap = Cache.face(face_name)
    rect = Rect.new(face_index % 4 * 96, face_index / 4 * 96 + 32, 96, 22)
    contents.blt(x, y, bitmap, rect, enabled ? 255 : translucent_alpha)
    bitmap.dispose
  end
  #--------------------------------------------------------------------------
  # ☆ 绘制基本区域
  #--------------------------------------------------------------------------
  def draw_basic_area(rect, actor)
    
    draw_actor_face(actor, rect.x, rect.y + 1)
    contents.font.size = 20
    draw_actor_name(actor, rect.x + 100, rect.y, 100)
    contents.font.size = Font.default_size
    draw_actor_icons(actor, rect.x + 184, rect.y, rect.width - 104)
  end
  #-------------------
  #修改HPMP的位置
  #-----------------
  def draw_gauge_area_without_tp(rect, actor)
    draw_actor_hp(actor, rect.x + 82, rect.y, 64)
    draw_actor_mp(actor, rect.x + 156,  rect.y, 64)
  end
end
 | 
 |