[LINE]1,#dddddd[/LINE]版务信息:本贴由楼主自主结贴~作者: xiarongshan 时间: 2008-5-18 19:29
提示: 作者被禁止或删除 内容自动屏蔽作者: 卓越大白痴 时间: 2008-5-19 20:01
就是这个了 http://rpg.blue/viewthread.php?tid=86343作者: 卓越大白痴 时间: 2008-5-20 18:47
很难吗?作者: 禾西 时间: 2008-5-20 18:49
PM 東宮水娘問問吧...XD作者: 卓越大白痴 时间: 2008-5-20 18:51
禾西大侠说什么呢作者: 禾西 时间: 2008-5-20 18:53
你直接問作者 - 水迭澜 - 不是更快?何必等好多天呢?(契約這麽多腳本,一個個找可是不現實滴) 作者: 卓越大白痴 时间: 2008-5-20 19:10
我 只是移埴了这两个伟大的脚本
[HTML#==============================================================================
# ■ Window_Base
#------------------------------------------------------------------------------
# 游戏中全部窗口的超级类。
#==============================================================================
class Window_Base < Window
def draw_actor_guard_state(actor, x, y)
guard_state = []
if actor.armor1_id != 0
for i in $data_armors[actor.armor1_id].guard_state_set
if !guard_state.include?(i)
guard_state.push(i)
end
end
end
if actor.armor2_id != 0
for i in $data_armors[actor.armor2_id].guard_state_set
if !guard_state.include?(i)
guard_state.push(i)
end
end
end
if actor.armor3_id != 0
for i in $data_armors[actor.armor3_id].guard_state_set
if !guard_state.include?(i)
guard_state.push(i)
end
end
end
if actor.armor4_id != 0
for i in $data_armors[actor.armor4_id].guard_state_set
if !guard_state.include?(i)
guard_state.push(i)
end
end
end
self.contents.font.color = system_color
self.contents.draw_text(x, y, 120, 32, "状态防御")
self.contents.font.color = normal_color
for i in 0...guard_state.size
self.contents.draw_text(x + 96 + i%4*48, y+ i/4*32, 48, 32, $data_states[guard_state].name)
end
end
#--------------------------------------------------------------------------
# ● 生辰成描绘用状态字符串
# actor : 角色
# width : 描画目标的宽度
# need_normal : [正常] 是否为必须 (true / false)
#--------------------------------------------------------------------------
def make_battler_state_text(battler, width, need_normal)
# 获取括号的宽
brackets_width = self.contents.text_size("[]").width
# 生成状态名字符串
text = ""
for i in battler.states
if $data_states.rating >= 1
if text == ""
text = $data_states.name
else
new_text = text + "/" + $data_states.name
text_width = self.contents.text_size(new_text).width
if text_width > width - brackets_width
break
end
text = new_text
end
end
end
# 状态名空的字符串是 "[正常]" 的情况下
if text == ""
if need_normal
text = "●正常"
end
else
# 加上括号
text = "★" + text
end
# 返回完成后的文字类
return text
end
#--------------------------------------------------------------------------
# ● 描绘状态
# actor : 角色
# x : 描画目标 X 坐标
# y : 描画目标 Y 坐标
# width : 描画目标的宽
#--------------------------------------------------------------------------
def draw_actor_state(actor, x, y, width = 120)
text = make_battler_state_text(actor, width, true)
if !actor.states.empty?
self.contents.font.color = actor.hp == 0 ? knockout_color : text_color(3)
else
self.contents.font.color = normal_color
end
self.contents.font.size = 16
self.contents.draw_text(x, y, width, 32, text)
self.contents.font.size = 20
self.contents.font.color=normal_color
end
#--------------------------------------------------------------------------
# ● 描画 EXP
# actor : 角色
# x : 描画目标 X 坐标
# y : 描画目标 Y 坐标
#--------------------------------------------------------------------------
def draw_actor_exp(actor, x, y)
self.contents.font.color = system_color
self.contents.draw_text(x , y, 48, 32, "经验")
self.contents.font.color = normal_color
self.contents.draw_text(x + 24, y, 84, 32, actor.exp_s, 2)
self.contents.draw_text(x + 108, y, 12, 32, "/", 1)
self.contents.draw_text(x + 120, y, 84, 32, actor.next_exp_s)
end[/code]作者: 禾西 时间: 2008-5-27 06:37
處理版務的時候才看到....囧。查找 $data_system.words.吧 [LINE]1,#dddddd[/LINE]系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~作者: 卓越大白痴 时间: 2008-5-27 18:32
哈哈 没有作者: 禾西 时间: 2008-5-27 18:34
感覺上不在你列出的腳本當中...作者: 卓越大白痴 时间: 2008-5-28 21:43
所以我也晕哦作者: 禾西 时间: 2008-5-28 21:48
在原本工程當中搜索一下禾西所說的語句吧 XD