赞 | 16 |
VIP | 0 |
好人卡 | 0 |
积分 | 14 |
经验 | 0 |
最后登录 | 2023-11-7 |
在线时间 | 50 小时 |
Lv3.寻梦者
- 梦石
- 0
- 星屑
- 1433
- 在线时间
- 50 小时
- 注册时间
- 2020-2-16
- 帖子
- 103
|
def draw_actor_parameter(actor, x, y, type)
new_color = normal_color ##########
case type
when 0
parameter_name = $data_system.words.atk
parameter_value = actor.atk
when 1
parameter_name = $data_system.words.pdef
parameter_value = actor.pdef
when 2
parameter_name = $data_system.words.mdef
parameter_value = actor.mdef
when 3
parameter_name = $data_system.words.str
parameter_value = actor.str
if actor.state?(17) ##########
new_color = text_color(2) ##########
end ##########
when 4
parameter_name = $data_system.words.dex
parameter_value = actor.dex
when 5
parameter_name = $data_system.words.agi
parameter_value = actor.agi
when 6
parameter_name = $data_system.words.int
parameter_value = actor.int
end
self.contents.font.color = system_color
self.contents.draw_text(x, y, 120, 32, parameter_name)
self.contents.font.color = new_color ##########
self.contents.draw_text(x + 120, y, 36, 32, parameter_value.to_s, 2)
end
|
评分
-
查看全部评分
|