赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 1 |
经验 | 4530 |
最后登录 | 2020-3-12 |
在线时间 | 72 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 70
- 在线时间
- 72 小时
- 注册时间
- 2015-7-10
- 帖子
- 37
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 老王的忧郁 于 2015-9-11 16:33 编辑
def draw_actor_meridian(actor, x, y)
# 定义数字颜色
meridian = normal_color
upcolor = Color.new(0, 200, 0, 255)
self.contents.font.color = normal_color
self.contents.font.size = 16
parameter_name = "剩余修为:"
parameter_value = $meri_point
if $meri_point != 0
meridian = upcolor
end
if $game_switches[705] == true
constitution_name = "天魔五行之體"
elsif
$game_switches[706] == true
constitution_name = "太陰絕命之體"
elsif
$game_switches[707] == true
constitution_name = "天孤萬治之體"
elsif
$game_switches[708] ==true
constitution_name = "天極大聖之體"
elsif
$game_switches[709] == true
constitution_name = "天極大聖之體"
end
self.contents.font.color = system_color
self.contents.draw_text(x, y-10, 120, 32, parameter_name)
self.contents.draw_text(x, y+5, 120, 32,"下一级:" )
self.contents.font.color = normal_color
self.contents.draw_text(x + 100, y-10, 36, 32, parameter_value.to_s)
self.contents.draw_text(x + 100, y+5, 36, 32, $game_variables[183].to_s)
self.contents.font.color = text_color(3)
self.contents.draw_text(x, y+20, 120, 32, "根骨:")
self.contents.draw_text(x + 100, y+20, 36, 32, $game_variables[176].to_s)
self.contents.font.color = meridian
#self.contents.draw_text(x + 180, y, 60, 32, parameter_value_temp.to_s)
#self.contents.font.color = normal_color
self.contents.draw_text(x-100, y-9, 120, 32,"體 質" )
self.contents.font.color = normal_color
self.contents.draw_text(x-100, y+10, 120, 32,"constitution_name")
end
end
我写了这样一段代码,经过 喵呜喵5 大人的提示之后,就可以显示出正确的根据体质开关来决定
不同体质,不同【筋脉】升级需求不同的经验的脚本了 |
评分
-
查看全部评分
|