| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 0 | 
 
| 经验 | 11364 | 
 
| 最后登录 | 2016-1-7 | 
 
| 在线时间 | 178 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 49 
 
        - 在线时间
 - 178 小时
 
        - 注册时间
 - 2012-11-18
 
        - 帖子
 - 57
 
 
 
 | 
	
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员  
 
x
 
问题图片已经附上,上面的状态字被削去了一半,而且第四个状态会在下一行出现,而我希望他们能在同一行... 
使用的是主站上的多重状态脚本- #============================================================================== 
 
 - # 本脚本来自www.66RPG.com,使用和转载请保留此信息 
 
 - #============================================================================== 
 
 - #============================================================================== 
 
 - # 多重状态     Ver. 1.1                 by Claimh 
 
 - #------------------------------------------------------------------------------ 
 
 - # http://www.k3.dion.ne.jp/~claimh/ 
 
 - #============================================================================== 
 
 - class Window_Base < Window 
 
 -   #-------------------------------------------------------------------------- 
 
 -   #  生成状态文字 
 
 -   #-------------------------------------------------------------------------- 
 
 -   def make_battler_state_text_over3(battler, width, need_normal) 
 
 -     brackets_width = self.contents.text_size("[]").width 
 
 -     text = "" 
 
 -     text0 = "" 
 
 -     ret_text = ["",""] 
 
 -     for i in battler.states 
 
 -       if $data_states[i].rating >= 1 
 
 -         if text == "" 
 
 -           text = $data_states[i].name 
 
 -         else 
 
 -           new_text = text + "/" + $data_states[i].name 
 
 -           text_width = self.contents.text_size(new_text).width 
 
 -           if text_width > width - brackets_width 
 
 -             text0 = new_text  
 
 -             text = "" 
 
 -             new_text = "" 
 
 -             text_width = 0 
 
 -           else 
 
 -             text = new_text  
 
 -           end 
 
 -         end 
 
 -       end 
 
 -     end 
 
 -     if text == "" and text0 == "" 
 
 -       ret_text = ["[正常]", ""] 
 
 -     elsif text0 == "" 
 
 -       ret_text[0] = "[" + text + "]" 
 
 -       ret_text[1] = "" 
 
 -     else 
 
 -       ret_text[0] = "[" + text0 + "]" 
 
 -       if text != "" 
 
 -         ret_text[1] = "[" + text + "]" 
 
 -       else 
 
 -         ret_text[1] = "" 
 
 -       end 
 
 -     end 
 
 -     return ret_text 
 
 -   end 
 
 -   #-------------------------------------------------------------------------- 
 
 -   # 描绘角色状态 
 
 -   #-------------------------------------------------------------------------- 
 
 -   def draw_actor_state(actor, x, y, width = 120) 
 
 -     text = make_battler_state_text_over3(actor, width, true) 
 
 -     self.contents.font.color = actor.hp == 0 ? knockout_color : normal_color 
 
 -     if text[1] == "" 
 
 -       self.contents.draw_text(x-5, y, width+5, 32, text[0]) 
 
 -     else 
 
 -       self.contents.font.size = 20 
 
 -       self.contents.draw_text(x-5, y - 15 , width+5, 32, text[0]) 
 
 -       self.contents.draw_text(x-5, y + 8, width+5, 32, text[1]) 
 
 -     end 
 
 -   end 
 
 - end 
 
 - #============================================================================== 
 
 - # 本脚本来自www.66RPG.com,使用和转载请保留此信息 
 
 - #==============================================================================
 
  复制代码 |   
 
 
 
 |