赞 | 0 |
VIP | 0 |
好人卡 | 2 |
积分 | 1 |
经验 | 1810 |
最后登录 | 2012-7-18 |
在线时间 | 18 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 18 小时
- 注册时间
- 2009-7-25
- 帖子
- 411
|
找我的贴子啊=/=
直接发你得了.- class Window_Base < Window
- def draw_actor_level(actor, x, y)
- text = ""
- lv = "0"
- case actor.level
- when 1..10
- text = "魂士"
- lv = actor.level.to_s
- when 11..20
- text = "魂师"
- lv = (actor.level-10).to_s
- when 21..30
- text = "大魂师"
- lv = (actor.level-20).to_s
- when 31..40
- text = "魂尊"
- lv = (actor.level-30).to_s
- when 41..50
- text = "魂宗"
- lv = (actor.level-40).to_s
- when 51..60
- text = "魂王"
- lv = (actor.level-50).to_s
- when 61..70
- text = "魂帝"
- lv = (actor.level-60).to_s
- when 71..80
- text = "魂圣"
- lv = (actor.level-70).to_s
- when 81..90
- text = "魂斗罗"
- lv = (actor.level-80).to_s
- when 91..100
- text = "封号斗罗"
- lv = (actor.level-90).to_s
- end
-
- self.contents.font.color = system_color
- self.contents.draw_text(x, y, 70, 32, text+"Lv:")
- self.contents.font.color = normal_color
- self.contents.draw_text(x + 60, y, 24, 32, lv, 2)
- end
- end
复制代码 |
|