| 赞 | 46 |
| VIP | |
| 好人卡 | |
| 积分 | 97 |
| 经验 | |
| 最后登录 | 2026-6-17 |
| 在线时间 | 2775 小时 |
梦石0
星屑9716
在线时间2775 小时
注册时间2008-9-5
回帖3458
   
|
发表于 2015-12-17 19:24:54
|
显示全部楼层
- class Window_Base < Window
- #--------------------------------------------------------------------------
- # ● 绘制等级
- #--------------------------------------------------------------------------
- def draw_actor_level(actor, x, y)
- return unless actor
- change_color(system_color)
- draw_text(x, y, 32, line_height, Vocab::level_a)
- change_color(normal_color)
- # 角色分歧
- case actor.id
- when 1 # 数据库1号角色
- draw_text(x + 32, y, 24, line_height, "????", 2)
- when 2 # 数据库2号角色
- draw_text(x + 32, y, 24, line_height, "~谜~", 2)
- else # 除了上面指定的ID之外,其他的角色描绘默认的等级。
- draw_text(x + 32, y, 24, line_height, actor.level, 2)
- end
- end
- end
复制代码 |
评分
-
查看全部评分
|