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
以下引用阿尔帝梅斯于2008-7-31 16:17:52的发言:
更不懂了
那个脚本放在那?
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |