The Urchin
Member
That's what I need to do but I can't find where the multi-slot stores the new equipment!
# ACCESSORY
y+=24
y+=24
self.contents.font.color = text_color(0)
if $data_armors[@actor.armor4_id] != nil
self.contents.font.color=system_color
self.contents.draw_text(x,y,320,20,"Accessory equipped: ")
self.contents.font.color=normal_color
self.contents.font.bold=true
draw_item_name_size($data_armors[@actor.armor4_id], x+200, y,18)
y+=36
bars=[]
for class_no in 0 .. $data_classes.length
if $data_classes[class_no] != nil
if $data_classes[class_no].name == $data_armors[@actor.armor4_id].name
for learning_no in 0 ... $data_classes[class_no].learnings.length
skill_name=$data_skills[$data_classes[class_no].learnings[learning_no].skill_id].name
skill_id=$data_classes[class_no].learnings[learning_no].skill_id
bars[learning_no]=Bar.new(x+200,12+y+16*learning_no,100,8,self.contents)
bars[learning_no].highlight_complete=true
bars[learning_no].refresh([LEARNING_EXP_POINTS_MULTIPLIER*$data_classes[class_no].learnings[learning_no].level,@actor.experience_points_skills[skill_name]].min,(LEARNING_EXP_POINTS_MULTIPLIER*$data_classes[class_no].learnings[learning_no].level))
self.contents.draw_text(x,y+16*learning_no,320,32,skill_name.to_s)
self.contents.draw_text(x+320,y+16*learning_no,120,32,[LEARNING_EXP_POINTS_MULTIPLIER*$data_classes[class_no].learnings[learning_no].level,@actor.experience_points_skills[skill_name]].min.to_s+
" out of "+(LEARNING_EXP_POINTS_MULTIPLIER*$data_classes[class_no].learnings[learning_no].level).to_s)
if @actor.experience_points_skills[skill_name] >= LEARNING_EXP_POINTS_MULTIPLIER*$data_classes[class_no].learnings[learning_no].level or actor.skill_learn?(skill_id)
self.contents.draw_text(x+440,y+16*learning_no,120,32,"TECHNIQUE LEARNED")
end
end
end
end
end
else
self.contents.draw_text(x,y,320,32,"No accessory equipped")
end
Line 399 - if $data_armors[@actor.armor4_id] != nil
Line 404 - draw_item_name_size($data_armors[@actor.armor4_id], x+200, y,18)
Line 410 - if $data_classes[class_no].name == $data_armors[@actor.armor4_id].name
#--------------------------------------------------------------------------
# * Start After Battle Phase
#--------------------------------------------------------------------------
152 alias start_phase5_skl start_phase5
153 def start_phase5
154 @skill_learning_window=Window_BattleResultSkillLearning.new
155 exp = 0
156 # Loop