self.contents.font.color = normal_color
if skill.element_set.include?(19)
self.contents.font.color = Color.new(16, 300,120,255)
else
self.contents.font.color = normal_color
end
self.contents.draw_text(x + 28, y, 204, 32, skill.name, 0)
->
self.contents.draw_text(x + 232, y, 48, 32, skill.sp_cost.to_s, 2)
if @actor.skill_can_use?(skill.id)
self.contents.font.color = normal_color
else
self.contents.font.color = disabled_color
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |