class Window_Skill < Window_Selectable
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
@data = []
for skill in @actor.skills
######################################################
if $game_temp.in_battle
if not [378,379,380,381,382,383,384,385,386,387,601,602,603,604,605,606,607,
621,622,623,624,625,626,627,641,642,643,644,645,646,647,648,649,650,687,
701,702,703,704,853,854,855,856,866,867,868,869,870,871,872,873,874,875].include?(skill.id)
@data.push(skill)
if skill.id == @actor.last_skill_id
self.index = @data.size - 1
end
end
else
@data.push(skill)
if skill.id == @actor.last_skill_id
self.index = @data.size - 1
end
end
######################################################
end
@item_max = @data.size
create_contents
for i in 0...@item_max
draw_item(i)
end
end
end
class Window_Skill < Window_Selectable
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
@data = []
for skill in @actor.skills
######################################################
if $game_temp.in_battle
if not [378,379,380,381,382,383,384,385,386,387,601,602,603,604,605,606,607,
621,622,623,624,625,626,627,641,642,643,644,645,646,647,648,649,650,687,
701,702,703,704,853,854,855,856,866,867,868,869,870,871,872,873,874,875].include?(skill.id)
@data.push(skill)
if skill.id == @actor.last_skill_id
self.index = @data.size - 1
end
end
else
@data.push(skill)
if skill.id == @actor.last_skill_id
self.index = @data.size - 1
end
end
######################################################
end
@item_max = @data.size
create_contents
for i in 0...@item_max
draw_item(i)
end
end
end