| 赞 | 9 |
| VIP | |
| 好人卡 | |
| 积分 | 205 |
| 经验 | |
| 最后登录 | 2025-6-10 |
| 在线时间 | 94 小时 |
御灵的宠物
- 梦石
- 12
- 星屑
- 8481
- 在线时间
- 94 小时
- 注册时间
- 2006-12-11
- 回帖
- 3101

|
发表于 2008-2-21 21:16:08
|
显示全部楼层
晕,给错了
你在window_base搜索def text_color(n)
def text_color(n)
case n
when 0
return Color.new(255, 255, 255, 255)
when 1
return Color.new(128, 128, 255, 255)
when 2
return Color.new(255, 128, 128, 255)
when 3
return Color.new(128, 255, 128, 255)
when 4
return Color.new(128, 255, 255, 255)
when 5
return Color.new(255, 128, 255, 255)
when 6
return Color.new(255, 255, 128, 255)
when 7
return Color.new(192, 192, 192, 255)
else
normal_color
end
end
改成
def text_color(n)
case n
when 0
return Color.new(255, 255, 255, 255)
when 1
return Color.new(128, 128, 255, 255)
when 2
return Color.new(255, 128, 128, 255)
when 3
return Color.new(128, 255, 128, 255)
when 4
return Color.new(128, 255, 255, 255)
when 5
return Color.new(255, 128, 255, 255)
when 6
return Color.new(255, 255, 128, 255)
when 7
return Color.new(192, 192, 192, 255)
when 8
return Color.new(0, 0, 0, 255)
else
normal_color
end
end
这样打\c[8]就可以改成黑色…… 系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|