| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 1 | 
 
| 经验 | 2110 | 
 
| 最后登录 | 2016-3-29 | 
 
| 在线时间 | 58 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 50 
 
        - 在线时间
 - 58 小时
 
        - 注册时间
 - 2012-9-26
 
        - 帖子
 - 27
 
 
 
 | 
	
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员  
 
x
 
具体如图右上角小兵 
这是改了的脚本 
 
#============================================================================== 
# ■ Window_EnemyStatus 
#------------------------------------------------------------------------------ 
#  显示战斗画面敌人状态的窗口。 
#============================================================================== 
 
class Window_EnemyStatus < Window_Base 
  #-------------------------------------------------------------------------- 
  # ● 初始化对像 
  #-------------------------------------------------------------------------- 
  def initialize 
    super(440, 0, 200, 320) 
    self.contents = Bitmap.new(width - 32, height - 32) 
    self.opacity = 0 
    refresh 
  end 
  #-------------------------------------------------------------------------- 
  # ● 释放 
  #-------------------------------------------------------------------------- 
  def dispose 
    super 
  end 
 
  #-------------------------------------------------------------------------- 
  # ● 刷新 
  #-------------------------------------------------------------------------- 
  def refresh 
    self.contents.clear 
    @item_max = $game_troop.enemies.size 
    for i in 0...$game_troop.enemies.size 
      actor = $game_troop.enemies[i] 
      actor_y = i * 56 + 4 
      self.contents.draw_text(4, actor_y , 160, 32, actor.name ,2) 
      self.contents.draw_text(4, actor_y + 24 , 160, 32, actor.hp.to_s ,2) 
      bitmap = RPG::Cache.picture("hp_bar") 
      w1 = actor.maxhp * 100 / 1000 
      self.contents.blt(0 ,actor_y + 36 , bitmap , Rect.new(0, 0, w1, 8)) 
      bitmap = RPG::Cache.picture("hp_bar2") 
      w2 = actor.hp * w1 / actor.maxhp 
      self.contents.blt(0 ,actor_y + 36 , bitmap , Rect.new(0, 0,w1 - w2, 8)) 
    end 
  end 
  #-------------------------------------------------------------------------- 
  # ● 刷新画面 
  #-------------------------------------------------------------------------- 
  def update 
    super 
    # 主界面的不透明度下降 
    if $game_temp.battle_main_phase 
      self.contents_opacity -= 4 if self.contents_opacity > 191 
    else 
      self.contents_opacity += 4 if self.contents_opacity < 255 
    end 
  end 
end 
 |   
 
 
 
 |