| 赞 | 0  | 
 
| VIP | 5 | 
 
| 好人卡 | 2 | 
 
| 积分 | 5 | 
 
| 经验 | 11436 | 
 
| 最后登录 | 2024-6-10 | 
 
| 在线时间 | 254 小时 | 
 
 
 
 
 
Lv2.观梦者 
	- 梦石
 - 0 
 
        - 星屑
 - 548 
 
        - 在线时间
 - 254 小时
 
        - 注册时间
 - 2010-8-25
 
        - 帖子
 - 371
 
 
 
 | 
	
5楼
 
 
 楼主 |
发表于 2012-11-6 23:11:15
|
只看该作者
 
 
 
 本帖最后由 hcm 于 2012-11-11 16:37 编辑  
 
 
我按照你的方法是这么改的: 
 
在Sprite_Battler那里的- if @battler.damage == nil and @battler.dead?
 
 -         #显示死亡图片
 
 -         @battler.battler_name = @battler.battler_name.split(/_/)[0]
 
 -         if @battler.is_a?(Game_Enemy)
 
 -           @battler.battler_name = @battler.battler_name + "_d"
 
 -         else
 
 -           @battler.battler_name = @battler.battler_name + "_d"
 
 -         end
 
 - end
 
  复制代码 在Scene_Battle 4那里-   #--------------------------------------------------------------------------
 
 -   # ● 刷新画面 (主回合步骤 5 : 显示伤害)
 
 -   #--------------------------------------------------------------------------
 
 -   def update_phase4_step5
 
 -     # 隐藏帮助窗口
 
 -     @help_window.visible = false
 
 -     # 刷新状态窗口
 
 -     @status_window.refresh
 
 -     @status2_window.refresh
 
 -     # 显示伤害
 
 -     for target in @target_battlers
 
 -       target.battler_name = target.battler_name.split(//)[0]
 
 -       target.battler_name = target.battler_name.split
 
 -       if target.damage != nil
 
 -         target.damage_pop = true
 
 -       end
 
 -     end
 
 -     # 移至步骤 6
 
 -     @phase4_step = 6
 
 -   end
 
  复制代码 发现人物在复活的时候还是尸体��� |   
 
 
 
 |