Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 FFIX Skills Learning System aka Equipment Skills, NEW!!! v2.3 (8-8-2010)
#6
Charlie Fleed Wrote:In "SLS Windows" at line 171, replace the refresh method with this one
Code:
#--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    self.contents.clear
    x = 0
    y = 0
    if $scene.is_a?(Scene_Shop)
      draw_actor_name(@actor, x, y)
      y+=24
    end    
    self.contents.font.color=system_color
    self.contents.draw_text(x,y,320,self.contents.font.size,"Equipment Skills")
    y+=self.contents.font.size+2
    self.contents.font.color=normal_color
    if @equip_type==0 and @equip_id!=0 and $game_party.
    learning_db[$data_weapons[@equip_id].name]!=nil
      for learning in $game_party.
      learning_db[$data_weapons[@equip_id].name].learnings
        skill=$data_skills[learning.skill_id]
        rect = Rect.new(x, y, 24, 24)
        self.contents.fill_rect(rect, Color.new(0, 0, 0, 0))
        bitmap = RPG::Cache.icon(skill.icon_name)
        self.contents.blt(x, y, bitmap, Rect.new(0, 0, 24, 24), opacity)
        if @actor!=nil
          self.contents.font.color=(@actor.can_learn?(learning.skill_id)) ? normal_color : disabled_color
        end
        self.contents.draw_text(x + 28, y, 172, self.contents.font.size, "L:"+skill.name, 0)
        s=""
        if @actor!=nil and (@actor.skill_learn?(skill.id) or learning.level==0)
          s=s+"A"
        end
        if @actor!=nil and @actor.experience_points_skills[skill.id] >= learning.level
          s=s+" M" unless learning.level==0
        end
        #self.contents.draw_text(x + 200, y, 48, self.contents.font.size, skill.sp_cost.to_s, 2)
        self.contents.draw_text(x + 200, y, 48, self.contents.font.size, s, 2)
        y+=24
      end
    end
    if @equip_type>0 and @equip_id!=0 and $game_party.
    learning_db[$data_armors[@equip_id].name]!=nil
      for learning in $game_party.
      learning_db[$data_armors[@equip_id].name].learnings
        skill=$data_skills[learning.skill_id]
        rect = Rect.new(x, y, 24, 24)
        self.contents.fill_rect(rect, Color.new(0, 0, 0, 0))
        bitmap = RPG::Cache.icon(skill.icon_name)
        self.contents.blt(x, y, bitmap, Rect.new(0, 0, 24, 24), opacity)
        if @actor!=nil
          self.contents.font.color=(@actor.can_learn?(learning.skill_id)) ? normal_color : disabled_color
        end
        self.contents.draw_text(x + 28, y, 172, self.contents.font.size, "L:"+skill.name, 0)
        s=""
        if @actor!=nil and (@actor.skill_learn?(skill.id) or learning.level==0)
          s=s+"A"
        end
        if @actor!=nil and @actor.experience_points_skills[skill.id] >= learning.level
          s=s+" M" unless learning.level==0
        end
        #self.contents.draw_text(x + 200, y, 48, self.contents.font.size, skill.sp_cost.to_s, 2)
        self.contents.draw_text(x + 200, y, 48, self.contents.font.size, s, 2)
        y+=24
      end
    end
  end

I tried to fill that in (2.2) but then this window doesn't show up in the Equipment Menu. Could you edit this so it's compatible with 2.2?
ty Zare
[Image: 76561198077561206.png]
Reply }


Messages In This Thread
FFIX Skills Learning System aka Equipment Skills, NEW!!! v2.2 (6-1-2010) - by Ace - 01-07-2010, 12:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Super Simple Vehicle System - Enhanced DerVVulfman 65 83,109 06-02-2023, 06:16 PM
Last Post: Sujabes467
   Klass Change & Skills kyonides 1 680 05-29-2023, 07:39 AM
Last Post: kyonides
   KDualWield & Accessory Skills kyonides 1 830 02-10-2023, 06:53 AM
Last Post: kyonides
   Equipment TP Reset ACE kyonides 0 943 11-01-2022, 10:47 PM
Last Post: kyonides
   Zenith Tactical Battle System Plus (ZTBS+) DerVVulfman 0 2,031 05-10-2022, 10:42 PM
Last Post: DerVVulfman
   Commercial System Package DerVVulfman 11 12,094 01-04-2020, 12:37 AM
Last Post: Pelip
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 224,813 03-02-2019, 04:47 AM
Last Post: dragonprincess44
   DerVV's Simple Popup System DerVVulfman 4 10,965 10-08-2017, 04:53 PM
Last Post: DerVVulfman
   H-Mode7 Visual Equipment Chaotech Games 8 34,822 03-30-2017, 01:58 AM
Last Post: wrathx
   Melly-Mel's Calendar System DerVVulfman 23 38,808 12-02-2016, 04:31 AM
Last Post: DerVVulfman



Users browsing this thread: