Lord_Vaati
Member
I'm using the FFXII CMS and I want it to show the Currently equipped Weapon instead of the Class of the hero.
Can someone change that bit of code in there to show the Weapon name?
Thanks.
Code:
def draw_actor_class2(actor, x, y)
self.contents.font.name = "Black Chancery"
self.contents.font.color = outline_color
self.contents.draw_text(x + 1, y + 1, 236, 32, actor.class_name)
self.contents.draw_text(x + 1, y - 1, 236, 32, actor.class_name)
self.contents.draw_text(x - 1, y + 1, 236, 32, actor.class_name)
self.contents.draw_text(x - 1, y - 1, 236, 32, actor.class_name)
self.contents.font.color = Color.new(238, 139, 254, 255)
self.contents.draw_text(x, y, 236, 32, actor.class_name)
end
Can someone change that bit of code in there to show the Weapon name?
Thanks.