02-20-2010, 11:23 AM
That would require to edit the Skill_Window class and would break the compatibility with many battle systems. Specifically, the refresh method should change:
Code:
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
if self.contents != nil
self.contents.dispose
self.contents = nil
end
@data = []
for i in 0...@actor.skills.size
skill = $data_skills[@actor.skills[i]]
if skill != nil
@data.push(skill) unless (SKILL_COSTS[@actor.skills[i]] != nil and not @actor.active_skills.include?(@actor.skills[i])) # Edited line
end
end
# If item count is not 0, make a bit map and draw all items
@item_max = @data.size
if @item_max > 0
self.contents = Bitmap.new(width - 32, row_max * 32)
for i in 0...@item_max
draw_item(i)
end
end
end